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

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

impl Hash for ConstantBufferVar
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

impl Debug for ConstantBufferVar
[src]

Formats the value using the given formatter.

impl Clone for ConstantBufferVar
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more