Struct bedrock::AttachmentColorBlendState
[−]
[src]
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]
&mut self,
src: BlendFactor,
op: BlendOp,
dst: BlendFactor
) -> &mut Self
pub fn alpha_blend(
&mut self,
src: BlendFactor,
op: BlendOp,
dst: BlendFactor
) -> &mut Self
[src]
&mut self,
src: BlendFactor,
op: BlendOp,
dst: BlendFactor
) -> &mut Self
Trait Implementations
impl Clone for AttachmentColorBlendState
[src]
fn clone(&self) -> AttachmentColorBlendState
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more