pub struct MTLRenderPassColorAttachmentDescriptor(/* private fields */);Implementations§
Source§impl MTLRenderPassColorAttachmentDescriptor
impl MTLRenderPassColorAttachmentDescriptor
pub unsafe fn new() -> MTLRenderPassColorAttachmentDescriptor
pub unsafe fn set_clear_color(&self, color: MTLClearColor)
Trait Implementations§
Source§impl Array<MTLRenderPassColorAttachmentDescriptor> for MTLRenderPassColorAttachmentDescriptorArray
impl Array<MTLRenderPassColorAttachmentDescriptor> for MTLRenderPassColorAttachmentDescriptorArray
Source§unsafe fn set_object_at_indexed_subscript(&self, index: NSUInteger, obj: &T)
unsafe fn set_object_at_indexed_subscript(&self, index: NSUInteger, obj: &T)
Puts in the array at the specified index the specified object.
Source§impl MTLRenderPassAttachmentDescriptor for MTLRenderPassColorAttachmentDescriptor
impl MTLRenderPassAttachmentDescriptor for MTLRenderPassColorAttachmentDescriptor
unsafe fn set_texture(&self, texture: &MTLTexture)
unsafe fn set_level(&self, level: NSUInteger)
unsafe fn set_slice(&self, slice: NSUInteger)
unsafe fn set_depth_plane(&self, plane: NSUInteger)
unsafe fn set_load_action(&self, action: MTLLoadAction)
unsafe fn set_store_action(&self, action: MTLStoreAction)
unsafe fn set_store_action_options(&self, options: MTLStoreActionOptions)
unsafe fn set_resolve_texture(&self, texture: &MTLTexture)
unsafe fn set_resolve_level(&self, level: NSUInteger)
unsafe fn set_resolve_slice(&self, slice: NSUInteger)
unsafe fn set_resolve_depth_plane(&self, plane: NSUInteger)
Auto Trait Implementations§
impl Freeze for MTLRenderPassColorAttachmentDescriptor
impl RefUnwindSafe for MTLRenderPassColorAttachmentDescriptor
impl !Send for MTLRenderPassColorAttachmentDescriptor
impl !Sync for MTLRenderPassColorAttachmentDescriptor
impl Unpin for MTLRenderPassColorAttachmentDescriptor
impl UnwindSafe for MTLRenderPassColorAttachmentDescriptor
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