Enum gfx_core::factory::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 for BufferRole
[src]

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

Feeds this value into the state given, updating the hasher as necessary.

Feeds a slice of this type into the state provided.

impl Eq for BufferRole
[src]

impl Debug for BufferRole
[src]

Formats the value using the given formatter.

impl Clone for BufferRole
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for BufferRole
[src]