Trait MTLAccelerationStructureCommandEncoder

Source
pub unsafe trait MTLAccelerationStructureCommandEncoder: MTLCommandEncoder {
Show 14 methods // Provided methods fn buildAccelerationStructure_descriptor_scratchBuffer_scratchBufferOffset( &self, acceleration_structure: &ProtocolObject<dyn MTLAccelerationStructure>, descriptor: &MTLAccelerationStructureDescriptor, scratch_buffer: &ProtocolObject<dyn MTLBuffer>, scratch_buffer_offset: NSUInteger, ) where Self: Sized + Message { ... } unsafe fn refitAccelerationStructure_descriptor_destination_scratchBuffer_scratchBufferOffset( &self, source_acceleration_structure: &ProtocolObject<dyn MTLAccelerationStructure>, descriptor: &MTLAccelerationStructureDescriptor, destination_acceleration_structure: Option<&ProtocolObject<dyn MTLAccelerationStructure>>, scratch_buffer: Option<&ProtocolObject<dyn MTLBuffer>>, scratch_buffer_offset: NSUInteger, ) where Self: Sized + Message { ... } unsafe fn refitAccelerationStructure_descriptor_destination_scratchBuffer_scratchBufferOffset_options( &self, source_acceleration_structure: &ProtocolObject<dyn MTLAccelerationStructure>, descriptor: &MTLAccelerationStructureDescriptor, destination_acceleration_structure: Option<&ProtocolObject<dyn MTLAccelerationStructure>>, scratch_buffer: Option<&ProtocolObject<dyn MTLBuffer>>, scratch_buffer_offset: NSUInteger, options: MTLAccelerationStructureRefitOptions, ) where Self: Sized + Message { ... } unsafe fn copyAccelerationStructure_toAccelerationStructure( &self, source_acceleration_structure: &ProtocolObject<dyn MTLAccelerationStructure>, destination_acceleration_structure: &ProtocolObject<dyn MTLAccelerationStructure>, ) where Self: Sized + Message { ... } fn writeCompactedAccelerationStructureSize_toBuffer_offset( &self, acceleration_structure: &ProtocolObject<dyn MTLAccelerationStructure>, buffer: &ProtocolObject<dyn MTLBuffer>, offset: NSUInteger, ) where Self: Sized + Message { ... } unsafe fn writeCompactedAccelerationStructureSize_toBuffer_offset_sizeDataType( &self, acceleration_structure: &ProtocolObject<dyn MTLAccelerationStructure>, buffer: &ProtocolObject<dyn MTLBuffer>, offset: NSUInteger, size_data_type: MTLDataType, ) where Self: Sized + Message { ... } fn copyAndCompactAccelerationStructure_toAccelerationStructure( &self, source_acceleration_structure: &ProtocolObject<dyn MTLAccelerationStructure>, destination_acceleration_structure: &ProtocolObject<dyn MTLAccelerationStructure>, ) 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 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 { ... } unsafe 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 { ... } unsafe fn sampleCountersInBuffer_atSampleIndex_withBarrier( &self, sample_buffer: &ProtocolObject<dyn MTLCounterSampleBuffer>, sample_index: NSUInteger, barrier: bool, ) where Self: Sized + Message { ... }
}
๐Ÿ‘ŽDeprecated: icrate::Metal has been moved to objc2-metal
Available on crate feature Metal only.

Provided Methodsยง

Source

fn buildAccelerationStructure_descriptor_scratchBuffer_scratchBufferOffset( &self, acceleration_structure: &ProtocolObject<dyn MTLAccelerationStructure>, descriptor: &MTLAccelerationStructureDescriptor, scratch_buffer: &ProtocolObject<dyn MTLBuffer>, scratch_buffer_offset: NSUInteger, )
where Self: Sized + Message,

๐Ÿ‘ŽDeprecated: icrate::Metal has been moved to objc2-metal
Available on crate feature Metal_MTLAccelerationStructureDescriptor only.
Source

