Struct gltf::buffer::Buffer [] [src]

pub struct Buffer<'a> { /* fields omitted */ }

A buffer points to binary data representing geometry, animations, or skins.

Methods

impl<'a> Buffer<'a>
[src]

[src]

Returns the internal JSON index.

[src]

Returns the uniform resource identifier for the buffer data.

Notes

When the buffer is sourced from the BIN section of binary glTF, the fragment "#bin" is returned. This is non-standard according to the glTF specification.

[src]

The length of the buffer in bytes.

[src]

Optional application specific data.

Trait Implementations

impl<'a> Clone for Buffer<'a>
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl<'a> Debug for Buffer<'a>
[src]

[src]

Formats the value using the given formatter.