Trait objc2_metal::MTLRenderCommandEncoder

source ·
pub unsafe trait MTLRenderCommandEncoder: MTLCommandEncoder + IsRetainable {
Show 129 methods // Provided methods fn setRenderPipelineState( &self, pipeline_state: &ProtocolObject<dyn MTLRenderPipelineState> ) where Self: Sized + Message { ... } unsafe fn setVertexBytes_length_atIndex( &self, bytes: NonNull<c_void>, length: NSUInteger, index: NSUInteger ) where Self: Sized + Message { ... } unsafe fn setVertexBuffer_offset_atIndex( &self, buffer: Option<&ProtocolObject<dyn MTLBuffer>>, offset: NSUInteger, index: NSUInteger ) where Self: Sized + Message { ... } unsafe fn setVertexBufferOffset_atIndex( &self, offset: NSUInteger, index: NSUInteger ) where Self: Sized + Message { ... } unsafe fn setVertexBuffers_offsets_withRange( &self, buffers: NonNull<*const ProtocolObject<dyn MTLBuffer>>, offsets: NonNull<NSUInteger>, range: NSRange ) where Self: Sized + Message { ... } unsafe fn setVertexBuffer_offset_attributeStride_atIndex( &self, buffer: Option<&ProtocolObject<dyn MTLBuffer>>, offset: NSUInteger, stride: NSUInteger, index: NSUInteger ) where Self: Sized + Message { ... } unsafe fn setVertexBuffers_offsets_attributeStrides_withRange( &self, buffers: NonNull<*const ProtocolObject<dyn MTLBuffer>>, offsets: NonNull<NSUInteger>, strides: NonNull<NSUInteger>, range: NSRange ) where Self: Sized + Message { ... } unsafe fn setVertexBufferOffset_attributeStride_atIndex( &self, offset: NSUInteger, stride: NSUInteger, index: NSUInteger ) where Self: Sized + Message { ... } unsafe fn setVertexBytes_length_attributeStride_atIndex( &self, bytes: NonNull<c_void>, length: NSUInteger, stride: NSUInteger, index: NSUInteger ) where Self: Sized + Message { ... } unsafe fn setVertexTexture_atIndex( &self, texture: Option<&ProtocolObject<dyn MTLTexture>>, index: NSUInteger ) where Self: Sized + Message { ... } unsafe fn setVertexTextures_withRange( &self, textures: NonNull<*const ProtocolObject<dyn MTLTexture>>, range: NSRange ) where Self: Sized + Message { ... } unsafe fn setVertexSamplerState_atIndex( &self, sampler: Option<&ProtocolObject<dyn MTLSamplerState>>, index: NSUInteger ) where Self: Sized + Message { ... } unsafe fn setVertexSamplerStates_withRange( &self, samplers: NonNull<*const ProtocolObject<dyn MTLSamplerState>>, range: NSRange ) where Self: Sized + Message { ... } unsafe fn setVertexSamplerState_lodMinClamp_lodMaxClamp_atIndex( &self, sampler: Option<&ProtocolObject<dyn MTLSamplerState>>, lod_min_clamp: c_float, lod_max_clamp: c_float, index: NSUInteger ) where Self: Sized + Message { ... } unsafe fn setVertexSamplerStates_lodMinClamps_lodMaxClamps_withRange( &self, samplers: NonNull<*const ProtocolObject<dyn MTLSamplerState>>, lod_min_clamps: NonNull<c_float>, lod_max_clamps: NonNull<c_float>, range: NSRange ) where Self: Sized + Message { ... } unsafe fn setVertexVisibleFunctionTable_atBufferIndex( &self, function_table: Option<&ProtocolObject<dyn MTLVisibleFunctionTable>>, buffer_index: NSUInteger ) where Self: Sized + Message { ... } unsafe fn setVertexVisibleFunctionTables_withBufferRange( &self, function_tables: NonNull<*const ProtocolObject<dyn MTLVisibleFunctionTable>>, range: NSRange ) where Self: Sized + Message { ... } unsafe fn setVertexIntersectionFunctionTable_atBufferIndex( &self, intersection_function_table: Option<&ProtocolObject<dyn MTLIntersectionFunctionTable>>, buffer_index: NSUInteger ) where Self: Sized + Message { ... } unsafe fn setVertexIntersectionFunctionTables_withBufferRange( &self, intersection_function_tables: NonNull<*const ProtocolObject<dyn MTLIntersectionFunctionTable>>, range: NSRange ) where Self: Sized + Message { ... } unsafe fn setVertexAccelerationStructure_atBufferIndex( &self, acceleration_structure: Option<&ProtocolObject<dyn MTLAccelerationStructure>>, buffer_index: NSUInteger ) where Self: Sized + Message { ... } fn setViewport(&self, viewport: MTLViewport) where Self: Sized + Message { ... } unsafe fn setViewports_count( &self, viewports: NonNull<MTLViewport>, count: NSUInteger ) where Self: Sized + Message { ... } fn setFrontFacingWinding(&self, front_facing_winding: MTLWinding) where Self: Sized + Message { ... } unsafe fn setVertexAmplificationCount_viewMappings( &self, count: NSUInteger, view_mappings: *mut MTLVertexAmplificationViewMapping ) where Self: Sized + Message { ... } fn setCullMode(&self, cull_mode: MTLCullMode) where Self: Sized + Message { ... } fn setDepthClipMode(&self, depth_clip_mode: MTLDepthClipMode) where Self: Sized + Message { ... } fn setDepthBias_slopeScale_clamp( &self, depth_bias: c_float, slope_scale: c_float, clamp: c_float ) where Self: Sized + Message { ... } fn setScissorRect(&self, rect: MTLScissorRect) where Self: Sized + Message { ... } unsafe fn setScissorRects_count( &self, scissor_rects: NonNull<MTLScissorRect>, count: NSUInteger ) where Self: Sized + Message { ... } fn setTriangleFillMode(&self, fill_mode: MTLTriangleFillMode) where Self: Sized + Message { ... } unsafe fn setFragmentBytes_length_atIndex( &self, bytes: NonNull<c_void>, length: NSUInteger, index: NSUInteger ) where Self: Sized + Message { ... } unsafe fn setFragmentBuffer_offset_atIndex( &self, buffer: Option<&ProtocolObject<dyn MTLBuffer>>, offset: NSUInteger, index: NSUInteger ) where Self: Sized + Message { ... } unsafe fn setFragmentBufferOffset_atIndex( &self, offset: NSUInteger, index: NSUInteger ) where Self: Sized + Message { ... } unsafe fn setFragmentBuffers_offsets_withRange( &self, buffers: NonNull<*const ProtocolObject<dyn MTLBuffer>>, offsets: NonNull<NSUInteger>, range: NSRange ) where Self: Sized + Message { ... } unsafe fn setFragmentTexture_atIndex( &self, texture: Option<&ProtocolObject<dyn MTLTexture>>, index: NSUInteger ) where Self: Sized + Message { ... } unsafe fn setFragmentTextures_withRange( &self, textures: NonNull<*const ProtocolObject<dyn MTLTexture>>, range: NSRange ) where Self: Sized + Message { ... } unsafe fn setFragmentSamplerState_atIndex( &self, sampler: Option<&ProtocolObject<dyn MTLSamplerState>>, index: NSUInteger ) where Self: Sized + Message { ... } unsafe fn setFragmentSamplerStates_withRange( &self, samplers: NonNull<*const ProtocolObject<dyn MTLSamplerState>>, range: NSRange ) where Self: Sized + Message { ... } unsafe fn setFragmentSamplerState_lodMinClamp_lodMaxClamp_atIndex( &self, sampler: Option<&ProtocolObject<dyn MTLSamplerState>>, lod_min_clamp: c_float, lod_max_clamp: c_float, index: NSUInteger ) where Self: Sized + Message { ... } unsafe fn setFragmentSamplerStates_lodMinClamps_lodMaxClamps_withRange( &self, samplers: NonNull<*const ProtocolObject<dyn MTLSamplerState>>, lod_min_clamps: NonNull<c_float>, lod_max_clamps: NonNull<c_float>, range: NSRange ) where Self: Sized + Message { ... } unsafe fn setFragmentVisibleFunctionTable_atBufferIndex( &self, function_table: Option<&ProtocolObject<dyn MTLVisibleFunctionTable>>, buffer_index: NSUInteger ) where Self: Sized + Message { ... } unsafe fn setFragmentVisibleFunctionTables_withBufferRange( &self, function_tables: NonNull<*const ProtocolObject<dyn MTLVisibleFunctionTable>>, range: NSRange ) where Self: Sized + Message { ... } unsafe fn setFragmentIntersectionFunctionTable_atBufferIndex( &self, intersection_function_table: Option<&ProtocolObject<dyn MTLIntersectionFunctionTable>>, buffer_index: NSUInteger ) where Self: Sized + Message { ... } unsafe fn setFragmentIntersectionFunctionTables_withBufferRange( &self, intersection_function_tables: NonNull<*const ProtocolObject<dyn MTLIntersectionFunctionTable>>, range: NSRange ) where Self: Sized + Message { ... } unsafe fn setFragmentAccelerationStructure_atBufferIndex( &self, acceleration_structure: Option<&ProtocolObject<dyn MTLAccelerationStructure>>, buffer_index: NSUInteger ) where Self: Sized + Message { ... } fn setBlendColorRed_green_blue_alpha( &self, red: c_float, green: c_float, blue: c_float, alpha: c_float ) where Self: Sized + Message { ... } fn setDepthStencilState( &self, depth_stencil_state: Option<&ProtocolObject<dyn MTLDepthStencilState>> ) where Self: Sized + Message { ... } fn setStencilReferenceValue(&self, reference_value: u32) where Self: Sized + Message { ... } fn setStencilFrontReferenceValue_backReferenceValue( &self, front_reference_value: u32, back_reference_value: u32 ) where Self: Sized + Message { ... } fn setVisibilityResultMode_offset( &self, mode: MTLVisibilityResultMode, offset: NSUInteger ) where Self: Sized + Message { ... } unsafe fn setColorStoreAction_atIndex( &self, store_action: MTLStoreAction, color_attachment_index: NSUInteger ) where Self: Sized + Message { ... } unsafe fn setDepthStoreAction(&self, store_action: MTLStoreAction) where Self: Sized + Message { ... } unsafe fn setStencilStoreAction(&self, store_action: MTLStoreAction) where Self: Sized + Message { ... } unsafe fn setColorStoreActionOptions_atIndex( &self, store_action_options: MTLStoreActionOptions, color_attachment_index: NSUInteger ) where Self: Sized + Message { ... } unsafe fn setDepthStoreActionOptions( &self, store_action_options: MTLStoreActionOptions ) where Self: Sized + Message { ... } unsafe fn setStencilStoreActionOptions( &self, store_action_options: MTLStoreActionOptions ) where Self: Sized + Message { ... } unsafe fn setObjectBytes_length_atIndex( &self, bytes: NonNull<c_void>, length: NSUInteger, index: NSUInteger ) where Self: Sized + Message { ... } unsafe fn setObjectBuffer_offset_atIndex( &self, buffer: Option<&ProtocolObject<dyn MTLBuffer>>, offset: NSUInteger, index: NSUInteger ) where Self: Sized + Message { ... } unsafe fn setObjectBufferOffset_atIndex( &self, offset: NSUInteger, index: NSUInteger ) where Self: Sized + Message { ... } unsafe fn setObjectBuffers_offsets_withRange( &self, buffers: NonNull<*const ProtocolObject<dyn MTLBuffer>>, offsets: NonNull<NSUInteger>, range: NSRange ) where Self: Sized + Message { ... } unsafe fn setObjectTexture_atIndex( &self, texture: Option<&ProtocolObject<dyn MTLTexture>>, index: NSUInteger ) where Self: Sized + Message { ... } unsafe fn setObjectTextures_withRange( &self, textures: NonNull<*const ProtocolObject<dyn MTLTexture>>, range: NSRange ) where Self: Sized + Message { ... } unsafe fn setObjectSamplerState_atIndex( &self, sampler: Option<&ProtocolObject<dyn MTLSamplerState>>, index: NSUInteger ) where Self: Sized + Message { ... } unsafe fn setObjectSamplerStates_withRange( &self, samplers: NonNull<*const ProtocolObject<dyn MTLSamplerState>>, range: NSRange ) where Self: Sized + Message { ... } unsafe fn setObjectSamplerState_lodMinClamp_lodMaxClamp_atIndex( &self, sampler: Option<&ProtocolObject<dyn MTLSamplerState>>, lod_min_clamp: c_float, lod_max_clamp: c_float, index: NSUInteger ) where Self: Sized + Message { ... } unsafe fn setObjectSamplerStates_lodMinClamps_lodMaxClamps_withRange( &self, samplers: NonNull<*const ProtocolObject<dyn MTLSamplerState>>, lod_min_clamps: NonNull<c_float>, lod_max_clamps: NonNull<c_float>, range: NSRange ) where Self: Sized + Message { ... } unsafe fn setObjectThreadgroupMemoryLength_atIndex( &self, length: NSUInteger, index: NSUInteger ) where Self: Sized + Message { ... } unsafe fn setMeshBytes_length_atIndex( &self, bytes: NonNull<c_void>, length: NSUInteger, index: NSUInteger ) where Self: Sized + Message { ... } unsafe fn setMeshBuffer_offset_atIndex( &self, buffer: Option<&ProtocolObject<dyn MTLBuffer>>, offset: NSUInteger, index: NSUInteger ) where Self: Sized + Message { ... } unsafe fn setMeshBufferOffset_atIndex( &self, offset: NSUInteger, index: NSUInteger ) where Self: Sized + Message { ... } unsafe fn setMeshBuffers_offsets_withRange( &self, buffers: NonNull<*const ProtocolObject<dyn MTLBuffer>>, offsets: NonNull<NSUInteger>, range: NSRange ) where Self: Sized + Message { ... } unsafe fn setMeshTexture_atIndex( &self, texture: Option<&ProtocolObject<dyn MTLTexture>>, index: NSUInteger ) where Self: Sized + Message { ... } unsafe fn setMeshTextures_withRange( &self, textures: NonNull<*const ProtocolObject<dyn MTLTexture>>, range: NSRange ) where Self: Sized + Message { ... } unsafe fn setMeshSamplerState_atIndex( &self, sampler: Option<&ProtocolObject<dyn MTLSamplerState>>, index: NSUInteger ) where Self: Sized + Message { ... } unsafe fn setMeshSamplerStates_withRange( &self, samplers: NonNull<*const ProtocolObject<dyn MTLSamplerState>>, range: NSRange ) where Self: Sized + Message { ... } unsafe fn setMeshSamplerState_lodMinClamp_lodMaxClamp_atIndex( &self, sampler: Option<&ProtocolObject<dyn MTLSamplerState>>, lod_min_clamp: c_float, lod_max_clamp: c_float, index: NSUInteger ) where Self: Sized + Message { ... } unsafe fn setMeshSamplerStates_lodMinClamps_lodMaxClamps_withRange( &self, samplers: NonNull<*const ProtocolObject<dyn MTLSamplerState>>, lod_min_clamps: NonNull<c_float>, lod_max_clamps: NonNull<c_float>, range: NSRange ) where Self: Sized + Message { ... } unsafe fn drawMeshThreadgroups_threadsPerObjectThreadgroup_threadsPerMeshThreadgroup( &self, threadgroups_per_grid: MTLSize, threads_per_object_threadgroup: MTLSize, threads_per_mesh_threadgroup: MTLSize ) where Self: Sized + Message { ... } unsafe fn drawMeshThreads_threadsPerObjectThreadgroup_threadsPerMeshThreadgroup( &self, threads_per_grid: MTLSize, threads_per_object_threadgroup: MTLSize, threads_per_mesh_threadgroup: MTLSize ) where Self: Sized + Message { ... } unsafe fn drawMeshThreadgroupsWithIndirectBuffer_indirectBufferOffset_threadsPerObjectThreadgroup_threadsPerMeshThreadgroup( &self, indirect_buffer: &ProtocolObject<dyn MTLBuffer>, indirect_buffer_offset: NSUInteger, threads_per_object_threadgroup: MTLSize, threads_per_mesh_threadgroup: MTLSize ) where Self: Sized + Message { ... } unsafe fn drawPrimitives_vertexStart_vertexCount_instanceCount( &self, primitive_type: MTLPrimitiveType, vertex_start: NSUInteger, vertex_count: NSUInteger, instance_count: NSUInteger ) where Self: Sized + Message { ... } unsafe fn drawPrimitives_vertexStart_vertexCount( &self, primitive_type: MTLPrimitiveType, vertex_start: NSUInteger, vertex_count: NSUInteger ) where Self: Sized + Message { ... } unsafe fn drawIndexedPrimitives_indexCount_indexType_indexBuffer_indexBufferOffset_instanceCount( &self, primitive_type: MTLPrimitiveType, index_count: NSUInteger, index_type: MTLIndexType, index_buffer: &ProtocolObject<dyn MTLBuffer>, index_buffer_offset: NSUInteger, instance_count: NSUInteger ) where Self: Sized + Message { ... } unsafe fn drawIndexedPrimitives_indexCount_indexType_indexBuffer_indexBufferOffset( &self, primitive_type: MTLPrimitiveType, index_count: NSUInteger, index_type: MTLIndexType, index_buffer: &ProtocolObject<dyn MTLBuffer>, index_buffer_offset: NSUInteger ) where Self: Sized + Message { ... } unsafe fn drawPrimitives_vertexStart_vertexCount_instanceCount_baseInstance( &self, primitive_type: MTLPrimitiveType, vertex_start: NSUInteger, vertex_count: NSUInteger, instance_count: NSUInteger, base_instance: NSUInteger ) where Self: Sized + Message { ... } unsafe fn drawIndexedPrimitives_indexCount_indexType_indexBuffer_indexBufferOffset_instanceCount_baseVertex_baseInstance( &self, primitive_type: MTLPrimitiveType, index_count: NSUInteger, index_type: MTLIndexType, index_buffer: &ProtocolObject<dyn MTLBuffer>, index_buffer_offset: NSUInteger, instance_count: NSUInteger, base_vertex: NSInteger, base_instance: NSUInteger ) where Self: Sized + Message { ... } unsafe fn drawPrimitives_indirectBuffer_indirectBufferOffset( &self, primitive_type: MTLPrimitiveType, indirect_buffer: &ProtocolObject<dyn MTLBuffer>, indirect_buffer_offset: NSUInteger ) where Self: Sized + Message { ... } unsafe fn drawIndexedPrimitives_indexType_indexBuffer_indexBufferOffset_indirectBuffer_indirectBufferOffset( &self, primitive_type: MTLPrimitiveType, index_type: MTLIndexType, index_buffer: &ProtocolObject<dyn MTLBuffer>, index_buffer_offset: NSUInteger, indirect_buffer: &ProtocolObject<dyn MTLBuffer>, indirect_buffer_offset: NSUInteger ) where Self: Sized + Message { ... } unsafe fn textureBarrier(&self) where Self: Sized + Message { ... } fn updateFence_afterStages( &self, fence: &ProtocolObject<dyn MTLFence>, stages: MTLRenderStages ) where Self: Sized + Message { ... } fn waitForFence_beforeStages( &self, fence: &ProtocolObject<dyn MTLFence>, stages: MTLRenderStages ) where Self: Sized + Message { ... } unsafe fn setTessellationFactorBuffer_offset_instanceStride( &self, buffer: Option<&ProtocolObject<dyn MTLBuffer>>, offset: NSUInteger, instance_stride: NSUInteger ) where Self: Sized + Message { ... } unsafe fn setTessellationFactorScale(&self, scale: c_float) where Self: Sized + Message { ... } unsafe fn drawPatches_patchStart_patchCount_patchIndexBuffer_patchIndexBufferOffset_instanceCount_baseInstance( &self, number_of_patch_control_points: NSUInteger, patch_start: NSUInteger, patch_count: NSUInteger, patch_index_buffer: Option<&ProtocolObject<dyn MTLBuffer>>, patch_index_buffer_offset: NSUInteger, instance_count: NSUInteger, base_instance: NSUInteger ) where Self: Sized + Message { ... } unsafe fn drawPatches_patchIndexBuffer_patchIndexBufferOffset_indirectBuffer_indirectBufferOffset( &self, number_of_patch_control_points: NSUInteger, patch_index_buffer: Option<&ProtocolObject<dyn MTLBuffer>>, patch_index_buffer_offset: NSUInteger, indirect_buffer: &ProtocolObject<dyn MTLBuffer>, indirect_buffer_offset: NSUInteger ) where Self: Sized + Message { ... } unsafe fn drawIndexedPatches_patchStart_patchCount_patchIndexBuffer_patchIndexBufferOffset_controlPointIndexBuffer_controlPointIndexBufferOffset_instanceCount_baseInstance( &self, number_of_patch_control_points: NSUInteger, patch_start: NSUInteger, patch_count: NSUInteger, patch_index_buffer: Option<&ProtocolObject<dyn MTLBuffer>>, patch_index_buffer_offset: NSUInteger, control_point_index_buffer: &ProtocolObject<dyn MTLBuffer>, control_point_index_buffer_offset: NSUInteger, instance_count: NSUInteger, base_instance: NSUInteger ) where Self: Sized + Message { ... } unsafe fn drawIndexedPatches_patchIndexBuffer_patchIndexBufferOffset_controlPointIndexBuffer_controlPointIndexBufferOffset_indirectBuffer_indirectBufferOffset( &self, number_of_patch_control_points: NSUInteger, patch_index_buffer: Option<&ProtocolObject<dyn MTLBuffer>>, patch_index_buffer_offset: NSUInteger, control_point_index_buffer: &ProtocolObject<dyn MTLBuffer>, control_point_index_buffer_offset: NSUInteger, indirect_buffer: &ProtocolObject<dyn MTLBuffer>, indirect_buffer_offset: NSUInteger ) where Self: Sized + Message { ... } unsafe fn tileWidth(&self) -> NSUInteger where Self: Sized + Message { ... } unsafe fn tileHeight(&self) -> NSUInteger where Self: Sized + Message { ... } unsafe fn setTileBytes_length_atIndex( &self, bytes: NonNull<c_void>, length: NSUInteger, index: NSUInteger ) where Self: Sized + Message { ... } unsafe fn setTileBuffer_offset_atIndex( &self, buffer: Option<&ProtocolObject<dyn MTLBuffer>>, offset: NSUInteger, index: NSUInteger ) where Self: Sized + Message { ... } unsafe fn setTileBufferOffset_atIndex( &self, offset: NSUInteger, index: NSUInteger ) where Self: Sized + Message { ... } unsafe fn setTileBuffers_offsets_withRange( &self, buffers: NonNull<*const ProtocolObject<dyn MTLBuffer>>, offsets: NonNull<NSUInteger>, range: NSRange ) where Self: Sized + Message { ... } unsafe fn setTileTexture_atIndex( &self, texture: Option<&ProtocolObject<dyn MTLTexture>>, index: NSUInteger ) where Self: Sized + Message { ... } unsafe fn setTileTextures_withRange( &self, textures: NonNull<*const ProtocolObject<dyn MTLTexture>>, range: NSRange ) where Self: Sized + Message { ... } unsafe fn setTileSamplerState_atIndex( &self, sampler: Option<&ProtocolObject<dyn MTLSamplerState>>, index: NSUInteger ) where Self: Sized + Message { ... } unsafe fn setTileSamplerStates_withRange( &self, samplers: NonNull<*const ProtocolObject<dyn MTLSamplerState>>, range: NSRange ) where Self: Sized + Message { ... } unsafe fn setTileSamplerState_lodMinClamp_lodMaxClamp_atIndex( &self, sampler: Option<&ProtocolObject<dyn MTLSamplerState>>, lod_min_clamp: c_float, lod_max_clamp: c_float, index: NSUInteger ) where Self: Sized + Message { ... } unsafe fn setTileSamplerStates_lodMinClamps_lodMaxClamps_withRange( &self, samplers: NonNull<*const ProtocolObject<dyn MTLSamplerState>>, lod_min_clamps: NonNull<c_float>, lod_max_clamps: NonNull<c_float>, range: NSRange ) where Self: Sized + Message { ... } unsafe fn setTileVisibleFunctionTable_atBufferIndex( &self, function_table: Option<&ProtocolObject<dyn MTLVisibleFunctionTable>>, buffer_index: NSUInteger ) where Self: Sized + Message { ... } unsafe fn setTileVisibleFunctionTables_withBufferRange( &self, function_tables: NonNull<*const ProtocolObject<dyn MTLVisibleFunctionTable>>, range: NSRange ) where Self: Sized + Message { ... } unsafe fn setTileIntersectionFunctionTable_atBufferIndex( &self, intersection_function_table: Option<&ProtocolObject<dyn MTLIntersectionFunctionTable>>, buffer_index: NSUInteger ) where Self: Sized + Message { ... } unsafe fn setTileIntersectionFunctionTables_withBufferRange( &self, intersection_function_tables: NonNull<*const ProtocolObject<dyn MTLIntersectionFunctionTable>>, range: NSRange ) where Self: Sized + Message { ... } unsafe fn setTileAccelerationStructure_atBufferIndex( &self, acceleration_structure: Option<&ProtocolObject<dyn MTLAccelerationStructure>>, buffer_index: NSUInteger ) where Self: Sized + Message { ... } unsafe fn dispatchThreadsPerTile(&self, threads_per_tile: MTLSize) where Self: Sized + Message { ... } unsafe fn setThreadgroupMemoryLength_offset_atIndex( &self, length: NSUInteger, offset: NSUInteger, index: NSUInteger ) where Self: Sized + Message { ... } fn useResource_usage( &self, resource: &ProtocolObject<dyn MTLResource>, usage: MTLResourceUsage ) where Self: Sized + Message { ... } unsafe fn useResources_count_usage( &self, resources: NonNull<NonNull<ProtocolObject<dyn MTLResource>>>, count: NSUInteger, usage: MTLResourceUsage ) where Self: Sized + Message { ... } fn useResource_usage_stages( &self, resource: &ProtocolObject<dyn MTLResource>, usage: MTLResourceUsage, stages: MTLRenderStages ) where Self: Sized + Message { ... } unsafe fn useResources_count_usage_stages( &self, resources: NonNull<NonNull<ProtocolObject<dyn MTLResource>>>, count: NSUInteger, usage: MTLResourceUsage, stages: MTLRenderStages ) where Self: Sized + Message { ... } fn useHeap(&self, heap: &ProtocolObject<dyn MTLHeap>) where Self: Sized + Message { ... } unsafe fn useHeaps_count( &self, heaps: NonNull<NonNull<ProtocolObject<dyn MTLHeap>>>, count: NSUInteger ) where Self: Sized + Message { ... } fn useHeap_stages( &self, heap: &ProtocolObject<dyn MTLHeap>, stages: MTLRenderStages ) where Self: Sized + Message { ... } unsafe fn useHeaps_count_stages( &self, heaps: NonNull<NonNull<ProtocolObject<dyn MTLHeap>>>, count: NSUInteger, stages: MTLRenderStages ) where Self: Sized + Message { ... } unsafe fn executeCommandsInBuffer_withRange( &self, indirect_command_buffer: &ProtocolObject<dyn MTLIndirectCommandBuffer>, execution_range: NSRange ) where Self: Sized + Message { ... } unsafe fn executeCommandsInBuffer_indirectBuffer_indirectBufferOffset( &self, indirect_commandbuffer: &ProtocolObject<dyn MTLIndirectCommandBuffer>, indirect_range_buffer: &ProtocolObject<dyn MTLBuffer>, indirect_buffer_offset: NSUInteger ) where Self: Sized + Message { ... } unsafe fn memoryBarrierWithScope_afterStages_beforeStages( &self, scope: MTLBarrierScope, after: MTLRenderStages, before: MTLRenderStages ) where Self: Sized + Message { ... } unsafe fn memoryBarrierWithResources_count_afterStages_beforeStages( &self, resources: NonNull<NonNull<ProtocolObject<dyn MTLResource>>>, count: NSUInteger, after: MTLRenderStages, before: MTLRenderStages ) where Self: Sized + Message { ... } unsafe fn sampleCountersInBuffer_atSampleIndex_withBarrier( &self, sample_buffer: &ProtocolObject<dyn MTLCounterSampleBuffer>, sample_index: NSUInteger, barrier: bool ) where Self: Sized + Message { ... }
}
Available on crate features MTLCommandEncoder and MTLRenderCommandEncoder only.

