Struct gfx_core::factory::BufferInfo
[−]
[src]
pub struct BufferInfo {
pub role: BufferRole,
pub usage: Usage,
pub bind: Bind,
pub size: usize,
pub stride: usize,
}An information block that is immutable and associated with each buffer.
Fields
role | Role |
usage | Usage hint |
bind | Bind flags |
size | Size in bytes |
stride | Stride of a single element, in bytes. Only used for structured buffers that you use via shader resource / unordered access views. |