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

pub struct ConstantBufferVar {
    pub name: String,
    pub slot: u8,
    pub size: usize,
    pub usage: Usage,
}

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.

Trait Implementations

impl Clone for ConstantBufferVar

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

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 Debug for ConstantBufferVar

Formats the value using the given formatter.