Enum gfx::BufferRole [] [src]

pub enum BufferRole {
    Vertex,
    Index,
    Uniform,
}

Role of the memory buffer. GLES doesn't allow chaning bind points for buffers.

Variants

Generic vertex buffer

Index buffer

Uniform block buffer

Trait Implementations

impl PartialEq<BufferRole> for BufferRole

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

This method tests for !=.

impl Hash for BufferRole

impl Eq for BufferRole

impl Debug for BufferRole

Formats the value using the given formatter.

impl Clone for BufferRole

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for BufferRole