unsafe fn refitAccelerationStructure_descriptor_destination_scratchBuffer_scratchBufferOffset( &self, source_acceleration_structure: &ProtocolObject<dyn MTLAccelerationStructure>, descriptor: &MTLAccelerationStructureDescriptor, destination_acceleration_structure: Option<&ProtocolObject<dyn MTLAccelerationStructure>>, scratch_buffer: Option<&ProtocolObject<dyn MTLBuffer>>, scratch_buffer_offset: NSUInteger, )
where Self: Sized + Message,

๐Ÿ‘ŽDeprecated: icrate::Metal has been moved to objc2-metal
Available on crate feature Metal_MTLAccelerationStructureDescriptor only.
Source

unsafe fn refitAccelerationStructure_descriptor_destination_scratchBuffer_scratchBufferOffset_options( &self, source_acceleration_structure: &ProtocolObject<dyn MTLAccelerationStructure>, descriptor: &MTLAccelerationStructureDescriptor, destination_acceleration_structure: Option<&ProtocolObject<dyn MTLAccelerationStructure>>, scratch_buffer: Option<&ProtocolObject<dyn MTLBuffer>>, scratch_buffer_offset: NSUInteger, options: MTLAccelerationStructureRefitOptions, )
where Self: Sized + Message,

๐Ÿ‘ŽDeprecated: icrate::Metal has been moved to objc2-metal
Available on crate feature Metal_MTLAccelerationStructureDescriptor only.
Source

unsafe fn copyAccelerationStructure_toAccelerationStructure( &self, source_acceleration_structure: &ProtocolObject<dyn MTLAccelerationStructure>, destination_acceleration_structure: &ProtocolObject<dyn MTLAccelerationStructure>, )
where Self: Sized + Message,

๐Ÿ‘ŽDeprecated: icrate::Metal has been moved to objc2-metal
Source

fn writeCompactedAccelerationStructureSize_toBuffer_offset( &self, acceleration_structure: &ProtocolObject<dyn MTLAccelerationStructure>, buffer: &ProtocolObject<dyn MTLBuffer>, offset: NSUInteger, )
where Self: Sized + Message,

๐Ÿ‘ŽDeprecated: icrate::Metal has been moved to objc2-metal
Source

unsafe fn writeCompactedAccelerationStructureSize_toBuffer_offset_sizeDataType( &self, acceleration_structure: &ProtocolObject<dyn MTLAccelerationStructure>, buffer: &ProtocolObject<dyn MTLBuffer>, offset: NSUInteger, size_data_type: MTLDataType, )
where Self: Sized + Message,

๐Ÿ‘ŽDeprecated: icrate::Metal has been moved to objc2-metal
Source

fn copyAndCompactAccelerationStructure_toAccelerationStructure( &self, source_acceleration_structure: &ProtocolObject<dyn MTLAccelerationStructure>, destination_acceleration_structure: &ProtocolObject<dyn MTLAccelerationStructure>, )
where Self: Sized + Message,

๐Ÿ‘ŽDeprecated: icrate::Metal has been moved to objc2-metal
Source

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

๐Ÿ‘ŽDeprecated: icrate::Metal has been moved to objc2-metal
Source

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

๐Ÿ‘ŽDeprecated: icrate::Metal has been moved to objc2-metal
Source

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

๐Ÿ‘ŽDeprecated: icrate::Metal has been moved to objc2-metal
Source

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

๐Ÿ‘ŽDeprecated: icrate::Metal has been moved to objc2-metal
Source

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

๐Ÿ‘ŽDeprecated: icrate::Metal has been moved to objc2-metal
Source

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

๐Ÿ‘ŽDeprecated: icrate::Metal has been moved to objc2-metal
Source

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

๐Ÿ‘ŽDeprecated: icrate::Metal has been moved to objc2-metal

Trait Implementationsยง

Sourceยง

impl ProtocolType for dyn MTLAccelerationStructureCommandEncoder

Sourceยง

const NAME: &'static str = "MTLAccelerationStructureCommandEncoder"

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 MTLAccelerationStructureCommandEncoder

Implementations on Foreign Typesยง

Sourceยง

impl<T> MTLAccelerationStructureCommandEncoder for ProtocolObject<T>

Implementorsยง