Enum three_d::core::render_states::BlendMultiplierType
source · pub enum BlendMultiplierType {
Zero,
One,
SrcColor,
OneMinusSrcColor,
DstColor,
OneMinusDstColor,
SrcAlpha,
OneMinusSrcAlpha,
DstAlpha,
OneMinusDstAlpha,
SrcAlphaSaturate,
}
Expand description
Value multiplied with the source or target color or alpha value in Blend.
Variants§
Zero
One
SrcColor
OneMinusSrcColor
DstColor
OneMinusDstColor
SrcAlpha
OneMinusSrcAlpha
DstAlpha
OneMinusDstAlpha
SrcAlphaSaturate
Trait Implementations§
source§impl Clone for BlendMultiplierType
impl Clone for BlendMultiplierType
source§fn clone(&self) -> BlendMultiplierType
fn clone(&self) -> BlendMultiplierType
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for BlendMultiplierType
impl Debug for BlendMultiplierType
source§impl PartialEq for BlendMultiplierType
impl PartialEq for BlendMultiplierType
source§fn eq(&self, other: &BlendMultiplierType) -> bool
fn eq(&self, other: &BlendMultiplierType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for BlendMultiplierType
impl StructuralPartialEq for BlendMultiplierType
Auto Trait Implementations§
impl RefUnwindSafe for BlendMultiplierType
impl Send for BlendMultiplierType
impl Sync for BlendMultiplierType
impl Unpin for BlendMultiplierType
impl UnwindSafe for BlendMultiplierType
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more