Struct gfx::shade::core::TextureVar [] [src]

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

Texture shader parameter.

Fields

Name of this texture variable.

Slot of this texture variable.

Base type for the texture.

Type of this texture.

What program stage this texture is used in.

Trait Implementations

impl PartialEq<TextureVar> for TextureVar
[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 TextureVar
[src]

impl Hash for TextureVar
[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 TextureVar
[src]

Formats the value using the given formatter.

impl Clone for TextureVar
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more