[go: up one dir, main page]

Enum gltf::buffer::Target[][src]

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 Serialize for Target
[src]

Serialize this value into the given Serde serializer. Read more

impl Clone for Target
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Target
[src]

Formats the value using the given formatter. Read more

impl Copy for Target
[src]

Auto Trait Implementations

impl Send for Target

impl Sync for Target