Enum gltf_json::buffer::Target []

pub enum Target {
    ArrayBuffer,
    ElementArrayBuffer,
}

Specifies the target a GPU buffer should be bound to.

Variants

Corresponds to GL_ARRAY_BUFFER.

Corresponds to GL_ELEMENT_ARRAY_BUFFER.

Trait Implementations

impl Clone for Target

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for Target

impl Debug for Target

Formats the value using the given formatter.