Struct gltf_json::accessor::sparse::Values
[−]
[src]
pub struct Values {
pub buffer_view: Index<View>,
pub byte_offset: u32,
pub extensions: Values,
pub extras: Extras,
}Array of size count * number_of_components storing the displaced
accessor attributes pointed by accessor::sparse::Indices.
Fields
buffer_view: Index<View>
The parent buffer view containing the sparse indices.
The referenced buffer view must not have ARRAY_BUFFER nor
ELEMENT_ARRAY_BUFFER as its target.
byte_offset: u32
The offset relative to the start of the parent buffer view in bytes.
extensions: Values
Extension specific data.
extras: Extras
Optional application specific data.
Trait Implementations
impl Clone for Values[src]
fn clone(&self) -> Values[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 Values[src]
impl Validate for Values[src]
fn validate_minimally<P, R>(&self, _root: &Root, _path: P, _report: &mut R) where
P: Fn() -> Path,
R: FnMut(&Fn() -> Path, Error), [src]
P: Fn() -> Path,
R: FnMut(&Fn() -> Path, Error),
Validates only the invariants required for the library to function safely.
fn validate_completely<P, R>(&self, _root: &Root, _path: P, _report: &mut R) where
P: Fn() -> Path,
R: FnMut(&Fn() -> Path, Error), [src]
P: Fn() -> Path,
R: FnMut(&Fn() -> Path, Error),
Validates the data against the glTF 2.0 specification. Read more