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

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Hash for ConstantBufferVar
[src]

[src]

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

1.3.0
[src]

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

impl PartialEq<ConstantBufferVar> for ConstantBufferVar
[src]

[src]

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

[src]

This method tests for !=.

impl Debug for ConstantBufferVar
[src]

[src]

Formats the value using the given formatter.

impl Eq for ConstantBufferVar
[src]