[−][src]Struct vxdraw::blender::Blender
Main blender access point for setting variables
The default blender is the default opacity-blender, background objects are blended according to foreground opacity.
Methods
impl Blender
[src]
pub fn logic_op(self, op: LogicOp) -> Self
[src]
Set logical operation on the blender
Logic ops are ONLY supported for signed and unsigned integer and normalized integer framebuffers. Not applied to floating point or sRGB color attachments. Defaulted to None
pub fn all(self, state: BlendState) -> Self
[src]
Set the blender for all channels
pub fn colors(self, state: BlendOp) -> Self
[src]
Set the blender for all color channels
pub fn alpha(self, state: BlendOp) -> Self
[src]
Set the blender for the alpha channel
pub fn red(self, state: BlendOp) -> Self
[src]
Set the red color blender
pub fn green(self, state: BlendOp) -> Self
[src]
Set the green color blender
pub fn blue(self, state: BlendOp) -> Self
[src]
Set the blue color blender
pub fn none(self) -> Self
[src]
Turn the color blender off
Trait Implementations
Auto Trait Implementations
impl Unpin for Blender
impl Sync for Blender
impl Send for Blender
impl UnwindSafe for Blender
impl RefUnwindSafe for Blender
Blanket Implementations
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for 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.
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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Supports<T> for T
[src]
impl<T> SetParameter for T
fn set<T>(&mut self, value: T) -> <T as Parameter<Self>>::Result where
T: Parameter<Self>,
T: Parameter<Self>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,