Provided Methods§

source

fn setRenderPipelineState( &self, pipeline_state: &ProtocolObject<dyn MTLRenderPipelineState> )
where Self: Sized + Message,

Available on crate feature MTLRenderPipeline only.
source

unsafe fn setVertexBytes_length_atIndex( &self, bytes: NonNull<c_void>, length: NSUInteger, index: NSUInteger )
where Self: Sized + Message,

source

unsafe fn setVertexBuffer_offset_atIndex( &self, buffer: Option<&ProtocolObject<dyn MTLBuffer>>, offset: NSUInteger, index: NSUInteger )
where Self: Sized + Message,

Available on crate features MTLBuffer and MTLResource only.
source

unsafe fn setVertexBufferOffset_atIndex( &self, offset: NSUInteger, index: NSUInteger )
where Self: Sized + Message,

source

unsafe fn setVertexBuffers_offsets_withRange( &self, buffers: NonNull<*const ProtocolObject<dyn MTLBuffer>>, offsets: NonNull<NSUInteger>, range: NSRange )
where Self: Sized + Message,

Available on crate features MTLBuffer and MTLResource only.
source

unsafe fn setVertexBuffer_offset_attributeStride_atIndex( &self, buffer: Option<&ProtocolObject<dyn MTLBuffer>>, offset: NSUInteger, stride: NSUInteger, index: NSUInteger )
where Self: Sized + Message,

