Skip to main content

Module mtl4

Module mtl4 

Source
Expand description

Metal 4 API bindings.

This module provides bindings to Metal 4 APIs, which offer enhanced control over command buffering, pipelines, and GPU resource management.

§Key Types

§Command Infrastructure

§Command Encoders

§Render Pass

§Pipelines

§Function Descriptors

§Compiler

§Archives

  • Archive - Pre-compiled pipeline archive

§Argument Binding

§Counters

§Machine Learning

Structs§

AccelerationStructureBoundingBoxGeometryDescriptor
Descriptor for bounding box geometry in an acceleration structure.
AccelerationStructureCurveGeometryDescriptor
Descriptor for curve geometry in an acceleration structure.
AccelerationStructureDescriptor
Base descriptor for creating an acceleration structure.
AccelerationStructureGeometryDescriptor
Base descriptor for geometry in an acceleration structure.
AccelerationStructureMotionBoundingBoxGeometryDescriptor
Descriptor for motion bounding box geometry in an acceleration structure.
AccelerationStructureMotionCurveGeometryDescriptor
Descriptor for motion curve geometry in an acceleration structure.
AccelerationStructureMotionTriangleGeometryDescriptor
Descriptor for motion triangle geometry in an acceleration structure.
AccelerationStructureTriangleGeometryDescriptor
Descriptor for triangle geometry in an acceleration structure.
AlphaToCoverageState
Alpha to coverage state for pipeline.
AlphaToOneState
Alpha to one state for pipeline.
Archive
MTL4 pipeline archive.
ArgumentTable
Argument table for GPU resource binding.
ArgumentTableDescriptor
Descriptor for creating an argument table.
BinaryFunction
A compiled binary function for linking.
BinaryFunctionDescriptor
Descriptor for creating a binary function.
BinaryFunctionOptions
Binary function options.
BlendState
Blend state for pipeline color attachments.
BufferRange
A buffer range with address and length.
CommandAllocator
Memory allocator for MTL4 command buffer recording.
CommandAllocatorDescriptor
Descriptor for creating a MTL4 command allocator.
CommandBuffer
MTL4 command buffer for recording GPU commands.
CommandBufferOptions
Options for MTL4 command buffer creation.
CommandEncoder
Base command encoder for MTL4.
CommandQueue
MTL4 command queue with explicit residency management.
CommandQueueDescriptor
Descriptor for creating a MTL4 command queue.
CommandQueueError
Error codes for MTL4 command queue operations.
CommitFeedback
Feedback about committed command buffers.
CommitOptions
Options for committing command buffers.
Compiler
MTL4 shader compiler.
CompilerDescriptor
Descriptor for creating a compiler.
CompilerTask
A task representing an asynchronous compilation operation.
CompilerTaskOptions
Options for compiler tasks.
CompilerTaskStatus
Compiler task status.
ComputeCommandEncoder
MTL4 compute command encoder.
ComputePipelineDescriptor
Descriptor for MTL4 compute pipelines.
CounterHeap
A heap for GPU performance counters.
CounterHeapDescriptor
Descriptor for creating a counter heap.
CounterHeapType
Counter heap type.
FunctionDescriptor
Descriptor for MTL4 functions.
IndirectCommandBufferSupportState
Indirect command buffer support state.
IndirectInstanceAccelerationStructureDescriptor
Descriptor for creating an indirect instance acceleration structure.
InstanceAccelerationStructureDescriptor
Descriptor for creating an instance acceleration structure.
LibraryDescriptor
Descriptor for creating a Metal library.
LibraryFunctionDescriptor
Descriptor for a function from a library.
LogicalToPhysicalColorAttachmentMappingState
Logical to physical color attachment mapping state.
MachineLearningCommandEncoder
A command encoder for machine learning operations.
MachineLearningPipelineDescriptor
Descriptor for creating a machine learning pipeline.
MachineLearningPipelineReflection
Reflection data for a machine learning pipeline.
MachineLearningPipelineState
A compiled machine learning pipeline state.
MeshRenderPipelineDescriptor
Descriptor for MTL4 mesh render pipelines.
PipelineDataSetSerializer
Serializes pipeline data sets for caching.
PipelineDataSetSerializerConfiguration
Pipeline data set serializer configuration.
PipelineDataSetSerializerDescriptor
Descriptor for creating a pipeline data set serializer.
PipelineDescriptor
Base descriptor for MTL4 pipelines.
PipelineOptions
Options for MTL4 pipeline creation.
PipelineStageDynamicLinkingDescriptor
Descriptor for pipeline stage dynamic linking.
PrimitiveAccelerationStructureDescriptor
Descriptor for creating a primitive acceleration structure.
RenderCommandEncoder
MTL4 render command encoder.
RenderEncoderOptions
Render encoder options.
RenderPassDescriptor
MTL4 render pass descriptor.
RenderPipelineBinaryFunctionsDescriptor
Descriptor for render pipeline binary functions.
RenderPipelineColorAttachmentDescriptor
Descriptor for a render pipeline color attachment.
RenderPipelineColorAttachmentDescriptorArray
Array of render pipeline color attachment descriptors.
RenderPipelineDescriptor
Descriptor for MTL4 render pipelines.
RenderPipelineDynamicLinkingDescriptor
Descriptor for render pipeline dynamic linking.
ShaderReflection
Shader reflection options.
SpecializedFunctionDescriptor
Descriptor for specialized functions with constant values.
StaticLinkingDescriptor
Descriptor for static shader linking.
StitchedFunctionDescriptor
Descriptor for stitched functions.
TileRenderPipelineDescriptor
Descriptor for MTL4 tile render pipelines.
TimestampGranularity
Timestamp granularity.
TimestampHeapEntry
A timestamp entry in a counter heap.
VisibilityOptions
Visibility options for command encoder operations.