[][src]Struct iron_oxide::MTLCommandBuffer

pub struct 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]

pub unsafe fn present_drawable_at_time<T: MTLDrawable>(
    &self,
    drawable: T,
    time: f64
)
[src]

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]

pub unsafe fn new_parallel_render_command_encoder_with_descriptor(
    &self,
    desc: &MTLRenderPassDescriptor
) -> MTLParallelRenderCommandEncoder
[src]

pub unsafe fn new_compute_encoder(&self) -> MTLComputeCommandEncoder[src]

Trait Implementations

impl DeviceCreated for MTLCommandBuffer[src]

impl Drop for MTLCommandBuffer[src]

impl Object for MTLCommandBuffer[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.