Struct gfx::shade::core::SamplerVar []

pub struct SamplerVar {
    pub name: String,
    pub slot: u8,
    pub ty: SamplerType,
    pub usage: Usage,
}

Sampler shader parameter.

Fields

Name of this sampler variable.

Slot of this sampler variable.

Type of this sampler.

What program stage this texture is used in.

Trait Implementations

impl PartialEq<SamplerVar> for SamplerVar

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Clone for SamplerVar

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for SamplerVar

Formats the value using the given formatter.