Struct gfx_core::shade::ConstantBufferVar
[−]
[src]
pub struct ConstantBufferVar {
pub name: String,
pub slot: ConstantBufferSlot,
pub size: usize,
pub usage: Usage,
}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.
Trait Implementations
impl Debug for ConstantBufferVar[src]
impl PartialEq for ConstantBufferVar[src]
fn eq(&self, __arg_0: &ConstantBufferVar) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &ConstantBufferVar) -> bool
This method tests for !=.
impl Clone for ConstantBufferVar[src]
fn clone(&self) -> ConstantBufferVar
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