Enum gltf_json::buffer::Target
[−]
pub enum Target {
ArrayBuffer,
ElementArrayBuffer,
}Specifies the target a GPU buffer should be bound to.
Variants
ArrayBufferCorresponds to GL_ARRAY_BUFFER.
ElementArrayBufferCorresponds to GL_ELEMENT_ARRAY_BUFFER.
Trait Implementations
impl Clone for Target
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