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 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
[src]

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

This method tests for !=.

impl Eq for SamplerVar
[src]

impl Hash for SamplerVar
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

impl Debug for SamplerVar
[src]

Formats the value using the given formatter.

impl Clone for SamplerVar
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more