Enum gfx::device::BufferRole [] [src]

pub enum BufferRole {
    Vertex,
    Index,
}

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

Variants

Vertex

Generic vertex buffer

Index

Index buffer

Trait Implementations

Derived Implementations

impl PartialEq for BufferRole

fn eq(&self, __arg_0: &BufferRole) -> bool

fn ne(&self, __arg_0: &BufferRole) -> bool

impl Hash for BufferRole

fn hash<__H: Hasher>(&self, __arg_0: &mut __H)

fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasher

impl Eq for BufferRole

impl Debug for BufferRole

fn fmt(&self, __arg_0: &mut Formatter) -> Result

impl Clone for BufferRole

fn clone(&self) -> BufferRole

fn clone_from(&mut self, source: &Self)

impl Copy for BufferRole