pub struct RenderPipelineColorAttachmentDescriptor(/* private fields */);Methods from Deref<Target = RenderPipelineColorAttachmentDescriptorRef>§
pub fn pixel_format(&self) -> MTLPixelFormat
pub fn set_pixel_format(&self, pixel_format: MTLPixelFormat)
pub fn is_blending_enabled(&self) -> bool
pub fn set_blending_enabled(&self, enabled: bool)
pub fn source_rgb_blend_factor(&self) -> MTLBlendFactor
pub fn set_source_rgb_blend_factor(&self, blend_factor: MTLBlendFactor)
pub fn destination_rgb_blend_factor(&self) -> MTLBlendFactor
pub fn set_destination_rgb_blend_factor(&self, blend_factor: MTLBlendFactor)
pub fn rgb_blend_operation(&self) -> MTLBlendOperation
pub fn set_rgb_blend_operation(&self, blend_operation: MTLBlendOperation)
pub fn source_alpha_blend_factor(&self) -> MTLBlendFactor
pub fn set_source_alpha_blend_factor(&self, blend_factor: MTLBlendFactor)
pub fn destination_alpha_blend_factor(&self) -> MTLBlendFactor
pub fn set_destination_alpha_blend_factor(&self, blend_factor: MTLBlendFactor)
pub fn alpha_blend_operation(&self) -> MTLBlendOperation
pub fn set_alpha_blend_operation(&self, blend_operation: MTLBlendOperation)
pub fn write_mask(&self) -> MTLColorWriteMask
pub fn set_write_mask(&self, mask: MTLColorWriteMask)
Trait Implementations§
Source§impl AsMut<RenderPipelineColorAttachmentDescriptorRef> for RenderPipelineColorAttachmentDescriptor
impl AsMut<RenderPipelineColorAttachmentDescriptorRef> for RenderPipelineColorAttachmentDescriptor
Source§fn as_mut(&mut self) -> &mut RenderPipelineColorAttachmentDescriptorRef
fn as_mut(&mut self) -> &mut RenderPipelineColorAttachmentDescriptorRef
Converts this type into a mutable reference of the (usually inferred) input type.
Source§impl AsRef<RenderPipelineColorAttachmentDescriptorRef> for RenderPipelineColorAttachmentDescriptor
impl AsRef<RenderPipelineColorAttachmentDescriptorRef> for RenderPipelineColorAttachmentDescriptor
Source§fn as_ref(&self) -> &RenderPipelineColorAttachmentDescriptorRef
fn as_ref(&self) -> &RenderPipelineColorAttachmentDescriptorRef
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl Borrow<RenderPipelineColorAttachmentDescriptorRef> for RenderPipelineColorAttachmentDescriptor
impl Borrow<RenderPipelineColorAttachmentDescriptorRef> for RenderPipelineColorAttachmentDescriptor
Source§fn borrow(&self) -> &RenderPipelineColorAttachmentDescriptorRef
fn borrow(&self) -> &RenderPipelineColorAttachmentDescriptorRef
Immutably borrows from an owned value. Read more
Source§impl BorrowMut<RenderPipelineColorAttachmentDescriptorRef> for RenderPipelineColorAttachmentDescriptor
impl BorrowMut<RenderPipelineColorAttachmentDescriptorRef> for RenderPipelineColorAttachmentDescriptor
Source§fn borrow_mut(&mut self) -> &mut RenderPipelineColorAttachmentDescriptorRef
fn borrow_mut(&mut self) -> &mut RenderPipelineColorAttachmentDescriptorRef
Mutably borrows from an owned value. Read more
Source§impl Clone for RenderPipelineColorAttachmentDescriptor
impl Clone for RenderPipelineColorAttachmentDescriptor
Source§fn clone(&self) -> RenderPipelineColorAttachmentDescriptor
fn clone(&self) -> RenderPipelineColorAttachmentDescriptor
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Deref for RenderPipelineColorAttachmentDescriptor
impl Deref for RenderPipelineColorAttachmentDescriptor
Source§type Target = RenderPipelineColorAttachmentDescriptorRef
type Target = RenderPipelineColorAttachmentDescriptorRef
The resulting type after dereferencing.
Source§fn deref(&self) -> &RenderPipelineColorAttachmentDescriptorRef
fn deref(&self) -> &RenderPipelineColorAttachmentDescriptorRef
Dereferences the value.
Source§impl DerefMut for RenderPipelineColorAttachmentDescriptor
impl DerefMut for RenderPipelineColorAttachmentDescriptor
Source§fn deref_mut(&mut self) -> &mut RenderPipelineColorAttachmentDescriptorRef
fn deref_mut(&mut self) -> &mut RenderPipelineColorAttachmentDescriptorRef
Mutably dereferences the value.
Source§impl ForeignType for RenderPipelineColorAttachmentDescriptor
impl ForeignType for RenderPipelineColorAttachmentDescriptor
Source§type CType = MTLRenderPipelineColorAttachmentDescriptor
type CType = MTLRenderPipelineColorAttachmentDescriptor
The raw C type.
Source§type Ref = RenderPipelineColorAttachmentDescriptorRef
type Ref = RenderPipelineColorAttachmentDescriptorRef
The type representing a reference to this type.
Source§unsafe fn from_ptr(
ptr: *mut MTLRenderPipelineColorAttachmentDescriptor,
) -> RenderPipelineColorAttachmentDescriptor
unsafe fn from_ptr( ptr: *mut MTLRenderPipelineColorAttachmentDescriptor, ) -> RenderPipelineColorAttachmentDescriptor
Constructs an instance of this type from its raw type. Read more
Source§fn as_ptr(&self) -> *mut MTLRenderPipelineColorAttachmentDescriptor
fn as_ptr(&self) -> *mut MTLRenderPipelineColorAttachmentDescriptor
Returns a raw pointer to the wrapped value.
impl Send for RenderPipelineColorAttachmentDescriptor
impl Sync for RenderPipelineColorAttachmentDescriptor
Auto Trait Implementations§
impl Freeze for RenderPipelineColorAttachmentDescriptor
impl RefUnwindSafe for RenderPipelineColorAttachmentDescriptor
impl Unpin for RenderPipelineColorAttachmentDescriptor
impl UnwindSafe for RenderPipelineColorAttachmentDescriptor
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)