Available on crate features MTLBuffer and MTLResource only.
source

unsafe fn setVertexBuffers_offsets_attributeStrides_withRange( &self, buffers: NonNull<*const ProtocolObject<dyn MTLBuffer>>, offsets: NonNull<NSUInteger>, strides: NonNull<NSUInteger>, range: NSRange )
where Self: Sized + Message,

Available on crate features MTLBuffer and MTLResource only.
source

unsafe fn setVertexBufferOffset_attributeStride_atIndex( &self, offset: NSUInteger, stride: NSUInteger, index: NSUInteger )
where Self: Sized + Message,

source

unsafe fn setVertexBytes_length_attributeStride_atIndex( &self, bytes: NonNull<c_void>, length: NSUInteger, stride: NSUInteger, index: NSUInteger )
where Self: Sized + Message,

source

unsafe fn setVertexTexture_atIndex( &self, texture: Option<&ProtocolObject<dyn MTLTexture>>, index: NSUInteger )
where Self: Sized + Message,

Available on crate features MTLResource and MTLTexture only.
source

unsafe fn setVertexTextures_withRange( &self, textures: NonNull<*const ProtocolObject<dyn MTLTexture>>, range: NSRange )
where Self: Sized + Message,

Available on crate features MTLResource and MTLTexture only.
source

