Struct gltf_importer::Buffers
[−]
[src]
pub struct Buffers(_);
Buffer data returned from import
.
Methods
impl Buffers
[src]
pub fn buffer(&self, buffer: &Buffer) -> Option<&[u8]>
[src]
Obtain the contents of a loaded buffer.
pub fn view(&self, view: &View) -> Option<&[u8]>
[src]
Obtain the contents of a loaded buffer view.
pub fn take(self) -> Vec<Vec<u8>>
[src]
Take the loaded buffer data.
Trait Implementations
impl Clone for Buffers
[src]
fn clone(&self) -> Buffers
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for Buffers
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more