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: String
Name of this texture variable.
slot: ResourceViewSlot
Slot of this texture variable.
base_type: BaseType
Base type for the texture.
ty: TextureType
Type of this texture.
usage: Usage
What program stage this texture is used in.
Trait Implementations
impl Clone for TextureVar[src]
fn clone(&self) -> TextureVar[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more
impl PartialEq for TextureVar[src]
fn eq(&self, __arg_0: &TextureVar) -> bool[src]
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &TextureVar) -> bool[src]
This method tests for !=.