unsafe fn setVertexSamplerState_atIndex( &self, sampler: Option<&ProtocolObject<dyn MTLSamplerState>>, index: NSUInteger )
where Self: Sized + Message,

Available on crate feature MTLSampler only.
source

unsafe fn setVertexSamplerStates_withRange( &self, samplers: NonNull<*const ProtocolObject<dyn MTLSamplerState>>, range: NSRange )
where Self: Sized + Message,

Available on crate feature MTLSampler only.
source

unsafe fn setVertexSamplerState_lodMinClamp_lodMaxClamp_atIndex( &self, sampler: Option<&ProtocolObject<dyn MTLSamplerState>>, lod_min_clamp: c_float, lod_max_clamp: c_float, index: NSUInteger )
where Self: Sized + Message,

Available on crate feature MTLSampler only.
source

unsafe fn setVertexSamplerStates_lodMinClamps_lodMaxClamps_withRange( &self, samplers: NonNull<*const ProtocolObject<dyn MTLSamplerState>>, lod_min_clamps: NonNull<c_float>, lod_max_clamps: NonNull<c_float>, range: NSRange )
where Self: Sized + Message,

Available on crate feature MTLSampler only.
source

unsafe fn setVertexVisibleFunctionTable_atBufferIndex( &self, function_table: Option<&ProtocolObject<dyn MTLVisibleFunctionTable>>, buffer_index: NSUInteger )
where Self: Sized + Message,

Available on crate features MTLResource and MTLVisibleFunctionTable only.
source

unsafe fn setVertexVisibleFunctionTables_withBufferRange( &self, function_tables: NonNull<*const ProtocolObject<dyn MTLVisibleFunctionTable>>, range: NSRange )
where Self: Sized + Message,

Available on crate features MTLResource and MTLVisibleFunctionTable only.
source

unsafe fn setVertexIntersectionFunctionTable_atBufferIndex( &self, intersection_function_table: Option<&ProtocolObject<dyn MTLIntersectionFunctionTable>>, buffer_index: NSUInteger )
where Self: Sized + Message,

Available on crate features MTLIntersectionFunctionTable and MTLResource only.
source

unsafe fn setVertexIntersectionFunctionTables_withBufferRange( &self, intersection_function_tables: NonNull<*const ProtocolObject<dyn MTLIntersectionFunctionTable>>, range: NSRange )
where Self: Sized + Message,

Available on crate features MTLIntersectionFunctionTable and MTLResource only.
source

unsafe fn setVertexAccelerationStructure_atBufferIndex( &self, acceleration_structure: Option<&ProtocolObject<dyn MTLAccelerationStructure>>, buffer_index: NSUInteger )
where Self: Sized + Message,

Available on crate features MTLAccelerationStructure and MTLResource only.
source

fn setViewport(&self, viewport: MTLViewport)
where Self: Sized + Message,

source

unsafe fn setViewports_count( &self, viewports: NonNull<MTLViewport>, count: NSUInteger )
where Self: Sized + Message,

source

fn setFrontFacingWinding(&self, front_facing_winding: MTLWinding)
where Self: Sized + Message,

source

unsafe fn setVertexAmplificationCount_viewMappings( &self, count: NSUInteger, view_mappings: *mut MTLVertexAmplificationViewMapping )
where Self: Sized + Message,

source

fn setCullMode(&self, cull_mode: MTLCullMode)
where Self: Sized + Message,

source

fn setDepthClipMode(&self, depth_clip_mode: MTLDepthClipMode)
where Self: Sized + Message,

source

fn setDepthBias_slopeScale_clamp( &self, depth_bias: c_float, slope_scale: c_float, clamp: c_float )
where Self: Sized + Message,

source

fn setScissorRect(&self, rect: MTLScissorRect)
where Self: Sized + Message,

source

unsafe fn setScissorRects_count( &self, scissor_rects: NonNull<MTLScissorRect>, count: NSUInteger )
where Self: Sized + Message,

source

fn setTriangleFillMode(&self, fill_mode: MTLTriangleFillMode)
where Self: Sized + Message,

source

unsafe fn setFragmentBytes_length_atIndex( &self, bytes: NonNull<c_void>, length: NSUInteger, index: NSUInteger )
where Self: Sized + Message,

source

unsafe fn setFragmentBuffer_offset_atIndex( &self, buffer: Option<&ProtocolObject<dyn MTLBuffer>>, offset: NSUInteger, index: NSUInteger )
where Self: Sized + Message,

Available on crate features MTLBuffer and MTLResource only.
source

unsafe fn setFragmentBufferOffset_atIndex( &self, offset: NSUInteger, index: NSUInteger )
where Self: Sized + Message,

source

unsafe fn setFragmentBuffers_offsets_withRange( &self, buffers: NonNull<*const ProtocolObject<dyn MTLBuffer>>, offsets: NonNull<NSUInteger>, range: NSRange )
where Self: Sized + Message,

Available on crate features MTLBuffer and MTLResource only.
source

unsafe fn setFragmentTexture_atIndex( &self, texture: Option<&ProtocolObject<dyn MTLTexture>>, index: NSUInteger )
where Self: Sized + Message,

Available on crate features MTLResource and MTLTexture only.
source

unsafe fn setFragmentTextures_withRange( &self, textures: NonNull<*const ProtocolObject<dyn MTLTexture>>, range: NSRange )
where Self: Sized + Message,

Available on crate features MTLResource and MTLTexture only.
source

unsafe fn setFragmentSamplerState_atIndex( &self, sampler: Option<&ProtocolObject<dyn MTLSamplerState>>, index: NSUInteger )
where Self: Sized + Message,

Available on crate feature MTLSampler only.
source

unsafe fn setFragmentSamplerStates_withRange( &self, samplers: NonNull<*const ProtocolObject<dyn MTLSamplerState>>, range: NSRange )
where Self: Sized + Message,

Available on crate feature MTLSampler only.
source

unsafe fn setFragmentSamplerState_lodMinClamp_lodMaxClamp_atIndex( &self, sampler: Option<&ProtocolObject<dyn MTLSamplerState>>, lod_min_clamp: c_float, lod_max_clamp: c_float, index: NSUInteger )
where Self: Sized + Message,

Available on crate feature MTLSampler only.
source

unsafe fn setFragmentSamplerStates_lodMinClamps_lodMaxClamps_withRange( &self, samplers: NonNull<*const ProtocolObject<dyn MTLSamplerState>>, lod_min_clamps: NonNull<c_float>, lod_max_clamps: NonNull<c_float>, range: NSRange )
where Self: Sized + Message,

Available on crate feature MTLSampler only.
source

unsafe fn setFragmentVisibleFunctionTable_atBufferIndex( &self, function_table: Option<&ProtocolObject<dyn MTLVisibleFunctionTable>>, buffer_index: NSUInteger )
where Self: Sized + Message,

Available on crate features MTLResource and MTLVisibleFunctionTable only.
source

unsafe fn setFragmentVisibleFunctionTables_withBufferRange( &self, function_tables: NonNull<*const ProtocolObject<dyn MTLVisibleFunctionTable>>, range: NSRange )
where Self: Sized + Message,

Available on crate features MTLResource and MTLVisibleFunctionTable only.
source

unsafe fn setFragmentIntersectionFunctionTable_atBufferIndex( &self, intersection_function_table: Option<&ProtocolObject<dyn MTLIntersectionFunctionTable>>, buffer_index: NSUInteger )
where Self: Sized + Message,

Available on crate features MTLIntersectionFunctionTable and MTLResource only.
source

unsafe fn setFragmentIntersectionFunctionTables_withBufferRange( &self, intersection_function_tables: NonNull<*const ProtocolObject<dyn MTLIntersectionFunctionTable>>, range: NSRange )
where Self: Sized + Message,

Available on crate features MTLIntersectionFunctionTable and MTLResource only.
source

unsafe fn setFragmentAccelerationStructure_atBufferIndex( &self, acceleration_structure: Option<&ProtocolObject<dyn MTLAccelerationStructure>>, buffer_index: NSUInteger )
where Self: Sized + Message,

Available on crate features MTLAccelerationStructure and MTLResource only.
source

fn setBlendColorRed_green_blue_alpha( &self, red: c_float, green: c_float, blue: c_float, alpha: c_float )
where Self: Sized + Message,

source

fn setDepthStencilState( &self, depth_stencil_state: Option<&ProtocolObject<dyn MTLDepthStencilState>> )
where Self: Sized + Message,

Available on crate feature MTLDepthStencil only.
source

fn setStencilReferenceValue(&self, reference_value: u32)
where Self: Sized + Message,

source

fn setStencilFrontReferenceValue_backReferenceValue( &self, front_reference_value: u32, back_reference_value: u32 )
where Self: Sized + Message,

source

fn setVisibilityResultMode_offset( &self, mode: MTLVisibilityResultMode, offset: NSUInteger )
where Self: Sized + Message,

source

unsafe fn setColorStoreAction_atIndex( &self, store_action: MTLStoreAction, color_attachment_index: NSUInteger )
where Self: Sized + Message,

Available on crate feature MTLRenderPass only.
source

unsafe fn setDepthStoreAction(&self, store_action: MTLStoreAction)
where Self: Sized + Message,

Available on crate feature MTLRenderPass only.
source

unsafe fn setStencilStoreAction(&self, store_action: MTLStoreAction)
where Self: Sized + Message,

Available on crate feature MTLRenderPass only.
source

unsafe fn setColorStoreActionOptions_atIndex( &self, store_action_options: MTLStoreActionOptions, color_attachment_index: NSUInteger )
where Self: Sized + Message,

Available on crate feature MTLRenderPass only.
source

unsafe fn setDepthStoreActionOptions( &self, store_action_options: MTLStoreActionOptions )
where Self: Sized + Message,

Available on crate feature MTLRenderPass only.
source

unsafe fn setStencilStoreActionOptions( &self, store_action_options: MTLStoreActionOptions )
where Self: Sized + Message,

Available on crate feature MTLRenderPass only.
source

unsafe fn setObjectBytes_length_atIndex( &self, bytes: NonNull<c_void>, length: NSUInteger, index: NSUInteger )
where Self: Sized + Message,

source

unsafe fn setObjectBuffer_offset_atIndex( &self, buffer: Option<&ProtocolObject<dyn MTLBuffer>>, offset: NSUInteger, index: NSUInteger )
where Self: Sized + Message,

Available on crate features MTLBuffer and MTLResource only.
source

unsafe fn setObjectBufferOffset_atIndex( &self, offset: NSUInteger, index: NSUInteger )
where Self: Sized + Message,

source

unsafe fn setObjectBuffers_offsets_withRange( &self, buffers: NonNull<*const ProtocolObject<dyn MTLBuffer>>, offsets: NonNull<NSUInteger>, range: NSRange )
where Self: Sized + Message,

Available on crate features MTLBuffer and MTLResource only.
source

unsafe fn setObjectTexture_atIndex( &self, texture: Option<&ProtocolObject<dyn MTLTexture>>, index: NSUInteger )
where Self: Sized + Message,

Available on crate features MTLResource and MTLTexture only.
source

unsafe fn setObjectTextures_withRange( &self, textures: NonNull<*const ProtocolObject<dyn MTLTexture>>, range: NSRange )
where Self: Sized + Message,

Available on crate features MTLResource and MTLTexture only.
source

unsafe fn setObjectSamplerState_atIndex( &self, sampler: Option<&ProtocolObject<dyn MTLSamplerState>>, index: NSUInteger )
where Self: Sized + Message,

Available on crate feature MTLSampler only.
source

unsafe fn setObjectSamplerStates_withRange( &self, samplers: NonNull<*const ProtocolObject<dyn MTLSamplerState>>, range: NSRange )
where Self: Sized + Message,

Available on crate feature MTLSampler only.
source

unsafe fn setObjectSamplerState_lodMinClamp_lodMaxClamp_atIndex( &self, sampler: Option<&ProtocolObject<dyn MTLSamplerState>>, lod_min_clamp: c_float, lod_max_clamp: c_float, index: NSUInteger )
where Self: Sized + Message,

Available on crate feature MTLSampler only.
source

unsafe fn setObjectSamplerStates_lodMinClamps_lodMaxClamps_withRange( &self, samplers: NonNull<*const ProtocolObject<dyn MTLSamplerState>>, lod_min_clamps: NonNull<c_float>, lod_max_clamps: NonNull<c_float>, range: NSRange )
where Self: Sized + Message,

Available on crate feature MTLSampler only.
source

unsafe fn setObjectThreadgroupMemoryLength_atIndex( &self, length: NSUInteger, index: NSUInteger )
where Self: Sized + Message,

source

unsafe fn setMeshBytes_length_atIndex( &self, bytes: NonNull<c_void>, length: NSUInteger, index: NSUInteger )
where Self: Sized + Message,

source

unsafe fn setMeshBuffer_offset_atIndex( &self, buffer: Option<&ProtocolObject<dyn MTLBuffer>>, offset: NSUInteger, index: NSUInteger )
where Self: Sized + Message,

Available on crate features MTLBuffer and MTLResource only.
source

unsafe fn setMeshBufferOffset_atIndex( &self, offset: NSUInteger, index: NSUInteger )
where Self: Sized + Message,

source

unsafe fn setMeshBuffers_offsets_withRange( &self, buffers: NonNull<*const ProtocolObject<dyn MTLBuffer>>, offsets: NonNull<NSUInteger>, range: NSRange )
where Self: Sized + Message,

Available on crate features MTLBuffer and MTLResource only.
source

unsafe fn setMeshTexture_atIndex( &self, texture: Option<&ProtocolObject<dyn MTLTexture>>, index: NSUInteger )
where Self: Sized + Message,

Available on crate features MTLResource and MTLTexture only.
source

unsafe fn setMeshTextures_withRange( &self, textures: NonNull<*const ProtocolObject<dyn MTLTexture>>, range: NSRange )
where Self: Sized + Message,

Available on crate features MTLResource and MTLTexture only.
source

unsafe fn setMeshSamplerState_atIndex( &self, sampler: Option<&ProtocolObject<dyn MTLSamplerState>>, index: NSUInteger )
where Self: Sized + Message,

Available on crate feature MTLSampler only.
source

unsafe fn setMeshSamplerStates_withRange( &self, samplers: NonNull<*const ProtocolObject<dyn MTLSamplerState>>, range: NSRange )
where Self: Sized + Message,

Available on crate feature MTLSampler only.
source

unsafe fn setMeshSamplerState_lodMinClamp_lodMaxClamp_atIndex( &self, sampler: Option<&ProtocolObject<dyn MTLSamplerState>>, lod_min_clamp: c_float, lod_max_clamp: c_float, index: NSUInteger )
where Self: Sized + Message,

Available on crate feature MTLSampler only.
source

unsafe fn setMeshSamplerStates_lodMinClamps_lodMaxClamps_withRange( &self, samplers: NonNull<*const ProtocolObject<dyn MTLSamplerState>>, lod_min_clamps: NonNull<c_float>, lod_max_clamps: NonNull<c_float>, range: NSRange )
where Self: Sized + Message,

Available on crate feature MTLSampler only.
source

unsafe fn drawMeshThreadgroups_threadsPerObjectThreadgroup_threadsPerMeshThreadgroup( &self, threadgroups_per_grid: MTLSize, threads_per_object_threadgroup: MTLSize, threads_per_mesh_threadgroup: MTLSize )
where Self: Sized + Message,

Available on crate feature MTLTypes only.
source

unsafe fn drawMeshThreads_threadsPerObjectThreadgroup_threadsPerMeshThreadgroup( &self, threads_per_grid: MTLSize, threads_per_object_threadgroup: MTLSize, threads_per_mesh_threadgroup: MTLSize )
where Self: Sized + Message,

Available on crate feature MTLTypes only.
source

unsafe fn drawMeshThreadgroupsWithIndirectBuffer_indirectBufferOffset_threadsPerObjectThreadgroup_threadsPerMeshThreadgroup( &self, indirect_buffer: &ProtocolObject<dyn MTLBuffer>, indirect_buffer_offset: NSUInteger, threads_per_object_threadgroup: MTLSize, threads_per_mesh_threadgroup: MTLSize )
where Self: Sized + Message,

Available on crate features MTLBuffer and MTLResource and MTLTypes only.
source

unsafe fn drawPrimitives_vertexStart_vertexCount_instanceCount( &self, primitive_type: MTLPrimitiveType, vertex_start: NSUInteger, vertex_count: NSUInteger, instance_count: NSUInteger )
where Self: Sized + Message,

source

unsafe fn drawPrimitives_vertexStart_vertexCount( &self, primitive_type: MTLPrimitiveType, vertex_start: NSUInteger, vertex_count: NSUInteger )
where Self: Sized + Message,

source

unsafe fn drawIndexedPrimitives_indexCount_indexType_indexBuffer_indexBufferOffset_instanceCount( &self, primitive_type: MTLPrimitiveType, index_count: NSUInteger, index_type: MTLIndexType, index_buffer: &ProtocolObject<dyn MTLBuffer>, index_buffer_offset: NSUInteger, instance_count: NSUInteger )
where Self: Sized + Message,

Available on crate features MTLBuffer and MTLResource and MTLStageInputOutputDescriptor only.
source

unsafe fn drawIndexedPrimitives_indexCount_indexType_indexBuffer_indexBufferOffset( &self, primitive_type: MTLPrimitiveType, index_count: NSUInteger, index_type: MTLIndexType, index_buffer: &ProtocolObject<dyn MTLBuffer>, index_buffer_offset: NSUInteger )
where Self: Sized + Message,

Available on crate features MTLBuffer and MTLResource and MTLStageInputOutputDescriptor only.
source

unsafe fn drawPrimitives_vertexStart_vertexCount_instanceCount_baseInstance( &self, primitive_type: MTLPrimitiveType, vertex_start: NSUInteger, vertex_count: NSUInteger, instance_count: NSUInteger, base_instance: NSUInteger )
where Self: Sized + Message,

source

unsafe fn drawIndexedPrimitives_indexCount_indexType_indexBuffer_indexBufferOffset_instanceCount_baseVertex_baseInstance( &self, primitive_type: MTLPrimitiveType, index_count: NSUInteger, index_type: MTLIndexType, index_buffer: &ProtocolObject<dyn MTLBuffer>, index_buffer_offset: NSUInteger, instance_count: NSUInteger, base_vertex: NSInteger, base_instance: NSUInteger )
where Self: Sized + Message,

Available on crate features MTLBuffer and MTLResource and MTLStageInputOutputDescriptor only.
source

unsafe fn drawPrimitives_indirectBuffer_indirectBufferOffset( &self, primitive_type: MTLPrimitiveType, indirect_buffer: &ProtocolObject<dyn MTLBuffer>, indirect_buffer_offset: NSUInteger )
where Self: Sized + Message,

Available on crate features MTLBuffer and MTLResource only.
source

unsafe fn drawIndexedPrimitives_indexType_indexBuffer_indexBufferOffset_indirectBuffer_indirectBufferOffset( &self, primitive_type: MTLPrimitiveType, index_type: MTLIndexType, index_buffer: &ProtocolObject<dyn MTLBuffer>, index_buffer_offset: NSUInteger, indirect_buffer: &ProtocolObject<dyn MTLBuffer>, indirect_buffer_offset: NSUInteger )
where Self: Sized + Message,

Available on crate features MTLBuffer and MTLResource and MTLStageInputOutputDescriptor only.
source

unsafe fn textureBarrier(&self)
where Self: Sized + Message,

👎Deprecated
source

fn updateFence_afterStages( &self, fence: &ProtocolObject<dyn MTLFence>, stages: MTLRenderStages )
where Self: Sized + Message,

Available on crate feature MTLFence only.
source

fn waitForFence_beforeStages( &self, fence: &ProtocolObject<dyn MTLFence>, stages: MTLRenderStages )
where Self: Sized + Message,

Available on crate feature MTLFence only.
source

unsafe fn setTessellationFactorBuffer_offset_instanceStride( &self, buffer: Option<&ProtocolObject<dyn MTLBuffer>>, offset: NSUInteger, instance_stride: NSUInteger )
where Self: Sized + Message,

Available on crate features MTLBuffer and MTLResource only.
source

unsafe fn setTessellationFactorScale(&self, scale: c_float)
where Self: Sized + Message,

source

unsafe fn drawPatches_patchStart_patchCount_patchIndexBuffer_patchIndexBufferOffset_instanceCount_baseInstance( &self, number_of_patch_control_points: NSUInteger, patch_start: NSUInteger, patch_count: NSUInteger, patch_index_buffer: Option<&ProtocolObject<dyn MTLBuffer>>, patch_index_buffer_offset: NSUInteger, instance_count: NSUInteger, base_instance: NSUInteger )
where Self: Sized + Message,

Available on crate features MTLBuffer and MTLResource only.
source

unsafe fn drawPatches_patchIndexBuffer_patchIndexBufferOffset_indirectBuffer_indirectBufferOffset( &self, number_of_patch_control_points: NSUInteger, patch_index_buffer: Option<&ProtocolObject<dyn MTLBuffer>>, patch_index_buffer_offset: NSUInteger, indirect_buffer: &ProtocolObject<dyn MTLBuffer>, indirect_buffer_offset: NSUInteger )
where Self: Sized + Message,

Available on crate features MTLBuffer and MTLResource only.
source

unsafe fn drawIndexedPatches_patchStart_patchCount_patchIndexBuffer_patchIndexBufferOffset_controlPointIndexBuffer_controlPointIndexBufferOffset_instanceCount_baseInstance( &self, number_of_patch_control_points: NSUInteger, patch_start: NSUInteger, patch_count: NSUInteger, patch_index_buffer: Option<&ProtocolObject<dyn MTLBuffer>>, patch_index_buffer_offset: NSUInteger, control_point_index_buffer: &ProtocolObject<dyn MTLBuffer>, control_point_index_buffer_offset: NSUInteger, instance_count: NSUInteger, base_instance: NSUInteger )
where Self: Sized + Message,

Available on crate features MTLBuffer and MTLResource only.
source

unsafe fn drawIndexedPatches_patchIndexBuffer_patchIndexBufferOffset_controlPointIndexBuffer_controlPointIndexBufferOffset_indirectBuffer_indirectBufferOffset( &self, number_of_patch_control_points: NSUInteger, patch_index_buffer: Option<&ProtocolObject<dyn MTLBuffer>>, patch_index_buffer_offset: NSUInteger, control_point_index_buffer: &ProtocolObject<dyn MTLBuffer>, control_point_index_buffer_offset: NSUInteger, indirect_buffer: &ProtocolObject<dyn MTLBuffer>, indirect_buffer_offset: NSUInteger )
where Self: Sized + Message,

Available on crate features MTLBuffer and MTLResource only.
source

unsafe fn tileWidth(&self) -> NSUInteger
where Self: Sized + Message,

source

unsafe fn tileHeight(&self) -> NSUInteger
where Self: Sized + Message,

source

unsafe fn setTileBytes_length_atIndex( &self, bytes: NonNull<c_void>, length: NSUInteger, index: NSUInteger )
where Self: Sized + Message,

source

unsafe fn setTileBuffer_offset_atIndex( &self, buffer: Option<&ProtocolObject<dyn MTLBuffer>>, offset: NSUInteger, index: NSUInteger )
where Self: Sized + Message,

Available on crate features MTLBuffer and MTLResource only.
source

unsafe fn setTileBufferOffset_atIndex( &self, offset: NSUInteger, index: NSUInteger )
where Self: Sized + Message,

source

unsafe fn setTileBuffers_offsets_withRange( &self, buffers: NonNull<*const ProtocolObject<dyn MTLBuffer>>, offsets: NonNull<NSUInteger>, range: NSRange )
where Self: Sized + Message,

Available on crate features MTLBuffer and MTLResource only.
source

unsafe fn setTileTexture_atIndex( &self, texture: Option<&ProtocolObject<dyn MTLTexture>>, index: NSUInteger )
where Self: Sized + Message,

Available on crate features MTLResource and MTLTexture only.
source

unsafe fn setTileTextures_withRange( &self, textures: NonNull<*const ProtocolObject<dyn MTLTexture>>, range: NSRange )
where Self: Sized + Message,

Available on crate features MTLResource and MTLTexture only.
source

unsafe fn setTileSamplerState_atIndex( &self, sampler: Option<&ProtocolObject<dyn MTLSamplerState>>, index: NSUInteger )
where Self: Sized + Message,

Available on crate feature MTLSampler only.
source

unsafe fn setTileSamplerStates_withRange( &self, samplers: NonNull<*const ProtocolObject<dyn MTLSamplerState>>, range: NSRange )
where Self: Sized + Message,

Available on crate feature MTLSampler only.
source

unsafe fn setTileSamplerState_lodMinClamp_lodMaxClamp_atIndex( &self, sampler: Option<&ProtocolObject<dyn MTLSamplerState>>, lod_min_clamp: c_float, lod_max_clamp: c_float, index: NSUInteger )
where Self: Sized + Message,

Available on crate feature MTLSampler only.
source

unsafe fn setTileSamplerStates_lodMinClamps_lodMaxClamps_withRange( &self, samplers: NonNull<*const ProtocolObject<dyn MTLSamplerState>>, lod_min_clamps: NonNull<c_float>, lod_max_clamps: NonNull<c_float>, range: NSRange )
where Self: Sized + Message,

Available on crate feature MTLSampler only.
source

unsafe fn setTileVisibleFunctionTable_atBufferIndex( &self, function_table: Option<&ProtocolObject<dyn MTLVisibleFunctionTable>>, buffer_index: NSUInteger )
where Self: Sized + Message,

Available on crate features MTLResource and MTLVisibleFunctionTable only.
source

unsafe fn setTileVisibleFunctionTables_withBufferRange( &self, function_tables: NonNull<*const ProtocolObject<dyn MTLVisibleFunctionTable>>, range: NSRange )
where Self: Sized + Message,

Available on crate features MTLResource and MTLVisibleFunctionTable only.
source

unsafe fn setTileIntersectionFunctionTable_atBufferIndex( &self, intersection_function_table: Option<&ProtocolObject<dyn MTLIntersectionFunctionTable>>, buffer_index: NSUInteger )
where Self: Sized + Message,

Available on crate features MTLIntersectionFunctionTable and MTLResource only.
source

unsafe fn setTileIntersectionFunctionTables_withBufferRange( &self, intersection_function_tables: NonNull<*const ProtocolObject<dyn MTLIntersectionFunctionTable>>, range: NSRange )
where Self: Sized + Message,

Available on crate features MTLIntersectionFunctionTable and MTLResource only.
source

unsafe fn setTileAccelerationStructure_atBufferIndex( &self, acceleration_structure: Option<&ProtocolObject<dyn MTLAccelerationStructure>>, buffer_index: NSUInteger )
where Self: Sized + Message,

Available on crate features MTLAccelerationStructure and MTLResource only.
source

unsafe fn dispatchThreadsPerTile(&self, threads_per_tile: MTLSize)
where Self: Sized + Message,

Available on crate feature MTLTypes only.
source

unsafe fn setThreadgroupMemoryLength_offset_atIndex( &self, length: NSUInteger, offset: NSUInteger, index: NSUInteger )
where Self: Sized + Message,

source

fn useResource_usage( &self, resource: &ProtocolObject<dyn MTLResource>, usage: MTLResourceUsage )
where Self: Sized + Message,

👎Deprecated
Available on crate feature MTLResource only.
source

unsafe fn useResources_count_usage( &self, resources: NonNull<NonNull<ProtocolObject<dyn MTLResource>>>, count: NSUInteger, usage: MTLResourceUsage )
where Self: Sized + Message,

👎Deprecated
Available on crate feature MTLResource only.
source

fn useResource_usage_stages( &self, resource: &ProtocolObject<dyn MTLResource>, usage: MTLResourceUsage, stages: MTLRenderStages )
where Self: Sized + Message,

Available on crate feature MTLResource only.
source

unsafe fn useResources_count_usage_stages( &self, resources: NonNull<NonNull<ProtocolObject<dyn MTLResource>>>, count: NSUInteger, usage: MTLResourceUsage, stages: MTLRenderStages )
where Self: Sized + Message,

Available on crate feature MTLResource only.
source

fn useHeap(&self, heap: &ProtocolObject<dyn MTLHeap>)
where Self: Sized + Message,

👎Deprecated
Available on crate feature MTLHeap only.
source

unsafe fn useHeaps_count( &self, heaps: NonNull<NonNull<ProtocolObject<dyn MTLHeap>>>, count: NSUInteger )
where Self: Sized + Message,

👎Deprecated
Available on crate feature MTLHeap only.
source

fn useHeap_stages( &self, heap: &ProtocolObject<dyn MTLHeap>, stages: MTLRenderStages )
where Self: Sized + Message,

Available on crate feature MTLHeap only.
source

unsafe fn useHeaps_count_stages( &self, heaps: NonNull<NonNull<ProtocolObject<dyn MTLHeap>>>, count: NSUInteger, stages: MTLRenderStages )
where Self: Sized + Message,

Available on crate feature MTLHeap only.
source

unsafe fn executeCommandsInBuffer_withRange( &self, indirect_command_buffer: &ProtocolObject<dyn MTLIndirectCommandBuffer>, execution_range: NSRange )
where Self: Sized + Message,

Available on crate features MTLIndirectCommandBuffer and MTLResource only.
source

unsafe fn executeCommandsInBuffer_indirectBuffer_indirectBufferOffset( &self, indirect_commandbuffer: &ProtocolObject<dyn MTLIndirectCommandBuffer>, indirect_range_buffer: &ProtocolObject<dyn MTLBuffer>, indirect_buffer_offset: NSUInteger )
where Self: Sized + Message,

Available on crate features MTLBuffer and MTLIndirectCommandBuffer and MTLResource only.
source

unsafe fn memoryBarrierWithScope_afterStages_beforeStages( &self, scope: MTLBarrierScope, after: MTLRenderStages, before: MTLRenderStages )
where Self: Sized + Message,

source

unsafe fn memoryBarrierWithResources_count_afterStages_beforeStages( &self, resources: NonNull<NonNull<ProtocolObject<dyn MTLResource>>>, count: NSUInteger, after: MTLRenderStages, before: MTLRenderStages )
where Self: Sized + Message,

Available on crate feature MTLResource only.
source

unsafe fn sampleCountersInBuffer_atSampleIndex_withBarrier( &self, sample_buffer: &ProtocolObject<dyn MTLCounterSampleBuffer>, sample_index: NSUInteger, barrier: bool )
where Self: Sized + Message,

Available on crate feature MTLCounters only.

Trait Implementations§

source§

impl ProtocolType for dyn MTLRenderCommandEncoder

source§

const NAME: &'static str = "MTLRenderCommandEncoder"

The name of the Objective-C protocol that this type represents.
source§

fn protocol() -> Option<&'static AnyProtocol>

Get a reference to the Objective-C protocol object that this type represents. Read more
source§

impl<T> ImplementedBy<T> for dyn MTLRenderCommandEncoder

Implementations on Foreign Types§

source§

impl<T> MTLRenderCommandEncoder for ProtocolObject<T>

Implementors§