Struct gltf_json::extensions::mesh::Primitive []

pub struct Primitive {}

Geometry to be rendered with the given material.

Trait Implementations

impl Clone for Primitive

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Primitive

Formats the value using the given formatter.

impl Default for Primitive

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

impl Validate for Primitive

Validates only the invariants required for the library to function safely.

Validates the data against the glTF 2.0 specification.