pub unsafe trait MTLIndirectComputeCommand: NSObjectProtocol + IsRetainable {
// Provided methods
unsafe fn setComputePipelineState(
&self,
pipeline_state: &ProtocolObject<dyn MTLComputePipelineState>
)
where Self: Sized + Message { ... }
unsafe fn setKernelBuffer_offset_atIndex(
&self,
buffer: &ProtocolObject<dyn MTLBuffer>,
offset: NSUInteger,
index: NSUInteger
)
where Self: Sized + Message { ... }
unsafe fn setKernelBuffer_offset_attributeStride_atIndex(
&self,
buffer: &ProtocolObject<dyn MTLBuffer>,
offset: NSUInteger,
stride: NSUInteger,
index: NSUInteger
)
where Self: Sized + Message { ... }
unsafe fn concurrentDispatchThreadgroups_threadsPerThreadgroup(
&self,
threadgroups_per_grid: MTLSize,
threads_per_threadgroup: MTLSize
)
where Self: Sized + Message { ... }
unsafe fn concurrentDispatchThreads_threadsPerThreadgroup(
&self,
threads_per_grid: MTLSize,
threads_per_threadgroup: MTLSize
)
where Self: Sized + Message { ... }
unsafe fn setBarrier(&self)
where Self: Sized + Message { ... }
unsafe fn clearBarrier(&self)
where Self: Sized + Message { ... }
unsafe fn setImageblockWidth_height(
&self,
width: NSUInteger,
height: NSUInteger
)
where Self: Sized + Message { ... }
unsafe fn reset(&self)
where Self: Sized + Message { ... }
unsafe fn setThreadgroupMemoryLength_atIndex(
&self,
length: NSUInteger,
index: NSUInteger
)
where Self: Sized + Message { ... }
unsafe fn setStageInRegion(&self, region: MTLRegion)
where Self: Sized + Message { ... }
}Available on crate feature
MTLIndirectCommandEncoder only.Provided Methods§
unsafe fn setComputePipelineState( &self, pipeline_state: &ProtocolObject<dyn MTLComputePipelineState> )
Available on crate feature
MTLComputePipeline only.unsafe fn setKernelBuffer_offset_atIndex( &self, buffer: &ProtocolObject<dyn MTLBuffer>, offset: NSUInteger, index: NSUInteger )
Available on crate features
MTLBuffer and MTLResource only.unsafe fn setKernelBuffer_offset_attributeStride_atIndex( &self, buffer: &ProtocolObject<dyn MTLBuffer>, offset: NSUInteger, stride: NSUInteger, index: NSUInteger )
Available on crate features
MTLBuffer and MTLResource only.unsafe fn concurrentDispatchThreadgroups_threadsPerThreadgroup( &self, threadgroups_per_grid: MTLSize, threads_per_threadgroup: MTLSize )
Available on crate feature
MTLTypes only.unsafe fn concurrentDispatchThreads_threadsPerThreadgroup( &self, threads_per_grid: MTLSize, threads_per_threadgroup: MTLSize )
Available on crate feature
MTLTypes only.unsafe fn setBarrier(&self)
unsafe fn clearBarrier(&self)
unsafe fn setImageblockWidth_height( &self, width: NSUInteger, height: NSUInteger )
unsafe fn reset(&self)
unsafe fn setThreadgroupMemoryLength_atIndex( &self, length: NSUInteger, index: NSUInteger )
unsafe fn setStageInRegion(&self, region: MTLRegion)
Available on crate feature
MTLTypes only.