[−][src]Struct iron_oxide::MTLCommandBuffer
Implementations
impl MTLCommandBuffer
[src]
pub unsafe fn enqueue(&self)
[src]
pub unsafe fn commit(&self)
[src]
pub unsafe fn wait_until_scheduled(&self)
[src]
pub unsafe fn wait_until_completed(&self)
[src]
pub unsafe fn present_drawable<T: MTLDrawable>(&self, drawable: &T)
[src]
pub unsafe fn present_drawable_after_min_duration<T: MTLDrawable>(
&self,
drawable: T,
duration: f64
)
[src]
&self,
drawable: T,
duration: f64
)
pub unsafe fn present_drawable_at_time<T: MTLDrawable>(
&self,
drawable: T,
time: f64
)
[src]
&self,
drawable: T,
time: f64
)
pub unsafe fn get_status(&self) -> MTLCommandBufferStatus
[src]
pub unsafe fn get_error(&self) -> Option<NSError>
[src]
pub unsafe fn get_kernel_start_time(&self) -> f64
[src]
pub unsafe fn get_kernel_end_time(&self) -> f64
[src]
pub unsafe fn new_render_command_encoder_with_descriptor(
&self,
desc: &MTLRenderPassDescriptor
) -> MTLRenderCommandEncoder
[src]
&self,
desc: &MTLRenderPassDescriptor
) -> MTLRenderCommandEncoder
pub unsafe fn new_parallel_render_command_encoder_with_descriptor(
&self,
desc: &MTLRenderPassDescriptor
) -> MTLParallelRenderCommandEncoder
[src]
&self,
desc: &MTLRenderPassDescriptor
) -> MTLParallelRenderCommandEncoder
pub unsafe fn new_compute_encoder(&self) -> MTLComputeCommandEncoder
[src]
Trait Implementations
impl DeviceCreated for MTLCommandBuffer
[src]
unsafe fn get_device(&self) -> Option<MTLDevice>
[src]
impl Drop for MTLCommandBuffer
[src]
impl Object for MTLCommandBuffer
[src]
unsafe fn from_ptr(ptr: ObjectPointer) -> Self where
Self: Sized,
[src]
Self: Sized,
fn get_ptr(&self) -> ObjectPointer
[src]
Auto Trait Implementations
impl RefUnwindSafe for MTLCommandBuffer
impl !Send for MTLCommandBuffer
impl !Sync for MTLCommandBuffer
impl Unpin for MTLCommandBuffer
impl UnwindSafe for MTLCommandBuffer
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,