pub struct RenderTargetBlendDesc(/* private fields */);Expand description
Wrapper around D3D12_RENDER_TARGET_BLEND_DESC structure
Implementations§
Source§impl RenderTargetBlendDesc
impl RenderTargetBlendDesc
pub fn set_blend_enable(&mut self, blend_enable: bool) -> &mut Self
pub fn with_blend_enable(self, blend_enable: bool) -> Self
pub fn blend_enable(&self) -> bool
pub fn set_logic_op_enable(&mut self, logic_op_enable: bool) -> &mut Self
pub fn with_logic_op_enable(self, logic_op_enable: bool) -> Self
pub fn logic_op_enable(&self) -> bool
pub fn set_src_blend(&mut self, src_blend: Blend) -> &mut Self
pub fn with_src_blend(self, src_blend: Blend) -> Self
pub fn src_blend(&self) -> Blend
pub fn set_dest_blend(&mut self, dest_blend: Blend) -> &mut Self
pub fn with_dest_blend(self, dest_blend: Blend) -> Self
pub fn dest_blend(&self) -> Blend
pub fn set_blend_op(&mut self, blend_op: BlendOp) -> &mut Self
pub fn with_blend_op(self, blend_op: BlendOp) -> Self
pub fn blend_op(&self) -> BlendOp
pub fn set_src_blend_alpha(&mut self, src_blend_alpha: Blend) -> &mut Self
pub fn with_src_blend_alpha(self, src_blend_alpha: Blend) -> Self
pub fn src_blend_alpha(&self) -> Blend
pub fn set_dest_blend_alpha(&mut self, dest_blend_alpha: Blend) -> &mut Self
pub fn with_dest_blend_alpha(self, dest_blend_alpha: Blend) -> Self
pub fn dest_blend_alpha(&self) -> Blend
pub fn set_blend_op_alpha(&mut self, blend_op_alpha: BlendOp) -> &mut Self
pub fn with_blend_op_alpha(self, blend_op_alpha: BlendOp) -> Self
pub fn blend_op_alpha(&self) -> BlendOp
pub fn set_logic_op(&mut self, logic_op: LogicOp) -> &mut Self
pub fn with_logic_op(self, logic_op: LogicOp) -> Self
pub fn logic_op(&self) -> LogicOp
pub fn set_render_target_write_mask( &mut self, render_target_write_mask: ColorWriteEnable, ) -> &mut Self
pub fn with_render_target_write_mask( self, render_target_write_mask: ColorWriteEnable, ) -> Self
pub fn render_target_write_mask(&self) -> ColorWriteEnable
Trait Implementations§
Source§impl Clone for RenderTargetBlendDesc
impl Clone for RenderTargetBlendDesc
Source§fn clone(&self) -> RenderTargetBlendDesc
fn clone(&self) -> RenderTargetBlendDesc
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RenderTargetBlendDesc
impl Debug for RenderTargetBlendDesc
Source§impl Default for RenderTargetBlendDesc
impl Default for RenderTargetBlendDesc
Source§impl Hash for RenderTargetBlendDesc
impl Hash for RenderTargetBlendDesc
Source§impl Ord for RenderTargetBlendDesc
impl Ord for RenderTargetBlendDesc
Source§fn cmp(&self, other: &RenderTargetBlendDesc) -> Ordering
fn cmp(&self, other: &RenderTargetBlendDesc) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for RenderTargetBlendDesc
impl PartialEq for RenderTargetBlendDesc
Source§impl PartialOrd for RenderTargetBlendDesc
impl PartialOrd for RenderTargetBlendDesc
impl Copy for RenderTargetBlendDesc
impl Eq for RenderTargetBlendDesc
impl StructuralPartialEq for RenderTargetBlendDesc
Auto Trait Implementations§
impl Freeze for RenderTargetBlendDesc
impl RefUnwindSafe for RenderTargetBlendDesc
impl Send for RenderTargetBlendDesc
impl Sync for RenderTargetBlendDesc
impl Unpin for RenderTargetBlendDesc
impl UnwindSafe for RenderTargetBlendDesc
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more