[go: up one dir, main page]

Enum gfx::BufferRole []

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 Copy for BufferRole

impl Clone for BufferRole

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for BufferRole

Formats the value using the given formatter.

impl Eq for BufferRole

impl Hash for BufferRole

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 !=.