[][src]Struct bedrock::AttachmentColorBlendState

pub struct AttachmentColorBlendState(_);

Structure specifying a pipeline color blend attachment state

Methods

impl AttachmentColorBlendState[src]

pub fn noblend() -> Self[src]

pub fn premultiplied() -> Self[src]

pub fn enable(&mut self, w: bool) -> &mut Self[src]

pub fn color_blend_factor_src(&mut self, f: BlendFactor) -> &mut Self[src]

pub fn color_blend_factor_dst(&mut self, f: BlendFactor) -> &mut Self[src]

pub fn alpha_blend_factor_src(&mut self, f: BlendFactor) -> &mut Self[src]

pub fn alpha_blend_factor_dst(&mut self, f: BlendFactor) -> &mut Self[src]

pub fn color_blend_op(&mut self, op: BlendOp) -> &mut Self[src]

pub fn alpha_blend_op(&mut self, op: BlendOp) -> &mut Self[src]

pub fn color_blend(
    &mut self,
    src: BlendFactor,
    op: BlendOp,
    dst: BlendFactor
) -> &mut Self
[src]

pub fn alpha_blend(
    &mut self,
    src: BlendFactor,
    op: BlendOp,
    dst: BlendFactor
) -> &mut Self
[src]

Trait Implementations

impl Clone for AttachmentColorBlendState[src]

Auto Trait Implementations

impl RefUnwindSafe for AttachmentColorBlendState

impl Send for AttachmentColorBlendState

impl Sync for AttachmentColorBlendState

impl Unpin for AttachmentColorBlendState

impl UnwindSafe for AttachmentColorBlendState

Blanket Implementations

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

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

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

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

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

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.