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 Serialize for AlphaMode[src]
impl Serialize for AlphaModefn serialize<S>(
&self,
serializer: S
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error> where
S: Serializer, [src]
fn serialize<S>(
&self,
serializer: S
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error> where
S: Serializer, Serialize this value into the given Serde serializer. Read more
impl Clone for AlphaMode[src]
impl Clone for AlphaModefn clone(&self) -> AlphaMode[src]
fn clone(&self) -> AlphaModeReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl Default for AlphaMode[src]
impl Default for AlphaModeimpl Debug for AlphaMode[src]
impl Debug for AlphaModefn fmt(&self, f: &mut Formatter) -> Result<(), Error>[src]
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>Formats the value using the given formatter. Read more
impl Copy for AlphaMode[src]
impl Copy for AlphaMode