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 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 Debug for ConstantBufferVar
[src]

Formats the value using the given formatter.

impl PartialEq for ConstantBufferVar
[src]

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
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more