Struct gfx_core::shade::TextureVar
[−]
[src]
pub struct TextureVar {
pub name: String,
pub slot: ResourceViewSlot,
pub base_type: BaseType,
pub ty: TextureType,
pub usage: Usage,
}Texture shader parameter.
Fields
name | Name of this texture variable. |
slot | Slot of this texture variable. |
base_type | Base type for the texture. |
ty | Type of this texture. |
usage | What program stage this texture is used in. |