Struct gfx::shade::core::SamplerVar
[−]
[src]
pub struct SamplerVar {
pub name: String,
pub slot: u8,
pub ty: SamplerType,
pub usage: Usage,
}Sampler shader parameter.
Fields
name | Name of this sampler variable. |
slot | Slot of this sampler variable. |
ty | Type of this sampler. |
usage | What program stage this texture is used in. |