shine-gltf 0.2.0

JSON parsing for the gltf crate based on https://github.com/gltf-rs/gltf
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use serde_derive::{Deserialize, Serialize};
use shine_gltf_macro::Validate;

/// A set of primitives to be rendered.
///
/// A node can contain one or more meshes and its transform places the meshes in
/// the scene.
#[derive(Clone, Debug, Default, Deserialize, Serialize, Validate)]
pub struct Mesh {}

/// Geometry to be rendered with the given material.
#[derive(Clone, Debug, Default, Deserialize, Serialize, Validate)]
pub struct Primitive {}