Enum gltf::material::AlphaMode
[−]
[src]
pub enum AlphaMode { Opaque, Mask, Blend, }
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 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 Copy for AlphaMode
[src]
impl Debug for AlphaMode
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter.
impl Clone for AlphaMode
[src]
fn clone(&self) -> AlphaMode
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more