Enum gfx::BufferRole
[−]
pub enum BufferRole {
Vertex,
Index,
Uniform,
}Role of the memory buffer. GLES doesn't allow chaning bind points for buffers.
Variants
VertexGeneric vertex buffer
IndexIndex buffer
UniformUniform block buffer
Trait Implementations
impl Copy for BufferRole
impl Clone for BufferRole
fn clone(&self) -> BufferRole
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source. Read more
impl Debug for BufferRole
fn fmt(&self, __arg_0: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter.