Module
gpu::metal
cheatah-gpu v0.5.1-alpha — Biome Standard 0.6.3-alpha
Concepts
Handle— A native Metal object handle — always a pointer to anMTL::/NS::object.
Functions
The cheatah int token standing for a native Metal object.
nullptr maps to 0.
Parameters
native | the Metal object pointer to convert. |
Returns
the object as a cheatah int.
Complexity
O(1).
Host allocation
none.
Unit test
MetalHandles.RoundTripThe native Metal object a cheatah int token stands for.
0 maps to nullptr.
Template parameters
T | the Metal object pointer type to recover (e.g. |
Parameters
value | the cheatah int token, as produced by token. |
Returns
the native object pointer.
Complexity
O(1).
Host allocation
none.
Unit test
MetalHandles.RoundTripConstants & variables
Types
type
::MTL::AccelerationStructurePassSampleBufferAttachmentDescriptor AccelerationStructurePassSampleBufferAttachmentDescriptor
#
type
::MTL::AccelerationStructurePassSampleBufferAttachmentDescriptorArray AccelerationStructurePassSampleBufferAttachmentDescriptorArray
#
type
::MTL::AccelerationStructureTriangleGeometryDescriptor AccelerationStructureTriangleGeometryDescriptor
#
type
::MTL::AccelerationStructureBoundingBoxGeometryDescriptor AccelerationStructureBoundingBoxGeometryDescriptor
#
type
::MTL::AccelerationStructureMotionTriangleGeometryDescriptor AccelerationStructureMotionTriangleGeometryDescriptor
#
type
::MTL::AccelerationStructureMotionBoundingBoxGeometryDescriptor AccelerationStructureMotionBoundingBoxGeometryDescriptor
#
type
::MTL::AccelerationStructureCurveGeometryDescriptor AccelerationStructureCurveGeometryDescriptor
#
type
::MTL::AccelerationStructureMotionCurveGeometryDescriptor AccelerationStructureMotionCurveGeometryDescriptor
#
type
::MTL::IndirectInstanceAccelerationStructureDescriptor IndirectInstanceAccelerationStructureDescriptor
#
type
::MTL::BlitPassSampleBufferAttachmentDescriptorArray BlitPassSampleBufferAttachmentDescriptorArray
#
type
::MTL::ComputePassSampleBufferAttachmentDescriptor ComputePassSampleBufferAttachmentDescriptor
#
type
::MTL::ComputePassSampleBufferAttachmentDescriptorArray ComputePassSampleBufferAttachmentDescriptorArray
#
type
::MTL::RenderPassSampleBufferAttachmentDescriptorArray RenderPassSampleBufferAttachmentDescriptorArray
#
type
::MTL::RenderPipelineColorAttachmentDescriptorArray RenderPipelineColorAttachmentDescriptorArray
#
type
::MTL::TileRenderPipelineColorAttachmentDescriptor TileRenderPipelineColorAttachmentDescriptor
#
type
::MTL::TileRenderPipelineColorAttachmentDescriptorArray TileRenderPipelineColorAttachmentDescriptorArray
#
type
::MTL::ResourceStatePassSampleBufferAttachmentDescriptor ResourceStatePassSampleBufferAttachmentDescriptor
#
type
::MTL::ResourceStatePassSampleBufferAttachmentDescriptorArray ResourceStatePassSampleBufferAttachmentDescriptorArray
#
type
::MTL::AccelerationStructureInstanceDescriptorType AccelerationStructureInstanceDescriptorType
#
