Struct gfx_core::shade::TextureVar [] [src]

pub struct TextureVar {
    pub name: String,
    pub slot: ResourceViewSlot,
    pub base_type: BaseType,
    pub ty: TextureType,
    pub usage: Usage,
}

Texture shader parameter.

Fields

name

Name of this texture variable.

slot

Slot of this texture variable.

base_type

Base type for the texture.

ty

Type of this texture.

usage

What program stage this texture is used in.

Trait Implementations

Derived Implementations

impl Debug for TextureVar

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

impl PartialEq for TextureVar

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

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

impl Clone for TextureVar

fn clone(&self) -> TextureVar

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