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

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

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

[src]

Formats the value using the given formatter.

impl Eq for TextureVar
[src]