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§

source

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,

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

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,

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

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,

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

unsafe fn updateFence(&self, fence: &ProtocolObject<dyn MTLFence>)
where Self: Sized + Message,

Available on crate feature MTLFence only.
source

unsafe fn waitForFence(&self, fence: &ProtocolObject<dyn MTLFence>)
where Self: Sized + Message,

Available on crate feature MTLFence only.
source

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 MTLResource and MTLTexture and MTLTypes only.

Trait Implementations§

source§

impl ProtocolType for dyn MTLResourceStateCommandEncoder

source§

const NAME: &'static str = "MTLResourceStateCommandEncoder"

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 MTLResourceStateCommandEncoder

Implementations on Foreign Types§

source§

impl<T> MTLResourceStateCommandEncoder for ProtocolObject<T>

Implementors§