pub struct PipelineColorBlendStateCreateInfo<'d>(/* private fields */);
Expand description
Structure specifying parameters of a newly created pipeline color blend state
Implementations§
Source§impl<'d> PipelineColorBlendStateCreateInfo<'d>
impl<'d> PipelineColorBlendStateCreateInfo<'d>
pub const fn new(attachments: &'d [VkPipelineColorBlendAttachmentState]) -> Self
pub const unsafe fn from_raw(raw: VkPipelineColorBlendStateCreateInfo) -> Self
pub const fn into_raw(self) -> VkPipelineColorBlendStateCreateInfo
pub const fn logic_op(self, logic_op: LogicOp) -> Self
pub const fn blend_constants(self, constants: [f32; 4]) -> Self
Trait Implementations§
Source§impl<'d> Clone for PipelineColorBlendStateCreateInfo<'d>
impl<'d> Clone for PipelineColorBlendStateCreateInfo<'d>
Source§fn clone(&self) -> PipelineColorBlendStateCreateInfo<'d>
fn clone(&self) -> PipelineColorBlendStateCreateInfo<'d>
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 moreAuto Trait Implementations§
impl<'d> Freeze for PipelineColorBlendStateCreateInfo<'d>
impl<'d> RefUnwindSafe for PipelineColorBlendStateCreateInfo<'d>
impl<'d> !Send for PipelineColorBlendStateCreateInfo<'d>
impl<'d> !Sync for PipelineColorBlendStateCreateInfo<'d>
impl<'d> Unpin for PipelineColorBlendStateCreateInfo<'d>
impl<'d> UnwindSafe for PipelineColorBlendStateCreateInfo<'d>
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