Struct gfx::shade::core::ConstantBufferVar []

pub struct ConstantBufferVar {
    pub name: String,
    pub slot: u8,
    pub size: usize,
    pub usage: Usage,
    pub elements: Vec<ConstVar>,
}

A constant buffer.

Fields

Name of this constant buffer.

Slot of the constant buffer.

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

What program stage this buffer is used in.

List of individual elements in this buffer.

Trait Implementations

impl Debug for ConstantBufferVar

Formats the value using the given formatter.

impl PartialEq<ConstantBufferVar> for ConstantBufferVar

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Clone for ConstantBufferVar

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more