Struct gfx::shade::core::ConstantBufferVar
[−]
[src]
pub struct ConstantBufferVar {
pub name: String,
pub slot: u8,
pub size: usize,
pub usage: Usage,
}A constant buffer.
Fields
name: String
Name of this constant buffer.
slot: u8
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
fn fmt(&self, __arg_0: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter.
impl PartialEq<ConstantBufferVar> for ConstantBufferVar
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
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