Struct gltf_json::material::OcclusionTexture [−][src]
pub struct OcclusionTexture {
pub index: Index<Texture>,
pub strength: StrengthFactor,
pub tex_coord: u32,
pub extensions: Option<OcclusionTexture>,
pub extras: Extras,
}
Expand description
Defines the occlusion texture of a material.
Fields
index: Index<Texture>
The index of the texture.
strength: StrengthFactor
The scalar multiplier controlling the amount of occlusion applied.
tex_coord: u32
The set index of the texture’s TEXCOORD
attribute.
extensions: Option<OcclusionTexture>
Extension specific data.
extras: Extras
Optional application specific data.
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for OcclusionTexture
impl Send for OcclusionTexture
impl Sync for OcclusionTexture
impl Unpin for OcclusionTexture
impl UnwindSafe for OcclusionTexture
Blanket Implementations
Mutably borrows from an owned value. Read more