1 2 3 4 5 6 7 8 9 10 11 12 13 14
use gltf_derive::Validate; use serde_derive::{Serialize, Deserialize}; /// Texture sampler properties for filtering and wrapping modes. #[derive(Clone, Debug, Default, Deserialize, Serialize, Validate)] pub struct Sampler {} /// A texture and its sampler. #[derive(Clone, Debug, Default, Deserialize, Serialize, Validate)] pub struct Texture {} #[derive(Clone, Debug, Default, Deserialize, Serialize, Validate)] /// Reference to a `Texture`. pub struct Info {}