pub unsafe trait MTLResourceStateCommandEncoder: MTLCommandEncoder + IsRetainable {
// Provided methods
unsafe fn updateTextureMappings_mode_regions_mipLevels_slices_numRegions(
&self,
texture: &ProtocolObject<dyn MTLTexture>,
mode: MTLSparseTextureMappingMode,
regions: NonNull<MTLRegion>,
mip_levels: NonNull<NSUInteger>,
slices: NonNull<NSUInteger>,
num_regions: NSUInteger
)
where Self: Sized + Message { ... }
unsafe fn updateTextureMapping_mode_region_mipLevel_slice(
&self,
texture: &ProtocolObject<dyn MTLTexture>,
mode: MTLSparseTextureMappingMode,
region: MTLRegion,
mip_level: NSUInteger,
slice: NSUInteger
)
where Self: Sized + Message { ... }
unsafe fn updateTextureMapping_mode_indirectBuffer_indirectBufferOffset(
&self,
texture: &ProtocolObject<dyn MTLTexture>,
mode: MTLSparseTextureMappingMode,
indirect_buffer: &ProtocolObject<dyn MTLBuffer>,
indirect_buffer_offset: NSUInteger
)
where Self: Sized + Message { ... }
unsafe fn updateFence(&self, fence: &ProtocolObject<dyn MTLFence>)
where Self: Sized + Message { ... }
unsafe fn waitForFence(&self, fence: &ProtocolObject<dyn MTLFence>)
where Self: Sized + Message { ... }
unsafe fn moveTextureMappingsFromTexture_sourceSlice_sourceLevel_sourceOrigin_sourceSize_toTexture_destinationSlice_destinationLevel_destinationOrigin(
&self,
source_texture: &ProtocolObject<dyn MTLTexture>,
source_slice: NSUInteger,
source_level: NSUInteger,
source_origin: MTLOrigin,
source_size: MTLSize,
destination_texture: &ProtocolObject<dyn MTLTexture>,
destination_slice: NSUInteger,
destination_level: NSUInteger,
destination_origin: MTLOrigin
)
where Self: Sized + Message { ... }
}Available on crate features
MTLCommandEncoder and MTLResourceStateCommandEncoder only.Provided Methods§
unsafe fn updateTextureMappings_mode_regions_mipLevels_slices_numRegions( &self, texture: &ProtocolObject<dyn MTLTexture>, mode: MTLSparseTextureMappingMode, regions: NonNull<MTLRegion>, mip_levels: NonNull<NSUInteger>, slices: NonNull<NSUInteger>, num_regions: NSUInteger )
Available on crate features
MTLResource and MTLTexture and MTLTypes only.unsafe fn updateTextureMapping_mode_region_mipLevel_slice( &self, texture: &ProtocolObject<dyn MTLTexture>, mode: MTLSparseTextureMappingMode, region: MTLRegion, mip_level: NSUInteger, slice: NSUInteger )
Available on crate features
MTLResource and MTLTexture and MTLTypes only.unsafe fn updateTextureMapping_mode_indirectBuffer_indirectBufferOffset( &self, texture: &ProtocolObject<dyn MTLTexture>, mode: MTLSparseTextureMappingMode, indirect_buffer: &ProtocolObject<dyn MTLBuffer>, indirect_buffer_offset: NSUInteger )
Available on crate features
MTLBuffer and MTLResource and MTLTexture only.unsafe fn updateFence(&self, fence: &ProtocolObject<dyn MTLFence>)
Available on crate feature
MTLFence only.unsafe fn waitForFence(&self, fence: &ProtocolObject<dyn MTLFence>)
Available on crate feature
MTLFence only.unsafe fn moveTextureMappingsFromTexture_sourceSlice_sourceLevel_sourceOrigin_sourceSize_toTexture_destinationSlice_destinationLevel_destinationOrigin( &self, source_texture: &ProtocolObject<dyn MTLTexture>, source_slice: NSUInteger, source_level: NSUInteger, source_origin: MTLOrigin, source_size: MTLSize, destination_texture: &ProtocolObject<dyn MTLTexture>, destination_slice: NSUInteger, destination_level: NSUInteger, destination_origin: MTLOrigin )
Available on crate features
MTLResource and MTLTexture and MTLTypes only.