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 Debug for TextureVar
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Eq for TextureVar
[src]
impl Hash for TextureVar
[src]
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)
[src]
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. 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 !=
.