pub struct MetalCommandBuffer { /* private fields */ }Expand description
A Metal command buffer
Implementations§
Source§impl MetalCommandBuffer
impl MetalCommandBuffer
Sourcepub fn render_command_encoder(
&self,
render_pass: &MetalRenderPassDescriptor,
) -> Option<MetalRenderCommandEncoder>
pub fn render_command_encoder( &self, render_pass: &MetalRenderPassDescriptor, ) -> Option<MetalRenderCommandEncoder>
Create a render command encoder
Sourcepub fn present_drawable(&self, drawable: &MetalDrawable)
pub fn present_drawable(&self, drawable: &MetalDrawable)
Present a drawable
Trait Implementations§
Source§impl Debug for MetalCommandBuffer
impl Debug for MetalCommandBuffer
Auto Trait Implementations§
impl Freeze for MetalCommandBuffer
impl RefUnwindSafe for MetalCommandBuffer
impl !Send for MetalCommandBuffer
impl !Sync for MetalCommandBuffer
impl Unpin for MetalCommandBuffer
impl UnwindSafe for MetalCommandBuffer
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