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

Name of this constant buffer.

slot

Slot of the constant buffer.

size

Size (in bytes) of this buffer's data.

usage

What program stage this buffer is used in.

Trait Implementations

Derived Implementations

impl Debug for ConstantBufferVar

fn fmt(&self, __arg_0: &mut Formatter) -> Result

impl PartialEq for ConstantBufferVar

fn eq(&self, __arg_0: &ConstantBufferVar) -> bool

fn ne(&self, __arg_0: &ConstantBufferVar) -> bool

impl Clone for ConstantBufferVar

fn clone(&self) -> ConstantBufferVar

1.0.0fn clone_from(&mut self, source: &Self)