[][src]Struct vxdraw::blender::Blender

pub struct Blender { /* fields omitted */ }

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

impl Default for Blender[src]

impl Clone for Blender[src]

impl Debug for Blender[src]

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]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Supports<T> for T[src]

impl<T> SetParameter for T

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,