Struct gfx::shade::core::TextureVar
[−]
[src]
pub struct TextureVar { pub name: String, pub slot: u8, 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. |