Struct gfx_core::shade::SamplerVar [] [src]

pub struct SamplerVar {
    pub name: String,
    pub slot: SamplerSlot,
    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.

Trait Implementations

Derived Implementations

impl Debug for SamplerVar

fn fmt(&self, __arg_0: &mut Formatter) -> Result

impl PartialEq for SamplerVar

fn eq(&self, __arg_0: &SamplerVar) -> bool

fn ne(&self, __arg_0: &SamplerVar) -> bool

impl Clone for SamplerVar

fn clone(&self) -> SamplerVar

1.0.0fn clone_from(&mut self, source: &Self)