[−][src]Struct iron_oxide::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]
&self,
buffer: &MTLBuffer,
offset: NSUInteger,
index: NSUInteger
)
pub unsafe fn set_buffers(
&self,
buffers: &[&MTLBuffer],
offsets: &[NSUInteger],
range: NSUIntegerRange
)
[src]
&self,
buffers: &[&MTLBuffer],
offsets: &[NSUInteger],
range: NSUIntegerRange
)
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]
&self,
bytes: *const c_void,
length: NSUInteger,
index: NSUInteger
)
pub unsafe fn set_sampler_state(
&self,
sampler: &MTLSamplerState,
index: NSUInteger
)
[src]
&self,
sampler: &MTLSamplerState,
index: NSUInteger
)
pub unsafe fn set_sampler_state_clamp(
&self,
sampler: &MTLSamplerState,
lod_min_clamp: f32,
lod_max_clamp: f32,
index: NSUInteger
)
[src]
&self,
sampler: &MTLSamplerState,
lod_min_clamp: f32,
lod_max_clamp: f32,
index: NSUInteger
)
pub unsafe fn set_sampler_states(
&self,
samplers: &[MTLSamplerState],
range: NSUIntegerRange
)
[src]
&self,
samplers: &[MTLSamplerState],
range: NSUIntegerRange
)
pub unsafe fn set_texture(&self, texture: &MTLTexture, index: NSUInteger)
[src]
pub unsafe fn set_textures(
&self,
textures: &[&MTLTexture],
range: NSUIntegerRange
)
[src]
&self,
textures: &[&MTLTexture],
range: NSUIntegerRange
)
pub unsafe fn set_threadgroup_memory_length(
&self,
length: NSUInteger,
index: NSUInteger
)
[src]
&self,
length: NSUInteger,
index: NSUInteger
)
pub unsafe fn dispatch_threadgroups(
&self,
threadgroups_per_grid: MTLSize,
threads_per_threadgroup: MTLSize
)
[src]
&self,
threadgroups_per_grid: MTLSize,
threads_per_threadgroup: MTLSize
)
pub unsafe fn dispatch_threads(
&self,
threads_per_grid: MTLSize,
threads_per_threadgroup: MTLSize
)
[src]
&self,
threads_per_grid: MTLSize,
threads_per_threadgroup: MTLSize
)
Trait Implementations
impl Drop for MTLComputeCommandEncoder
[src]
impl MTLCommandEncoder for MTLComputeCommandEncoder
[src]
unsafe fn end_encoding(&self)
[src]
impl Object for MTLComputeCommandEncoder
[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 MTLComputeCommandEncoder
impl !Send for MTLComputeCommandEncoder
impl !Sync for MTLComputeCommandEncoder
impl Unpin for MTLComputeCommandEncoder
impl UnwindSafe for MTLComputeCommandEncoder
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>,