Struct gfx_core::shade::ConstantBufferVar
[−]
[src]
pub struct ConstantBufferVar { pub name: String, pub slot: ConstantBufferSlot, pub size: usize, pub usage: Usage, pub elements: Vec<ConstVar>, }
A constant buffer.
Fields
name: String
Name of this constant buffer.
slot: ConstantBufferSlot
Slot of the constant buffer.
size: usize
Size (in bytes) of this buffer's data.
usage: Usage
What program stage this buffer is used in.
elements: Vec<ConstVar>
List of individual elements in this buffer.
Trait Implementations
impl Clone for ConstantBufferVar
[src]
fn clone(&self) -> ConstantBufferVar
[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 ConstantBufferVar
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Eq for ConstantBufferVar
[src]
impl Hash for ConstantBufferVar
[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 ConstantBufferVar
[src]
fn eq(&self, __arg_0: &ConstantBufferVar) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &ConstantBufferVar) -> bool
[src]
This method tests for !=
.