pub struct RenderPipelineColorAttachmentDescriptor {
pub pixel_format: usize,
pub blending_enabled: bool,
pub source_rgb_blend_factor: usize,
pub destination_rgb_blend_factor: usize,
pub rgb_blend_operation: usize,
pub source_alpha_blend_factor: usize,
pub destination_alpha_blend_factor: usize,
pub alpha_blend_operation: usize,
pub write_mask: usize,
}Expand description
Re-exports the Metal framework surface for this item.
Safe Rust description of MTLRenderPipelineColorAttachmentDescriptor.
Fields§
§pixel_format: usizeMirrors the Metal framework property for pixel_format.
blending_enabled: boolMirrors the Metal framework property for blending_enabled.
source_rgb_blend_factor: usizeMirrors the Metal framework property for source_rgb_blend_factor.
destination_rgb_blend_factor: usizeMirrors the Metal framework property for destination_rgb_blend_factor.
rgb_blend_operation: usizeMirrors the Metal framework property for rgb_blend_operation.
source_alpha_blend_factor: usizeMirrors the Metal framework property for source_alpha_blend_factor.
destination_alpha_blend_factor: usizeMirrors the Metal framework property for destination_alpha_blend_factor.
alpha_blend_operation: usizeMirrors the Metal framework property for alpha_blend_operation.
write_mask: usizeMirrors the Metal framework property for write_mask.
Implementations§
Trait Implementations§
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 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for RenderPipelineColorAttachmentDescriptor
Auto Trait Implementations§
impl Freeze for RenderPipelineColorAttachmentDescriptor
impl RefUnwindSafe for RenderPipelineColorAttachmentDescriptor
impl Send for RenderPipelineColorAttachmentDescriptor
impl Sync for RenderPipelineColorAttachmentDescriptor
impl Unpin for RenderPipelineColorAttachmentDescriptor
impl UnsafeUnpin for RenderPipelineColorAttachmentDescriptor
impl UnwindSafe for RenderPipelineColorAttachmentDescriptor
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