Struct three_d::core::BlendParameters [−][src]
Defines which type of blending to use for a render call. Blending allows combining each color channel of a render call with the color already in the color channels of the render target. This is usually used to simulate transparency.
Fields
source_rgb_multiplier: BlendMultiplierType
source_alpha_multiplier: BlendMultiplierType
destination_rgb_multiplier: BlendMultiplierType
destination_alpha_multiplier: BlendMultiplierType
rgb_equation: BlendEquationType
alpha_equation: BlendEquationType
Implementations
impl BlendParameters
[src]
pub const TRANSPARENCY: Self
[src]
Usual transparency blending parameters.
pub const ADD: Self
[src]
Adds the color of the render target with the output color of the render call.
Trait Implementations
impl Clone for BlendParameters
[src]
fn clone(&self) -> BlendParameters
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for BlendParameters
[src]
impl Debug for BlendParameters
[src]
impl Default for BlendParameters
[src]
impl PartialEq<BlendParameters> for BlendParameters
[src]
fn eq(&self, other: &BlendParameters) -> bool
[src]
fn ne(&self, other: &BlendParameters) -> bool
[src]
impl StructuralPartialEq for BlendParameters
[src]
Auto Trait Implementations
impl RefUnwindSafe for BlendParameters
impl Send for BlendParameters
impl Sync for BlendParameters
impl Unpin for BlendParameters
impl UnwindSafe for BlendParameters
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,