Enum gltf_json::material::AlphaMode [−][src]
pub enum AlphaMode {
Opaque,
Mask,
Blend,
}
Expand description
The alpha rendering mode of a material.
Variants
Opaque
The alpha value is ignored and the rendered output is fully opaque.
Mask
The rendered output is either fully opaque or fully transparent depending on the alpha value and the specified alpha cutoff value.
Blend
The alpha value is used, to determine the transparency of the rendered output. The alpha cutoff value is ignored.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for AlphaMode
impl UnwindSafe for AlphaMode
Blanket Implementations
Mutably borrows from an owned value. Read more