[][src]Struct iron_oxide::MTLComputeCommandEncoder

pub struct MTLComputeCommandEncoder(_);

Implementations

impl MTLComputeCommandEncoder[src]

pub unsafe fn set_compute_pipeline_state(&self, state: &MTLComputePipelineState)[src]

pub unsafe fn set_buffer(
    &self,
    buffer: &MTLBuffer,
    offset: NSUInteger,
    index: NSUInteger
)
[src]

pub unsafe fn set_buffers(
    &self,
    buffers: &[&MTLBuffer],
    offsets: &[NSUInteger],
    range: NSUIntegerRange
)
[src]

pub unsafe fn set_buffer_offset(&self, offset: NSUInteger, index: NSUInteger)[src]

pub unsafe fn set_bytes(
    &self,
    bytes: *const c_void,
    length: NSUInteger,
    index: NSUInteger
)
[src]

pub unsafe fn set_sampler_state(
    &self,
    sampler: &MTLSamplerState,
    index: NSUInteger
)
[src]

pub unsafe fn set_sampler_state_clamp(
    &self,
    sampler: &MTLSamplerState,
    lod_min_clamp: f32,
    lod_max_clamp: f32,
    index: NSUInteger
)
[src]

pub unsafe fn set_sampler_states(
    &self,
    samplers: &[MTLSamplerState],
    range: NSUIntegerRange
)
[src]

pub unsafe fn set_texture(&self, texture: &MTLTexture, index: NSUInteger)[src]

pub unsafe fn set_textures(
    &self,
    textures: &[&MTLTexture],
    range: NSUIntegerRange
)
[src]

pub unsafe fn set_threadgroup_memory_length(
    &self,
    length: NSUInteger,
    index: NSUInteger
)
[src]

pub unsafe fn dispatch_threadgroups(
    &self,
    threadgroups_per_grid: MTLSize,
    threads_per_threadgroup: MTLSize
)
[src]

pub unsafe fn dispatch_threads(
    &self,
    threads_per_grid: MTLSize,
    threads_per_threadgroup: MTLSize
)
[src]

Trait Implementations

impl Drop for MTLComputeCommandEncoder[src]

impl MTLCommandEncoder for MTLComputeCommandEncoder[src]

impl Object for MTLComputeCommandEncoder[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.