Enum gltf::material::AlphaMode
[−]
[src]
pub enum AlphaMode {
Opaque,
Mask,
Blend,
}The alpha rendering mode of a material.
Variants
OpaqueThe alpha value is ignored and the rendered output is fully opaque.
MaskThe rendered output is either fully opaque or fully transparent depending on the alpha value and the specified alpha cutoff value.
BlendThe rendered output is either fully opaque or fully transparent depending on the alpha value and the specified alpha cutoff value.
Trait Implementations
impl Default for AlphaMode[src]
impl Clone for AlphaMode[src]
fn clone(&self) -> AlphaMode[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more