Struct gltf::BufferView [] [src]

pub struct BufferView {
    pub buffer: Id,
    pub byte_length: u32,
    pub byte_offset: u32,
    pub extensions: Option<Map<String, Value>>,
    pub extras: Option<Map<String, Value>>,
    pub name: Option<String>,
    pub target: Option<u32>,
}

Fields

The identifier of the parent Buffer

The length of the buffer view in bytes

Offset into the buffer in bytes

Optional data targeting official extensions

Optional application specific data

Optional user-defined name for this object

Optional target the buffer should be bound to (for example GL_ARRAY_BUFFER or GL_ELEMENT_ARRAY_BUFFER)

Trait Implementations

impl Debug for BufferView
[src]

Formats the value using the given formatter.

impl Default for BufferView
[src]

Returns the "default value" for a type. Read more