1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
/// The material appearance of a primitive. #[derive(Clone, Debug, Default, Deserialize, Validate)] pub struct Material {} /// A set of parameter values that are used to define the metallic-roughness /// material model from Physically-Based Rendering (PBR) methodology. #[derive(Clone, Debug, Default, Deserialize, Validate)] pub struct PbrMetallicRoughness {} /// Defines the normal texture of a material. #[derive(Clone, Debug, Default, Deserialize, Validate)] pub struct NormalTexture {} /// Defines the occlusion texture of a material. #[derive(Clone, Debug, Default, Deserialize, Validate)] pub struct OcclusionTexture {}