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

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

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

This method tests for !=.

impl Clone for TextureVar

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for TextureVar

Formats the value using the given formatter.