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
buffer: Id
The identifier of the parent Buffer
byte_length: u32
The length of the buffer view in bytes
byte_offset: u32
Offset into the buffer in bytes
extensions: Option<Map<String, Value>>
Optional data targeting official extensions
extras: Option<Map<String, Value>>
Optional application specific data
name: Option<String>
Optional user-defined name for this object
target: Option<u32>
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]
impl Default for BufferView[src]
fn default() -> BufferView
Returns the "default value" for a type. Read more