Enum gltf::buffer::Target
[−]
[src]
pub enum Target { ArrayBuffer, ElementArrayBuffer, }
Specifies the target a GPU buffer should be bound to.
Variants
ArrayBuffer
Corresponds to GL_ARRAY_BUFFER
.
ElementArrayBuffer
Corresponds to GL_ELEMENT_ARRAY_BUFFER
.
Trait Implementations
impl Copy for Target
[src]
impl Debug for Target
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter.
impl Clone for Target
[src]
fn clone(&self) -> Target
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