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 Debug for TextureVar
[src]
impl PartialEq for TextureVar
[src]
fn eq(&self, __arg_0: &TextureVar) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &TextureVar) -> bool
This method tests for !=
.
impl Clone for TextureVar
[src]
fn clone(&self) -> TextureVar
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more