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 Clone for SamplerVar
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Hash for SamplerVar
[src]

[src]

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

1.3.0
[src]

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

impl PartialEq<SamplerVar> for SamplerVar
[src]

[src]

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

[src]

This method tests for !=.

impl Debug for SamplerVar
[src]

[src]

Formats the value using the given formatter.

impl Eq for SamplerVar
[src]