package vendor:darwin/Metal
⌘K
Ctrl+K
or
/
Overview
Bindings for Metal.
External Examples 12 ¶
The programs in odin-lang/examples about this package, and how many of its declarations each uses.
- metal/
- learn_metal/
- minimal_sdl24
Index
Types (303)
- AccelerationStructure
- AccelerationStructureBoundingBoxGeometryDescriptor
- AccelerationStructureCommandEncoder
- AccelerationStructureDescriptor
- AccelerationStructureGeometryDescriptor
- AccelerationStructureInstanceDescriptor
- AccelerationStructureInstanceDescriptorType
- AccelerationStructureInstanceOption
- AccelerationStructureInstanceOptions
- AccelerationStructureMotionBoundingBoxGeometryDescriptor
- AccelerationStructureMotionTriangleGeometryDescriptor
- AccelerationStructurePassDescriptor
- AccelerationStructurePassSampleBufferAttachmentDescriptor
- AccelerationStructurePassSampleBufferAttachmentDescriptorArray
- AccelerationStructureRefitOption
- AccelerationStructureRefitOptions
- AccelerationStructureSizes
- AccelerationStructureTriangleGeometryDescriptor
- AccelerationStructureUsage
- AccelerationStructureUsageFlag
- Argument
- ArgumentAccess
- ArgumentBuffersTier
- ArgumentDescriptor
- ArgumentEncoder
- ArgumentType
- ArrayType
- Attribute
- AttributeDescriptor
- AttributeDescriptorArray
- AttributeFormat
- AutoreleasedArgument
- AutoreleasedComputePipelineReflection
- AutoreleasedRenderPipelineReflection
- AxisAlignedBoundingBox
- BOOL
- BarrierScope
- BarrierScopeFlag
- BinaryArchive
- BinaryArchiveDescriptor
- BinaryArchiveError
- Binding
- BindingType
- BlendFactor
- BlendOperation
- BlitCommandEncoder
- BlitOption
- BlitOptionFlag
- BlitPassDescriptor
- BlitPassSampleBufferAttachmentDescriptor
- BlitPassSampleBufferAttachmentDescriptorArray
- Buffer
- BufferBinding
- BufferLayoutDescriptor
- BufferLayoutDescriptorArray
- CFTimeInterval
- CPUCacheMode
- CaptureDescriptor
- CaptureDestination
- CaptureError
- CaptureManager
- CaptureScope
- ClearColor
- ColorWriteMask
- ColorWriteMaskFlag
- CommandBuffer
- CommandBufferDescriptor
- CommandBufferEncoderInfo
- CommandBufferError
- CommandBufferErrorOption
- CommandBufferErrorOptionFlag
- CommandBufferHandler
- CommandBufferStatus
- CommandEncoder
- CommandEncoderErrorState
- CommandQueue
- CommonCounter
- CommonCounterSet
- CompareFunction
- CompileOptions
- ComputeCommandEncoder
- ComputePassDescriptor
- ComputePassSampleBufferAttachmentDescriptor
- ComputePassSampleBufferAttachmentDescriptorArray
- ComputePipelineDescriptor
- ComputePipelineReflection
- ComputePipelineState
- Coordinate2D
- Counter
- CounterResultStageUtilization
- CounterResultStatistic
- CounterResultTimestamp
- CounterSampleBuffer
- CounterSampleBufferDescriptor
- CounterSampleBufferError
- CounterSamplingPoint
- CounterSet
- CullMode
- DataType
- DepthClipMode
- DepthStencilDescriptor
- DepthStencilState
- Device
- DeviceLocation
- DeviceNotificationHandler
- DeviceNotificationName
- DispatchThreadgroupsIndirectArguments
- DispatchType
- DrawIndexedPrimitivesIndirectArguments
- DrawPatchIndirectArguments
- DrawPrimitivesIndirectArguments
- Drawable
- DrawablePresentedHandler
- DynamicLibrary
- DynamicLibraryError
- ErrorDomain
- ErrorUserInfoKey
- Event
- FeatureSet
- Fence
- Function
- FunctionConstant
- FunctionConstantValues
- FunctionDescriptor
- FunctionHandle
- FunctionLog
- FunctionLogDebugLocation
- FunctionLogType
- FunctionOption
- FunctionOptions
- FunctionType
- GPUFamily
- HazardTrackingMode
- Heap
- HeapDescriptor
- HeapType
- IOCommandBuffer
- IOCommandQueue
- IOCommandQueueDescriptor
- IOCommandQueueType
- IOCompressionMethod
- IOCompressionStatus
- IOError
- IOFileHandle
- IOPriority
- IOScratchBuffer
- IOScratchBufferAllocator
- IOStatus
- IOSurfaceRef
- IndexType
- IndirectCommandBuffer
- IndirectCommandBufferDescriptor
- IndirectCommandBufferExecutionRange
- IndirectCommandType
- IndirectCommandTypeFlag
- IndirectComputeCommand
- IndirectRenderCommand
- InstanceAccelerationStructureDescriptor
- IntersectionFunctionDescriptor
- IntersectionFunctionSignature
- IntersectionFunctionSignatureFlag
- IntersectionFunctionTable
- IntersectionFunctionTableDescriptor
- LanguageVersion
- Library
- LibraryError
- LibraryOptimizationLevel
- LibraryType
- LinkedFunctions
- LoadAction
- LogContainer
- MapIndirectArguments
- MeshRenderPipelineDescriptor
- MotionBorderMode
- MotionKeyframeData
- MultisampleDepthResolveFilter
- MultisampleStencilResolveFilter
- Mutability
- NewComputePipelineStateCompletionHandler
- NewComputePipelineStateWithReflectionCompletionHandler
- NewLibraryCompletionHandler
- NewRenderPipelineStateCompletionHandler
- NewRenderPipelineStateWithReflectionCompletionHandler
- ObjectPayloadBinding
- Origin
- PackedFloat3
- PackedFloat4x3
- ParallelRenderCommandEncoder
- PatchType
- PipelineBufferDescriptor
- PipelineBufferDescriptorArray
- PipelineOption
- PipelineOptionFlag
- PixelFormat
- PointerType
- PrimitiveAccelerationStructureDescriptor
- PrimitiveTopologyClass
- PrimitiveType
- PurgeableState
- QuadTessellationFactorsHalf
- RasterizationRateLayerArray
- RasterizationRateLayerDescriptor
- RasterizationRateMap
- RasterizationRateMapDescriptor
- RasterizationRateSampleArray
- ReadWriteTextureTier
- Region
- RenderCommandEncoder
- RenderPassAttachmentDescriptor
- RenderPassColorAttachmentDescriptor
- RenderPassColorAttachmentDescriptorArray
- RenderPassDepthAttachmentDescriptor
- RenderPassDescriptor
- RenderPassSampleBufferAttachmentDescriptor
- RenderPassSampleBufferAttachmentDescriptorArray
- RenderPassStencilAttachmentDescriptor
- RenderPipelineColorAttachmentDescriptor
- RenderPipelineColorAttachmentDescriptorArray
- RenderPipelineDescriptor
- RenderPipelineFunctionsDescriptor
- RenderPipelineReflection
- RenderPipelineState
- RenderStage
- RenderStages
- Resource
- ResourceID
- ResourceOption
- ResourceOptions
- ResourceStateCommandEncoder
- ResourceStatePassDescriptor
- ResourceStatePassSampleBufferAttachmentDescriptor
- ResourceStatePassSampleBufferAttachmentDescriptorArray
- ResourceUsage
- ResourceUsageFlag
- SamplePosition
- SamplerAddressMode
- SamplerBorderColor
- SamplerDescriptor
- SamplerMinMagFilter
- SamplerMipFilter
- SamplerState
- ScissorRect
- ShaderValidation
- SharedEvent
- SharedEventHandle
- SharedEventListener
- SharedEventNotificationBlock
- SharedTextureHandle
- Size
- SizeAndAlign
- SparsePageSize
- SparseTextureMappingMode
- SparseTextureRegionAlignmentMode
- StageInRegionIndirectArguments
- StageInputOutputDescriptor
- StencilDescriptor
- StencilOperation
- StepFunction
- StorageMode
- StoreAction
- StoreActionOption
- StoreActionOptions
- StructMember
- StructType
- TessellationControlPointIndexType
- TessellationFactorFormat
- TessellationFactorStepFunction
- TessellationPartitionMode
- Texture
- TextureBinding
- TextureCompressionType
- TextureDescriptor
- TextureReferenceType
- TextureSwizzle
- TextureSwizzleChannels
- TextureType
- TextureUsage
- TextureUsageFlag
- ThreadgroupBinding
- TileRenderPipelineColorAttachmentDescriptor
- TileRenderPipelineColorAttachmentDescriptorArray
- TileRenderPipelineDescriptor
- Timestamp
- TriangleFillMode
- TriangleTessellationFactorsHalf
- Type
- VertexAmplificationViewMapping
- VertexAttribute
- VertexAttributeDescriptor
- VertexAttributeDescriptorArray
- VertexBufferLayoutDescriptor
- VertexBufferLayoutDescriptorArray
- VertexDescriptor
- VertexFormat
- VertexStepFunction
- Viewport
- VisibilityResultMode
- VisibleFunctionTable
- VisibleFunctionTableDescriptor
- Winding
- dispatch_data_t
- dispatch_queue_t
- id
Variables (23)
- CommandBufferEncoderInfoErrorKey
- CommonCounterClipperInvocations
- CommonCounterClipperPrimitivesOut
- CommonCounterComputeKernelInvocations
- CommonCounterFragmentCycles
- CommonCounterFragmentInvocations
- CommonCounterFragmentsPassed
- CommonCounterPostTessellationVertexCycles
- CommonCounterPostTessellationVertexInvocations
- CommonCounterRenderTargetWriteCycles
- CommonCounterSetStageUtilization
- CommonCounterSetStatistic
- CommonCounterSetTimestamp
- CommonCounterTessellationCycles
- CommonCounterTessellationInputPatches
- CommonCounterTimestamp
- CommonCounterTotalCycles
- CommonCounterVertexCycles
- CommonCounterVertexInvocations
- DeviceRemovalRequestedNotification
- DeviceWasAddedNotification
- DeviceWasRemovedNotification
- IOErrorDomain
Procedures (1608)
AccelerationStructureBoundingBoxGeometryDescriptor_… (11)
- AccelerationStructureBoundingBoxGeometryDescriptor_alloc
- AccelerationStructureBoundingBoxGeometryDescriptor_boundingBoxBuffer
- AccelerationStructureBoundingBoxGeometryDescriptor_boundingBoxBufferOffset
- AccelerationStructureBoundingBoxGeometryDescriptor_boundingBoxCount
- AccelerationStructureBoundingBoxGeometryDescriptor_boundingBoxStride
- AccelerationStructureBoundingBoxGeometryDescriptor_descriptor
- AccelerationStructureBoundingBoxGeometryDescriptor_init
- AccelerationStructureBoundingBoxGeometryDescriptor_setBoundingBoxBuffer
- AccelerationStructureBoundingBoxGeometryDescriptor_setBoundingBoxBufferOffset
- AccelerationStructureBoundingBoxGeometryDescriptor_setBoundingBoxCount
- AccelerationStructureBoundingBoxGeometryDescriptor_setBoundingBoxStride
AccelerationStructureCommandEncoder_… (13)
- AccelerationStructureCommandEncoder_buildAccelerationStructure
- AccelerationStructureCommandEncoder_copyAccelerationStructure
- AccelerationStructureCommandEncoder_copyAndCompactAccelerationStructure
- AccelerationStructureCommandEncoder_refitAccelerationStructure
- AccelerationStructureCommandEncoder_refitAccelerationStructureWithOptions
- AccelerationStructureCommandEncoder_sampleCountersInBuffer
- AccelerationStructureCommandEncoder_updateFence
- AccelerationStructureCommandEncoder_useHeap
- AccelerationStructureCommandEncoder_useHeaps
- AccelerationStructureCommandEncoder_useResource
- AccelerationStructureCommandEncoder_useResources
- AccelerationStructureCommandEncoder_waitForFence
- AccelerationStructureCommandEncoder_writeCompactedAccelerationStructureSize
AccelerationStructureDescriptor_… (4)
AccelerationStructureGeometryDescriptor_… (16)
- AccelerationStructureGeometryDescriptor_alloc
- AccelerationStructureGeometryDescriptor_allowDuplicateIntersectionFunctionInvocation
- AccelerationStructureGeometryDescriptor_init
- AccelerationStructureGeometryDescriptor_intersectionFunctionTableOffset
- AccelerationStructureGeometryDescriptor_opaque
- AccelerationStructureGeometryDescriptor_primitiveDataBuffer
- AccelerationStructureGeometryDescriptor_primitiveDataBufferOffset
- AccelerationStructureGeometryDescriptor_primitiveDataElementSize
- AccelerationStructureGeometryDescriptor_primitiveDataStride
- AccelerationStructureGeometryDescriptor_setAllowDuplicateIntersectionFunctionInvocation
- AccelerationStructureGeometryDescriptor_setIntersectionFunctionTableOffset
- AccelerationStructureGeometryDescriptor_setOpaque
- AccelerationStructureGeometryDescriptor_setPrimitiveDataBuffer
- AccelerationStructureGeometryDescriptor_setPrimitiveDataBufferOffset
- AccelerationStructureGeometryDescriptor_setPrimitiveDataElementSize
- AccelerationStructureGeometryDescriptor_setPrimitiveDataStride
AccelerationStructureMotionBoundingBoxGeometryDescriptor_… (9)
- AccelerationStructureMotionBoundingBoxGeometryDescriptor_alloc
- AccelerationStructureMotionBoundingBoxGeometryDescriptor_boundingBoxBuffers
- AccelerationStructureMotionBoundingBoxGeometryDescriptor_boundingBoxCount
- AccelerationStructureMotionBoundingBoxGeometryDescriptor_boundingBoxStride
- AccelerationStructureMotionBoundingBoxGeometryDescriptor_descriptor
- AccelerationStructureMotionBoundingBoxGeometryDescriptor_init
- AccelerationStructureMotionBoundingBoxGeometryDescriptor_setBoundBoxBuffers
- AccelerationStructureMotionBoundingBoxGeometryDescriptor_setBoundingBoxCount
- AccelerationStructureMotionBoundingBoxGeometryDescriptor_setBoundingBoxStride
AccelerationStructureMotionTriangleGeometryDescriptor_… (20)
- AccelerationStructureMotionTriangleGeometryDescriptor_alloc
- AccelerationStructureMotionTriangleGeometryDescriptor_indexBuffer
- AccelerationStructureMotionTriangleGeometryDescriptor_indexBufferOffset
- AccelerationStructureMotionTriangleGeometryDescriptor_indexType
- AccelerationStructureMotionTriangleGeometryDescriptor_init
- AccelerationStructureMotionTriangleGeometryDescriptor_setIndexBuffer
- AccelerationStructureMotionTriangleGeometryDescriptor_setIndexBufferOffset
- AccelerationStructureMotionTriangleGeometryDescriptor_setIndexType
- AccelerationStructureMotionTriangleGeometryDescriptor_setTransformationMatrixBuffer
- AccelerationStructureMotionTriangleGeometryDescriptor_setTransformationMatrixBufferOffset
- AccelerationStructureMotionTriangleGeometryDescriptor_setTriangleCount
- AccelerationStructureMotionTriangleGeometryDescriptor_setVertexBuffers
- AccelerationStructureMotionTriangleGeometryDescriptor_setVertexFormat
- AccelerationStructureMotionTriangleGeometryDescriptor_setVertexStride
- AccelerationStructureMotionTriangleGeometryDescriptor_transformationMatrixBuffer
- AccelerationStructureMotionTriangleGeometryDescriptor_transformationMatrixBufferOffset
- AccelerationStructureMotionTriangleGeometryDescriptor_triangleCount
- AccelerationStructureMotionTriangleGeometryDescriptor_vertexBuffers
- AccelerationStructureMotionTriangleGeometryDescriptor_vertexFormat
- AccelerationStructureMotionTriangleGeometryDescriptor_vertexStride
AccelerationStructurePassSampleBufferAttachmentDescriptorArray_… (4)
AccelerationStructurePassSampleBufferAttachmentDescriptor_… (8)
- AccelerationStructurePassSampleBufferAttachmentDescriptor_alloc
- AccelerationStructurePassSampleBufferAttachmentDescriptor_endOfEncoderSampleIndex
- AccelerationStructurePassSampleBufferAttachmentDescriptor_init
- AccelerationStructurePassSampleBufferAttachmentDescriptor_sampleBuffer
- AccelerationStructurePassSampleBufferAttachmentDescriptor_setEndOfEncoderSampleIndex
- AccelerationStructurePassSampleBufferAttachmentDescriptor_setSampleBuffer
- AccelerationStructurePassSampleBufferAttachmentDescriptor_setStartOfEncoderSampleIndex
- AccelerationStructurePassSampleBufferAttachmentDescriptor_startOfEncoderSampleIndex
AccelerationStructureTriangleGeometryDescriptor_… (23)
- AccelerationStructureTriangleGeometryDescriptor_alloc
- AccelerationStructureTriangleGeometryDescriptor_descriptor
- AccelerationStructureTriangleGeometryDescriptor_indexBuffer
- AccelerationStructureTriangleGeometryDescriptor_indexBufferOffset
- AccelerationStructureTriangleGeometryDescriptor_indexType
- AccelerationStructureTriangleGeometryDescriptor_init
- AccelerationStructureTriangleGeometryDescriptor_setIndexBuffer
- AccelerationStructureTriangleGeometryDescriptor_setIndexBufferOffset
- AccelerationStructureTriangleGeometryDescriptor_setIndexType
- AccelerationStructureTriangleGeometryDescriptor_setTransformationMatrixBuffer
- AccelerationStructureTriangleGeometryDescriptor_setTransformationMatrixBufferOffset
- AccelerationStructureTriangleGeometryDescriptor_setTriangleCount
- AccelerationStructureTriangleGeometryDescriptor_setVertexBuffer
- AccelerationStructureTriangleGeometryDescriptor_setVertexBufferOffset
- AccelerationStructureTriangleGeometryDescriptor_setVertexFormat
- AccelerationStructureTriangleGeometryDescriptor_setVertexStride
- AccelerationStructureTriangleGeometryDescriptor_transformationMatrixBuffer
- AccelerationStructureTriangleGeometryDescriptor_transformationMatrixBufferOffset
- AccelerationStructureTriangleGeometryDescriptor_triangleCount
- AccelerationStructureTriangleGeometryDescriptor_vertexBuffer
- AccelerationStructureTriangleGeometryDescriptor_vertexBufferOffset
- AccelerationStructureTriangleGeometryDescriptor_vertexFormat
- AccelerationStructureTriangleGeometryDescriptor_vertexStride
- AccelerationStructure_gpuResourceID
- AccelerationStructure_size
ArgumentDescriptor_… (15)
- ArgumentDescriptor_access
- ArgumentDescriptor_alloc
- ArgumentDescriptor_argumentDescriptor
- ArgumentDescriptor_arrayLength
- ArgumentDescriptor_constantBlockAlignment
- ArgumentDescriptor_dataType
- ArgumentDescriptor_index
- ArgumentDescriptor_init
- ArgumentDescriptor_setAccess
- ArgumentDescriptor_setArrayLength
- ArgumentDescriptor_setConstantBlockAlignment
- ArgumentDescriptor_setDataType
- ArgumentDescriptor_setIndex
- ArgumentDescriptor_setTextureType
- ArgumentDescriptor_textureType
ArgumentEncoder_… (26)
- ArgumentEncoder_alignment
- ArgumentEncoder_constantData
- ArgumentEncoder_device
- ArgumentEncoder_encodedLength
- ArgumentEncoder_label
- ArgumentEncoder_newArgumentEncoderForBuffer
- ArgumentEncoder_setAccelerationStructure
- ArgumentEncoder_setArgumentBufferWithOffset
- ArgumentEncoder_setArgumentBuffer_startOffsetWithStartOffset
- ArgumentEncoder_setBuffer
- ArgumentEncoder_setBuffers
- ArgumentEncoder_setComputePipelineState
- ArgumentEncoder_setComputePipelineStates
- ArgumentEncoder_setIndirectCommandBuffer
- ArgumentEncoder_setIndirectCommandBuffers
- ArgumentEncoder_setIntersectionFunctionTable
- ArgumentEncoder_setIntersectionFunctionTables
- ArgumentEncoder_setLabel
- ArgumentEncoder_setRenderPipelineState
- ArgumentEncoder_setRenderPipelineStates
- ArgumentEncoder_setSamplerState
- ArgumentEncoder_setSamplerStates
- ArgumentEncoder_setTexture
- ArgumentEncoder_setTextures
- ArgumentEncoder_setVisibleFunctionTable
- ArgumentEncoder_setVisibleFunctionTables
Argument_… (18)
- Argument_access
- Argument_alloc
- Argument_arrayLength
- Argument_bufferAlignment
- Argument_bufferDataSize
- Argument_bufferDataType
- Argument_bufferPointerType
- Argument_bufferStructType
- Argument_index
- Argument_init
- Argument_isActive
- Argument_isDepthTexture
- Argument_name
- Argument_textureDataType
- Argument_textureType
- Argument_threadgroupMemoryAlignment
- Argument_threadgroupMemoryDataSize
- Argument_type
AttributeDescriptorArray_… (4)
BinaryArchiveDescriptor_… (4)
BlitCommandEncoder_… (25)
- BlitCommandEncoder_copyFromBuffer
- BlitCommandEncoder_copyFromBufferEx
- BlitCommandEncoder_copyFromBufferExWithOptions
- BlitCommandEncoder_copyFromTexture
- BlitCommandEncoder_copyFromTextureEx
- BlitCommandEncoder_copyFromTextureExWithOptions
- BlitCommandEncoder_copyFromTextureWithCounts
- BlitCommandEncoder_copyFromTextureWithDestinationOrigin
- BlitCommandEncoder_copyIndirectCommandBuffer
- BlitCommandEncoder_fillBuffer
- BlitCommandEncoder_generateMipmapsForTexture
- BlitCommandEncoder_getTextureAccessCounters
- BlitCommandEncoder_optimizeContentsForCPUAccess
- BlitCommandEncoder_optimizeContentsForCPUAccessWithSliceAndLevel
- BlitCommandEncoder_optimizeContentsForGPUAccess
- BlitCommandEncoder_optimizeContentsForGPUAccessWithSliceAndLevel
- BlitCommandEncoder_optimizeIndirectCommandBuffer
- BlitCommandEncoder_resetCommandsInBuffer
- BlitCommandEncoder_resetTextureAccessCounters
- BlitCommandEncoder_resolveCounters
- BlitCommandEncoder_sampleCountersInBuffer
- BlitCommandEncoder_synchronizeResource
- BlitCommandEncoder_synchronizeTexture
- BlitCommandEncoder_updateFence
- BlitCommandEncoder_waitForFence
BlitPassSampleBufferAttachmentDescriptorArray_… (4)
BlitPassSampleBufferAttachmentDescriptor_… (8)
- BlitPassSampleBufferAttachmentDescriptor_alloc
- BlitPassSampleBufferAttachmentDescriptor_endOfEncoderSampleIndex
- BlitPassSampleBufferAttachmentDescriptor_init
- BlitPassSampleBufferAttachmentDescriptor_sampleBuffer
- BlitPassSampleBufferAttachmentDescriptor_setEndOfEncoderSampleIndex
- BlitPassSampleBufferAttachmentDescriptor_setSampleBuffer
- BlitPassSampleBufferAttachmentDescriptor_setStartOfEncoderSampleIndex
- BlitPassSampleBufferAttachmentDescriptor_startOfEncoderSampleIndex
BufferLayoutDescriptorArray_… (4)
Buffer_… (13)
- Buffer_addDebugMarker
- Buffer_contents
- Buffer_contentsAsSlice
- Buffer_contentsAsType
- Buffer_contentsPointer
- Buffer_didModifyRange
- Buffer_gpuAddress
- Buffer_length
- Buffer_newRemoteBufferViewForDevice
- Buffer_newRemoveBufferViewForDevice
- Buffer_newTexture
- Buffer_remoteStorageBuffer
- Buffer_removeAllDebugMarkers
CaptureManager_… (14)
- CaptureManager_alloc
- CaptureManager_defaultCaptureScope
- CaptureManager_init
- CaptureManager_isCapturing
- CaptureManager_newCaptureScopeWithCommandQueue
- CaptureManager_newCaptureScopeWithDevice
- CaptureManager_setDefaultCaptureScope
- CaptureManager_sharedCaptureManager
- CaptureManager_startCaptureWithCommandQueue
- CaptureManager_startCaptureWithDescriptor
- CaptureManager_startCaptureWithDevice
- CaptureManager_startCaptureWithScope
- CaptureManager_stopCapture
- CaptureManager_supportsDestination
CommandBufferEncoderInfo_… (3)
CommandBuffer_… (37)
- CommandBuffer_GPUEndTime
- CommandBuffer_GPUStartTime
- CommandBuffer_accelerationStructureCommandEncoder
- CommandBuffer_accelerationStructureCommandEncoderWithDescriptor
- CommandBuffer_addCompletedHandler
- CommandBuffer_addScheduledHandler
- CommandBuffer_blitCommandEncoder
- CommandBuffer_blitCommandEncoderWithDescriptor
- CommandBuffer_commandQueue
- CommandBuffer_commit
- CommandBuffer_computeCommandEncoder
- CommandBuffer_computeCommandEncoderWithDescriptor
- CommandBuffer_computeCommandEncoderWithDispatchType
- CommandBuffer_device
- CommandBuffer_encodeSignalEvent
- CommandBuffer_encodeWaitForEvent
- CommandBuffer_enqueue
- CommandBuffer_error
- CommandBuffer_errorOptions
- CommandBuffer_kernelEndTime
- CommandBuffer_kernelStartTime
- CommandBuffer_label
- CommandBuffer_logs
- CommandBuffer_parallelRenderCommandEncoder
- CommandBuffer_popDebugGroup
- CommandBuffer_presentDrawable
- CommandBuffer_presentDrawableAfterMinimumDuration
- CommandBuffer_presentDrawableAtTime
- CommandBuffer_pushDebugGroup
- CommandBuffer_renderCommandEncoderWithDescriptor
- CommandBuffer_resourceStateCommandEncoder
- CommandBuffer_resourceStateCommandEncoderWithDescriptor
- CommandBuffer_retainedReferences
- CommandBuffer_setLabel
- CommandBuffer_status
- CommandBuffer_waitUntilCompleted
- CommandBuffer_waitUntilScheduled
CompileOptions_… (18)
- CompileOptions_alloc
- CompileOptions_fastMathEnabled
- CompileOptions_init
- CompileOptions_installName
- CompileOptions_languageVersion
- CompileOptions_libraries
- CompileOptions_libraryType
- CompileOptions_optimizationLevel
- CompileOptions_preprocessorMacros
- CompileOptions_preserveInvariance
- CompileOptions_setFastMathEnabled
- CompileOptions_setInstallName
- CompileOptions_setLanguageVersion
- CompileOptions_setLibraries
- CompileOptions_setLibraryType
- CompileOptions_setOptimizationLevel
- CompileOptions_setPreprocessorMacros
- CompileOptions_setPreserveInvariance
ComputeCommandEncoder_… (35)
- ComputeCommandEncoder_dispatchThreadgroups
- ComputeCommandEncoder_dispatchThreadgroupsWithIndirectBuffer
- ComputeCommandEncoder_dispatchThreads
- ComputeCommandEncoder_dispatchType
- ComputeCommandEncoder_executeCommandsInBuffer
- ComputeCommandEncoder_executeCommandsInBufferWithRange
- ComputeCommandEncoder_memoryBarrierWithResources
- ComputeCommandEncoder_memoryBarrierWithScope
- ComputeCommandEncoder_sampleCountersInBuffer
- ComputeCommandEncoder_setAccelerationStructure
- ComputeCommandEncoder_setBuffer
- ComputeCommandEncoder_setBufferOffset
- ComputeCommandEncoder_setBuffers
- ComputeCommandEncoder_setBytes
- ComputeCommandEncoder_setComputePipelineState
- ComputeCommandEncoder_setImageblockWidth
- ComputeCommandEncoder_setIntersectionFunctionTable
- ComputeCommandEncoder_setIntersectionFunctionTables
- ComputeCommandEncoder_setSamplerState
- ComputeCommandEncoder_setSamplerState_lodMinClamp_lodMaxClamp
- ComputeCommandEncoder_setSamplerStatesWithLod
- ComputeCommandEncoder_setSamplerStatesWithRange
- ComputeCommandEncoder_setStageInRegion
- ComputeCommandEncoder_setStageInRegionWithIndirectBuffer
- ComputeCommandEncoder_setTexture
- ComputeCommandEncoder_setTextures
- ComputeCommandEncoder_setThreadgroupMemoryLength
- ComputeCommandEncoder_setVisibleFunctionTable
- ComputeCommandEncoder_setVisibleFunctionTables
- ComputeCommandEncoder_updateFence
- ComputeCommandEncoder_useHeap
- ComputeCommandEncoder_useHeaps
- ComputeCommandEncoder_useResource
- ComputeCommandEncoder_useResources
- ComputeCommandEncoder_waitForFence
ComputePassSampleBufferAttachmentDescriptorArray_… (4)
ComputePassSampleBufferAttachmentDescriptor_… (8)
- ComputePassSampleBufferAttachmentDescriptor_alloc
- ComputePassSampleBufferAttachmentDescriptor_endOfEncoderSampleIndex
- ComputePassSampleBufferAttachmentDescriptor_init
- ComputePassSampleBufferAttachmentDescriptor_sampleBuffer
- ComputePassSampleBufferAttachmentDescriptor_setEndOfEncoderSampleIndex
- ComputePassSampleBufferAttachmentDescriptor_setSampleBuffer
- ComputePassSampleBufferAttachmentDescriptor_setStartOfEncoderSampleIndex
- ComputePassSampleBufferAttachmentDescriptor_startOfEncoderSampleIndex
ComputePipelineDescriptor_… (27)
- ComputePipelineDescriptor_alloc
- ComputePipelineDescriptor_binaryArchives
- ComputePipelineDescriptor_buffers
- ComputePipelineDescriptor_computeFunction
- ComputePipelineDescriptor_gpuResourceID
- ComputePipelineDescriptor_init
- ComputePipelineDescriptor_insertLibraries
- ComputePipelineDescriptor_label
- ComputePipelineDescriptor_linkedFunctions
- ComputePipelineDescriptor_maxCallStackDepth
- ComputePipelineDescriptor_maxTotalThreadsPerThreadgroup
- ComputePipelineDescriptor_reset
- ComputePipelineDescriptor_setBinaryArchives
- ComputePipelineDescriptor_setComputeFunction
- ComputePipelineDescriptor_setInsertLibraries
- ComputePipelineDescriptor_setLabel
- ComputePipelineDescriptor_setLinkedFunctions
- ComputePipelineDescriptor_setMaxCallStackDepth
- ComputePipelineDescriptor_setMaxTotalThreadsPerThreadgroup
- ComputePipelineDescriptor_setStageInputDescriptor
- ComputePipelineDescriptor_setSupportAddingBinaryFunctions
- ComputePipelineDescriptor_setSupportIndirectCommandBuffers
- ComputePipelineDescriptor_setThreadGroupSizeIsMultipleOfThreadExecutionWidth
- ComputePipelineDescriptor_stageInputDescriptor
- ComputePipelineDescriptor_supportAddingBinaryFunctions
- ComputePipelineDescriptor_supportIndirectCommandBuffers
- ComputePipelineDescriptor_threadGroupSizeIsMultipleOfThreadExecutionWidth
ComputePipelineReflection_… (4)
ComputePipelineState_… (11)
- ComputePipelineState_device
- ComputePipelineState_functionHandleWithFunction
- ComputePipelineState_imageblockMemoryLengthForDimensions
- ComputePipelineState_label
- ComputePipelineState_maxTotalThreadsPerThreadgroup
- ComputePipelineState_newComputePipelineState
- ComputePipelineState_newIntersectionFunctionTable
- ComputePipelineState_newVisibleFunctionTable
- ComputePipelineState_staticThreadgroupMemoryLength
- ComputePipelineState_supportIndirectCommandBuffers
- ComputePipelineState_threadExecutionWidth
- CopyAllDevices
- CopyAllDevicesWithObserver
CounterSampleBufferDescriptor_… (10)
- CounterSampleBufferDescriptor_alloc
- CounterSampleBufferDescriptor_counterSet
- CounterSampleBufferDescriptor_init
- CounterSampleBufferDescriptor_label
- CounterSampleBufferDescriptor_sampleCount
- CounterSampleBufferDescriptor_setCounterSet
- CounterSampleBufferDescriptor_setLabel
- CounterSampleBufferDescriptor_setSampleCount
- CounterSampleBufferDescriptor_setStorageMode
- CounterSampleBufferDescriptor_storageMode
- CounterSet_counters
- CounterSet_name
- Counter_name
- CreateSystemDefaultDevice
DepthStencilDescriptor_… (12)
- DepthStencilDescriptor_alloc
- DepthStencilDescriptor_backFaceStencil
- DepthStencilDescriptor_depthCompareFunction
- DepthStencilDescriptor_frontFaceStencil
- DepthStencilDescriptor_init
- DepthStencilDescriptor_isDepthWriteEnabled
- DepthStencilDescriptor_label
- DepthStencilDescriptor_setBackFaceStencil
- DepthStencilDescriptor_setDepthCompareFunction
- DepthStencilDescriptor_setDepthWriteEnabled
- DepthStencilDescriptor_setFrontFaceStencil
- DepthStencilDescriptor_setLabel
- DepthStencilState_device
- DepthStencilState_label
Device_… (102)
- Device_accelerationStructureSizesWithDescriptor
- Device_areBarycentricCoordsSupported
- Device_areProgrammableSamplePositionsSupported
- Device_areRasterOrderGroupsSupported
- Device_argumentBuffersSupport
- Device_convertSparsePixelRegions
- Device_convertSparseTileRegions
- Device_counterSets
- Device_currentAllocatedSize
- Device_getDefaultSamplePositions
- Device_hasUnifiedMemory
- Device_heapBufferSizeAndAlignWithLength
- Device_heapTextureSizeAndAlignWithDescriptor
- Device_isDepth24Stencil8PixelFormatSupported
- Device_isHeadless
- Device_isLowPower
- Device_isRemovable
- Device_location
- Device_locationNumber
- Device_maxArgumentBufferSamplerCount
- Device_maxBufferLength
- Device_maxThreadgroupMemoryLength
- Device_maxThreadsPerThreadgroup
- Device_maxTransferRate
- Device_minimumLinearTextureAlignmentForPixelFormat
- Device_minimumTextureBufferAlignmentForPixelFormat
- Device_name
- Device_newAccelerationStructureWithDescriptor
- Device_newAccelerationStructureWithSize
- Device_newArgumentEncoderWithArguments
- Device_newBinaryArchive
- Device_newBufferWithBytes
- Device_newBufferWithBytesNoCopy
- Device_newBufferWithLength
- Device_newBufferWithSlice
- Device_newBufferWithSliceNoCopy
- Device_newCommandQueue
- Device_newCommandQueueWithMaxCommandBufferCount
- Device_newComputePipelineStateWithDescriptorWithCompletionHandler
- Device_newComputePipelineStateWithDescriptorWithReflection
- Device_newComputePipelineStateWithFunction
- Device_newComputePipelineStateWithFunctionWithCompletionHandler
- Device_newComputePipelineStateWithFunctionWithOptionsAndCompletionHandler
- Device_newComputePipelineStateWithFunctionWithReflection
- Device_newCounterSampleBuffer
- Device_newDefaultLibrary
- Device_newDefaultLibraryWithBundle
- Device_newDepthStencilState
- Device_newDynamicLibrary
- Device_newDynamicLibraryWithURL
- Device_newEvent
- Device_newFence
- Device_newHeap
- Device_newIOCommandQueue
- Device_newIOHandle
- Device_newIOHandleWithCompressionMethod
- Device_newIndirectCommandBuffer
- Device_newLibraryWithData
- Device_newLibraryWithFile
- Device_newLibraryWithSource
- Device_newLibraryWithSourceWithCompletionHandler
- Device_newLibraryWithURL
- Device_newRasterizationRateMap
- Device_newRenderPipelineStateWithDescriptor
- Device_newRenderPipelineStateWithDescriptorWithCompletionHandler
- Device_newRenderPipelineStateWithDescriptorWithOptionsAndCompletionHandler
- Device_newRenderPipelineStateWithDescriptorWithReflection
- Device_newRenderPipelineStateWithMeshDescriptor
- Device_newRenderPipelineStateWithMeshDescriptorAndCompletionHandler
- Device_newRenderPipelineStateWithTileDescriptorWithCompletionHandler
- Device_newRenderPipelineStateWithTileDescriptorWithReflection
- Device_newSamplerState
- Device_newSharedEvent
- Device_newSharedEventWithHandle
- Device_newSharedTextureWithDescriptor
- Device_newSharedTextureWithHandle
- Device_newTextureWithDescriptor
- Device_newTextureWithIOSurface
- Device_peerCount
- Device_peerGroupID
- Device_peerIndex
- Device_readWriteTextureSupport
- Device_recommendedMaxWorkingSetSize
- Device_registryID
- Device_sampleTimestamps
- Device_sparseTileSizeInBytes
- Device_sparseTileSizeWithTextureType
- Device_supports32BitFloatFiltering
- Device_supports32BitMSAA
- Device_supportsBCTextureCompression
- Device_supportsCounterSampling
- Device_supportsDynamicLibraries
- Device_supportsFamily
- Device_supportsFeatureSet
- Device_supportsFunctionPointers
- Device_supportsPullModelInterpolation
- Device_supportsQueryTextureLOD
- Device_supportsRasterizationRateMapWithLayerCount
- Device_supportsRaytracing
- Device_supportsShaderBarycentricCoordinates
- Device_supportsTextureSampleCount
- Device_supportsVertexAmplificationCount
Event_… (3)
Fence_… (3)
FunctionDescriptor_… (11)
- FunctionDescriptor_alloc
- FunctionDescriptor_constantValues
- FunctionDescriptor_functionDescriptor
- FunctionDescriptor_init
- FunctionDescriptor_name
- FunctionDescriptor_options
- FunctionDescriptor_setConstantValues
- FunctionDescriptor_setName
- FunctionDescriptor_setOptions
- FunctionDescriptor_setSpecializedName
- FunctionDescriptor_specializedName
FunctionHandle_… (3)
FunctionLogDebugLocation_… (4)
Function_… (13)
- Function_device
- Function_functionConstantsDictionary
- Function_functionType
- Function_label
- Function_name
- Function_newArgumentEncoder
- Function_newArgumentEncoderWithReflection
- Function_options
- Function_patchControlPointCount
- Function_patchType
- Function_setLabel
- Function_stageInputAttributes
- Function_vertexAttributes
HeapDescriptor_… (16)
- HeapDescriptor_alloc
- HeapDescriptor_cpuCacheMode
- HeapDescriptor_hazardTrackingMode
- HeapDescriptor_init
- HeapDescriptor_resourceOptions
- HeapDescriptor_setCpuCacheMode
- HeapDescriptor_setHazardTrackingMode
- HeapDescriptor_setResourceOptions
- HeapDescriptor_setSize
- HeapDescriptor_setSparsePageSize
- HeapDescriptor_setStorageMode
- HeapDescriptor_setType
- HeapDescriptor_size
- HeapDescriptor_sparsePageSize
- HeapDescriptor_storageMode
- HeapDescriptor_type
Heap_… (21)
- Heap_cpuCacheMode
- Heap_currentAllocatedSize
- Heap_device
- Heap_hazardTrackingMode
- Heap_label
- Heap_maxAvailableSizeWithAlignment
- Heap_newAccelerationStructureWithDescriptor
- Heap_newAccelerationStructureWithDescriptorAndOffset
- Heap_newAccelerationStructureWithSize
- Heap_newAccelerationStructureWithSizeAndOffset
- Heap_newBufferWithLength
- Heap_newBufferWithOptions
- Heap_newTextureWithDescriptor
- Heap_newTextureWithDescriptorAndOffset
- Heap_resourceOptions
- Heap_setLabel
- Heap_setPurgeableState
- Heap_size
- Heap_storageMode
- Heap_type
- Heap_usedSize
IOCommandBuffer_… (18)
- IOCommandBuffer_addBarrier
- IOCommandBuffer_addCompletedHandler
- IOCommandBuffer_commit
- IOCommandBuffer_copyStatusToBuffer
- IOCommandBuffer_enqueue
- IOCommandBuffer_error
- IOCommandBuffer_label
- IOCommandBuffer_loadBuffer
- IOCommandBuffer_loadBytes
- IOCommandBuffer_loadTexture
- IOCommandBuffer_popDebugGroup
- IOCommandBuffer_pushDebugGroup
- IOCommandBuffer_setLabel
- IOCommandBuffer_signalEvent
- IOCommandBuffer_status
- IOCommandBuffer_tryCancel
- IOCommandBuffer_waitForEvent
- IOCommandBuffer_waitUntilCompleted
IOCommandQueueDescriptor_… (3)
- IOCompressionContextAppendData
- IOCompressionContextDefaultChunkSize
- IOCreateCompressionContext
- IOFileHandle_label
- IOFileHandle_setLabel
- IOFlushAndDestroyCompressionContext
- IOScratchBufferAllocator_newScratchBuffer
- IOScratchBuffer_buffer
IndirectCommandBufferDescriptor_… (14)
- IndirectCommandBufferDescriptor_alloc
- IndirectCommandBufferDescriptor_commandTypes
- IndirectCommandBufferDescriptor_inheritBuffers
- IndirectCommandBufferDescriptor_inheritPipelineState
- IndirectCommandBufferDescriptor_init
- IndirectCommandBufferDescriptor_maxFragmentBufferBindCount
- IndirectCommandBufferDescriptor_maxKernelBufferBindCount
- IndirectCommandBufferDescriptor_maxVertexBufferBindCount
- IndirectCommandBufferDescriptor_setCommandTypes
- IndirectCommandBufferDescriptor_setInheritBuffers
- IndirectCommandBufferDescriptor_setInheritPipelineState
- IndirectCommandBufferDescriptor_setMaxFragmentBufferBindCount
- IndirectCommandBufferDescriptor_setMaxKernelBufferBindCount
- IndirectCommandBufferDescriptor_setMaxVertexBufferBindCount
IndirectComputeCommand_… (10)
- IndirectComputeCommand_clearBarrier
- IndirectComputeCommand_concurrentDispatchThreadgroups
- IndirectComputeCommand_concurrentDispatchThreads
- IndirectComputeCommand_reset
- IndirectComputeCommand_setBarrier
- IndirectComputeCommand_setComputePipelineState
- IndirectComputeCommand_setImageblockWidth
- IndirectComputeCommand_setKernelBuffer
- IndirectComputeCommand_setStageInRegion
- IndirectComputeCommand_setThreadgroupMemoryLength
IndirectRenderCommand_… (8)
- IndirectRenderCommand_drawIndexedPatches
- IndirectRenderCommand_drawIndexedPrimitives
- IndirectRenderCommand_drawPatches
- IndirectRenderCommand_drawPrimitives
- IndirectRenderCommand_reset
- IndirectRenderCommand_setFragmentBuffer
- IndirectRenderCommand_setRenderPipelineState
- IndirectRenderCommand_setVertexBuffer
InstanceAccelerationStructureDescriptor_… (21)
- InstanceAccelerationStructureDescriptor_alloc
- InstanceAccelerationStructureDescriptor_descriptor
- InstanceAccelerationStructureDescriptor_init
- InstanceAccelerationStructureDescriptor_instanceCount
- InstanceAccelerationStructureDescriptor_instanceDescriptorBuffer
- InstanceAccelerationStructureDescriptor_instanceDescriptorBufferOffset
- InstanceAccelerationStructureDescriptor_instanceDescriptorStride
- InstanceAccelerationStructureDescriptor_instanceDescriptorType
- InstanceAccelerationStructureDescriptor_instancedAccelerationStructures
- InstanceAccelerationStructureDescriptor_motionTransformBuffer
- InstanceAccelerationStructureDescriptor_motionTransformBufferOffset
- InstanceAccelerationStructureDescriptor_motionTransformCount
- InstanceAccelerationStructureDescriptor_setInstanceCount
- InstanceAccelerationStructureDescriptor_setInstanceDescriptorBuffer
- InstanceAccelerationStructureDescriptor_setInstanceDescriptorBufferOffset
- InstanceAccelerationStructureDescriptor_setInstanceDescriptorStride
- InstanceAccelerationStructureDescriptor_setInstanceDescriptorType
- InstanceAccelerationStructureDescriptor_setInstancedAccelerationStructures
- InstanceAccelerationStructureDescriptor_setMotionTransformBuffer
- InstanceAccelerationStructureDescriptor_setMotionTransformBufferOffset
- InstanceAccelerationStructureDescriptor_setMotionTransformCount
- IntersectionFunctionDescriptor_alloc
- IntersectionFunctionDescriptor_init
IntersectionFunctionTable_… (8)
- IntersectionFunctionTable_setBuffer
- IntersectionFunctionTable_setBuffers
- IntersectionFunctionTable_setFunction
- IntersectionFunctionTable_setFunctions
- IntersectionFunctionTable_setOpaqueTriangleIntersectionFunctionWithSignature
- IntersectionFunctionTable_setOpaqueTriangleIntersectionFunctionWithSignatureWithRange
- IntersectionFunctionTable_setVisibleFunctionTable
- IntersectionFunctionTable_setVisibleFunctionTables
Library_… (13)
- Library_device
- Library_functionNames
- Library_installName
- Library_label
- Library_newFunctionWithCompletionHandler
- Library_newFunctionWithConstantValues
- Library_newFunctionWithConstantValuesAndCompletionHandler
- Library_newFunctionWithDescriptor
- Library_newFunctionWithName
- Library_newIntersectionFunction
- Library_newIntersectionFunctionWithCompletionHandler
- Library_setLabel
- Library_type
MeshRenderPipelineDescriptor_… (55)
- MeshRenderPipelineDescriptor_alloc
- MeshRenderPipelineDescriptor_alphaToCoverageEnabled
- MeshRenderPipelineDescriptor_alphaToOneEnabled
- MeshRenderPipelineDescriptor_binaryArchives
- MeshRenderPipelineDescriptor_colorAttachments
- MeshRenderPipelineDescriptor_depthAttachmentPixelFormat
- MeshRenderPipelineDescriptor_fragmentBuffers
- MeshRenderPipelineDescriptor_fragmentFunction
- MeshRenderPipelineDescriptor_fragmentLinkedFunctions
- MeshRenderPipelineDescriptor_init
- MeshRenderPipelineDescriptor_isAlphaToCoverageEnabled
- MeshRenderPipelineDescriptor_isAlphaToOneEnabled
- MeshRenderPipelineDescriptor_isRasterizationEnabled
- MeshRenderPipelineDescriptor_label
- MeshRenderPipelineDescriptor_maxTotalThreadgroupsPerMeshGrid
- MeshRenderPipelineDescriptor_maxTotalThreadsPerMeshThreadgroup
- MeshRenderPipelineDescriptor_maxTotalThreadsPerObjectThreadgroup
- MeshRenderPipelineDescriptor_maxVertexAmplificationCount
- MeshRenderPipelineDescriptor_meshBuffers
- MeshRenderPipelineDescriptor_meshFunction
- MeshRenderPipelineDescriptor_meshLinkedFunctions
- MeshRenderPipelineDescriptor_meshThreadgroupSizeIsMultipleOfThreadExecutionWidth
- MeshRenderPipelineDescriptor_objectBuffers
- MeshRenderPipelineDescriptor_objectFunction
- MeshRenderPipelineDescriptor_objectLinkedFunctions
- MeshRenderPipelineDescriptor_objectThreadgroupSizeIsMultipleOfThreadExecutionWidth
- MeshRenderPipelineDescriptor_payloadMemoryLength
- MeshRenderPipelineDescriptor_rasterSampleCount
- MeshRenderPipelineDescriptor_rasterizationEnabled
- MeshRenderPipelineDescriptor_reset
- MeshRenderPipelineDescriptor_setAlphaToCoverageEnabled
- MeshRenderPipelineDescriptor_setAlphaToOneEnabled
- MeshRenderPipelineDescriptor_setBinaryArchives
- MeshRenderPipelineDescriptor_setDepthAttachmentPixelFormat
- MeshRenderPipelineDescriptor_setFragmentFunction
- MeshRenderPipelineDescriptor_setFragmentLinkedFunctions
- MeshRenderPipelineDescriptor_setMaxTotalThreadgroupsPerMeshGrid
- MeshRenderPipelineDescriptor_setMaxTotalThreadsPerMeshThreadgroup
- MeshRenderPipelineDescriptor_setMaxTotalThreadsPerObjectThreadgroup
- MeshRenderPipelineDescriptor_setMaxVertexAmplificationCount
- MeshRenderPipelineDescriptor_setMeshFunction
- MeshRenderPipelineDescriptor_setMeshLinkedFunctions
- MeshRenderPipelineDescriptor_setMeshThreadgroupSizeIsMultipleOfThreadExecutionWidth
- MeshRenderPipelineDescriptor_setObjectFunction
- MeshRenderPipelineDescriptor_setObjectLinkedFunctions
- MeshRenderPipelineDescriptor_setObjectThreadgroupSizeIsMultipleOfThreadExecutionWidth
- MeshRenderPipelineDescriptor_setPayloadMemoryLength
- MeshRenderPipelineDescriptor_setRasterSampleCount
- MeshRenderPipelineDescriptor_setRasterizationEnabled
- MeshRenderPipelineDescriptor_setShaderValidation
- MeshRenderPipelineDescriptor_setStencilAttachmentPixelFormat
- MeshRenderPipelineDescriptor_setSupportIndirectCommandBuffers
- MeshRenderPipelineDescriptor_shaderValidation
- MeshRenderPipelineDescriptor_stencilAttachmentPixelFormat
- MeshRenderPipelineDescriptor_supportIndirectCommandBuffers
- ObjectPayloadBinding_objectPayloadAlignment
- ObjectPayloadBinding_objectPayloadDataSize
ParallelRenderCommandEncoder_… (7)
- ParallelRenderCommandEncoder_renderCommandEncoder
- ParallelRenderCommandEncoder_setColorStoreAction
- ParallelRenderCommandEncoder_setColorStoreActionOptions
- ParallelRenderCommandEncoder_setDepthStoreAction
- ParallelRenderCommandEncoder_setDepthStoreActionOptions
- ParallelRenderCommandEncoder_setStencilStoreAction
- ParallelRenderCommandEncoder_setStencilStoreActionOptions
PipelineBufferDescriptorArray_… (4)
PipelineBufferDescriptor_… (4)
PrimitiveAccelerationStructureDescriptor_… (15)
- PrimitiveAccelerationStructureDescriptor_alloc
- PrimitiveAccelerationStructureDescriptor_descriptor
- PrimitiveAccelerationStructureDescriptor_geometryDescriptors
- PrimitiveAccelerationStructureDescriptor_init
- PrimitiveAccelerationStructureDescriptor_motionEndBorderMode
- PrimitiveAccelerationStructureDescriptor_motionEndTime
- PrimitiveAccelerationStructureDescriptor_motionKeyframeCount
- PrimitiveAccelerationStructureDescriptor_motionStartBorderMode
- PrimitiveAccelerationStructureDescriptor_motionStartTime
- PrimitiveAccelerationStructureDescriptor_setGeometryDescriptors
- PrimitiveAccelerationStructureDescriptor_setMotionEndBorderMode
- PrimitiveAccelerationStructureDescriptor_setMotionEndTime
- PrimitiveAccelerationStructureDescriptor_setMotionKeyframeCount
- PrimitiveAccelerationStructureDescriptor_setMotionStartBorderMode
- PrimitiveAccelerationStructureDescriptor_setMotionStartTime
RasterizationRateLayerArray_… (4)
RasterizationRateLayerDescriptor_… (9)
- RasterizationRateLayerDescriptor_alloc
- RasterizationRateLayerDescriptor_horizontal
- RasterizationRateLayerDescriptor_horizontalSampleStorage
- RasterizationRateLayerDescriptor_init
- RasterizationRateLayerDescriptor_initWithSampleCount
- RasterizationRateLayerDescriptor_initWithSampleCountWithDimensions
- RasterizationRateLayerDescriptor_sampleCount
- RasterizationRateLayerDescriptor_vertical
- RasterizationRateLayerDescriptor_verticalSampleStorage
RasterizationRateMapDescriptor_… (13)
- RasterizationRateMapDescriptor_alloc
- RasterizationRateMapDescriptor_init
- RasterizationRateMapDescriptor_label
- RasterizationRateMapDescriptor_layer
- RasterizationRateMapDescriptor_layerCount
- RasterizationRateMapDescriptor_layers
- RasterizationRateMapDescriptor_rasterizationRateMapDescriptorWithScreenSize
- RasterizationRateMapDescriptor_rasterizationRateMapDescriptorWithScreenSizeWithLayer
- RasterizationRateMapDescriptor_rasterizationRateMapDescriptorWithScreenSizeWithLayers
- RasterizationRateMapDescriptor_screenSize
- RasterizationRateMapDescriptor_setLabel
- RasterizationRateMapDescriptor_setLayer
- RasterizationRateMapDescriptor_setScreenSize
RasterizationRateMap_… (10)
- RasterizationRateMap_copyParameterDataToBuffer
- RasterizationRateMap_device
- RasterizationRateMap_label
- RasterizationRateMap_layerCount
- RasterizationRateMap_mapPhysicalToScreenCoordinates
- RasterizationRateMap_mapScreenToPhysicalCoordinates
- RasterizationRateMap_parameterBufferSizeAndAlign
- RasterizationRateMap_physicalGranularity
- RasterizationRateMap_physicalSizeForLayer
- RasterizationRateMap_screenSize
RasterizationRateSampleArray_… (4)
- RemoveDeviceObserver
RenderCommandEncoder_… (110)
- RenderCommandEncoder_dispatchThreadsPerTile
- RenderCommandEncoder_drawIndexPatchesWithInstance
- RenderCommandEncoder_drawIndexPrimitivesWithBaseVertex
- RenderCommandEncoder_drawIndexPrimitivesWithIndirect
- RenderCommandEncoder_drawIndexedPatchesWihtIndirect
- RenderCommandEncoder_drawIndexedPrimitives
- RenderCommandEncoder_drawIndexedPrimitivesWithInstanceCount
- RenderCommandEncoder_drawMeshThreadgroups
- RenderCommandEncoder_drawMeshThreadgroupsWithIndirectBuffer
- RenderCommandEncoder_drawMeshThreads
- RenderCommandEncoder_drawPatches
- RenderCommandEncoder_drawPatchesWithInstance
- RenderCommandEncoder_drawPrimitives
- RenderCommandEncoder_drawPrimitivesWithIndirect
- RenderCommandEncoder_drawPrimitivesWithInstanceCount
- RenderCommandEncoder_drawPrimitivesWithInstances
- RenderCommandEncoder_executeCommandsInBuffer
- RenderCommandEncoder_executeCommandsInBufferWithRange
- RenderCommandEncoder_memoryBarrierWithResources
- RenderCommandEncoder_memoryBarrierWithScope
- RenderCommandEncoder_sampleCountersInBuffer
- RenderCommandEncoder_setBlendColorRed
- RenderCommandEncoder_setColorStoreAction
- RenderCommandEncoder_setColorStoreActionOptions
- RenderCommandEncoder_setCullMode
- RenderCommandEncoder_setDepthBias
- RenderCommandEncoder_setDepthClipMode
- RenderCommandEncoder_setDepthStencilState
- RenderCommandEncoder_setDepthStoreAction
- RenderCommandEncoder_setDepthStoreActionOptions
- RenderCommandEncoder_setFragmentBuffer
- RenderCommandEncoder_setFragmentBufferOffset
- RenderCommandEncoder_setFragmentBuffers
- RenderCommandEncoder_setFragmentBytes
- RenderCommandEncoder_setFragmentSamplerState
- RenderCommandEncoder_setFragmentSamplerStateWithLod
- RenderCommandEncoder_setFragmentSamplerStatesWithLod
- RenderCommandEncoder_setFragmentSamplerStatesWithRange
- RenderCommandEncoder_setFragmentTexture
- RenderCommandEncoder_setFragmentTextures
- RenderCommandEncoder_setFrontFacingWinding
- RenderCommandEncoder_setMeshBuffer
- RenderCommandEncoder_setMeshBufferOffset
- RenderCommandEncoder_setMeshBuffers
- RenderCommandEncoder_setMeshBytes
- RenderCommandEncoder_setMeshSamplerState
- RenderCommandEncoder_setMeshSamplerStateWithLod
- RenderCommandEncoder_setMeshSamplerStates
- RenderCommandEncoder_setMeshSamplerStatesWithLod
- RenderCommandEncoder_setMeshTexture
- RenderCommandEncoder_setMeshTextures
- RenderCommandEncoder_setObjectBuffer
- RenderCommandEncoder_setObjectBufferOffset
- RenderCommandEncoder_setObjectBuffers
- RenderCommandEncoder_setObjectBytes
- RenderCommandEncoder_setObjectSamplerState
- RenderCommandEncoder_setObjectSamplerStateWithLod
- RenderCommandEncoder_setObjectSamplerStates
- RenderCommandEncoder_setObjectSamplerStatesWithLod
- RenderCommandEncoder_setObjectTexture
- RenderCommandEncoder_setObjectTextures
- RenderCommandEncoder_setObjectThreadgroupMemoryLength
- RenderCommandEncoder_setRenderPipelineState
- RenderCommandEncoder_setScissorRect
- RenderCommandEncoder_setScissorRects
- RenderCommandEncoder_setStencilFrontReferenceValue
- RenderCommandEncoder_setStencilReferenceValue
- RenderCommandEncoder_setStencilStoreAction
- RenderCommandEncoder_setStencilStoreActionOptions
- RenderCommandEncoder_setTessellationFactorBuffer
- RenderCommandEncoder_setTessellationFactorScale
- RenderCommandEncoder_setThreadgroupMemoryLength
- RenderCommandEncoder_setTileBuffer
- RenderCommandEncoder_setTileBufferOffset
- RenderCommandEncoder_setTileBuffers
- RenderCommandEncoder_setTileBytes
- RenderCommandEncoder_setTileSamplerState
- RenderCommandEncoder_setTileSamplerStateWithLod
- RenderCommandEncoder_setTileSamplerStatesWithLod
- RenderCommandEncoder_setTileSamplerStatesWithRange
- RenderCommandEncoder_setTileTexture
- RenderCommandEncoder_setTileTextures
- RenderCommandEncoder_setTriangleFillMode
- RenderCommandEncoder_setVertexAmplificationCount
- RenderCommandEncoder_setVertexBuffer
- RenderCommandEncoder_setVertexBufferOffset
- RenderCommandEncoder_setVertexBuffers
- RenderCommandEncoder_setVertexBytes
- RenderCommandEncoder_setVertexSamplerState
- RenderCommandEncoder_setVertexSamplerStateWithLod
- RenderCommandEncoder_setVertexSamplerStatesWithLod
- RenderCommandEncoder_setVertexSamplerStatesWithRange
- RenderCommandEncoder_setVertexTexture
- RenderCommandEncoder_setVertexTextures
- RenderCommandEncoder_setViewport
- RenderCommandEncoder_setViewports
- RenderCommandEncoder_setVisibilityResultMode
- RenderCommandEncoder_textureBarrier
- RenderCommandEncoder_tileHeight
- RenderCommandEncoder_tileWidth
- RenderCommandEncoder_updateFence
- RenderCommandEncoder_useHeap
- RenderCommandEncoder_useHeapWithStages
- RenderCommandEncoder_useHeaps
- RenderCommandEncoder_useHeapsWithStages
- RenderCommandEncoder_useResource
- RenderCommandEncoder_useResourceWithStages
- RenderCommandEncoder_useResources
- RenderCommandEncoder_useResourcesStages
- RenderCommandEncoder_waitForFence
RenderPassAttachmentDescriptor_… (24)
- RenderPassAttachmentDescriptor_alloc
- RenderPassAttachmentDescriptor_depthPlane
- RenderPassAttachmentDescriptor_init
- RenderPassAttachmentDescriptor_level
- RenderPassAttachmentDescriptor_loadAction
- RenderPassAttachmentDescriptor_resolveDepthPlane
- RenderPassAttachmentDescriptor_resolveLevel
- RenderPassAttachmentDescriptor_resolveSlice
- RenderPassAttachmentDescriptor_resolveTexture
- RenderPassAttachmentDescriptor_setDepthPlane
- RenderPassAttachmentDescriptor_setLevel
- RenderPassAttachmentDescriptor_setLoadAction
- RenderPassAttachmentDescriptor_setResolveDepthPlane
- RenderPassAttachmentDescriptor_setResolveLevel
- RenderPassAttachmentDescriptor_setResolveSlice
- RenderPassAttachmentDescriptor_setResolveTexture
- RenderPassAttachmentDescriptor_setSlice
- RenderPassAttachmentDescriptor_setStoreAction
- RenderPassAttachmentDescriptor_setStoreActionOptions
- RenderPassAttachmentDescriptor_setTexture
- RenderPassAttachmentDescriptor_slice
- RenderPassAttachmentDescriptor_storeAction
- RenderPassAttachmentDescriptor_storeActionOptions
- RenderPassAttachmentDescriptor_texture
RenderPassColorAttachmentDescriptorArray_… (4)
RenderPassColorAttachmentDescriptor_… (4)
RenderPassDepthAttachmentDescriptor_… (6)
RenderPassDescriptor_… (31)
- RenderPassDescriptor_alloc
- RenderPassDescriptor_colorAttachments
- RenderPassDescriptor_defaultRasterSampleCount
- RenderPassDescriptor_depthAttachment
- RenderPassDescriptor_getSamplePositions
- RenderPassDescriptor_imageblockSampleLength
- RenderPassDescriptor_init
- RenderPassDescriptor_rasterizationRateMap
- RenderPassDescriptor_renderPassDescriptor
- RenderPassDescriptor_renderTargetArrayLength
- RenderPassDescriptor_renderTargetHeight
- RenderPassDescriptor_renderTargetWidth
- RenderPassDescriptor_sampleBufferAttachments
- RenderPassDescriptor_setDefaultRasterSampleCount
- RenderPassDescriptor_setDepthAttachment
- RenderPassDescriptor_setImageblockSampleLength
- RenderPassDescriptor_setRasterizationRateMap
- RenderPassDescriptor_setRenderTargetArrayLength
- RenderPassDescriptor_setRenderTargetHeight
- RenderPassDescriptor_setRenderTargetWidth
- RenderPassDescriptor_setSamplePositions
- RenderPassDescriptor_setStencilAttachment
- RenderPassDescriptor_setThreadgroupMemoryLength
- RenderPassDescriptor_setTileHeight
- RenderPassDescriptor_setTileWidth
- RenderPassDescriptor_setVisibilityResultBuffer
- RenderPassDescriptor_stencilAttachment
- RenderPassDescriptor_threadgroupMemoryLength
- RenderPassDescriptor_tileHeight
- RenderPassDescriptor_tileWidth
- RenderPassDescriptor_visibilityResultBuffer
RenderPassSampleBufferAttachmentDescriptorArray_… (4)
RenderPassSampleBufferAttachmentDescriptor_… (12)
- RenderPassSampleBufferAttachmentDescriptor_alloc
- RenderPassSampleBufferAttachmentDescriptor_endOfFragmentSampleIndex
- RenderPassSampleBufferAttachmentDescriptor_endOfVertexSampleIndex
- RenderPassSampleBufferAttachmentDescriptor_init
- RenderPassSampleBufferAttachmentDescriptor_sampleBuffer
- RenderPassSampleBufferAttachmentDescriptor_setEndOfFragmentSampleIndex
- RenderPassSampleBufferAttachmentDescriptor_setEndOfVertexSampleIndex
- RenderPassSampleBufferAttachmentDescriptor_setSampleBuffer
- RenderPassSampleBufferAttachmentDescriptor_setStartOfFragmentSampleIndex
- RenderPassSampleBufferAttachmentDescriptor_setStartOfVertexSampleIndex
- RenderPassSampleBufferAttachmentDescriptor_startOfFragmentSampleIndex
- RenderPassSampleBufferAttachmentDescriptor_startOfVertexSampleIndex
RenderPassStencilAttachmentDescriptor_… (6)
- RenderPassStencilAttachmentDescriptor_alloc
- RenderPassStencilAttachmentDescriptor_clearStencil
- RenderPassStencilAttachmentDescriptor_init
- RenderPassStencilAttachmentDescriptor_setClearStencil
- RenderPassStencilAttachmentDescriptor_setStencilResolveFilter
- RenderPassStencilAttachmentDescriptor_stencilResolveFilter
RenderPipelineColorAttachmentDescriptorArray_… (4)
RenderPipelineColorAttachmentDescriptor_… (20)
- RenderPipelineColorAttachmentDescriptor_alloc
- RenderPipelineColorAttachmentDescriptor_alphaBlendOperation
- RenderPipelineColorAttachmentDescriptor_destinationAlphaBlendFactor
- RenderPipelineColorAttachmentDescriptor_destinationRGBBlendFactor
- RenderPipelineColorAttachmentDescriptor_init
- RenderPipelineColorAttachmentDescriptor_isBlendingEnabled
- RenderPipelineColorAttachmentDescriptor_pixelFormat
- RenderPipelineColorAttachmentDescriptor_rgbBlendOperation
- RenderPipelineColorAttachmentDescriptor_setAlphaBlendOperation
- RenderPipelineColorAttachmentDescriptor_setBlendingEnabled
- RenderPipelineColorAttachmentDescriptor_setDestinationAlphaBlendFactor
- RenderPipelineColorAttachmentDescriptor_setDestinationRGBBlendFactor
- RenderPipelineColorAttachmentDescriptor_setPixelFormat
- RenderPipelineColorAttachmentDescriptor_setRgbBlendOperation
- RenderPipelineColorAttachmentDescriptor_setSourceAlphaBlendFactor
- RenderPipelineColorAttachmentDescriptor_setSourceRGBBlendFactor
- RenderPipelineColorAttachmentDescriptor_setWriteMask
- RenderPipelineColorAttachmentDescriptor_sourceAlphaBlendFactor
- RenderPipelineColorAttachmentDescriptor_sourceRGBBlendFactor
- RenderPipelineColorAttachmentDescriptor_writeMask
RenderPipelineDescriptor_… (59)
- RenderPipelineDescriptor_alloc
- RenderPipelineDescriptor_alphaToCoverageEnabled
- RenderPipelineDescriptor_alphaToOneEnabled
- RenderPipelineDescriptor_binaryArchives
- RenderPipelineDescriptor_colorAttachments
- RenderPipelineDescriptor_depthAttachmentPixelFormat
- RenderPipelineDescriptor_fragmentBuffers
- RenderPipelineDescriptor_fragmentFunction
- RenderPipelineDescriptor_fragmentLinkedFunctions
- RenderPipelineDescriptor_init
- RenderPipelineDescriptor_inputPrimitiveTopology
- RenderPipelineDescriptor_isAlphaToCoverageEnabled
- RenderPipelineDescriptor_isAlphaToOneEnabled
- RenderPipelineDescriptor_isRasterizationEnabled
- RenderPipelineDescriptor_isTessellationFactorScaleEnabled
- RenderPipelineDescriptor_label
- RenderPipelineDescriptor_maxTessellationFactor
- RenderPipelineDescriptor_maxVertexAmplificationCount
- RenderPipelineDescriptor_rasterSampleCount
- RenderPipelineDescriptor_rasterizationEnabled
- RenderPipelineDescriptor_reset
- RenderPipelineDescriptor_sampleCount
- RenderPipelineDescriptor_setAlphaToCoverageEnabled
- RenderPipelineDescriptor_setAlphaToOneEnabled
- RenderPipelineDescriptor_setBinaryArchives
- RenderPipelineDescriptor_setDepthAttachmentPixelFormat
- RenderPipelineDescriptor_setFragmentFunction
- RenderPipelineDescriptor_setFragmentLinkedFunctions
- RenderPipelineDescriptor_setInputPrimitiveTopology
- RenderPipelineDescriptor_setLabel
- RenderPipelineDescriptor_setMaxTessellationFactor
- RenderPipelineDescriptor_setMaxVertexAmplificationCount
- RenderPipelineDescriptor_setRasterSampleCount
- RenderPipelineDescriptor_setRasterizationEnabled
- RenderPipelineDescriptor_setSampleCount
- RenderPipelineDescriptor_setShaderValidation
- RenderPipelineDescriptor_setStencilAttachmentPixelFormat
- RenderPipelineDescriptor_setSupportIndirectCommandBuffers
- RenderPipelineDescriptor_setTessellationControlPointIndexType
- RenderPipelineDescriptor_setTessellationFactorFormat
- RenderPipelineDescriptor_setTessellationFactorScaleEnabled
- RenderPipelineDescriptor_setTessellationFactorStepFunction
- RenderPipelineDescriptor_setTessellationOutputWindingOrder
- RenderPipelineDescriptor_setTessellationPartitionMode
- RenderPipelineDescriptor_setVertexDescriptor
- RenderPipelineDescriptor_setVertexFunction
- RenderPipelineDescriptor_setVertexLinkedFunctions
- RenderPipelineDescriptor_shaderValidation
- RenderPipelineDescriptor_stencilAttachmentPixelFormat
- RenderPipelineDescriptor_supportIndirectCommandBuffers
- RenderPipelineDescriptor_tessellationControlPointIndexType
- RenderPipelineDescriptor_tessellationFactorFormat
- RenderPipelineDescriptor_tessellationFactorStepFunction
- RenderPipelineDescriptor_tessellationOutputWindingOrder
- RenderPipelineDescriptor_tessellationPartitionMode
- RenderPipelineDescriptor_vertexBuffers
- RenderPipelineDescriptor_vertexDescriptor
- RenderPipelineDescriptor_vertexFunction
- RenderPipelineDescriptor_vertexLinkedFunctions
RenderPipelineFunctionsDescriptor_… (8)
- RenderPipelineFunctionsDescriptor_alloc
- RenderPipelineFunctionsDescriptor_fragmentAdditionalBinaryFunctions
- RenderPipelineFunctionsDescriptor_init
- RenderPipelineFunctionsDescriptor_setFragmentAdditionalBinaryFunctions
- RenderPipelineFunctionsDescriptor_setTileAdditionalBinaryFunctions
- RenderPipelineFunctionsDescriptor_setVertexAdditionalBinaryFunctions
- RenderPipelineFunctionsDescriptor_tileAdditionalBinaryFunctions
- RenderPipelineFunctionsDescriptor_vertexAdditionalBinaryFunctions
RenderPipelineReflection_… (10)
- RenderPipelineReflection_alloc
- RenderPipelineReflection_fragmentArguments
- RenderPipelineReflection_fragmentBindings
- RenderPipelineReflection_init
- RenderPipelineReflection_meshBindings
- RenderPipelineReflection_objectBindings
- RenderPipelineReflection_tileArguments
- RenderPipelineReflection_tileBindings
- RenderPipelineReflection_vertexArguments
- RenderPipelineReflection_vertexBindings
RenderPipelineState_… (17)
- RenderPipelineState_device
- RenderPipelineState_functionHandle
- RenderPipelineState_gpuResourceID
- RenderPipelineState_imageblockMemoryLengthForDimensions
- RenderPipelineState_imageblockSampleLength
- RenderPipelineState_label
- RenderPipelineState_maxTotalThreadgroupsPerMeshGrid
- RenderPipelineState_maxTotalThreadsPerMeshThreadgroup
- RenderPipelineState_maxTotalThreadsPerObjectThreadgroup
- RenderPipelineState_maxTotalThreadsPerThreadgroup
- RenderPipelineState_meshThreadExecutionWidth
- RenderPipelineState_newIntersectionFunctionTable
- RenderPipelineState_newRenderPipelineState
- RenderPipelineState_newVisibleFunctionTable
- RenderPipelineState_objectThreadExecutionWidth
- RenderPipelineState_supportIndirectCommandBuffers
- RenderPipelineState_threadgroupSizeMatchesTileSize
ResourceStateCommandEncoder_… (6)
ResourceStatePassSampleBufferAttachmentDescriptorArray_… (4)
ResourceStatePassSampleBufferAttachmentDescriptor_… (8)
- ResourceStatePassSampleBufferAttachmentDescriptor_alloc
- ResourceStatePassSampleBufferAttachmentDescriptor_endOfEncoderSampleIndex
- ResourceStatePassSampleBufferAttachmentDescriptor_init
- ResourceStatePassSampleBufferAttachmentDescriptor_sampleBuffer
- ResourceStatePassSampleBufferAttachmentDescriptor_setEndOfEncoderSampleIndex
- ResourceStatePassSampleBufferAttachmentDescriptor_setSampleBuffer
- ResourceStatePassSampleBufferAttachmentDescriptor_setStartOfEncoderSampleIndex
- ResourceStatePassSampleBufferAttachmentDescriptor_startOfEncoderSampleIndex
SamplerDescriptor_… (32)
- SamplerDescriptor_alloc
- SamplerDescriptor_borderColor
- SamplerDescriptor_compareFunction
- SamplerDescriptor_init
- SamplerDescriptor_label
- SamplerDescriptor_lodAverage
- SamplerDescriptor_lodMaxClamp
- SamplerDescriptor_lodMinClamp
- SamplerDescriptor_magFilter
- SamplerDescriptor_maxAnisotropy
- SamplerDescriptor_minFilter
- SamplerDescriptor_mipFilter
- SamplerDescriptor_normalizedCoordinates
- SamplerDescriptor_rAddressMode
- SamplerDescriptor_sAddressMode
- SamplerDescriptor_setBorderColor
- SamplerDescriptor_setCompareFunction
- SamplerDescriptor_setLabel
- SamplerDescriptor_setLodAverage
- SamplerDescriptor_setLodMaxClamp
- SamplerDescriptor_setLodMinClamp
- SamplerDescriptor_setMagFilter
- SamplerDescriptor_setMaxAnisotropy
- SamplerDescriptor_setMinFilter
- SamplerDescriptor_setMipFilter
- SamplerDescriptor_setNormalizedCoordinates
- SamplerDescriptor_setRAddressMode
- SamplerDescriptor_setSAddressMode
- SamplerDescriptor_setSupportArgumentBuffers
- SamplerDescriptor_setTAddressMode
- SamplerDescriptor_supportArgumentBuffers
- SamplerDescriptor_tAddressMode
SamplerState_… (3)
SharedEventHandle_… (3)
SharedTextureHandle_… (4)
StageInputOutputDescriptor_… (10)
- StageInputOutputDescriptor_alloc
- StageInputOutputDescriptor_attributes
- StageInputOutputDescriptor_indexBufferIndex
- StageInputOutputDescriptor_indexType
- StageInputOutputDescriptor_init
- StageInputOutputDescriptor_layouts
- StageInputOutputDescriptor_reset
- StageInputOutputDescriptor_setIndexBufferIndex
- StageInputOutputDescriptor_setIndexType
- StageInputOutputDescriptor_stageInputOutputDescriptor
StencilDescriptor_… (14)
- StencilDescriptor_alloc
- StencilDescriptor_depthFailureOperation
- StencilDescriptor_depthStencilPassOperation
- StencilDescriptor_init
- StencilDescriptor_readMask
- StencilDescriptor_setDepthFailureOperation
- StencilDescriptor_setDepthStencilPassOperation
- StencilDescriptor_setReadMask
- StencilDescriptor_setStencilCompareFunction
- StencilDescriptor_setStencilFailureOperation
- StencilDescriptor_setWriteMask
- StencilDescriptor_stencilCompareFunction
- StencilDescriptor_stencilFailureOperation
- StencilDescriptor_writeMask
StructType_… (4)
TextureDescriptor_… (37)
- TextureDescriptor_alloc
- TextureDescriptor_allowGPUOptimizedContents
- TextureDescriptor_arrayLength
- TextureDescriptor_compressionType
- TextureDescriptor_cpuCacheMode
- TextureDescriptor_depth
- TextureDescriptor_hazardTrackingMode
- TextureDescriptor_height
- TextureDescriptor_init
- TextureDescriptor_mipmapLevelCount
- TextureDescriptor_pixelFormat
- TextureDescriptor_resourceOptions
- TextureDescriptor_sampleCount
- TextureDescriptor_setAllowGPUOptimizedContents
- TextureDescriptor_setArrayLength
- TextureDescriptor_setCompressionType
- TextureDescriptor_setCpuCacheMode
- TextureDescriptor_setDepth
- TextureDescriptor_setHazardTrackingMode
- TextureDescriptor_setHeight
- TextureDescriptor_setMipmapLevelCount
- TextureDescriptor_setPixelFormat
- TextureDescriptor_setResourceOptions
- TextureDescriptor_setSampleCount
- TextureDescriptor_setStorageMode
- TextureDescriptor_setSwizzle
- TextureDescriptor_setTextureType
- TextureDescriptor_setUsage
- TextureDescriptor_setWidth
- TextureDescriptor_storageMode
- TextureDescriptor_swizzle
- TextureDescriptor_texture2DDescriptorWithPixelFormat
- TextureDescriptor_textureBufferDescriptorWithPixelFormat
- TextureDescriptor_textureCubeDescriptorWithPixelFormat
- TextureDescriptor_textureType
- TextureDescriptor_usage
- TextureDescriptor_width
Texture_… (37)
- Texture_allowGPUOptimizedContents
- Texture_arrayLength
- Texture_buffer
- Texture_bufferBytesPerRow
- Texture_bufferOffset
- Texture_compressionType
- Texture_depth
- Texture_firstMipmapInTail
- Texture_getBytes
- Texture_getBytesWithLevel
- Texture_gpuResourceID
- Texture_height
- Texture_iosurface
- Texture_iosurfacePlane
- Texture_isFramebufferOnly
- Texture_isShareable
- Texture_isSparse
- Texture_mipmapLevelCount
- Texture_newRemoteTextureViewForDevice
- Texture_newSharedTextureHandle
- Texture_newTextureViewWithLevels
- Texture_newTextureViewWithLevelsAndSwizzle
- Texture_newTextureViewWithPixelFormat
- Texture_parentRelativeLevel
- Texture_parentRelativeSlice
- Texture_parentTexture
- Texture_pixelFormat
- Texture_remoteStorageTexture
- Texture_replaceRegion
- Texture_replaceRegionWithLevel
- Texture_rootResource
- Texture_sampleCount
- Texture_swizzle
- Texture_tailSizeInBytes
- Texture_textureType
- Texture_usage
- Texture_width
- ThreadgroupBinding_threadgroupMemoryAlignment
- ThreadgroupBinding_threadgroupMemoryDataSize
TileRenderPipelineColorAttachmentDescriptorArray_… (4)
TileRenderPipelineColorAttachmentDescriptor_… (4)
TileRenderPipelineDescriptor_… (17)
- TileRenderPipelineDescriptor_alloc
- TileRenderPipelineDescriptor_binaryArchives
- TileRenderPipelineDescriptor_colorAttachments
- TileRenderPipelineDescriptor_init
- TileRenderPipelineDescriptor_label
- TileRenderPipelineDescriptor_maxTotalThreadsPerThreadgroup
- TileRenderPipelineDescriptor_rasterSampleCount
- TileRenderPipelineDescriptor_reset
- TileRenderPipelineDescriptor_setBinaryArchives
- TileRenderPipelineDescriptor_setLabel
- TileRenderPipelineDescriptor_setMaxTotalThreadsPerThreadgroup
- TileRenderPipelineDescriptor_setRasterSampleCount
- TileRenderPipelineDescriptor_setThreadgroupSizeMatchesTileSize
- TileRenderPipelineDescriptor_setTileFunction
- TileRenderPipelineDescriptor_threadgroupSizeMatchesTileSize
- TileRenderPipelineDescriptor_tileBuffers
- TileRenderPipelineDescriptor_tileFunction
Type_… (3)
VertexAttributeDescriptorArray_… (4)
VertexAttributeDescriptor_… (8)
VertexBufferLayoutDescriptorArray_… (4)
VertexBufferLayoutDescriptor_… (8)
- VertexBufferLayoutDescriptor_alloc
- VertexBufferLayoutDescriptor_init
- VertexBufferLayoutDescriptor_setStepFunction
- VertexBufferLayoutDescriptor_setStepRate
- VertexBufferLayoutDescriptor_setStride
- VertexBufferLayoutDescriptor_stepFunction
- VertexBufferLayoutDescriptor_stepRate
- VertexBufferLayoutDescriptor_stride
VisibleFunctionTable_… (3)
- new
Types
AccelerationStructure ¶
AccelerationStructure :: struct { using _: Resource, }AccelerationStructure :: struct { using _: Resource, } // Objective-C class MTLAccelerationStructure // Inherits Resource → NS.Object // 2 methods
Bound Objective-C Methods
- gpuResourceID() -> ResourceID
- size () -> NS.UInteger
Methods Inherited From Resource
- allocatedSize () -> NS.UInteger
- cpuCacheMode () -> CPUCacheMode
- device () -> ^Device
- hazardTrackingMode() -> HazardTrackingMode
- heap () -> ^Heap
- heapOffset () -> NS.UInteger
- isAliasable () -> bool
- label () -> ^NS.String
- makeAliasable ()
- resourceOptions () -> ResourceOptions
- setLabel (label)
- setPurgeableState (state) -> PurgeableState
- storageMode () -> StorageMode
Methods Inherited From NS.Object
- autorelease ()
- class () -> ^intrinsics.objc_class
- copy () -> ^T
- debugDescription () -> ^NS.String
- description () -> ^NS.String
- hash () -> NS.UInteger
- init () -> ^T
- isEqual (pObject) -> bool
- performSelectorOnMainThread(aSelector, arg, wait)
- release ()
- retain ()
- retainCount () -> NS.UInteger
AccelerationStructureBoundingBoxGeometryDescriptor ¶
AccelerationStructureBoundingBoxGeometryDescriptor :: struct { using _: NS.Copying($T=AccelerationStructureBoundingBoxGeometryDescriptor), using _: AccelerationStructureDescriptor, }AccelerationStructureBoundingBoxGeometryDescriptor :: struct { using _: NS.Copying($T=AccelerationStructureBoundingBoxGeometryDescriptor), using _: AccelerationStructureDescriptor, } // Objective-C class MTLAccelerationStructureBoundingBoxGeometryDescriptor // Inherits AccelerationStructureDescriptor → NS.Copying → NS.Object // 11 methods
Bound Objective-C Methods
- alloc () -> ^AccelerationStructureBoundingBoxGeometryDescriptor class method owned
- boundingBoxBuffer () -> ^Buffer
- boundingBoxBufferOffset () -> NS.UInteger
- boundingBoxCount () -> NS.UInteger
- boundingBoxStride () -> NS.UInteger
- descriptor () -> ^AccelerationStructureBoundingBoxGeometryDescriptor class method
- init () -> ^AccelerationStructureBoundingBoxGeometryDescriptor
- setBoundingBoxBuffer (boundingBoxBuffer)
- setBoundingBoxBufferOffset(boundingBoxBufferOffset)
- setBoundingBoxCount (boundingBoxCount)
- setBoundingBoxStride (boundingBoxStride)
Methods Inherited From AccelerationStructureDescriptor
- setUsage(usage)
- usage () -> AccelerationStructureUsage
Methods Inherited From NS.Object
- autorelease ()
- class () -> ^intrinsics.objc_class
- copy () -> ^T
- debugDescription () -> ^NS.String
- description () -> ^NS.String
- hash () -> NS.UInteger
- isEqual (pObject) -> bool
- performSelectorOnMainThread(aSelector, arg, wait)
- release ()
- retain ()
- retainCount () -> NS.UInteger
AccelerationStructureCommandEncoder ¶
AccelerationStructureCommandEncoder :: struct { using _: CommandEncoder, }AccelerationStructureCommandEncoder :: struct { using _: CommandEncoder, } // Objective-C class MTLAccelerationStructureCommandEncoder // Inherits CommandEncoder → NS.Object // 13 methods
Bound Objective-C Methods
- buildAccelerationStructure (accelerationStructure, descriptor, scratchBuffer, scratchBufferOffset)
- copyAccelerationStructure (sourceAccelerationStructure, destinationAccelerationStructure)
- copyAndCompactAccelerationStructure (sourceAccelerationStructure, destinationAccelerationStructure)
- refitAccelerationStructure (sourceAccelerationStructure, descriptor, destinationAccelerationStructure, scratchBuffer, scratchBufferOffset)
- refitAccelerationStructureWithOptions (sourceAccelerationStructure, descriptor, destinationAccelerationStructure, scratchBuffer, scratchBufferOffset, options)
- sampleCountersInBuffer (sampleBuffer, sampleIndex, barrier)
- updateFence (fence)
- useHeap (heap)
- useHeaps (heaps)
- useResource (resource, usage)
- useResources (resources, usage)
- waitForFence (fence)
- writeCompactedAccelerationStructureSize(accelerationStructure, buffer, offset)
Methods Inherited From CommandEncoder
- device () -> ^Device
- endEncoding ()
- insertDebugSignpost(string)
- label () -> ^NS.String
- popDebugGroup ()
- pushDebugGroup (string)
- setLabel (label)
Methods Inherited From NS.Object
- autorelease ()
- class () -> ^intrinsics.objc_class
- copy () -> ^T
- debugDescription () -> ^NS.String
- description () -> ^NS.String
- hash () -> NS.UInteger
- init () -> ^T
- isEqual (pObject) -> bool
- performSelectorOnMainThread(aSelector, arg, wait)
- release ()
- retain ()
- retainCount () -> NS.UInteger
AccelerationStructureDescriptor ¶
AccelerationStructureDescriptor :: struct { using _: NS.Copying($T=AccelerationStructureDescriptor), }AccelerationStructureDescriptor :: struct { using _: NS.Copying($T=AccelerationStructureDescriptor), } // Objective-C class MTLAccelerationStructureDescriptor // Inherits NS.Copying → NS.Object // 4 methods
Bound Objective-C Methods
- alloc () -> ^AccelerationStructureDescriptor class method owned
- init () -> ^AccelerationStructureDescriptor
- setUsage(usage)
- usage () -> AccelerationStructureUsage
Methods Inherited From NS.Object
- autorelease ()
- class () -> ^intrinsics.objc_class
- copy () -> ^T
- debugDescription () -> ^NS.String
- description () -> ^NS.String
- hash () -> NS.UInteger
- isEqual (pObject) -> bool
- performSelectorOnMainThread(aSelector, arg, wait)
- release ()
- retain ()
- retainCount () -> NS.UInteger
AccelerationStructureGeometryDescriptor ¶
AccelerationStructureGeometryDescriptor :: struct { using _: NS.Copying($T=AccelerationStructureGeometryDescriptor), }AccelerationStructureGeometryDescriptor :: struct { using _: NS.Copying($T=AccelerationStructureGeometryDescriptor), } // Objective-C class MTLAccelerationStructureGeometryDescriptor // Inherits NS.Copying → NS.Object // 16 methods
Bound Objective-C Methods
- alloc () -> ^AccelerationStructureGeometryDescriptor class method owned
- allowDuplicateIntersectionFunctionInvocation () -> bool
- init () -> ^AccelerationStructureGeometryDescriptor
- intersectionFunctionTableOffset () -> NS.UInteger
- opaque () -> bool
- primitiveDataBuffer () -> ^Buffer
- primitiveDataBufferOffset () -> NS.UInteger
- primitiveDataElementSize () -> NS.UInteger
- primitiveDataStride () -> NS.UInteger
- setAllowDuplicateIntersectionFunctionInvocation(allowDuplicateIntersectionFunctionInvocation)
- setIntersectionFunctionTableOffset (intersectionFunctionTableOffset)
- setOpaque (opaque)
- setPrimitiveDataBuffer (primitiveDataBuffer)
- setPrimitiveDataBufferOffset (offset)
- setPrimitiveDataElementSize (elementSize)
- setPrimitiveDataStride (stride)
Methods Inherited From NS.Object
- autorelease ()
- class () -> ^intrinsics.objc_class
- copy () -> ^T
- debugDescription () -> ^NS.String
- description () -> ^NS.String
- hash () -> NS.UInteger
- isEqual (pObject) -> bool
- performSelectorOnMainThread(aSelector, arg, wait)
- release ()
- retain ()
- retainCount () -> NS.UInteger
AccelerationStructureInstanceDescriptor ¶
AccelerationStructureInstanceDescriptor :: struct { transformationMatrix: PackedFloat4x3, options: AccelerationStructureInstanceOptions, mask: u32, intersectionFunctionTableOffset: u32, accelerationStructureIndex: u32, }
AccelerationStructureInstanceDescriptorType ¶
AccelerationStructureInstanceDescriptorType :: enum NS.UInteger { Default = 0, UserID = 1, Motion = 2, }
AccelerationStructureInstanceOption ¶
AccelerationStructureInstanceOption :: enum u32 { DisableTriangleCulling = 0, TriangleFrontFacingWindingCounterClockwise = 1, Opaque = 2, NonOpaque = 3, }
AccelerationStructureInstanceOptions ¶
AccelerationStructureInstanceOptions :: distinct bit_set[AccelerationStructureInstanceOption; u32]
AccelerationStructureMotionBoundingBoxGeometryDescriptor ¶
AccelerationStructureMotionBoundingBoxGeometryDescriptor :: struct { using _: NS.Copying($T=AccelerationStructureMotionBoundingBoxGeometryDescriptor), using _: AccelerationStructureGeometryDescriptor, }AccelerationStructureMotionBoundingBoxGeometryDescriptor :: struct { using _: NS.Copying($T=AccelerationStructureMotionBoundingBoxGeometryDescriptor), using _: AccelerationStructureGeometryDescriptor, } // Objective-C class MTLAccelerationStructureMotionBoundingBoxGeometryDescriptor // Inherits AccelerationStructureGeometryDescriptor → NS.Copying → NS.Object // 9 methods
Bound Objective-C Methods
- alloc () -> ^AccelerationStructureMotionBoundingBoxGeometryDescriptor class method owned
- boundingBoxBuffers () -> ^NS.Array
- boundingBoxCount () -> NS.UInteger
- boundingBoxStride () -> NS.UInteger
- descriptor () -> ^AccelerationStructureMotionBoundingBoxGeometryDescriptor class method
- init () -> ^AccelerationStructureMotionBoundingBoxGeometryDescriptor
- setBoundBoxBuffers (buffers)
- setBoundingBoxCount (offset)
- setBoundingBoxStride(stride)
Methods Inherited From AccelerationStructureGeometryDescriptor
- allowDuplicateIntersectionFunctionInvocation () -> bool
- intersectionFunctionTableOffset () -> NS.UInteger
- opaque () -> bool
- primitiveDataBuffer () -> ^Buffer
- primitiveDataBufferOffset () -> NS.UInteger
- primitiveDataElementSize () -> NS.UInteger
- primitiveDataStride () -> NS.UInteger
- setAllowDuplicateIntersectionFunctionInvocation(allowDuplicateIntersectionFunctionInvocation)
- setIntersectionFunctionTableOffset (intersectionFunctionTableOffset)
- setOpaque (opaque)
- setPrimitiveDataBuffer (primitiveDataBuffer)
- setPrimitiveDataBufferOffset (offset)
- setPrimitiveDataElementSize (elementSize)
- setPrimitiveDataStride (stride)
Methods Inherited From NS.Object
- autorelease ()
- class () -> ^intrinsics.objc_class
- copy () -> ^T
- debugDescription () -> ^NS.String
- description () -> ^NS.String
- hash () -> NS.UInteger
- isEqual (pObject) -> bool
- performSelectorOnMainThread(aSelector, arg, wait)
- release ()
- retain ()
- retainCount () -> NS.UInteger
AccelerationStructureMotionTriangleGeometryDescriptor ¶
AccelerationStructureMotionTriangleGeometryDescriptor :: struct { using _: NS.Copying($T=AccelerationStructureMotionTriangleGeometryDescriptor), using _: AccelerationStructureGeometryDescriptor, }AccelerationStructureMotionTriangleGeometryDescriptor :: struct { using _: NS.Copying($T=AccelerationStructureMotionTriangleGeometryDescriptor), using _: AccelerationStructureGeometryDescriptor, } // Objective-C class MTLAccelerationStructureMotionTriangleGeometryDescriptor // Inherits AccelerationStructureGeometryDescriptor → NS.Copying → NS.Object // 20 methods
Bound Objective-C Methods
- alloc () -> ^AccelerationStructureMotionTriangleGeometryDescriptor class method owned
- indexBuffer () -> ^Buffer
- indexBufferOffset () -> NS.UInteger
- indexType () -> IndexType
- init () -> ^AccelerationStructureMotionTriangleGeometryDescriptor
- setIndexBuffer (buffer)
- setIndexBufferOffset (offset)
- setIndexType (indexType)
- setTransformationMatrixBuffer (transformationMatrixBuffer)
- setTransformationMatrixBufferOffset(transformationMatrixBufferOffset)
- setTriangleCount (count)
- setVertexBuffers (buffers)
- setVertexFormat (vertexFormat)
- setVertexStride (stride)
- transformationMatrixBuffer () -> ^Buffer
- transformationMatrixBufferOffset () -> NS.UInteger
- triangleCount () -> NS.UInteger
- vertexBuffers () -> ^NS.Array
- vertexFormat () -> AttributeFormat
- vertexStride () -> NS.UInteger
Methods Inherited From AccelerationStructureGeometryDescriptor
- allowDuplicateIntersectionFunctionInvocation () -> bool
- intersectionFunctionTableOffset () -> NS.UInteger
- opaque () -> bool
- primitiveDataBuffer () -> ^Buffer
- primitiveDataBufferOffset () -> NS.UInteger
- primitiveDataElementSize () -> NS.UInteger
- primitiveDataStride () -> NS.UInteger
- setAllowDuplicateIntersectionFunctionInvocation(allowDuplicateIntersectionFunctionInvocation)
- setIntersectionFunctionTableOffset (intersectionFunctionTableOffset)
- setOpaque (opaque)
- setPrimitiveDataBuffer (primitiveDataBuffer)
- setPrimitiveDataBufferOffset (offset)
- setPrimitiveDataElementSize (elementSize)
- setPrimitiveDataStride (stride)
Methods Inherited From NS.Object
- autorelease ()
- class () -> ^intrinsics.objc_class
- copy () -> ^T
- debugDescription () -> ^NS.String
- description () -> ^NS.String
- hash () -> NS.UInteger
- isEqual (pObject) -> bool
- performSelectorOnMainThread(aSelector, arg, wait)
- release ()
- retain ()
- retainCount () -> NS.UInteger
AccelerationStructurePassDescriptor ¶
AccelerationStructurePassDescriptor :: struct { using _: NS.Copying($T=AccelerationStructurePassDescriptor), }AccelerationStructurePassDescriptor :: struct { using _: NS.Copying($T=AccelerationStructurePassDescriptor), } // Objective-C class MTLAccelerationStructurePassDescriptor // Inherits NS.Copying → NS.Object // 4 methods
Bound Objective-C Methods
- accelerationStructurePassDescriptor() -> ^AccelerationStructurePassDescriptor class method
- alloc () -> ^AccelerationStructurePassDescriptor class method owned
- init () -> ^AccelerationStructurePassDescriptor
- sampleBufferAttachments () -> ^AccelerationStructurePassSampleBufferAttachmentDescriptorArray
Methods Inherited From NS.Object
- autorelease ()
- class () -> ^intrinsics.objc_class
- copy () -> ^T
- debugDescription () -> ^NS.String
- description () -> ^NS.String
- hash () -> NS.UInteger
- isEqual (pObject) -> bool
- performSelectorOnMainThread(aSelector, arg, wait)
- release ()
- retain ()
- retainCount () -> NS.UInteger
AccelerationStructurePassSampleBufferAttachmentDescriptor ¶
AccelerationStructurePassSampleBufferAttachmentDescriptor :: struct { using _: NS.Copying($T=AccelerationStructurePassSampleBufferAttachmentDescriptor), }AccelerationStructurePassSampleBufferAttachmentDescriptor :: struct { using _: NS.Copying($T=AccelerationStructurePassSampleBufferAttachmentDescriptor), } // Objective-C class MTLAccelerationStructurePassSampleBufferAttachmentDescriptor // Inherits NS.Copying → NS.Object // 8 methods
Bound Objective-C Methods
- alloc () -> ^AccelerationStructurePassSampleBufferAttachmentDescriptor class method owned
- endOfEncoderSampleIndex () -> NS.UInteger
- init () -> ^AccelerationStructurePassSampleBufferAttachmentDescriptor
- sampleBuffer () -> ^CounterSampleBuffer
- setEndOfEncoderSampleIndex (endOfEncoderSampleIndex)
- setSampleBuffer (sampleBuffer)
- setStartOfEncoderSampleIndex(startOfEncoderSampleIndex)
- startOfEncoderSampleIndex () -> NS.UInteger
Methods Inherited From NS.Object
- autorelease ()
- class () -> ^intrinsics.objc_class
- copy () -> ^T
- debugDescription () -> ^NS.String
- description () -> ^NS.String
- hash () -> NS.UInteger
- isEqual (pObject) -> bool
- performSelectorOnMainThread(aSelector, arg, wait)
- release ()
- retain ()
- retainCount () -> NS.UInteger
AccelerationStructurePassSampleBufferAttachmentDescriptorArray ¶
AccelerationStructurePassSampleBufferAttachmentDescriptorArray :: struct { using _: NS.Object, }AccelerationStructurePassSampleBufferAttachmentDescriptorArray :: struct { using _: NS.Object, } // Objective-C class MTLAccelerationStructurePassSampleBufferAttachmentDescriptorArray // Inherits NS.Object // 4 methods
Bound Objective-C Methods
- alloc () -> ^AccelerationStructurePassSampleBufferAttachmentDescriptorArray class method owned
- init () -> ^AccelerationStructurePassSampleBufferAttachmentDescriptorArray
- object (attachmentIndex) -> ^AccelerationStructurePassSampleBufferAttachmentDescriptor
- setObject(attachment, attachmentIndex)
Methods Inherited From NS.Object
- autorelease ()
- class () -> ^intrinsics.objc_class
- copy () -> ^T
- debugDescription () -> ^NS.String
- description () -> ^NS.String
- hash () -> NS.UInteger
- isEqual (pObject) -> bool
- performSelectorOnMainThread(aSelector, arg, wait)
- release ()
- retain ()
- retainCount () -> NS.UInteger
AccelerationStructureRefitOption ¶
AccelerationStructureRefitOption :: enum NS.UInteger { VertexData = 0, PerPrimitiveData = 1, }
AccelerationStructureRefitOptions ¶
AccelerationStructureRefitOptions :: distinct bit_set[AccelerationStructureRefitOption; NS.UInteger]
AccelerationStructureTriangleGeometryDescriptor ¶
AccelerationStructureTriangleGeometryDescriptor :: struct { using _: NS.Copying($T=AccelerationStructureTriangleGeometryDescriptor), using _: AccelerationStructureDescriptor, }AccelerationStructureTriangleGeometryDescriptor :: struct { using _: NS.Copying($T=AccelerationStructureTriangleGeometryDescriptor), using _: AccelerationStructureDescriptor, } // Objective-C class MTLAccelerationStructureTriangleGeometryDescriptor // Inherits AccelerationStructureDescriptor → NS.Copying → NS.Object // 23 methods
Bound Objective-C Methods
- alloc () -> ^AccelerationStructureTriangleGeometryDescriptor class method owned
- descriptor () -> ^AccelerationStructureTriangleGeometryDescriptor class method
- indexBuffer () -> ^Buffer
- indexBufferOffset () -> NS.UInteger
- indexType () -> IndexType
- init () -> ^AccelerationStructureTriangleGeometryDescriptor
- setIndexBuffer (indexBuffer)
- setIndexBufferOffset (indexBufferOffset)
- setIndexType (indexType)
- setTransformationMatrixBuffer (transformationMatrixBuffer)
- setTransformationMatrixBufferOffset(transformationMatrixBufferOffset)
- setTriangleCount (triangleCount)
- setVertexBuffer (vertexBuffer)
- setVertexBufferOffset (vertexBufferOffset)
- setVertexFormat (vertexFormat)
- setVertexStride (vertexStride)
- transformationMatrixBuffer () -> ^Buffer
- transformationMatrixBufferOffset () -> NS.UInteger
- triangleCount () -> NS.UInteger
- vertexBuffer () -> ^Buffer
- vertexBufferOffset () -> NS.UInteger
- vertexFormat () -> AttributeFormat
- vertexStride () -> NS.UInteger
Methods Inherited From AccelerationStructureDescriptor
- setUsage(usage)
- usage () -> AccelerationStructureUsage
Methods Inherited From NS.Object
- autorelease ()
- class () -> ^intrinsics.objc_class
- copy () -> ^T
- debugDescription () -> ^NS.String
- description () -> ^NS.String
- hash () -> NS.UInteger
- isEqual (pObject) -> bool
- performSelectorOnMainThread(aSelector, arg, wait)
- release ()
- retain ()
- retainCount () -> NS.UInteger
AccelerationStructureUsage ¶
AccelerationStructureUsage :: distinct bit_set[AccelerationStructureUsageFlag; NS.UInteger]
AccelerationStructureUsageFlag ¶
AccelerationStructureUsageFlag :: enum NS.UInteger { Refit = 0, PreferFastBuild = 1, ExtendedLimits = 2, }
Argument ¶
Argument :: struct { using _: NS.Object, }Argument :: struct { using _: NS.Object, } // Objective-C class MTLArgument // Inherits NS.Object // 18 methods
Bound Objective-C Methods
- access () -> ArgumentAccess
- alloc () -> ^Argument class method owned
- arrayLength () -> NS.UInteger
- bufferAlignment () -> NS.UInteger
- bufferDataSize () -> NS.UInteger
- bufferDataType () -> DataType
- bufferPointerType () -> ^PointerType
- bufferStructType () -> ^StructType
- index () -> NS.UInteger
- init () -> ^Argument
- isActive () -> bool
- isDepthTexture () -> bool
- name () -> ^NS.String
- textureDataType () -> DataType
- textureType () -> TextureType
- threadgroupMemoryAlignment() -> NS.UInteger
- threadgroupMemoryDataSize () -> NS.UInteger
- type () -> ArgumentType
Methods Inherited From NS.Object
- autorelease ()
- class () -> ^intrinsics.objc_class
- copy () -> ^T
- debugDescription () -> ^NS.String
- description () -> ^NS.String
- hash () -> NS.UInteger
- isEqual (pObject) -> bool
- performSelectorOnMainThread(aSelector, arg, wait)
- release ()
- retain ()
- retainCount () -> NS.UInteger
ArgumentAccess ¶
ArgumentAccess :: enum NS.UInteger { ReadOnly = 0, ReadWrite = 1, WriteOnly = 2, }
Related Procedures With Returns
ArgumentBuffersTier ¶
ArgumentBuffersTier :: enum NS.UInteger { Tier1 = 0, Tier2 = 1, }
ArgumentDescriptor ¶
ArgumentDescriptor :: struct { using _: NS.Copying($T=ArgumentDescriptor), }ArgumentDescriptor :: struct { using _: NS.Copying($T=ArgumentDescriptor), } // Objective-C class MTLArgumentDescriptor // Inherits NS.Copying → NS.Object // 15 methods
Bound Objective-C Methods
- access () -> ArgumentAccess
- alloc () -> ^ArgumentDescriptor class method owned
- argumentDescriptor () -> ^ArgumentDescriptor class method
- arrayLength () -> NS.UInteger
- constantBlockAlignment () -> NS.UInteger
- dataType () -> DataType
- index () -> NS.UInteger
- init () -> ^ArgumentDescriptor
- setAccess (access)
- setArrayLength (arrayLength)
- setConstantBlockAlignment(constantBlockAlignment)
- setDataType (dataType)
- setIndex (index)
- setTextureType (textureType)
- textureType () -> TextureType
Methods Inherited From NS.Object
- autorelease ()
- class () -> ^intrinsics.objc_class
- copy () -> ^T
- debugDescription () -> ^NS.String
- description () -> ^NS.String
- hash () -> NS.UInteger
- isEqual (pObject) -> bool
- performSelectorOnMainThread(aSelector, arg, wait)
- release ()
- retain ()
- retainCount () -> NS.UInteger
ArgumentEncoder ¶
ArgumentEncoder :: struct { using _: NS.Object, }ArgumentEncoder :: struct { using _: NS.Object, } // Objective-C class MTLArgumentEncoder // Inherits NS.Object // 26 methods
Bound Objective-C Methods
- alignment () -> NS.UInteger
- constantData (index) -> rawptr
- device () -> ^Device
- encodedLength () -> NS.UInteger
- label () -> ^NS.String
- newArgumentEncoderForBuffer (index) -> ^ArgumentEncoder owned
- setAccelerationStructure (accelerationStructure, index)
- setArgumentBufferWithOffset (argumentBuffer, offset)
- setArgumentBufferWithStartOffset(argumentBuffer, startOffset, arrayElement)
- setBuffer (buffer, offset, index)
- setBuffers (buffers, offsets, range)
- setComputePipelineState (pipeline, index)
- setComputePipelineStates (pipelines, range)
- setIndirectCommandBuffer (indirectCommandBuffer, index)
- setIndirectCommandBuffers (buffers, range)
- setIntersectionFunctionTable (intersectionFunctionTable, index)
- setIntersectionFunctionTables (intersectionFunctionTables, range)
- setLabel (label)
- setRenderPipelineState (pipeline, index)
- setRenderPipelineStates (pipelines, range)
- setSamplerState (sampler, index)
- setSamplerStates (samplers, range)
- setTexture (texture, index)
- setTextures (textures, range)
- setVisibleFunctionTable (visibleFunctionTable, index)
- setVisibleFunctionTables (visibleFunctionTables, range)
Methods Inherited From NS.Object
- autorelease ()
- class () -> ^intrinsics.objc_class
- copy () -> ^T
- debugDescription () -> ^NS.String
- description () -> ^NS.String
- hash () -> NS.UInteger
- init () -> ^T
- isEqual (pObject) -> bool
- performSelectorOnMainThread(aSelector, arg, wait)
- release ()
- retain ()
- retainCount () -> NS.UInteger
ArgumentType ¶
ArgumentType :: enum NS.UInteger { Buffer = 0, ThreadgroupMemory = 1, Texture = 2, Sampler = 3, ImageblockData = 16, Imageblock = 17, VisibleFunctionTable = 24, PrimitiveAccelerationStructure = 25, InstanceAccelerationStructure = 26, IntersectionFunctionTable = 27, }
ArrayType ¶
ArrayType :: struct { using _: Type, }ArrayType :: struct { using _: Type, } // Objective-C class MTLArrayType // Inherits Type → NS.Object // 10 methods
Bound Objective-C Methods
- alloc () -> ^ArrayType class method owned
- argumentIndexStride () -> NS.UInteger
- arrayLength () -> NS.UInteger
- elementArrayType () -> ^ArrayType
- elementPointerType () -> ^PointerType
- elementStructType () -> ^StructType
- elementTextureReferenceType() -> ^TextureReferenceType
- elementType () -> DataType
- init () -> ^ArrayType
- stride () -> NS.UInteger
Methods Inherited From Type
Methods Inherited From NS.Object
- autorelease ()
- class () -> ^intrinsics.objc_class
- copy () -> ^T
- debugDescription () -> ^NS.String
- description () -> ^NS.String
- hash () -> NS.UInteger
- isEqual (pObject) -> bool
- performSelectorOnMainThread(aSelector, arg, wait)
- release ()
- retain ()
- retainCount () -> NS.UInteger
Attribute ¶
Attribute :: struct { using _: NS.Object, }Attribute :: struct { using _: NS.Object, } // Objective-C class MTLAttribute // Inherits NS.Object // 8 methods
Bound Objective-C Methods
- alloc () -> ^Attribute class method owned
- attributeIndex () -> NS.UInteger
- attributeType () -> DataType
- init () -> ^Attribute
- isActive () -> bool
- isPatchControlPointData() -> bool
- isPatchData () -> bool
- name () -> ^NS.String
Methods Inherited From NS.Object
- autorelease ()
- class () -> ^intrinsics.objc_class
- copy () -> ^T
- debugDescription () -> ^NS.String
- description () -> ^NS.String
- hash () -> NS.UInteger
- isEqual (pObject) -> bool
- performSelectorOnMainThread(aSelector, arg, wait)
- release ()
- retain ()
- retainCount () -> NS.UInteger
AttributeDescriptor ¶
AttributeDescriptor :: struct { using _: NS.Copying($T=AttributeDescriptor), }AttributeDescriptor :: struct { using _: NS.Copying($T=AttributeDescriptor), } // Objective-C class MTLAttributeDescriptor // Inherits NS.Copying → NS.Object // 8 methods
Bound Objective-C Methods
- alloc () -> ^AttributeDescriptor class method owned
- bufferIndex () -> NS.UInteger
- format () -> AttributeFormat
- init () -> ^AttributeDescriptor
- offset () -> NS.UInteger
- setBufferIndex(bufferIndex)
- setFormat (format)
- setOffset (offset)
Methods Inherited From NS.Object
- autorelease ()
- class () -> ^intrinsics.objc_class
- copy () -> ^T
- debugDescription () -> ^NS.String
- description () -> ^NS.String
- hash () -> NS.UInteger
- isEqual (pObject) -> bool
- performSelectorOnMainThread(aSelector, arg, wait)
- release ()
- retain ()
- retainCount () -> NS.UInteger
AttributeDescriptorArray ¶
AttributeDescriptorArray :: struct { using _: NS.Object, }AttributeDescriptorArray :: struct { using _: NS.Object, } // Objective-C class MTLAttributeDescriptorArray // Inherits NS.Object // 4 methods
Bound Objective-C Methods
- alloc () -> ^AttributeDescriptorArray class method owned
- init () -> ^AttributeDescriptorArray
- object (index) -> ^AttributeDescriptor
- setObject(attributeDesc, index)
Methods Inherited From NS.Object
- autorelease ()
- class () -> ^intrinsics.objc_class
- copy () -> ^T
- debugDescription () -> ^NS.String
- description () -> ^NS.String
- hash () -> NS.UInteger
- isEqual (pObject) -> bool
- performSelectorOnMainThread(aSelector, arg, wait)
- release ()
- retain ()
- retainCount () -> NS.UInteger
AttributeFormat ¶
AttributeFormat :: enum NS.UInteger { Invalid = 0, UChar2 = 1, UChar3 = 2, UChar4 = 3, Char2 = 4, Char3 = 5, Char4 = 6, UChar2Normalized = 7, UChar3Normalized = 8, UChar4Normalized = 9, Char2Normalized = 10, Char3Normalized = 11, Char4Normalized = 12, UShort2 = 13, UShort3 = 14, UShort4 = 15, Short2 = 16, Short3 = 17, Short4 = 18, UShort2Normalized = 19, UShort3Normalized = 20, UShort4Normalized = 21, Short2Normalized = 22, Short3Normalized = 23, Short4Normalized = 24, Half2 = 25, Half3 = 26, Half4 = 27, Float = 28, Float2 = 29, Float3 = 30, Float4 = 31, Int = 32, Int2 = 33, Int3 = 34, Int4 = 35, UInt = 36, UInt2 = 37, UInt3 = 38, UInt4 = 39, Int1010102Normalized = 40, UInt1010102Normalized = 41, UChar4Normalized_BGRA = 42, UChar = 45, Char = 46, UCharNormalized = 47, CharNormalized = 48, UShort = 49, Short = 50, UShortNormalized = 51, ShortNormalized = 52, Half = 53, }
Related Procedures With Parameters
AutoreleasedArgument ¶
AutoreleasedArgument :: ^Argument
Related Procedures With Parameters
- Argument_access
- Argument_arrayLength
- Argument_bufferAlignment
- Argument_bufferDataSize
- Argument_bufferDataType
- Argument_bufferPointerType
- Argument_bufferStructType
- Argument_index
- Argument_init
- Argument_isActive
- Argument_isDepthTexture
- Argument_name
- Argument_textureDataType
- Argument_textureType
- Argument_threadgroupMemoryAlignment
- Argument_threadgroupMemoryDataSize
- Argument_type
- Function_newArgumentEncoderWithReflection
AutoreleasedComputePipelineReflection ¶
AutoreleasedComputePipelineReflection :: ^ComputePipelineReflection
Related Procedures With Parameters
AutoreleasedRenderPipelineReflection ¶
AutoreleasedRenderPipelineReflection :: ^RenderPipelineReflection
Related Procedures With Parameters
- Device_newRenderPipelineStateWithDescriptorWithReflection
- Device_newRenderPipelineStateWithMeshDescriptor
- Device_newRenderPipelineStateWithTileDescriptorWithReflection
- RenderPipelineReflection_fragmentArguments
- RenderPipelineReflection_fragmentBindings
- RenderPipelineReflection_init
- RenderPipelineReflection_meshBindings
- RenderPipelineReflection_objectBindings
- RenderPipelineReflection_tileArguments
- RenderPipelineReflection_tileBindings
- RenderPipelineReflection_vertexArguments
- RenderPipelineReflection_vertexBindings
- Device_newRenderPipelineState (procedure groups)
AxisAlignedBoundingBox ¶
AxisAlignedBoundingBox :: struct { min: PackedFloat3, max: PackedFloat3, }
BOOL ¶
BOOL :: bool
Related Procedures With Parameters
- AccelerationStructureCommandEncoder_sampleCountersInBuffer
- AccelerationStructureGeometryDescriptor_setAllowDuplicateIntersectionFunctionInvocation
- AccelerationStructureGeometryDescriptor_setOpaque
- BlitCommandEncoder_getTextureAccessCounters
- BlitCommandEncoder_sampleCountersInBuffer
- CommandBufferDescriptor_setRetainedReferences
- CompileOptions_setFastMathEnabled
- CompileOptions_setPreserveInvariance
- ComputeCommandEncoder_sampleCountersInBuffer
- ComputePipelineDescriptor_setSupportAddingBinaryFunctions
- ComputePipelineDescriptor_setSupportIndirectCommandBuffers
- ComputePipelineDescriptor_setThreadGroupSizeIsMultipleOfThreadExecutionWidth
- DepthStencilDescriptor_setDepthWriteEnabled
- IndirectCommandBufferDescriptor_setInheritBuffers
- IndirectCommandBufferDescriptor_setInheritPipelineState
- IndirectCommandBuffer_setSupportRayTracing
- MeshRenderPipelineDescriptor_setAlphaToCoverageEnabled
- MeshRenderPipelineDescriptor_setAlphaToOneEnabled
- MeshRenderPipelineDescriptor_setMeshThreadgroupSizeIsMultipleOfThreadExecutionWidth
- MeshRenderPipelineDescriptor_setObjectThreadgroupSizeIsMultipleOfThreadExecutionWidth
- MeshRenderPipelineDescriptor_setRasterizationEnabled
- MeshRenderPipelineDescriptor_setSupportIndirectCommandBuffers
- RenderCommandEncoder_sampleCountersInBuffer
- RenderPipelineColorAttachmentDescriptor_setBlendingEnabled
- RenderPipelineDescriptor_setAlphaToCoverageEnabled
- RenderPipelineDescriptor_setAlphaToOneEnabled
- RenderPipelineDescriptor_setRasterizationEnabled
- RenderPipelineDescriptor_setSupportIndirectCommandBuffers
- RenderPipelineDescriptor_setTessellationFactorScaleEnabled
- SamplerDescriptor_setLodAverage
- SamplerDescriptor_setNormalizedCoordinates
- SamplerDescriptor_setSupportArgumentBuffers
- TextureDescriptor_setAllowGPUOptimizedContents
- TextureDescriptor_texture2DDescriptorWithPixelFormat
- TextureDescriptor_textureCubeDescriptorWithPixelFormat
- TileRenderPipelineDescriptor_setThreadgroupSizeMatchesTileSize
Related Procedures With Returns
- AccelerationStructureGeometryDescriptor_allowDuplicateIntersectionFunctionInvocation
- AccelerationStructureGeometryDescriptor_opaque
- Argument_isActive
- Argument_isDepthTexture
- Attribute_isActive
- Attribute_isPatchControlPointData
- Attribute_isPatchData
- BinaryArchive_addComputePipelineFunctions
- BinaryArchive_addFunction
- BinaryArchive_addRenderPipelineFunctions
- BinaryArchive_addTileRenderPipelineFunctions
- BinaryArchive_serializeToURL
- Binding_isArgument
- Binding_isUsed
- CaptureManager_isCapturing
- CaptureManager_startCaptureWithDescriptor
- CaptureManager_supportsDestination
- CommandBufferDescriptor_retainedReferences
- CommandBuffer_retainedReferences
- CompileOptions_fastMathEnabled
- CompileOptions_preserveInvariance
- ComputePipelineDescriptor_supportAddingBinaryFunctions
- ComputePipelineDescriptor_supportIndirectCommandBuffers
- ComputePipelineDescriptor_threadGroupSizeIsMultipleOfThreadExecutionWidth
- ComputePipelineState_supportIndirectCommandBuffers
- DepthStencilDescriptor_isDepthWriteEnabled
- Device_areBarycentricCoordsSupported
- Device_areProgrammableSamplePositionsSupported
- Device_areRasterOrderGroupsSupported
- Device_hasUnifiedMemory
- Device_isDepth24Stencil8PixelFormatSupported
- Device_isHeadless
- Device_isLowPower
- Device_isRemovable
- Device_supports32BitFloatFiltering
- Device_supports32BitMSAA
- Device_supportsBCTextureCompression
- Device_supportsCounterSampling
- Device_supportsDynamicLibraries
- Device_supportsFamily
- Device_supportsFeatureSet
- Device_supportsFunctionPointers
- Device_supportsPullModelInterpolation
- Device_supportsQueryTextureLOD
- Device_supportsRasterizationRateMapWithLayerCount
- Device_supportsRaytracing
- Device_supportsShaderBarycentricCoordinates
- Device_supportsTextureSampleCount
- Device_supportsVertexAmplificationCount
- DynamicLibrary_serializeToURL
- FunctionConstant_required
- IndirectCommandBufferDescriptor_inheritBuffers
- IndirectCommandBufferDescriptor_inheritPipelineState
- IndirectCommandBuffer_supportRayTracing
- MeshRenderPipelineDescriptor_alphaToCoverageEnabled
- MeshRenderPipelineDescriptor_alphaToOneEnabled
- MeshRenderPipelineDescriptor_isAlphaToCoverageEnabled
- MeshRenderPipelineDescriptor_isAlphaToOneEnabled
- MeshRenderPipelineDescriptor_isRasterizationEnabled
- MeshRenderPipelineDescriptor_meshThreadgroupSizeIsMultipleOfThreadExecutionWidth
- MeshRenderPipelineDescriptor_objectThreadgroupSizeIsMultipleOfThreadExecutionWidth
- MeshRenderPipelineDescriptor_rasterizationEnabled
- MeshRenderPipelineDescriptor_supportIndirectCommandBuffers
- PointerType_elementIsArgumentBuffer
- RenderPipelineColorAttachmentDescriptor_isBlendingEnabled
- RenderPipelineDescriptor_alphaToCoverageEnabled
- RenderPipelineDescriptor_alphaToOneEnabled
- RenderPipelineDescriptor_isAlphaToCoverageEnabled
- RenderPipelineDescriptor_isAlphaToOneEnabled
- RenderPipelineDescriptor_isRasterizationEnabled
- RenderPipelineDescriptor_isTessellationFactorScaleEnabled
- RenderPipelineDescriptor_rasterizationEnabled
- RenderPipelineDescriptor_supportIndirectCommandBuffers
- RenderPipelineState_supportIndirectCommandBuffers
- RenderPipelineState_threadgroupSizeMatchesTileSize
- Resource_isAliasable
- SamplerDescriptor_lodAverage
- SamplerDescriptor_normalizedCoordinates
- SamplerDescriptor_supportArgumentBuffers
- TextureBinding_isDepthTexture
- TextureDescriptor_allowGPUOptimizedContents
- TextureReferenceType_isDepthTexture
- Texture_allowGPUOptimizedContents
- Texture_isFramebufferOnly
- Texture_isShareable
- Texture_isSparse
- TileRenderPipelineDescriptor_threadgroupSizeMatchesTileSize
- VertexAttribute_isActive
- VertexAttribute_isPatchControlPointData
- VertexAttribute_isPatchData
BarrierScope ¶
BarrierScope :: distinct bit_set[BarrierScopeFlag; NS.UInteger]
Related Procedures With Parameters
BarrierScopeFlag ¶
BarrierScopeFlag :: enum NS.UInteger { Buffers = 0, Textures = 1, RenderTargets = 2, }
BinaryArchive ¶
BinaryArchive :: struct { using _: NS.Copying($T=BinaryArchive), }BinaryArchive :: struct { using _: NS.Copying($T=BinaryArchive), } // Objective-C class MTLBinaryArchive // Inherits NS.Copying → NS.Object // 8 methods
Bound Objective-C Methods
- addComputePipelineFunctions (descriptor) -> (ok: bool, error: ^NS.Error)
- addFunction (descriptor, library) -> (ok: bool, error: ^NS.Error)
- addRenderPipelineFunctions (descriptor) -> (ok: bool, error: ^NS.Error)
- addTileRenderPipelineFunctions(descriptor) -> (ok: bool, error: ^NS.Error)
- device () -> ^Device
- label () -> ^NS.String
- serializeToURL (url) -> (ok: bool, error: ^NS.Error)
- setLabel (label)
Methods Inherited From NS.Object
- autorelease ()
- class () -> ^intrinsics.objc_class
- copy () -> ^T
- debugDescription () -> ^NS.String
- description () -> ^NS.String
- hash () -> NS.UInteger
- init () -> ^T
- isEqual (pObject) -> bool
- performSelectorOnMainThread(aSelector, arg, wait)
- release ()
- retain ()
- retainCount () -> NS.UInteger
BinaryArchiveDescriptor ¶
BinaryArchiveDescriptor :: struct { using _: NS.Copying($T=BinaryArchiveDescriptor), }BinaryArchiveDescriptor :: struct { using _: NS.Copying($T=BinaryArchiveDescriptor), } // Objective-C class MTLBinaryArchiveDescriptor // Inherits NS.Copying → NS.Object // 4 methods
Bound Objective-C Methods
- alloc () -> ^BinaryArchiveDescriptor class method owned
- init () -> ^BinaryArchiveDescriptor
- setUrl(url)
- url () -> ^NS.URL
Methods Inherited From NS.Object
- autorelease ()
- class () -> ^intrinsics.objc_class
- copy () -> ^T
- debugDescription () -> ^NS.String
- description () -> ^NS.String
- hash () -> NS.UInteger
- isEqual (pObject) -> bool
- performSelectorOnMainThread(aSelector, arg, wait)
- release ()
- retain ()
- retainCount () -> NS.UInteger
BinaryArchiveError ¶
BinaryArchiveError :: enum NS.UInteger { None = 0, InvalidFile = 1, UnexpectedElement = 2, CompilationFailure = 3, InternalError = 4, }
Binding ¶
Binding :: struct { using _: NS.Object, }Binding :: struct { using _: NS.Object, } // Objective-C class MTLBinding // Inherits NS.Object // 6 methods
Bound Objective-C Methods
- access () -> ArgumentAccess
- index () -> NS.UInteger
- isArgument() -> bool
- isUsed () -> bool
- name () -> ^NS.String
- type () -> BindingType
Methods Inherited From NS.Object
- autorelease ()
- class () -> ^intrinsics.objc_class
- copy () -> ^T
- debugDescription () -> ^NS.String
- description () -> ^NS.String
- hash () -> NS.UInteger
- init () -> ^T
- isEqual (pObject) -> bool
- performSelectorOnMainThread(aSelector, arg, wait)
- release ()
- retain ()
- retainCount () -> NS.UInteger
BindingType ¶
BindingType :: enum NS.Integer { Buffer = 0, ThreadgroupMemory = 1, Texture = 2, Sampler = 3, ImageblockData = 16, Imageblock = 17, VisibleFunctionTable = 24, PrimitiveAccelerationStructure = 25, InstanceAccelerationStructure = 26, IntersectionFunctionTable = 27, ObjectPayload = 34, }
BlendFactor ¶
BlendFactor :: enum NS.UInteger { Zero = 0, One = 1, SourceColor = 2, OneMinusSourceColor = 3, SourceAlpha = 4, OneMinusSourceAlpha = 5, DestinationColor = 6, OneMinusDestinationColor = 7, DestinationAlpha = 8, OneMinusDestinationAlpha = 9, SourceAlphaSaturated = 10, BlendColor = 11, OneMinusBlendColor = 12, BlendAlpha = 13, OneMinusBlendAlpha = 14, Source1Color = 15, OneMinusSource1Color = 16, Source1Alpha = 17, OneMinusSource1Alpha = 18, }
Related Procedures With Parameters
BlendOperation ¶
BlendOperation :: enum NS.UInteger { Add = 0, Subtract = 1, ReverseSubtract = 2, Min = 3, Max = 4, }
Related Procedures With Parameters
Related Procedures With Returns
BlitCommandEncoder ¶
BlitCommandEncoder :: struct { using _: CommandEncoder, }BlitCommandEncoder :: struct { using _: CommandEncoder, } // Objective-C class MTLBlitCommandEncoder // Inherits CommandEncoder → NS.Object // 25 methods
Bound Objective-C Methods
- copyFromBuffer (sourceBuffer, sourceOffset, destinationBuffer, destinationOffset, size)
- copyFromBufferEx (sourceBuffer, sourceOffset, sourceBytesPerRow, sourceBytesPerImage, sourceSize, destinationTexture, destinationSlice, destinationLevel, destinationOrigin)
- copyFromBufferExWithOptions (sourceBuffer, sourceOffset, sourceBytesPerRow, sourceBytesPerImage, sourceSize, destinationTexture, destinationSlice, destinationLevel, destinationOrigin, options)
- copyFromTexture (sourceTexture, destinationTexture)
- copyFromTextureEx (sourceTexture, sourceSlice, sourceLevel, sourceOrigin, sourceSize, destinationBuffer, destinationOffset, destinationBytesPerRow, destinationBytesPerImage)
- copyFromTextureExWithOptions (sourceTexture, sourceSlice, sourceLevel, sourceOrigin, sourceSize, destinationBuffer, destinationOffset, destinationBytesPerRow, destinationBytesPerImage, options)
- copyFromTextureWithCounts (sourceTexture, sourceSlice, sourceLevel, destinationTexture, destinationSlice, destinationLevel, sliceCount, levelCount)
- copyFromTextureWithDestinationOrigin (sourceTexture, sourceSlice, sourceLevel, sourceOrigin, sourceSize, destinationTexture, destinationSlice, destinationLevel, destinationOrigin)
- copyIndirectCommandBuffer (source, sourceRange, destination, destinationIndex)
- fillBuffer (buffer, range, value)
- generateMipmapsForTexture (texture)
- getTextureAccessCounters (texture, region, mipLevel, slice, resetCounters, countersBuffer, countersBufferOffset)
- optimizeContentsForCPUAccess (texture)
- optimizeContentsForCPUAccessWithSliceAndLevel(texture, slice, level)
- optimizeContentsForGPUAccess (texture)
- optimizeContentsForGPUAccessWithSliceAndLevel(texture, slice, level)
- optimizeIndirectCommandBuffer (indirectCommandBuffer, range)
- resetCommandsInBuffer (buffer, range)
- resetTextureAccessCounters (texture, region, mipLevel, slice)
- resolveCounters (sampleBuffer, range, destinationBuffer, destinationOffset)
- sampleCountersInBuffer (sampleBuffer, sampleIndex, barrier)
- synchronizeResource (resource)
- synchronizeTexture (texture, slice, level)
- updateFence (fence)
- waitForFence (fence)
Methods Inherited From CommandEncoder
- device () -> ^Device
- endEncoding ()
- insertDebugSignpost(string)
- label () -> ^NS.String
- popDebugGroup ()
- pushDebugGroup (string)
- setLabel (label)
Methods Inherited From NS.Object
- autorelease ()
- class () -> ^intrinsics.objc_class
- copy () -> ^T
- debugDescription () -> ^NS.String
- description () -> ^NS.String
- hash () -> NS.UInteger
- init () -> ^T
- isEqual (pObject) -> bool
- performSelectorOnMainThread(aSelector, arg, wait)
- release ()
- retain ()
- retainCount () -> NS.UInteger
BlitOption ¶
BlitOption :: distinct bit_set[BlitOptionFlag; NS.UInteger]
Related Procedures With Parameters
BlitOptionFlag ¶
BlitOptionFlag :: enum NS.UInteger { DepthFromDepthStencil = 0, StencilFromDepthStencil = 1, RowLinearPVRTC = 2, }
BlitPassDescriptor ¶
BlitPassDescriptor :: struct { using _: NS.Copying($T=BlitPassDescriptor), }BlitPassDescriptor :: struct { using _: NS.Copying($T=BlitPassDescriptor), } // Objective-C class MTLBlitPassDescriptor // Inherits NS.Copying → NS.Object // 4 methods
Bound Objective-C Methods
- alloc () -> ^BlitPassDescriptor class method owned
- blitPassDescriptor () -> ^BlitPassDescriptor class method
- init () -> ^BlitPassDescriptor
- sampleBufferAttachments() -> ^BlitPassSampleBufferAttachmentDescriptorArray
Methods Inherited From NS.Object
- autorelease ()
- class () -> ^intrinsics.objc_class
- copy () -> ^T
- debugDescription () -> ^NS.String
- description () -> ^NS.String
- hash () -> NS.UInteger
- isEqual (pObject) -> bool
- performSelectorOnMainThread(aSelector, arg, wait)
- release ()
- retain ()
- retainCount () -> NS.UInteger
BlitPassSampleBufferAttachmentDescriptor ¶
BlitPassSampleBufferAttachmentDescriptor :: struct { using _: NS.Copying($T=BlitPassSampleBufferAttachmentDescriptor), }BlitPassSampleBufferAttachmentDescriptor :: struct { using _: NS.Copying($T=BlitPassSampleBufferAttachmentDescriptor), } // Objective-C class MTLBlitPassSampleBufferAttachmentDescriptor // Inherits NS.Copying → NS.Object // 8 methods
Bound Objective-C Methods
- alloc () -> ^BlitPassSampleBufferAttachmentDescriptor class method owned
- endOfEncoderSampleIndex () -> NS.UInteger
- init () -> ^BlitPassSampleBufferAttachmentDescriptor
- sampleBuffer () -> ^CounterSampleBuffer
- setEndOfEncoderSampleIndex (endOfEncoderSampleIndex)
- setSampleBuffer (sampleBuffer)
- setStartOfEncoderSampleIndex(startOfEncoderSampleIndex)
- startOfEncoderSampleIndex () -> NS.UInteger
Methods Inherited From NS.Object
- autorelease ()
- class () -> ^intrinsics.objc_class
- copy () -> ^T
- debugDescription () -> ^NS.String
- description () -> ^NS.String
- hash () -> NS.UInteger
- isEqual (pObject) -> bool
- performSelectorOnMainThread(aSelector, arg, wait)
- release ()
- retain ()
- retainCount () -> NS.UInteger
BlitPassSampleBufferAttachmentDescriptorArray ¶
BlitPassSampleBufferAttachmentDescriptorArray :: struct { using _: NS.Object, }BlitPassSampleBufferAttachmentDescriptorArray :: struct { using _: NS.Object, } // Objective-C class MTLBlitPassSampleBufferAttachmentDescriptorArray // Inherits NS.Object // 4 methods
Bound Objective-C Methods
- alloc () -> ^BlitPassSampleBufferAttachmentDescriptorArray class method owned
- init () -> ^BlitPassSampleBufferAttachmentDescriptorArray
- object (attachmentIndex) -> ^BlitPassSampleBufferAttachmentDescriptor
- setObject(attachment, attachmentIndex)
Methods Inherited From NS.Object
- autorelease ()
- class () -> ^intrinsics.objc_class
- copy () -> ^T
- debugDescription () -> ^NS.String
- description () -> ^NS.String
- hash () -> NS.UInteger
- isEqual (pObject) -> bool
- performSelectorOnMainThread(aSelector, arg, wait)
- release ()
- retain ()
- retainCount () -> NS.UInteger
Buffer ¶
Buffer :: struct { using _: Resource, }Buffer :: struct { using _: Resource, } // Objective-C class MTLBuffer // Inherits Resource → NS.Object // 13 methods
External examples metal/learn_metal/02-argbuffers · metal/learn_metal/02-argbuffers-no-sdl · metal/learn_metal/03-animation +7
Bound Objective-C Methods
- addDebugMarker (marker, range)
- contents () -> []u8
- contentsAsSlice (T) -> T
- contentsAsType (T, offset) -> ^T
- contentsPointer () -> rawptr
- didModifyRange (range)
- gpuAddress () -> u64
- length () -> NS.UInteger
- newRemoteBufferViewForDevice(device) -> ^Buffer owned
- newRemoveBufferViewForDevice(device) -> ^Buffer owned
- newTexture (descriptor, offset, bytesPerRow) -> ^Texture owned
- remoteStorageBuffer () -> ^Buffer
- removeAllDebugMarkers ()
Methods Inherited From Resource
- allocatedSize () -> NS.UInteger
- cpuCacheMode () -> CPUCacheMode
- device () -> ^Device
- hazardTrackingMode() -> HazardTrackingMode
- heap () -> ^Heap
- heapOffset () -> NS.UInteger
- isAliasable () -> bool
- label () -> ^NS.String
- makeAliasable ()
- resourceOptions () -> ResourceOptions
- setLabel (label)
- setPurgeableState (state) -> PurgeableState
- storageMode () -> StorageMode
Methods Inherited From NS.Object
- autorelease ()
- class () -> ^intrinsics.objc_class
- copy () -> ^T
- debugDescription () -> ^NS.String
- description () -> ^NS.String
- hash () -> NS.UInteger
- init () -> ^T
- isEqual (pObject) -> bool
- performSelectorOnMainThread(aSelector, arg, wait)
- release ()
- retain ()
- retainCount () -> NS.UInteger
BufferBinding ¶
BufferBinding :: struct { using _: Binding, }BufferBinding :: struct { using _: Binding, } // Objective-C class MTLBufferBinding // Inherits Binding → NS.Object // 5 methods
Bound Objective-C Methods
- bufferAlignment () -> NS.UInteger
- bufferDataSize () -> NS.UInteger
- bufferDataType () -> DataType
- bufferPointerType() -> ^PointerType
- bufferStructType () -> ^StructType
Methods Inherited From Binding
- access () -> ArgumentAccess
- index () -> NS.UInteger
- isArgument() -> bool
- isUsed () -> bool
- name () -> ^NS.String
- type () -> BindingType
Methods Inherited From NS.Object
- autorelease ()
- class () -> ^intrinsics.objc_class
- copy () -> ^T
- debugDescription () -> ^NS.String
- description () -> ^NS.String
- hash () -> NS.UInteger
- init () -> ^T
- isEqual (pObject) -> bool
- performSelectorOnMainThread(aSelector, arg, wait)
- release ()
- retain ()
- retainCount () -> NS.UInteger
BufferLayoutDescriptor ¶
BufferLayoutDescriptor :: struct { using _: NS.Copying($T=BufferLayoutDescriptor), }BufferLayoutDescriptor :: struct { using _: NS.Copying($T=BufferLayoutDescriptor), } // Objective-C class MTLBufferLayoutDescriptor // Inherits NS.Copying → NS.Object // 8 methods
Bound Objective-C Methods
- alloc () -> ^BufferLayoutDescriptor class method owned
- init () -> ^BufferLayoutDescriptor
- setStepFunction(stepFunction)
- setStepRate (stepRate)
- setStride (stride)
- stepFunction () -> StepFunction
- stepRate () -> NS.UInteger
- stride () -> NS.UInteger
Methods Inherited From NS.Object
- autorelease ()
- class () -> ^intrinsics.objc_class
- copy () -> ^T
- debugDescription () -> ^NS.String
- description () -> ^NS.String
- hash () -> NS.UInteger
- isEqual (pObject) -> bool
- performSelectorOnMainThread(aSelector, arg, wait)
- release ()
- retain ()
- retainCount () -> NS.UInteger
BufferLayoutDescriptorArray ¶
BufferLayoutDescriptorArray :: struct { using _: NS.Object, }BufferLayoutDescriptorArray :: struct { using _: NS.Object, } // Objective-C class MTLBufferLayoutDescriptorArray // Inherits NS.Object // 4 methods
Bound Objective-C Methods
- alloc () -> ^BufferLayoutDescriptorArray class method owned
- init () -> ^BufferLayoutDescriptorArray
- object (index) -> ^BufferLayoutDescriptor
- setObject(bufferDesc, index)
Methods Inherited From NS.Object
- autorelease ()
- class () -> ^intrinsics.objc_class
- copy () -> ^T
- debugDescription () -> ^NS.String
- description () -> ^NS.String
- hash () -> NS.UInteger
- isEqual (pObject) -> bool
- performSelectorOnMainThread(aSelector, arg, wait)
- release ()
- retain ()
- retainCount () -> NS.UInteger
CFTimeInterval ¶
CFTimeInterval :: NS.TimeInterval
Related Procedures With Parameters
Related Procedures With Returns
CPUCacheMode ¶
CPUCacheMode :: enum NS.UInteger { DefaultCache = 0, WriteCombined = 1, }
Related Procedures With Parameters
Related Procedures With Returns
CaptureDescriptor ¶
CaptureDescriptor :: struct { using _: NS.Copying($T=CaptureDescriptor), }CaptureDescriptor :: struct { using _: NS.Copying($T=CaptureDescriptor), } // Objective-C class MTLCaptureDescriptor // Inherits NS.Copying → NS.Object // 8 methods
Bound Objective-C Methods
- alloc () -> ^CaptureDescriptor class method owned
- captureObject () -> ^NS.Object
- destination () -> CaptureDestination
- init () -> ^CaptureDescriptor
- outputURL () -> ^NS.URL
- setCaptureObject(captureObject)
- setDestination (destination)
- setOutputURL (outputURL)
Methods Inherited From NS.Object
- autorelease ()
- class () -> ^intrinsics.objc_class
- copy () -> ^T
- debugDescription () -> ^NS.String
- description () -> ^NS.String
- hash () -> NS.UInteger
- isEqual (pObject) -> bool
- performSelectorOnMainThread(aSelector, arg, wait)
- release ()
- retain ()
- retainCount () -> NS.UInteger
CaptureDestination ¶
CaptureDestination :: enum NS.Integer { DeveloperTools = 1, GPUTraceDocument = 2, }
Related Procedures With Parameters
CaptureError ¶
CaptureError :: enum NS.Integer { NotSupported = 1, AlreadyCapturing = 2, InvalidDescriptor = 3, }
CaptureManager ¶
CaptureManager :: struct { using _: NS.Object, }CaptureManager :: struct { using _: NS.Object, } // Objective-C class MTLCaptureManager // Inherits NS.Object // 15 methods
Bound Objective-C Methods
- alloc () -> ^CaptureManager class method owned
- defaultCaptureScope () -> ^CaptureManager
- init () -> ^CaptureManager
- isCapturing () -> bool
- newCaptureScope (…) owned overloaded
- newCaptureScopeWithCommandQueue(commandQueue) -> ^CaptureScope owned
- newCaptureScopeWithDevice (device) -> ^CaptureScope owned
- setDefaultCaptureScope (defaultCaptureScope)
- sharedCaptureManager () -> ^CaptureManager class method
- startCaptureWithCommandQueue (commandQueue)
- startCaptureWithDescriptor (descriptor) -> (ok: bool, error: ^NS.Error)
- startCaptureWithDevice (device)
- startCaptureWithScope (captureScope)
- stopCapture ()
- supportsDestination (destination) -> bool
Methods Inherited From NS.Object
- autorelease ()
- class () -> ^intrinsics.objc_class
- copy () -> ^T
- debugDescription () -> ^NS.String
- description () -> ^NS.String
- hash () -> NS.UInteger
- isEqual (pObject) -> bool
- performSelectorOnMainThread(aSelector, arg, wait)
- release ()
- retain ()
- retainCount () -> NS.UInteger
CaptureScope ¶
CaptureScope :: struct { using _: NS.Object, }CaptureScope :: struct { using _: NS.Object, } // Objective-C class MTLCaptureScope // Inherits NS.Object // 6 methods
Bound Objective-C Methods
- beginScope ()
- commandQueue() -> ^CommandQueue
- device () -> ^Device
- endScope ()
- label () -> ^NS.String
- setLabel (label)
Methods Inherited From NS.Object
- autorelease ()
- class () -> ^intrinsics.objc_class
- copy () -> ^T
- debugDescription () -> ^NS.String
- description () -> ^NS.String
- hash () -> NS.UInteger
- init () -> ^T
- isEqual (pObject) -> bool
- performSelectorOnMainThread(aSelector, arg, wait)
- release ()
- retain ()
- retainCount () -> NS.UInteger
ClearColor ¶
External examples metal/learn_metal/00-window · metal/learn_metal/01-primitive · metal/learn_metal/02-argbuffers +9
ColorWriteMask ¶
ColorWriteMask :: distinct bit_set[ColorWriteMaskFlag; NS.UInteger]
Related Constants
ColorWriteMaskFlag ¶
ColorWriteMaskFlag :: enum NS.UInteger { Alpha = 0, Blue = 1, Green = 2, Red = 3, }
CommandBuffer ¶
CommandBuffer :: struct { using _: NS.Object, }CommandBuffer :: struct { using _: NS.Object, } // Objective-C class MTLCommandBuffer // Inherits NS.Object // 37 methods
External examples metal/learn_metal/09-compute-to-render
Bound Objective-C Methods
- GPUEndTime () -> NS.TimeInterval
- GPUStartTime () -> NS.TimeInterval
- accelerationStructureCommandEncoder () -> ^AccelerationStructureCommandEncoder
- accelerationStructureCommandEncoderWithDescriptor(descriptor) -> ^AccelerationStructureCommandEncoder
- addCompletedHandler (block)
- addScheduledHandler (block)
- blitCommandEncoder () -> ^BlitCommandEncoder
- blitCommandEncoderWithDescriptor (blitPassDescriptor) -> ^BlitCommandEncoder
- commandQueue () -> ^CommandQueue
- commit ()
- computeCommandEncoder () -> ^ComputeCommandEncoder
- computeCommandEncoderWithDescriptor (computePassDescriptor) -> ^ComputeCommandEncoder
- computeCommandEncoderWithDispatchType (dispatchType) -> ^ComputeCommandEncoder
- device () -> ^Device
- encodeSignalEvent (event, value)
- encodeWaitForEvent (event, value)
- enqueue ()
- error () -> ^NS.Error
- errorOptions () -> CommandBufferErrorOption
- kernelEndTime () -> NS.TimeInterval
- kernelStartTime () -> NS.TimeInterval
- label () -> ^NS.String
- logs () -> ^LogContainer
- parallelRenderCommandEncoder (renderPassDescriptor) -> ^ParallelRenderCommandEncoder
- popDebugGroup ()
- presentDrawable (drawable)
- presentDrawableAfterMinimumDuration (drawable, duration)
- presentDrawableAtTime (drawable, presentationTime)
- pushDebugGroup (string)
- renderCommandEncoderWithDescriptor (renderPassDescriptor) -> ^RenderCommandEncoder
- resourceStateCommandEncoder () -> ^CommandBuffer
- resourceStateCommandEncoderWithDescriptor (resourceStatePassDescriptor) -> ^ResourceStateCommandEncoder
- retainedReferences () -> bool
- setLabel (label)
- status () -> CommandBufferStatus
- waitUntilCompleted ()
- waitUntilScheduled ()
Methods Inherited From NS.Object
- autorelease ()
- class () -> ^intrinsics.objc_class
- copy () -> ^T
- debugDescription () -> ^NS.String
- description () -> ^NS.String
- hash () -> NS.UInteger
- init () -> ^T
- isEqual (pObject) -> bool
- performSelectorOnMainThread(aSelector, arg, wait)
- release ()
- retain ()
- retainCount () -> NS.UInteger
CommandBufferDescriptor ¶
CommandBufferDescriptor :: struct { using _: NS.Copying($T=CommandBufferDescriptor), }CommandBufferDescriptor :: struct { using _: NS.Copying($T=CommandBufferDescriptor), } // Objective-C class MTLCommandBufferDescriptor // Inherits NS.Copying → NS.Object // 6 methods
Bound Objective-C Methods
- alloc () -> ^CommandBufferDescriptor class method owned
- errorOptions () -> CommandBufferErrorOption
- init () -> ^CommandBufferDescriptor
- retainedReferences () -> bool
- setErrorOptions (errorOptions)
- setRetainedReferences(retainedReferences)
Methods Inherited From NS.Object
- autorelease ()
- class () -> ^intrinsics.objc_class
- copy () -> ^T
- debugDescription () -> ^NS.String
- description () -> ^NS.String
- hash () -> NS.UInteger
- isEqual (pObject) -> bool
- performSelectorOnMainThread(aSelector, arg, wait)
- release ()
- retain ()
- retainCount () -> NS.UInteger
CommandBufferEncoderInfo ¶
CommandBufferEncoderInfo :: struct { using _: NS.Object, }CommandBufferEncoderInfo :: struct { using _: NS.Object, } // Objective-C class MTLCommandBufferEncoderInfo // Inherits NS.Object // 3 methods
Bound Objective-C Methods
- debugSignposts() -> ^NS.Array
- errorState () -> CommandEncoderErrorState
- label () -> ^NS.String
Methods Inherited From NS.Object
- autorelease ()
- class () -> ^intrinsics.objc_class
- copy () -> ^T
- debugDescription () -> ^NS.String
- description () -> ^NS.String
- hash () -> NS.UInteger
- init () -> ^T
- isEqual (pObject) -> bool
- performSelectorOnMainThread(aSelector, arg, wait)
- release ()
- retain ()
- retainCount () -> NS.UInteger
CommandBufferError ¶
CommandBufferError :: enum NS.UInteger { None = 0, Internal = 1, Timeout = 2, PageFault = 3, AccessRevoked = 4, Blacklisted = 4, NotPermitted = 7, OutOfMemory = 8, InvalidResource = 9, Memoryless = 10, DeviceRemoved = 11, StackOverflow = 12, }
CommandBufferErrorOption ¶
CommandBufferErrorOption :: distinct bit_set[CommandBufferErrorOptionFlag; NS.UInteger]
Related Procedures With Returns
CommandBufferErrorOptionFlag ¶
CommandBufferErrorOptionFlag :: enum NS.UInteger { EncoderExecutionStatus = 0, }
CommandBufferStatus ¶
CommandBufferStatus :: enum NS.UInteger { NotEnqueued = 0, Enqueued = 1, Committed = 2, Scheduled = 3, Completed = 4, Error = 5, }
CommandEncoder ¶
CommandEncoder :: struct { using _: NS.Object, }CommandEncoder :: struct { using _: NS.Object, } // Objective-C class MTLCommandEncoder // Inherits NS.Object // 7 methods
Bound Objective-C Methods
- device () -> ^Device
- endEncoding ()
- insertDebugSignpost(string)
- label () -> ^NS.String
- popDebugGroup ()
- pushDebugGroup (string)
- setLabel (label)
Methods Inherited From NS.Object
- autorelease ()
- class () -> ^intrinsics.objc_class
- copy () -> ^T
- debugDescription () -> ^NS.String
- description () -> ^NS.String
- hash () -> NS.UInteger
- init () -> ^T
- isEqual (pObject) -> bool
- performSelectorOnMainThread(aSelector, arg, wait)
- release ()
- retain ()
- retainCount () -> NS.UInteger
CommandEncoderErrorState ¶
CommandEncoderErrorState :: enum NS.Integer { Unknown = 0, Completed = 1, Affected = 2, Pending = 3, Faulted = 4, }
CommandQueue ¶
CommandQueue :: struct { using _: NS.Object, }CommandQueue :: struct { using _: NS.Object, } // Objective-C class MTLCommandQueue // Inherits NS.Object // 7 methods
External examples metal/learn_metal/08-compute
Bound Objective-C Methods
- commandBuffer () -> ^CommandBuffer
- commandBufferWithDescriptor (descriptor) -> ^CommandBuffer
- commandBufferWithUnretainedReferences() -> ^CommandBuffer
- device () -> ^Device
- insertDebugCaptureBoundary ()
- label () -> ^NS.String
- setLabel (label)
Methods Inherited From NS.Object
- autorelease ()
- class () -> ^intrinsics.objc_class
- copy () -> ^T
- debugDescription () -> ^NS.String
- description () -> ^NS.String
- hash () -> NS.UInteger
- init () -> ^T
- isEqual (pObject) -> bool
- performSelectorOnMainThread(aSelector, arg, wait)
- release ()
- retain ()
- retainCount () -> NS.UInteger
CommonCounter ¶
CommonCounter :: ^NS.String
Related Procedures With Parameters
- ArgumentEncoder_setLabel
- BinaryArchive_setLabel
- Buffer_addDebugMarker
- CaptureScope_setLabel
- CommandBuffer_pushDebugGroup
- CommandBuffer_setLabel
- CommandEncoder_insertDebugSignpost
- CommandEncoder_pushDebugGroup
- CommandEncoder_setLabel
- CommandQueue_setLabel
- CompileOptions_setInstallName
- ComputePipelineDescriptor_setLabel
- CounterSampleBufferDescriptor_setLabel
- DepthStencilDescriptor_setLabel
- Device_newLibraryWithFile
- Device_newLibraryWithSource
- Device_newLibraryWithSourceWithCompletionHandler
- DynamicLibrary_setLabel
- Event_setLabel
- Fence_setLabel
- FunctionConstantValues_setConstantValueWithName
- FunctionDescriptor_setName
- FunctionDescriptor_setSpecializedName
- Function_setLabel
- Heap_setLabel
- IOCommandBuffer_pushDebugGroup
- IOCommandBuffer_setLabel
- IOCommandQueue_setLabel
- IOFileHandle_setLabel
- Library_newFunctionWithConstantValues
- Library_newFunctionWithConstantValuesAndCompletionHandler
- Library_newFunctionWithName
- Library_setLabel
- RasterizationRateMapDescriptor_setLabel
- RenderPipelineDescriptor_setLabel
- Resource_setLabel
- SamplerDescriptor_setLabel
- StructType_memberByName
- TileRenderPipelineDescriptor_setLabel
- Device_newLibrary (procedure groups)
- Library_newFunction (procedure groups)
Related Procedures With Returns
- ArgumentEncoder_label
- Argument_name
- Attribute_name
- BinaryArchive_label
- Binding_name
- CaptureScope_label
- CommandBufferEncoderInfo_label
- CommandBuffer_label
- CommandEncoder_label
- CommandQueue_label
- CompileOptions_installName
- ComputePipelineDescriptor_label
- ComputePipelineState_label
- CounterSampleBufferDescriptor_label
- CounterSampleBuffer_label
- CounterSet_name
- Counter_name
- DepthStencilDescriptor_label
- DepthStencilState_label
- Device_name
- DynamicLibrary_installName
- DynamicLibrary_label
- Event_label
- Fence_label
- FunctionConstant_name
- FunctionDescriptor_name
- FunctionDescriptor_specializedName
- FunctionHandle_name
- FunctionLogDebugLocation_functionName
- FunctionLog_encoderLabel
- Function_label
- Function_name
- Heap_label
- IOCommandBuffer_label
- IOCommandQueue_label
- IOFileHandle_label
- Library_installName
- Library_label
- MeshRenderPipelineDescriptor_label
- RasterizationRateMapDescriptor_label
- RasterizationRateMap_label
- RenderPipelineDescriptor_label
- RenderPipelineState_label
- Resource_label
- SamplerDescriptor_label
- SamplerState_label
- SharedEventHandle_label
- SharedTextureHandle_label
- StructMember_name
- TileRenderPipelineDescriptor_label
- VertexAttribute_name
CommonCounterSet ¶
CommonCounterSet :: ^NS.String
Related Procedures With Parameters
- ArgumentEncoder_setLabel
- BinaryArchive_setLabel
- Buffer_addDebugMarker
- CaptureScope_setLabel
- CommandBuffer_pushDebugGroup
- CommandBuffer_setLabel
- CommandEncoder_insertDebugSignpost
- CommandEncoder_pushDebugGroup
- CommandEncoder_setLabel
- CommandQueue_setLabel
- CompileOptions_setInstallName
- ComputePipelineDescriptor_setLabel
- CounterSampleBufferDescriptor_setLabel
- DepthStencilDescriptor_setLabel
- Device_newLibraryWithFile
- Device_newLibraryWithSource
- Device_newLibraryWithSourceWithCompletionHandler
- DynamicLibrary_setLabel
- Event_setLabel
- Fence_setLabel
- FunctionConstantValues_setConstantValueWithName
- FunctionDescriptor_setName
- FunctionDescriptor_setSpecializedName
- Function_setLabel
- Heap_setLabel
- IOCommandBuffer_pushDebugGroup
- IOCommandBuffer_setLabel
- IOCommandQueue_setLabel
- IOFileHandle_setLabel
- Library_newFunctionWithConstantValues
- Library_newFunctionWithConstantValuesAndCompletionHandler
- Library_newFunctionWithName
- Library_setLabel
- RasterizationRateMapDescriptor_setLabel
- RenderPipelineDescriptor_setLabel
- Resource_setLabel
- SamplerDescriptor_setLabel
- StructType_memberByName
- TileRenderPipelineDescriptor_setLabel
- Device_newLibrary (procedure groups)
- Library_newFunction (procedure groups)
Related Procedures With Returns
- ArgumentEncoder_label
- Argument_name
- Attribute_name
- BinaryArchive_label
- Binding_name
- CaptureScope_label
- CommandBufferEncoderInfo_label
- CommandBuffer_label
- CommandEncoder_label
- CommandQueue_label
- CompileOptions_installName
- ComputePipelineDescriptor_label
- ComputePipelineState_label
- CounterSampleBufferDescriptor_label
- CounterSampleBuffer_label
- CounterSet_name
- Counter_name
- DepthStencilDescriptor_label
- DepthStencilState_label
- Device_name
- DynamicLibrary_installName
- DynamicLibrary_label
- Event_label
- Fence_label
- FunctionConstant_name
- FunctionDescriptor_name
- FunctionDescriptor_specializedName
- FunctionHandle_name
- FunctionLogDebugLocation_functionName
- FunctionLog_encoderLabel
- Function_label
- Function_name
- Heap_label
- IOCommandBuffer_label
- IOCommandQueue_label
- IOFileHandle_label
- Library_installName
- Library_label
- MeshRenderPipelineDescriptor_label
- RasterizationRateMapDescriptor_label
- RasterizationRateMap_label
- RenderPipelineDescriptor_label
- RenderPipelineState_label
- Resource_label
- SamplerDescriptor_label
- SamplerState_label
- SharedEventHandle_label
- SharedTextureHandle_label
- StructMember_name
- TileRenderPipelineDescriptor_label
- VertexAttribute_name
CompareFunction ¶
CompareFunction :: enum NS.UInteger { Never = 0, Less = 1, Equal = 2, LessEqual = 3, Greater = 4, NotEqual = 5, GreaterEqual = 6, Always = 7, }
Related Procedures With Parameters
Related Procedures With Returns
CompileOptions ¶
CompileOptions :: struct { using _: NS.Copying($T=CompileOptions), }CompileOptions :: struct { using _: NS.Copying($T=CompileOptions), } // Objective-C class MTLCompileOptions // Inherits NS.Copying → NS.Object // 18 methods
Bound Objective-C Methods
- alloc () -> ^CompileOptions class method owned
- fastMathEnabled () -> bool
- init () -> ^CompileOptions
- installName () -> ^NS.String
- languageVersion () -> LanguageVersion
- libraries () -> ^NS.Array
- libraryType () -> LibraryType
- optimizationLevel () -> LibraryOptimizationLevel
- preprocessorMacros () -> ^NS.Dictionary
- preserveInvariance () -> bool
- setFastMathEnabled (fastMathEnabled)
- setInstallName (installName)
- setLanguageVersion (languageVersion)
- setLibraries (libraries)
- setLibraryType (libraryType)
- setOptimizationLevel (optimizationLevel)
- setPreprocessorMacros(preprocessorMacros)
- setPreserveInvariance(preserveInvariance)
Methods Inherited From NS.Object
- autorelease ()
- class () -> ^intrinsics.objc_class
- copy () -> ^T
- debugDescription () -> ^NS.String
- description () -> ^NS.String
- hash () -> NS.UInteger
- isEqual (pObject) -> bool
- performSelectorOnMainThread(aSelector, arg, wait)
- release ()
- retain ()
- retainCount () -> NS.UInteger
ComputeCommandEncoder ¶
ComputeCommandEncoder :: struct { using _: CommandEncoder, }ComputeCommandEncoder :: struct { using _: CommandEncoder, } // Objective-C class MTLComputeCommandEncoder // Inherits CommandEncoder → NS.Object // 35 methods
Bound Objective-C Methods
- dispatchThreadgroups (threadgroupsPerGrid, threadsPerThreadgroup)
- dispatchThreadgroupsWithIndirectBuffer(indirectBuffer, indirectBufferOffset, threadsPerThreadgroup)
- dispatchThreads (threadsPerGrid, threadsPerThreadgroup)
- dispatchType () -> DispatchType
- executeCommandsInBuffer (indirectCommandbuffer, indirectRangeBuffer, indirectBufferOffset)
- executeCommandsInBufferWithRange (indirectCommandBuffer, executionRange)
- memoryBarrierWithResources (resources)
- memoryBarrierWithScope (scope)
- sampleCountersInBuffer (sampleBuffer, sampleIndex, barrier)
- setAccelerationStructure (accelerationStructure, bufferIndex)
- setBuffer (buffer, offset, index)
- setBufferOffset (offset, index)
- setBuffers (buffers, offsets, range)
- setBytes (bytes, index)
- setComputePipelineState (pipelineState)
- setImageblockWidth (width, height)
- setIntersectionFunctionTable (intersectionFunctionTable, bufferIndex)
- setIntersectionFunctionTables (intersectionFunctionTables, range)
- setSamplerState (sampler, index)
- setSamplerStateWithLod (sampler, lodMinClamp, lodMaxClamp, index)
- setSamplerStatesWithLod (samplers, lodMinClamps, lodMaxClamps, range)
- setSamplerStatesWithRange (samplers, range)
- setStageInRegion (region)
- setStageInRegionWithIndirectBuffer (indirectBuffer, indirectBufferOffset)
- setTexture (texture, index)
- setTextures (textures, range)
- setThreadgroupMemoryLength (length, index)
- setVisibleFunctionTable (visibleFunctionTable, bufferIndex)
- setVisibleFunctionTables (visibleFunctionTables, range)
- updateFence (fence)
- useHeap (heap)
- useHeaps (heaps)
- useResource (resource, usage)
- useResources (resources, usage)
- waitForFence (fence)
Methods Inherited From CommandEncoder
- device () -> ^Device
- endEncoding ()
- insertDebugSignpost(string)
- label () -> ^NS.String
- popDebugGroup ()
- pushDebugGroup (string)
- setLabel (label)
Methods Inherited From NS.Object
- autorelease ()
- class () -> ^intrinsics.objc_class
- copy () -> ^T
- debugDescription () -> ^NS.String
- description () -> ^NS.String
- hash () -> NS.UInteger
- init () -> ^T
- isEqual (pObject) -> bool
- performSelectorOnMainThread(aSelector, arg, wait)
- release ()
- retain ()
- retainCount () -> NS.UInteger
ComputePassDescriptor ¶
ComputePassDescriptor :: struct { using _: NS.Copying($T=ComputePassDescriptor), }ComputePassDescriptor :: struct { using _: NS.Copying($T=ComputePassDescriptor), } // Objective-C class MTLComputePassDescriptor // Inherits NS.Copying → NS.Object // 6 methods
Bound Objective-C Methods
- alloc () -> ^ComputePassDescriptor class method owned
- computePassDescriptor () -> ^ComputePassDescriptor class method
- dispatchType () -> DispatchType
- init () -> ^ComputePassDescriptor
- sampleBufferAttachments() -> ^ComputePassSampleBufferAttachmentDescriptorArray
- setDispatchType (dispatchType)
Methods Inherited From NS.Object
- autorelease ()
- class () -> ^intrinsics.objc_class
- copy () -> ^T
- debugDescription () -> ^NS.String
- description () -> ^NS.String
- hash () -> NS.UInteger
- isEqual (pObject) -> bool
- performSelectorOnMainThread(aSelector, arg, wait)
- release ()
- retain ()
- retainCount () -> NS.UInteger
ComputePassSampleBufferAttachmentDescriptor ¶
ComputePassSampleBufferAttachmentDescriptor :: struct { using _: NS.Copying($T=ComputePassSampleBufferAttachmentDescriptor), }ComputePassSampleBufferAttachmentDescriptor :: struct { using _: NS.Copying($T=ComputePassSampleBufferAttachmentDescriptor), } // Objective-C class MTLComputePassSampleBufferAttachmentDescriptor // Inherits NS.Copying → NS.Object // 8 methods
Bound Objective-C Methods
- alloc () -> ^ComputePassSampleBufferAttachmentDescriptor class method owned
- endOfEncoderSampleIndex () -> NS.UInteger
- init () -> ^ComputePassSampleBufferAttachmentDescriptor
- sampleBuffer () -> ^CounterSampleBuffer
- setEndOfEncoderSampleIndex (endOfEncoderSampleIndex)
- setSampleBuffer (sampleBuffer)
- setStartOfEncoderSampleIndex(startOfEncoderSampleIndex)
- startOfEncoderSampleIndex () -> NS.UInteger
Methods Inherited From NS.Object
- autorelease ()
- class () -> ^intrinsics.objc_class
- copy () -> ^T
- debugDescription () -> ^NS.String
- description () -> ^NS.String
- hash () -> NS.UInteger
- isEqual (pObject) -> bool
- performSelectorOnMainThread(aSelector, arg, wait)
- release ()
- retain ()
- retainCount () -> NS.UInteger
ComputePassSampleBufferAttachmentDescriptorArray ¶
ComputePassSampleBufferAttachmentDescriptorArray :: struct { using _: NS.Object, }ComputePassSampleBufferAttachmentDescriptorArray :: struct { using _: NS.Object, } // Objective-C class MTLComputePassSampleBufferAttachmentDescriptorArray // Inherits NS.Object // 4 methods
Bound Objective-C Methods
- alloc () -> ^ComputePassSampleBufferAttachmentDescriptorArray class method owned
- init () -> ^ComputePassSampleBufferAttachmentDescriptorArray
- object (attachmentIndex) -> ^ComputePassSampleBufferAttachmentDescriptor
- setObject(attachment, attachmentIndex)
Methods Inherited From NS.Object
- autorelease ()
- class () -> ^intrinsics.objc_class
- copy () -> ^T
- debugDescription () -> ^NS.String
- description () -> ^NS.String
- hash () -> NS.UInteger
- isEqual (pObject) -> bool
- performSelectorOnMainThread(aSelector, arg, wait)
- release ()
- retain ()
- retainCount () -> NS.UInteger
ComputePipelineDescriptor ¶
ComputePipelineDescriptor :: struct { using _: NS.Copying($T=ComputePipelineDescriptor), }ComputePipelineDescriptor :: struct { using _: NS.Copying($T=ComputePipelineDescriptor), } // Objective-C class MTLComputePipelineDescriptor // Inherits NS.Copying → NS.Object // 27 methods
Bound Objective-C Methods
- alloc () -> ^ComputePipelineDescriptor class method owned
- binaryArchives () -> ^NS.Array
- buffers () -> ^PipelineBufferDescriptorArray
- computeFunction () -> ^Function
- gpuResourceID () -> ResourceID
- init () -> ^ComputePipelineDescriptor
- insertLibraries () -> ^NS.Array
- label () -> ^NS.String
- linkedFunctions () -> ^LinkedFunctions
- maxCallStackDepth () -> NS.UInteger
- maxTotalThreadsPerThreadgroup () -> NS.UInteger
- reset ()
- setBinaryArchives (binaryArchives)
- setComputeFunction (computeFunction)
- setInsertLibraries (insertLibraries)
- setLabel (label)
- setLinkedFunctions (linkedFunctions)
- setMaxCallStackDepth (maxCallStackDepth)
- setMaxTotalThreadsPerThreadgroup (maxTotalThreadsPerThreadgroup)
- setStageInputDescriptor (stageInputDescriptor)
- setSupportAddingBinaryFunctions (supportAddingBinaryFunctions)
- setSupportIndirectCommandBuffers (supportIndirectCommandBuffers)
- setThreadGroupSizeIsMultipleOfThreadExecutionWidth(threadGroupSizeIsMultipleOfThreadExecutionWidth)
- stageInputDescriptor () -> ^StageInputOutputDescriptor
- supportAddingBinaryFunctions () -> bool
- supportIndirectCommandBuffers () -> bool
- threadGroupSizeIsMultipleOfThreadExecutionWidth () -> bool
Methods Inherited From NS.Object
- autorelease ()
- class () -> ^intrinsics.objc_class
- copy () -> ^T
- debugDescription () -> ^NS.String
- description () -> ^NS.String
- hash () -> NS.UInteger
- isEqual (pObject) -> bool
- performSelectorOnMainThread(aSelector, arg, wait)
- release ()
- retain ()
- retainCount () -> NS.UInteger
ComputePipelineReflection ¶
ComputePipelineReflection :: struct { using _: NS.Object, }ComputePipelineReflection :: struct { using _: NS.Object, } // Objective-C class MTLComputePipelineReflection // Inherits NS.Object // 4 methods
Bound Objective-C Methods
- alloc () -> ^ComputePipelineReflection class method owned
- arguments() -> ^NS.Array
- bindings () -> ^NS.Array
- init () -> ^ComputePipelineReflection
Methods Inherited From NS.Object
- autorelease ()
- class () -> ^intrinsics.objc_class
- copy () -> ^T
- debugDescription () -> ^NS.String
- description () -> ^NS.String
- hash () -> NS.UInteger
- isEqual (pObject) -> bool
- performSelectorOnMainThread(aSelector, arg, wait)
- release ()
- retain ()
- retainCount () -> NS.UInteger
ComputePipelineState ¶
ComputePipelineState :: struct { using _: NS.Object, }ComputePipelineState :: struct { using _: NS.Object, } // Objective-C class MTLComputePipelineState // Inherits NS.Object // 11 methods
External examples metal/learn_metal/08-compute · metal/learn_metal/09-compute-to-render
Bound Objective-C Methods
- device () -> ^Device
- functionHandleWithFunction (function) -> ^FunctionHandle
- imageblockMemoryLengthForDimensions(imageblockDimensions) -> ^ComputePipelineState
- label () -> ^NS.String
- maxTotalThreadsPerThreadgroup () -> NS.UInteger
- newComputePipelineState (functions) -> (state: ^ComputePipelineState, error: ^NS.Error)
- newIntersectionFunctionTable (descriptor) -> ^IntersectionFunctionTable owned
- newVisibleFunctionTable (descriptor) -> ^VisibleFunctionTable owned
- staticThreadgroupMemoryLength () -> NS.UInteger
- supportIndirectCommandBuffers () -> bool
- threadExecutionWidth () -> NS.UInteger
Methods Inherited From NS.Object
- autorelease ()
- class () -> ^intrinsics.objc_class
- copy () -> ^T
- debugDescription () -> ^NS.String
- description () -> ^NS.String
- hash () -> NS.UInteger
- init () -> ^T
- isEqual (pObject) -> bool
- performSelectorOnMainThread(aSelector, arg, wait)
- release ()
- retain ()
- retainCount () -> NS.UInteger
Coordinate2D ¶
Related Procedures With Parameters
Counter ¶
Counter :: struct { using _: NS.Object, }Counter :: struct { using _: NS.Object, } // Objective-C class MTLCounter // Inherits NS.Object // 1 method
Bound Objective-C Methods
Methods Inherited From NS.Object
- autorelease ()
- class () -> ^intrinsics.objc_class
- copy () -> ^T
- debugDescription () -> ^NS.String
- description () -> ^NS.String
- hash () -> NS.UInteger
- init () -> ^T
- isEqual (pObject) -> bool
- performSelectorOnMainThread(aSelector, arg, wait)
- release ()
- retain ()
- retainCount () -> NS.UInteger
CounterResultTimestamp ¶
CounterResultTimestamp :: struct { timestamp: u64, }
CounterSampleBuffer ¶
CounterSampleBuffer :: struct { using _: NS.Object, }CounterSampleBuffer :: struct { using _: NS.Object, } // Objective-C class MTLCounterSampleBuffer // Inherits NS.Object // 4 methods
Bound Objective-C Methods
- device () -> ^Device
- label () -> ^NS.String
- resolveCounterRange(range) -> ^NS.Data
- sampleCount () -> NS.UInteger
Methods Inherited From NS.Object
- autorelease ()
- class () -> ^intrinsics.objc_class
- copy () -> ^T
- debugDescription () -> ^NS.String
- description () -> ^NS.String
- hash () -> NS.UInteger
- init () -> ^T
- isEqual (pObject) -> bool
- performSelectorOnMainThread(aSelector, arg, wait)
- release ()
- retain ()
- retainCount () -> NS.UInteger
CounterSampleBufferDescriptor ¶
CounterSampleBufferDescriptor :: struct { using _: NS.Copying($T=CounterSampleBufferDescriptor), }CounterSampleBufferDescriptor :: struct { using _: NS.Copying($T=CounterSampleBufferDescriptor), } // Objective-C class MTLCounterSampleBufferDescriptor // Inherits NS.Copying → NS.Object // 10 methods
Bound Objective-C Methods
- alloc () -> ^CounterSampleBufferDescriptor class method owned
- counterSet () -> ^CounterSet
- init () -> ^CounterSampleBufferDescriptor
- label () -> ^NS.String
- sampleCount () -> NS.UInteger
- setCounterSet (counterSet)
- setLabel (label)
- setSampleCount(sampleCount)
- setStorageMode(storageMode)
- storageMode () -> StorageMode
Methods Inherited From NS.Object
- autorelease ()
- class () -> ^intrinsics.objc_class
- copy () -> ^T
- debugDescription () -> ^NS.String
- description () -> ^NS.String
- hash () -> NS.UInteger
- isEqual (pObject) -> bool
- performSelectorOnMainThread(aSelector, arg, wait)
- release ()
- retain ()
- retainCount () -> NS.UInteger
CounterSampleBufferError ¶
CounterSampleBufferError :: enum NS.Integer { OutOfMemory = 0, Invalid = 1, Internal = 2, }
CounterSamplingPoint ¶
CounterSamplingPoint :: enum NS.UInteger { AtStageBoundary = 0, AtDrawBoundary = 1, AtDispatchBoundary = 2, AtTileDispatchBoundary = 3, AtBlitBoundary = 4, }
CounterSet ¶
CounterSet :: struct { using _: NS.Object, }CounterSet :: struct { using _: NS.Object, } // Objective-C class MTLCounterSet // Inherits NS.Object // 2 methods
Bound Objective-C Methods
Methods Inherited From NS.Object
- autorelease ()
- class () -> ^intrinsics.objc_class
- copy () -> ^T
- debugDescription () -> ^NS.String
- description () -> ^NS.String
- hash () -> NS.UInteger
- init () -> ^T
- isEqual (pObject) -> bool
- performSelectorOnMainThread(aSelector, arg, wait)
- release ()
- retain ()
- retainCount () -> NS.UInteger
CullMode ¶
CullMode :: enum NS.UInteger { None = 0, Front = 1, Back = 2, }
DataType ¶
DataType :: enum NS.UInteger { None = 0, Struct = 1, Array = 2, Float = 3, Float2 = 4, Float3 = 5, Float4 = 6, Float2x2 = 7, Float2x3 = 8, Float2x4 = 9, Float3x2 = 10, Float3x3 = 11, Float3x4 = 12, Float4x2 = 13, Float4x3 = 14, Float4x4 = 15, Half = 16, Half2 = 17, Half3 = 18, Half4 = 19, Half2x2 = 20, Half2x3 = 21, Half2x4 = 22, Half3x2 = 23, Half3x3 = 24, Half3x4 = 25, Half4x2 = 26, Half4x3 = 27, Half4x4 = 28, Int = 29, Int2 = 30, Int3 = 31, Int4 = 32, UInt = 33, UInt2 = 34, UInt3 = 35, UInt4 = 36, Short = 37, Short2 = 38, Short3 = 39, Short4 = 40, UShort = 41, UShort2 = 42, UShort3 = 43, UShort4 = 44, Char = 45, Char2 = 46, Char3 = 47, Char4 = 48, UChar = 49, UChar2 = 50, UChar3 = 51, UChar4 = 52, Bool = 53, Bool2 = 54, Bool3 = 55, Bool4 = 56, Texture = 58, Sampler = 59, Pointer = 60, R8Unorm = 62, R8Snorm = 63, R16Unorm = 64, R16Snorm = 65, RG8Unorm = 66, RG8Snorm = 67, RG16Unorm = 68, RG16Snorm = 69, RGBA8Unorm = 70, RGBA8Unorm_sRGB = 71, RGBA8Snorm = 72, RGBA16Unorm = 73, RGBA16Snorm = 74, RGB10A2Unorm = 75, RG11B10Float = 76, RGB9E5Float = 77, RenderPipeline = 78, ComputePipeline = 79, IndirectCommandBuffer = 80, Long = 81, Long2 = 82, Long3 = 83, Long4 = 84, ULong = 85, ULong2 = 86, ULong3 = 87, ULong4 = 88, VisibleFunctionTable = 115, IntersectionFunctionTable = 116, PrimitiveAccelerationStructure = 117, InstanceAccelerationStructure = 118, }
Related Procedures With Parameters
Related Procedures With Returns
- ArgumentDescriptor_dataType
- Argument_bufferDataType
- Argument_textureDataType
- ArrayType_elementType
- Attribute_attributeType
- BufferBinding_bufferDataType
- FunctionConstant_type
- PointerType_elementType
- StructMember_dataType
- TextureBinding_textureDataType
- TextureReferenceType_textureDataType
- Type_dataType
- VertexAttribute_attributeType
DepthClipMode ¶
DepthClipMode :: enum NS.UInteger { Clip = 0, Clamp = 1, }
DepthStencilDescriptor ¶
DepthStencilDescriptor :: struct { using _: NS.Copying($T=DepthStencilDescriptor), }DepthStencilDescriptor :: struct { using _: NS.Copying($T=DepthStencilDescriptor), } // Objective-C class MTLDepthStencilDescriptor // Inherits NS.Copying → NS.Object // 12 methods
External examples metal/learn_metal/06-lighting · metal/learn_metal/07-texturing · metal/learn_metal/08-compute +1
Bound Objective-C Methods
- alloc () -> ^DepthStencilDescriptor class method owned
- backFaceStencil () -> ^StencilDescriptor
- depthCompareFunction () -> CompareFunction
- frontFaceStencil () -> ^StencilDescriptor
- init () -> ^DepthStencilDescriptor
- isDepthWriteEnabled () -> bool
- label () -> ^NS.String
- setBackFaceStencil (backFaceStencil)
- setDepthCompareFunction(depthCompareFunction)
- setDepthWriteEnabled (depthWriteEnabled)
- setFrontFaceStencil (frontFaceStencil)
- setLabel (label)
Methods Inherited From NS.Object
- autorelease ()
- class () -> ^intrinsics.objc_class
- copy () -> ^T
- debugDescription () -> ^NS.String
- description () -> ^NS.String
- hash () -> NS.UInteger
- isEqual (pObject) -> bool
- performSelectorOnMainThread(aSelector, arg, wait)
- release ()
- retain ()
- retainCount () -> NS.UInteger
DepthStencilState ¶
DepthStencilState :: struct { using _: NS.Object, }DepthStencilState :: struct { using _: NS.Object, } // Objective-C class MTLDepthStencilState // Inherits NS.Object // 2 methods
External examples metal/learn_metal/06-lighting · metal/learn_metal/07-texturing · metal/learn_metal/08-compute +1
Bound Objective-C Methods
Methods Inherited From NS.Object
- autorelease ()
- class () -> ^intrinsics.objc_class
- copy () -> ^T
- debugDescription () -> ^NS.String
- description () -> ^NS.String
- hash () -> NS.UInteger
- init () -> ^T
- isEqual (pObject) -> bool
- performSelectorOnMainThread(aSelector, arg, wait)
- release ()
- retain ()
- retainCount () -> NS.UInteger
Device ¶
Device :: struct { using _: NS.Object, }Device :: struct { using _: NS.Object, } // Objective-C class MTLDevice // Inherits NS.Object // 108 methods
External examples metal/learn_metal/01-primitive · metal/learn_metal/02-argbuffers · metal/learn_metal/02-argbuffers-no-sdl +8
Bound Objective-C Methods
- accelerationStructureSizesWithDescriptor (descriptor) -> AccelerationStructureSizes
- areBarycentricCoordsSupported () -> bool
- areProgrammableSamplePositionsSupported () -> bool
- areRasterOrderGroupsSupported () -> bool
- argumentBuffersSupport () -> ArgumentBuffersTier
- convertSparsePixelRegions (pixelRegions, tileRegions, tileSize, mode, numRegions)
- convertSparseTileRegions (tileRegions, pixelRegions, tileSize, numRegions)
- counterSets () -> ^NS.Array
- currentAllocatedSize () -> NS.UInteger
- getDefaultSamplePositions (positions)
- hasUnifiedMemory () -> bool
- heapBufferSizeAndAlignWithLength (length, options) -> (size, align: NS.UInteger)
- heapTextureSizeAndAlignWithDescriptor (desc) -> (size, align: NS.UInteger)
- isDepth24Stencil8PixelFormatSupported () -> bool
- isHeadless () -> bool
- isLowPower () -> bool
- isRemovable () -> bool
- location () -> DeviceLocation
- locationNumber () -> NS.UInteger
- maxArgumentBufferSamplerCount () -> NS.UInteger
- maxBufferLength () -> NS.UInteger
- maxThreadgroupMemoryLength () -> NS.UInteger
- maxThreadsPerThreadgroup () -> Size
- maxTransferRate () -> u64
- minimumLinearTextureAlignmentForPixelFormat (format) -> NS.UInteger
- minimumTextureBufferAlignmentForPixelFormat (format) -> NS.UInteger
- name () -> ^NS.String
- newAccelerationStructureWithDescriptor (descriptor) -> ^AccelerationStructure owned
- newAccelerationStructureWithSize (size) -> ^AccelerationStructure owned
- newArgumentEncoderWithArguments (arguments) -> ^ArgumentEncoder owned
- newBinaryArchive (descriptor) -> (res: ^BinaryArchive, error: ^NS.Error)
- newBuffer (…) owned overloaded
- newBufferWithBytes (bytes, options) -> ^Buffer owned
- newBufferWithBytesNoCopy (bytes, options, deallocator) -> ^Buffer owned
- newBufferWithLength (length, options) -> ^Buffer owned
- newBufferWithSlice (slice, options) -> ^Buffer owned
- newBufferWithSliceNoCopy (slice, options, deallocator) -> ^Buffer owned
- newCommandQueue () -> ^CommandQueue owned
- newCommandQueueWithMaxCommandBufferCount (maxCommandBufferCount) -> ^CommandQueue owned
- newComputePipelineState (…) owned overloaded
- newComputePipelineStateWithDescriptorWithCompletionHandler (descriptor, options, completionHandler) -> ^ComputePipelineState owned
- newComputePipelineStateWithDescriptorWithReflection (descriptor, options, reflection) -> (res: ^ComputePipelineState, error: ^NS.Error)
- newComputePipelineStateWithFunction (computeFunction) -> (res: ^ComputePipelineState, error: ^NS.Error)
- newComputePipelineStateWithFunctionWithCompletionHandler (computeFunction, completionHandler) -> ^ComputePipelineState owned
- newComputePipelineStateWithFunctionWithOptionsAndCompletionHandler (computeFunction, options, completionHandler) -> (res: ^ComputePipelineState) owned
- newComputePipelineStateWithFunctionWithReflection (computeFunction, options, reflection) -> (res: ^ComputePipelineState, error: ^NS.Error)
- newCounterSampleBuffer (descriptor) -> (counter: ^Counter, error: ^NS.Error)
- newDefaultLibrary () -> ^Library owned
- newDefaultLibraryWithBundle (bundle) -> (library: ^Library, error: ^NS.Error)
- newDepthStencilState (descriptor) -> ^DepthStencilState owned
- newDynamicLibrary (library) -> (dyn_library: ^DynamicLibrary, error: ^NS.Error)
- newDynamicLibraryWithURL (url) -> (dyn_library: ^DynamicLibrary, error: ^NS.Error)
- newEvent () -> ^Event owned
- newFence () -> ^Fence owned
- newHeap (descriptor) -> ^Heap owned
- newIOCommandQueue (descriptor) -> (handle: ^IOCommandQueue, err: ^NS.Error)
- newIOHandle (url) -> (handle: ^IOFileHandle, err: ^NS.Error)
- newIOHandleWithCompressionMethod (url, compressionMethod) -> (handle: ^IOFileHandle, err: ^NS.Error)
- newIndirectCommandBuffer (descriptor, maxCount, options) -> ^IndirectCommandBuffer owned
- newLibrary (…) overloaded
- newLibraryWithData (data) -> (library: ^Library, error: ^NS.Error)
- newLibraryWithFile (filepath) -> (library: ^Library, error: ^NS.Error)
- newLibraryWithSource (source, options) -> (library: ^Library, error: ^NS.Error)
- newLibraryWithSourceWithCompletionHandler (source, options, completionHandler) -> ^Library owned
- newLibraryWithURL (url) -> (library: ^Library, error: ^NS.Error)
- newRasterizationRateMap (descriptor) -> ^RasterizationRateMap owned
- newRenderPipelineState (…) owned overloaded
- newRenderPipelineStateWithDescriptor (descriptor) -> (pipeline: ^RenderPipelineState, error: ^NS.Error)
- newRenderPipelineStateWithDescriptorWithCompletionHandler (descriptor, completionHandler) -> ^RenderPipelineState owned
- newRenderPipelineStateWithDescriptorWithOptionsAndCompletionHandler(descriptor, options, completionHandler) -> ^RenderPipelineState owned
- newRenderPipelineStateWithDescriptorWithReflection (descriptor, options, reflection) -> (pipeline: ^RenderPipelineState, error: ^NS.Error)
- newRenderPipelineStateWithMeshDescriptor (descriptor, options, reflection) -> (state: ^RenderPipelineState, error: ^NS.Error)
- newRenderPipelineStateWithMeshDescriptorAndCompletionHandler (descriptor, options, completionHandler)
- newRenderPipelineStateWithTileDescriptorWithCompletionHandler (descriptor, options, completionHandler) -> ^RenderPipelineState owned
- newRenderPipelineStateWithTileDescriptorWithReflection (descriptor, options, reflection) -> (pipeline: ^RenderPipelineState, error: ^NS.Error)
- newSamplerState (descriptor) -> ^SamplerState owned
- newSharedEvent () -> ^SharedEvent owned
- newSharedEventWithHandle (sharedEventHandle) -> ^SharedEvent owned
- newSharedTexture (…) owned overloaded
- newSharedTextureWithDescriptor (descriptor) -> ^SharedEvent owned
- newSharedTextureWithHandle (sharedHandle) -> ^SharedEvent owned
- newTexture (…) owned overloaded
- newTextureWithDescriptor (desc) -> ^Texture owned
- newTextureWithIOSurface (descriptor, iosurface, plane) -> ^Texture owned
- peerCount () -> u32
- peerGroupID () -> u64
- peerIndex () -> u32
- readWriteTextureSupport () -> ReadWriteTextureTier
- recommendedMaxWorkingSetSize () -> u64
- registryID () -> u64
- sampleTimestamps (cpuTimestamp, gpuTimestamp)
- sparseTileSizeInBytes () -> NS.UInteger
- sparseTileSizeWithTextureType (textureType, pixelFormat, sampleCount) -> Size
- supports32BitFloatFiltering () -> bool
- supports32BitMSAA () -> bool
- supportsBCTextureCompression () -> bool
- supportsCounterSampling (samplingPoint) -> bool
- supportsDynamicLibraries () -> bool
- supportsFamily (gpuFamily) -> bool
- supportsFeatureSet (featureSet) -> bool
- supportsFunctionPointers () -> bool
- supportsPullModelInterpolation () -> bool
- supportsQueryTextureLOD () -> bool
- supportsRasterizationRateMapWithLayerCount (layerCount) -> bool
- supportsRaytracing () -> bool
- supportsShaderBarycentricCoordinates () -> bool
- supportsTextureSampleCount (sampleCount) -> bool
- supportsVertexAmplificationCount (count) -> bool
Methods Inherited From NS.Object
- autorelease ()
- class () -> ^intrinsics.objc_class
- copy () -> ^T
- debugDescription () -> ^NS.String
- description () -> ^NS.String
- hash () -> NS.UInteger
- init () -> ^T
- isEqual (pObject) -> bool
- performSelectorOnMainThread(aSelector, arg, wait)
- release ()
- retain ()
- retainCount () -> NS.UInteger
DeviceLocation ¶
DeviceLocation :: enum NS.UInteger { BuiltIn = 0, Slot = 1, External = 2, Unspecified = NS.UIntegerMax, }
DeviceNotificationHandler ¶
DeviceNotificationHandler :: ^NS.Block
Related Procedures With Parameters
- CopyAllDevicesWithObserver
- Device_newComputePipelineStateWithDescriptorWithCompletionHandler
- Device_newComputePipelineStateWithFunctionWithCompletionHandler
- Device_newComputePipelineStateWithFunctionWithOptionsAndCompletionHandler
- Device_newLibraryWithSourceWithCompletionHandler
- Device_newRenderPipelineStateWithDescriptorWithCompletionHandler
- Device_newRenderPipelineStateWithDescriptorWithOptionsAndCompletionHandler
- Device_newRenderPipelineStateWithMeshDescriptorAndCompletionHandler
- Device_newRenderPipelineStateWithTileDescriptorWithCompletionHandler
- Drawable_addPresentedHandler
- IOCommandBuffer_addCompletedHandler
- Library_newFunctionWithCompletionHandler
- Library_newFunctionWithConstantValuesAndCompletionHandler
- Library_newIntersectionFunctionWithCompletionHandler
- SharedEvent_notifyListener
- Device_newComputePipelineState (procedure groups)
- Device_newLibrary (procedure groups)
- Device_newRenderPipelineState (procedure groups)
- Library_newFunction (procedure groups)
DeviceNotificationName ¶
DeviceNotificationName :: ^NS.String
Related Procedures With Parameters
- ArgumentEncoder_setLabel
- BinaryArchive_setLabel
- Buffer_addDebugMarker
- CaptureScope_setLabel
- CommandBuffer_pushDebugGroup
- CommandBuffer_setLabel
- CommandEncoder_insertDebugSignpost
- CommandEncoder_pushDebugGroup
- CommandEncoder_setLabel
- CommandQueue_setLabel
- CompileOptions_setInstallName
- ComputePipelineDescriptor_setLabel
- CounterSampleBufferDescriptor_setLabel
- DepthStencilDescriptor_setLabel
- Device_newLibraryWithFile
- Device_newLibraryWithSource
- Device_newLibraryWithSourceWithCompletionHandler
- DynamicLibrary_setLabel
- Event_setLabel
- Fence_setLabel
- FunctionConstantValues_setConstantValueWithName
- FunctionDescriptor_setName
- FunctionDescriptor_setSpecializedName
- Function_setLabel
- Heap_setLabel
- IOCommandBuffer_pushDebugGroup
- IOCommandBuffer_setLabel
- IOCommandQueue_setLabel
- IOFileHandle_setLabel
- Library_newFunctionWithConstantValues
- Library_newFunctionWithConstantValuesAndCompletionHandler
- Library_newFunctionWithName
- Library_setLabel
- RasterizationRateMapDescriptor_setLabel
- RenderPipelineDescriptor_setLabel
- Resource_setLabel
- SamplerDescriptor_setLabel
- StructType_memberByName
- TileRenderPipelineDescriptor_setLabel
- Device_newLibrary (procedure groups)
- Library_newFunction (procedure groups)
Related Procedures With Returns
- ArgumentEncoder_label
- Argument_name
- Attribute_name
- BinaryArchive_label
- Binding_name
- CaptureScope_label
- CommandBufferEncoderInfo_label
- CommandBuffer_label
- CommandEncoder_label
- CommandQueue_label
- CompileOptions_installName
- ComputePipelineDescriptor_label
- ComputePipelineState_label
- CounterSampleBufferDescriptor_label
- CounterSampleBuffer_label
- CounterSet_name
- Counter_name
- DepthStencilDescriptor_label
- DepthStencilState_label
- Device_name
- DynamicLibrary_installName
- DynamicLibrary_label
- Event_label
- Fence_label
- FunctionConstant_name
- FunctionDescriptor_name
- FunctionDescriptor_specializedName
- FunctionHandle_name
- FunctionLogDebugLocation_functionName
- FunctionLog_encoderLabel
- Function_label
- Function_name
- Heap_label
- IOCommandBuffer_label
- IOCommandQueue_label
- IOFileHandle_label
- Library_installName
- Library_label
- MeshRenderPipelineDescriptor_label
- RasterizationRateMapDescriptor_label
- RasterizationRateMap_label
- RenderPipelineDescriptor_label
- RenderPipelineState_label
- Resource_label
- SamplerDescriptor_label
- SamplerState_label
- SharedEventHandle_label
- SharedTextureHandle_label
- StructMember_name
- TileRenderPipelineDescriptor_label
- VertexAttribute_name
DispatchThreadgroupsIndirectArguments ¶
DispatchThreadgroupsIndirectArguments :: struct { threadgroupsPerGrid: [3]u32, }
DispatchType ¶
DispatchType :: enum NS.UInteger { Serial = 0, Concurrent = 1, }
Related Procedures With Parameters
Related Procedures With Returns
Drawable ¶
Drawable :: struct { using _: NS.Object, }Drawable :: struct { using _: NS.Object, } // Objective-C class MTLDrawable // Inherits NS.Object // 6 methods
Bound Objective-C Methods
- addPresentedHandler (block)
- drawableID () -> NS.UInteger
- present ()
- presentAfterMinimumDuration(duration)
- presentAtTime (presentationTime)
- presentedTime () -> NS.TimeInterval
Methods Inherited From NS.Object
- autorelease ()
- class () -> ^intrinsics.objc_class
- copy () -> ^T
- debugDescription () -> ^NS.String
- description () -> ^NS.String
- hash () -> NS.UInteger
- init () -> ^T
- isEqual (pObject) -> bool
- performSelectorOnMainThread(aSelector, arg, wait)
- release ()
- retain ()
- retainCount () -> NS.UInteger
DrawablePresentedHandler ¶
DrawablePresentedHandler :: ^NS.Block
Related Procedures With Parameters
- CopyAllDevicesWithObserver
- Device_newComputePipelineStateWithDescriptorWithCompletionHandler
- Device_newComputePipelineStateWithFunctionWithCompletionHandler
- Device_newComputePipelineStateWithFunctionWithOptionsAndCompletionHandler
- Device_newLibraryWithSourceWithCompletionHandler
- Device_newRenderPipelineStateWithDescriptorWithCompletionHandler
- Device_newRenderPipelineStateWithDescriptorWithOptionsAndCompletionHandler
- Device_newRenderPipelineStateWithMeshDescriptorAndCompletionHandler
- Device_newRenderPipelineStateWithTileDescriptorWithCompletionHandler
- Drawable_addPresentedHandler
- IOCommandBuffer_addCompletedHandler
- Library_newFunctionWithCompletionHandler
- Library_newFunctionWithConstantValuesAndCompletionHandler
- Library_newIntersectionFunctionWithCompletionHandler
- SharedEvent_notifyListener
- Device_newComputePipelineState (procedure groups)
- Device_newLibrary (procedure groups)
- Device_newRenderPipelineState (procedure groups)
- Library_newFunction (procedure groups)
DynamicLibrary ¶
DynamicLibrary :: struct { using _: NS.Object, }DynamicLibrary :: struct { using _: NS.Object, } // Objective-C class MTLDynamicLibrary // Inherits NS.Object // 5 methods
Bound Objective-C Methods
- device () -> ^Device
- installName () -> ^NS.String
- label () -> ^NS.String
- serializeToURL(url) -> (ok: bool, error: ^NS.Error)
- setLabel (label)
Methods Inherited From NS.Object
- autorelease ()
- class () -> ^intrinsics.objc_class
- copy () -> ^T
- debugDescription () -> ^NS.String
- description () -> ^NS.String
- hash () -> NS.UInteger
- init () -> ^T
- isEqual (pObject) -> bool
- performSelectorOnMainThread(aSelector, arg, wait)
- release ()
- retain ()
- retainCount () -> NS.UInteger
DynamicLibraryError ¶
DynamicLibraryError :: enum NS.UInteger { None = 0, InvalidFile = 1, CompilationFailure = 2, UnresolvedInstallName = 3, DependencyLoadFailure = 4, Unsupported = 5, }
ErrorDomain ¶
ErrorDomain :: ^^NS.String
ErrorUserInfoKey ¶
ErrorUserInfoKey :: ^^NS.String
Event ¶
Event :: struct { using _: NS.Object, }Event :: struct { using _: NS.Object, } // Objective-C class MTLEvent // Inherits NS.Object // 3 methods
Bound Objective-C Methods
Methods Inherited From NS.Object
- autorelease ()
- class () -> ^intrinsics.objc_class
- copy () -> ^T
- debugDescription () -> ^NS.String
- description () -> ^NS.String
- hash () -> NS.UInteger
- init () -> ^T
- isEqual (pObject) -> bool
- performSelectorOnMainThread(aSelector, arg, wait)
- release ()
- retain ()
- retainCount () -> NS.UInteger
FeatureSet ¶
FeatureSet :: enum NS.UInteger { iOS_GPUFamily1_v1 = 0, iOS_GPUFamily2_v1 = 1, iOS_GPUFamily1_v2 = 2, iOS_GPUFamily2_v2 = 3, iOS_GPUFamily3_v1 = 4, iOS_GPUFamily1_v3 = 5, iOS_GPUFamily2_v3 = 6, iOS_GPUFamily3_v2 = 7, iOS_GPUFamily1_v4 = 8, iOS_GPUFamily2_v4 = 9, iOS_GPUFamily3_v3 = 10, iOS_GPUFamily4_v1 = 11, iOS_GPUFamily1_v5 = 12, iOS_GPUFamily2_v5 = 13, iOS_GPUFamily3_v4 = 14, iOS_GPUFamily4_v2 = 15, iOS_GPUFamily5_v1 = 16, macOS_GPUFamily1_v1 = 10000, OSX_GPUFamily1_v1 = 10000, macOS_GPUFamily1_v2 = 10001, OSX_GPUFamily1_v2 = 10001, OSX_ReadWriteTextureTier2 = 10002, macOS_ReadWriteTextureTier2 = 10002, macOS_GPUFamily1_v3 = 10003, macOS_GPUFamily1_v4 = 10004, macOS_GPUFamily2_v1 = 10005, watchOS_GPUFamily1_v1 = 20000, WatchOS_GPUFamily1_v1 = 20000, watchOS_GPUFamily2_v1 = 20001, WatchOS_GPUFamily2_v1 = 20001, tvOS_GPUFamily1_v1 = 30000, TVOS_GPUFamily1_v1 = 30000, tvOS_GPUFamily1_v2 = 30001, tvOS_GPUFamily1_v3 = 30002, tvOS_GPUFamily2_v1 = 30003, tvOS_GPUFamily1_v4 = 30004, tvOS_GPUFamily2_v2 = 30005, }
Fence ¶
Fence :: struct { using _: NS.Object, }Fence :: struct { using _: NS.Object, } // Objective-C class MTLFence // Inherits NS.Object // 3 methods
Bound Objective-C Methods
Methods Inherited From NS.Object
- autorelease ()
- class () -> ^intrinsics.objc_class
- copy () -> ^T
- debugDescription () -> ^NS.String
- description () -> ^NS.String
- hash () -> NS.UInteger
- init () -> ^T
- isEqual (pObject) -> bool
- performSelectorOnMainThread(aSelector, arg, wait)
- release ()
- retain ()
- retainCount () -> NS.UInteger
Function ¶
Function :: struct { using _: NS.Object, }Function :: struct { using _: NS.Object, } // Objective-C class MTLFunction // Inherits NS.Object // 13 methods
Bound Objective-C Methods
- device () -> ^Device
- functionConstantsDictionary () -> ^NS.Dictionary
- functionType () -> FunctionType
- label () -> ^NS.String
- name () -> ^NS.String
- newArgumentEncoder (bufferIndex) -> ^ArgumentEncoder owned
- newArgumentEncoderWithReflection(bufferIndex, reflection) -> ^ArgumentEncoder owned
- options () -> FunctionOptions
- patchControlPointCount () -> NS.UInteger
- patchType () -> PatchType
- setLabel (label)
- stageInputAttributes () -> ^NS.Array
- vertexAttributes () -> ^NS.Array
Methods Inherited From NS.Object
- autorelease ()
- class () -> ^intrinsics.objc_class
- copy () -> ^T
- debugDescription () -> ^NS.String
- description () -> ^NS.String
- hash () -> NS.UInteger
- init () -> ^T
- isEqual (pObject) -> bool
- performSelectorOnMainThread(aSelector, arg, wait)
- release ()
- retain ()
- retainCount () -> NS.UInteger
FunctionConstant ¶
FunctionConstant :: struct { using _: NS.Copying($T=FunctionConstant), }FunctionConstant :: struct { using _: NS.Copying($T=FunctionConstant), } // Objective-C class MTLFunctionConstant // Inherits NS.Copying → NS.Object // 6 methods
Bound Objective-C Methods
- alloc () -> ^FunctionConstant class method owned
- index () -> NS.UInteger
- init () -> ^FunctionConstant
- name () -> ^NS.String
- required() -> bool
- type () -> DataType
Methods Inherited From NS.Object
- autorelease ()
- class () -> ^intrinsics.objc_class
- copy () -> ^T
- debugDescription () -> ^NS.String
- description () -> ^NS.String
- hash () -> NS.UInteger
- isEqual (pObject) -> bool
- performSelectorOnMainThread(aSelector, arg, wait)
- release ()
- retain ()
- retainCount () -> NS.UInteger
FunctionConstantValues ¶
FunctionConstantValues :: struct { using _: NS.Copying($T=FunctionConstantValues), }FunctionConstantValues :: struct { using _: NS.Copying($T=FunctionConstantValues), } // Objective-C class MTLFunctionConstantValues // Inherits NS.Copying → NS.Object // 6 methods
Bound Objective-C Methods
- alloc () -> ^FunctionConstantValues class method owned
- init () -> ^FunctionConstantValues
- reset ()
- setConstantValue (value, type, index)
- setConstantValueWithName(value, type, name)
- setConstantValues (values, type, range)
Methods Inherited From NS.Object
- autorelease ()
- class () -> ^intrinsics.objc_class
- copy () -> ^T
- debugDescription () -> ^NS.String
- description () -> ^NS.String
- hash () -> NS.UInteger
- isEqual (pObject) -> bool
- performSelectorOnMainThread(aSelector, arg, wait)
- release ()
- retain ()
- retainCount () -> NS.UInteger
FunctionDescriptor ¶
FunctionDescriptor :: struct { using _: NS.Copying($T=FunctionDescriptor), }FunctionDescriptor :: struct { using _: NS.Copying($T=FunctionDescriptor), } // Objective-C class MTLFunctionDescriptor // Inherits NS.Copying → NS.Object // 11 methods
Bound Objective-C Methods
- alloc () -> ^FunctionDescriptor class method owned
- constantValues () -> ^FunctionConstantValues
- functionDescriptor() -> ^FunctionDescriptor class method
- init () -> ^FunctionDescriptor
- name () -> ^NS.String
- options () -> FunctionOptions
- setConstantValues (constantValues)
- setName (name)
- setOptions (options)
- setSpecializedName(specializedName)
- specializedName () -> ^NS.String
Methods Inherited From NS.Object
- autorelease ()
- class () -> ^intrinsics.objc_class
- copy () -> ^T
- debugDescription () -> ^NS.String
- description () -> ^NS.String
- hash () -> NS.UInteger
- isEqual (pObject) -> bool
- performSelectorOnMainThread(aSelector, arg, wait)
- release ()
- retain ()
- retainCount () -> NS.UInteger
FunctionHandle ¶
FunctionHandle :: struct { using _: NS.Object, }FunctionHandle :: struct { using _: NS.Object, } // Objective-C class MTLFunctionHandle // Inherits NS.Object // 3 methods
Bound Objective-C Methods
- device () -> ^Device
- functionType() -> FunctionType
- name () -> ^NS.String
Methods Inherited From NS.Object
- autorelease ()
- class () -> ^intrinsics.objc_class
- copy () -> ^T
- debugDescription () -> ^NS.String
- description () -> ^NS.String
- hash () -> NS.UInteger
- init () -> ^T
- isEqual (pObject) -> bool
- performSelectorOnMainThread(aSelector, arg, wait)
- release ()
- retain ()
- retainCount () -> NS.UInteger
FunctionLog ¶
FunctionLog :: struct { using _: NS.Object, }FunctionLog :: struct { using _: NS.Object, } // Objective-C class MTLFunctionLog // Inherits NS.Object // 4 methods
Bound Objective-C Methods
- debugLocation() -> ^FunctionLog
- encoderLabel () -> ^NS.String
- function () -> ^FunctionLog
- type () -> FunctionLogType
Methods Inherited From NS.Object
- autorelease ()
- class () -> ^intrinsics.objc_class
- copy () -> ^T
- debugDescription () -> ^NS.String
- description () -> ^NS.String
- hash () -> NS.UInteger
- init () -> ^T
- isEqual (pObject) -> bool
- performSelectorOnMainThread(aSelector, arg, wait)
- release ()
- retain ()
- retainCount () -> NS.UInteger
FunctionLogDebugLocation ¶
FunctionLogDebugLocation :: struct { using _: NS.Object, }FunctionLogDebugLocation :: struct { using _: NS.Object, } // Objective-C class MTLFunctionLogDebugLocation // Inherits NS.Object // 4 methods
Bound Objective-C Methods
Methods Inherited From NS.Object
- autorelease ()
- class () -> ^intrinsics.objc_class
- copy () -> ^T
- debugDescription () -> ^NS.String
- description () -> ^NS.String
- hash () -> NS.UInteger
- init () -> ^T
- isEqual (pObject) -> bool
- performSelectorOnMainThread(aSelector, arg, wait)
- release ()
- retain ()
- retainCount () -> NS.UInteger
FunctionLogType ¶
FunctionLogType :: enum NS.UInteger { Validation = 0, }
Related Procedures With Returns
FunctionOption ¶
FunctionOption :: enum NS.UInteger { CompileToBinary = 0, }
FunctionOptions ¶
FunctionOptions :: distinct bit_set[FunctionOption; NS.UInteger]
Related Procedures With Returns
FunctionType ¶
FunctionType :: enum NS.UInteger { Vertex = 1, Fragment = 2, Kernel = 3, Visible = 5, Intersection = 6, Mesh = 7, Object = 8, }
Related Procedures With Returns
GPUFamily ¶
GPUFamily :: enum NS.Integer { Apple1 = 1001, Apple2 = 1002, Apple3 = 1003, Apple4 = 1004, Apple5 = 1005, Apple6 = 1006, Apple7 = 1007, Apple8 = 1008, Mac1 = 2001, Mac2 = 2002, Common1 = 3001, Common2 = 3002, Common3 = 3003, MacCatalyst1 = 4001, MacCatalyst2 = 4002, Metal3 = 5001, }
HazardTrackingMode ¶
HazardTrackingMode :: enum NS.UInteger { Default = 0, Untracked = 1, Tracked = 2, }
Related Procedures With Parameters
Related Procedures With Returns
Heap ¶
Heap :: struct { using _: NS.Object, }Heap :: struct { using _: NS.Object, } // Objective-C class MTLHeap // Inherits NS.Object // 24 methods
Bound Objective-C Methods
- cpuCacheMode () -> CPUCacheMode
- currentAllocatedSize () -> NS.UInteger
- device () -> ^Device
- hazardTrackingMode () -> HazardTrackingMode
- label () -> ^NS.String
- maxAvailableSizeWithAlignment (alignment) -> NS.UInteger
- newAccelerationStructure (…) owned overloaded
- newAccelerationStructureWithDescriptor (descriptor) -> ^AccelerationStructure owned
- newAccelerationStructureWithDescriptorAndOffset(descriptor, offset) -> ^AccelerationStructure owned
- newAccelerationStructureWithSize (size) -> ^AccelerationStructure owned
- newAccelerationStructureWithSizeAndOffset (size, offset) -> ^AccelerationStructure owned
- newBuffer (…) owned overloaded
- newBufferWithLength (length, options) -> ^Buffer owned
- newBufferWithOptions (length, options, offset) -> ^Buffer owned
- newTexture (…) owned overloaded
- newTextureWithDescriptor (desc) -> ^Texture owned
- newTextureWithDescriptorAndOffset (descriptor, offset) -> ^Texture owned
- resourceOptions () -> ResourceOptions
- setLabel (label)
- setPurgeableState (state) -> PurgeableState
- size () -> NS.UInteger
- storageMode () -> StorageMode
- type () -> FunctionLogType
- usedSize () -> NS.UInteger
Methods Inherited From NS.Object
- autorelease ()
- class () -> ^intrinsics.objc_class
- copy () -> ^T
- debugDescription () -> ^NS.String
- description () -> ^NS.String
- hash () -> NS.UInteger
- init () -> ^T
- isEqual (pObject) -> bool
- performSelectorOnMainThread(aSelector, arg, wait)
- release ()
- retain ()
- retainCount () -> NS.UInteger
HeapDescriptor ¶
HeapDescriptor :: struct { using _: NS.Copying($T=HeapDescriptor), }HeapDescriptor :: struct { using _: NS.Copying($T=HeapDescriptor), } // Objective-C class MTLHeapDescriptor // Inherits NS.Copying → NS.Object // 16 methods
Bound Objective-C Methods
- alloc () -> ^HeapDescriptor class method owned
- cpuCacheMode () -> CPUCacheMode
- hazardTrackingMode () -> HazardTrackingMode
- init () -> ^HeapDescriptor
- resourceOptions () -> ResourceOptions
- setCpuCacheMode (cpuCacheMode)
- setHazardTrackingMode(hazardTrackingMode)
- setResourceOptions (resourceOptions)
- setSize (size)
- setSparsePageSize (sparsePageSize)
- setStorageMode (storageMode)
- setType (type)
- size () -> NS.UInteger
- sparsePageSize () -> SparsePageSize
- storageMode () -> StorageMode
- type () -> HeapType
Methods Inherited From NS.Object
- autorelease ()
- class () -> ^intrinsics.objc_class
- copy () -> ^T
- debugDescription () -> ^NS.String
- description () -> ^NS.String
- hash () -> NS.UInteger
- isEqual (pObject) -> bool
- performSelectorOnMainThread(aSelector, arg, wait)
- release ()
- retain ()
- retainCount () -> NS.UInteger
HeapType ¶
HeapType :: enum NS.Integer { Automatic = 0, Placement = 1, Sparse = 2, }
IOCommandBuffer ¶
IOCommandBuffer :: struct { using _: NS.Object, }IOCommandBuffer :: struct { using _: NS.Object, } // Objective-C class MTLIOCommandBuffer // Inherits NS.Object // 18 methods
Bound Objective-C Methods
- addBarrier ()
- addCompletedHandler(block)
- commit ()
- copyStatusToBuffer (buffer, offset)
- enqueue ()
- error () -> ^NS.Error
- label () -> ^NS.String
- loadBuffer (buffer, offset, size, sourceHandle, sourceHandleOffset)
- loadBytes (pointer, size, sourceHandle, sourceHandleOffset)
- loadTexture (texture, slice, level, size, sourceBytesPerRow, sourceBytesPerImage, destinationOrigin, sourceHandle, sourceHandleOffset)
- popDebugGroup ()
- pushDebugGroup (name)
- setLabel (label)
- signalEvent (event, value)
- status () -> IOStatus
- tryCancel ()
- waitForEvent (event, value)
- waitUntilCompleted ()
Methods Inherited From NS.Object
- autorelease ()
- class () -> ^intrinsics.objc_class
- copy () -> ^T
- debugDescription () -> ^NS.String
- description () -> ^NS.String
- hash () -> NS.UInteger
- init () -> ^T
- isEqual (pObject) -> bool
- performSelectorOnMainThread(aSelector, arg, wait)
- release ()
- retain ()
- retainCount () -> NS.UInteger
IOCommandQueue ¶
IOCommandQueue :: struct { using _: NS.Object, }IOCommandQueue :: struct { using _: NS.Object, } // Objective-C class MTLIOCommandQueue // Inherits NS.Object // 5 methods
Bound Objective-C Methods
- commandBuffer () -> ^IOCommandBuffer
- commandBufferWithUnretainedReferences() -> ^IOCommandBuffer
- enqueueBarrier ()
- label () -> ^NS.String
- setLabel (label)
Methods Inherited From NS.Object
- autorelease ()
- class () -> ^intrinsics.objc_class
- copy () -> ^T
- debugDescription () -> ^NS.String
- description () -> ^NS.String
- hash () -> NS.UInteger
- init () -> ^T
- isEqual (pObject) -> bool
- performSelectorOnMainThread(aSelector, arg, wait)
- release ()
- retain ()
- retainCount () -> NS.UInteger
IOCommandQueueDescriptor ¶
IOCommandQueueDescriptor :: struct { using _: NS.Copying($T=IOCommandQueueDescriptor), }IOCommandQueueDescriptor :: struct { using _: NS.Copying($T=IOCommandQueueDescriptor), } // Objective-C class MTLIOCommandQueueDescriptor // Inherits NS.Copying → NS.Object // 3 methods
Bound Objective-C Methods
- alloc () -> ^IOCommandQueueDescriptor class method owned
- init () -> ^IOCommandQueueDescriptor
- maxCommandBufferCount() -> NS.UInteger
Methods Inherited From NS.Object
- autorelease ()
- class () -> ^intrinsics.objc_class
- copy () -> ^T
- debugDescription () -> ^NS.String
- description () -> ^NS.String
- hash () -> NS.UInteger
- isEqual (pObject) -> bool
- performSelectorOnMainThread(aSelector, arg, wait)
- release ()
- retain ()
- retainCount () -> NS.UInteger
IOCommandQueueType ¶
IOCommandQueueType :: enum NS.Integer { Concurrent = 0, Serial = 1, }
IOCompressionMethod ¶
IOCompressionMethod :: enum NS.Integer { Zlib = 0, LZFSE = 1, LZ4 = 2, LZMA = 3, LZBitmap = 4, }
Related Procedures With Parameters
IOCompressionStatus ¶
IOCompressionStatus :: enum NS.Integer { Complete = 0, Error = 1, }
IOFileHandle ¶
IOFileHandle :: struct { using _: NS.Object, }IOFileHandle :: struct { using _: NS.Object, } // Objective-C class MTLIOFileHandle // Inherits NS.Object // 2 methods
Bound Objective-C Methods
Methods Inherited From NS.Object
- autorelease ()
- class () -> ^intrinsics.objc_class
- copy () -> ^T
- debugDescription () -> ^NS.String
- description () -> ^NS.String
- hash () -> NS.UInteger
- init () -> ^T
- isEqual (pObject) -> bool
- performSelectorOnMainThread(aSelector, arg, wait)
- release ()
- retain ()
- retainCount () -> NS.UInteger
IOPriority ¶
IOPriority :: enum NS.Integer { High = 0, Normal = 1, Low = 2, }
IOScratchBuffer ¶
IOScratchBuffer :: struct { using _: NS.Object, }IOScratchBuffer :: struct { using _: NS.Object, } // Objective-C class MTLIOScratchBuffer // Inherits NS.Object // 1 method
Bound Objective-C Methods
Methods Inherited From NS.Object
- autorelease ()
- class () -> ^intrinsics.objc_class
- copy () -> ^T
- debugDescription () -> ^NS.String
- description () -> ^NS.String
- hash () -> NS.UInteger
- init () -> ^T
- isEqual (pObject) -> bool
- performSelectorOnMainThread(aSelector, arg, wait)
- release ()
- retain ()
- retainCount () -> NS.UInteger
IOScratchBufferAllocator ¶
IOScratchBufferAllocator :: struct { using _: NS.Object, }IOScratchBufferAllocator :: struct { using _: NS.Object, } // Objective-C class MTLIOScratchBufferAllocator // Inherits NS.Object // 1 method
Bound Objective-C Methods
- newScratchBuffer(minimumSize) -> ^IOScratchBuffer owned
Methods Inherited From NS.Object
- autorelease ()
- class () -> ^intrinsics.objc_class
- copy () -> ^T
- debugDescription () -> ^NS.String
- description () -> ^NS.String
- hash () -> NS.UInteger
- init () -> ^T
- isEqual (pObject) -> bool
- performSelectorOnMainThread(aSelector, arg, wait)
- release ()
- retain ()
- retainCount () -> NS.UInteger
IOStatus ¶
IOStatus :: enum NS.Integer { Pending = 0, Cancelled = 1, Error = 2, Complete = 3, }
IOSurfaceRef ¶
IOSurfaceRef :: distinct rawptr
Related Procedures With Parameters
- Device_newTextureWithIOSurface
- Device_newTexture (procedure groups)
IndexType ¶
IndexType :: enum NS.UInteger { UInt16 = 0, UInt32 = 1, }
Related Procedures With Parameters
- AccelerationStructureMotionTriangleGeometryDescriptor_setIndexType
- AccelerationStructureTriangleGeometryDescriptor_setIndexType
- IndirectRenderCommand_drawIndexedPrimitives
- RenderCommandEncoder_drawIndexPrimitivesWithBaseVertex
- RenderCommandEncoder_drawIndexPrimitivesWithIndirect
- RenderCommandEncoder_drawIndexedPrimitives
- RenderCommandEncoder_drawIndexedPrimitivesWithInstanceCount
- StageInputOutputDescriptor_setIndexType
IndirectCommandBuffer ¶
IndirectCommandBuffer :: struct { using _: Resource, }IndirectCommandBuffer :: struct { using _: Resource, } // Objective-C class MTLIndirectCommandBuffer // Inherits Resource → NS.Object // 7 methods
Bound Objective-C Methods
- gpuResourceID () -> ResourceID
- indirectComputeCommand(commandIndex) -> ^IndirectComputeCommand
- indirectRenderCommand (commandIndex) -> ^IndirectRenderCommand
- resetWithRange (range)
- setSupportRayTracing (supportRayTracing)
- size () -> NS.UInteger
- supportRayTracing () -> bool
Methods Inherited From Resource
- allocatedSize () -> NS.UInteger
- cpuCacheMode () -> CPUCacheMode
- device () -> ^Device
- hazardTrackingMode() -> HazardTrackingMode
- heap () -> ^Heap
- heapOffset () -> NS.UInteger
- isAliasable () -> bool
- label () -> ^NS.String
- makeAliasable ()
- resourceOptions () -> ResourceOptions
- setLabel (label)
- setPurgeableState (state) -> PurgeableState
- storageMode () -> StorageMode
Methods Inherited From NS.Object
- autorelease ()
- class () -> ^intrinsics.objc_class
- copy () -> ^T
- debugDescription () -> ^NS.String
- description () -> ^NS.String
- hash () -> NS.UInteger
- init () -> ^T
- isEqual (pObject) -> bool
- performSelectorOnMainThread(aSelector, arg, wait)
- release ()
- retain ()
- retainCount () -> NS.UInteger
IndirectCommandBufferDescriptor ¶
IndirectCommandBufferDescriptor :: struct { using _: NS.Copying($T=IndirectCommandBufferDescriptor), }IndirectCommandBufferDescriptor :: struct { using _: NS.Copying($T=IndirectCommandBufferDescriptor), } // Objective-C class MTLIndirectCommandBufferDescriptor // Inherits NS.Copying → NS.Object // 14 methods
Bound Objective-C Methods
- alloc () -> ^IndirectCommandBufferDescriptor class method owned
- commandTypes () -> IndirectCommandType
- inheritBuffers () -> bool
- inheritPipelineState () -> bool
- init () -> ^IndirectCommandBufferDescriptor
- maxFragmentBufferBindCount () -> NS.UInteger
- maxKernelBufferBindCount () -> NS.UInteger
- maxVertexBufferBindCount () -> NS.UInteger
- setCommandTypes (commandTypes)
- setInheritBuffers (inheritBuffers)
- setInheritPipelineState (inheritPipelineState)
- setMaxFragmentBufferBindCount(maxFragmentBufferBindCount)
- setMaxKernelBufferBindCount (maxKernelBufferBindCount)
- setMaxVertexBufferBindCount (maxVertexBufferBindCount)
Methods Inherited From NS.Object
- autorelease ()
- class () -> ^intrinsics.objc_class
- copy () -> ^T
- debugDescription () -> ^NS.String
- description () -> ^NS.String
- hash () -> NS.UInteger
- isEqual (pObject) -> bool
- performSelectorOnMainThread(aSelector, arg, wait)
- release ()
- retain ()
- retainCount () -> NS.UInteger
IndirectCommandType ¶
IndirectCommandType :: distinct bit_set[IndirectCommandTypeFlag; NS.UInteger]
IndirectCommandTypeFlag ¶
IndirectCommandTypeFlag :: enum NS.UInteger { Draw = 0, DrawIndexed = 1, DrawPatches = 2, DrawIndexedPatches = 3, ConcurrentDispatch = 5, ConcurrentDispatchThreads = 6, }
IndirectComputeCommand ¶
IndirectComputeCommand :: struct { using _: NS.Object, }IndirectComputeCommand :: struct { using _: NS.Object, } // Objective-C class MTLIndirectComputeCommand // Inherits NS.Object // 10 methods
Bound Objective-C Methods
- clearBarrier ()
- concurrentDispatchThreadgroups(threadgroupsPerGrid, threadsPerThreadgroup)
- concurrentDispatchThreads (threadsPerGrid, threadsPerThreadgroup)
- reset ()
- setBarrier ()
- setComputePipelineState (pipelineState)
- setImageblockWidth (width, height)
- setKernelBuffer (buffer, offset, index)
- setStageInRegion (region)
- setThreadgroupMemoryLength (length, index)
Methods Inherited From NS.Object
- autorelease ()
- class () -> ^intrinsics.objc_class
- copy () -> ^T
- debugDescription () -> ^NS.String
- description () -> ^NS.String
- hash () -> NS.UInteger
- init () -> ^T
- isEqual (pObject) -> bool
- performSelectorOnMainThread(aSelector, arg, wait)
- release ()
- retain ()
- retainCount () -> NS.UInteger
IndirectRenderCommand ¶
IndirectRenderCommand :: struct { using _: NS.Object, }IndirectRenderCommand :: struct { using _: NS.Object, } // Objective-C class MTLIndirectRenderCommand // Inherits NS.Object // 8 methods
Bound Objective-C Methods
- drawIndexedPatches (numberOfPatchControlPoints, patchStart, patchCount, patchIndexBuffer, patchIndexBufferOffset, controlPointIndexBuffer, controlPointIndexBufferOffset, instanceCount, baseInstance, buffer, offset, instanceStride)
- drawIndexedPrimitives (primitiveType, indexCount, indexType, indexBuffer, indexBufferOffset, instanceCount, baseVertex, baseInstance)
- drawPatches (numberOfPatchControlPoints, patchStart, patchCount, patchIndexBuffer, patchIndexBufferOffset, instanceCount, baseInstance, buffer, offset, instanceStride)
- drawPrimitives (primitiveType, vertexStart, vertexCount, instanceCount, baseInstance)
- reset ()
- setFragmentBuffer (buffer, offset, index)
- setRenderPipelineState(pipelineState)
- setVertexBuffer (buffer, offset, index)
Methods Inherited From NS.Object
- autorelease ()
- class () -> ^intrinsics.objc_class
- copy () -> ^T
- debugDescription () -> ^NS.String
- description () -> ^NS.String
- hash () -> NS.UInteger
- init () -> ^T
- isEqual (pObject) -> bool
- performSelectorOnMainThread(aSelector, arg, wait)
- release ()
- retain ()
- retainCount () -> NS.UInteger
InstanceAccelerationStructureDescriptor ¶
InstanceAccelerationStructureDescriptor :: struct { using _: NS.Copying($T=InstanceAccelerationStructureDescriptor), using _: AccelerationStructureDescriptor, }InstanceAccelerationStructureDescriptor :: struct { using _: NS.Copying($T=InstanceAccelerationStructureDescriptor), using _: AccelerationStructureDescriptor, } // Objective-C class MTLInstanceAccelerationStructureDescriptor // Inherits AccelerationStructureDescriptor → NS.Copying → NS.Object // 21 methods
Bound Objective-C Methods
- alloc () -> ^InstanceAccelerationStructureDescriptor class method owned
- descriptor () -> ^InstanceAccelerationStructureDescriptor class method
- init () -> ^InstanceAccelerationStructureDescriptor
- instanceCount () -> NS.UInteger
- instanceDescriptorBuffer () -> ^Buffer
- instanceDescriptorBufferOffset () -> NS.UInteger
- instanceDescriptorStride () -> NS.UInteger
- instanceDescriptorType () -> AccelerationStructureInstanceDescriptorType
- instancedAccelerationStructures () -> ^NS.Array
- motionTransformBuffer () -> ^Buffer
- motionTransformBufferOffset () -> NS.UInteger
- motionTransformCount () -> NS.UInteger
- setInstanceCount (instanceCount)
- setInstanceDescriptorBuffer (instanceDescriptorBuffer)
- setInstanceDescriptorBufferOffset (instanceDescriptorBufferOffset)
- setInstanceDescriptorStride (instanceDescriptorStride)
- setInstanceDescriptorType (buffer)
- setInstancedAccelerationStructures(instancedAccelerationStructures)
- setMotionTransformBuffer (buffer)
- setMotionTransformBufferOffset (offset)
- setMotionTransformCount (offset)
Methods Inherited From AccelerationStructureDescriptor
- setUsage(usage)
- usage () -> AccelerationStructureUsage
Methods Inherited From NS.Object
- autorelease ()
- class () -> ^intrinsics.objc_class
- copy () -> ^T
- debugDescription () -> ^NS.String
- description () -> ^NS.String
- hash () -> NS.UInteger
- isEqual (pObject) -> bool
- performSelectorOnMainThread(aSelector, arg, wait)
- release ()
- retain ()
- retainCount () -> NS.UInteger
IntersectionFunctionDescriptor ¶
IntersectionFunctionDescriptor :: struct { using _: NS.Copying($T=IntersectionFunctionDescriptor), }IntersectionFunctionDescriptor :: struct { using _: NS.Copying($T=IntersectionFunctionDescriptor), } // Objective-C class MTLIntersectionFunctionDescriptor // Inherits NS.Copying → NS.Object // 2 methods
Bound Objective-C Methods
- alloc() -> ^IntersectionFunctionDescriptor class method owned
- init () -> ^IntersectionFunctionDescriptor
Methods Inherited From NS.Object
- autorelease ()
- class () -> ^intrinsics.objc_class
- copy () -> ^T
- debugDescription () -> ^NS.String
- description () -> ^NS.String
- hash () -> NS.UInteger
- isEqual (pObject) -> bool
- performSelectorOnMainThread(aSelector, arg, wait)
- release ()
- retain ()
- retainCount () -> NS.UInteger
IntersectionFunctionSignature ¶
IntersectionFunctionSignature :: distinct bit_set[IntersectionFunctionSignatureFlag; NS.UInteger]
IntersectionFunctionSignatureFlag ¶
IntersectionFunctionSignatureFlag :: enum NS.UInteger { Instancing = 0, TriangleData = 1, WorldSpaceData = 2, InstanceMotion = 3, PrimitiveMotion = 4, ExtendedLimits = 5, }
IntersectionFunctionTable ¶
IntersectionFunctionTable :: struct { using _: Resource, }IntersectionFunctionTable :: struct { using _: Resource, } // Objective-C class MTLIntersectionFunctionTable // Inherits Resource → NS.Object // 8 methods
Bound Objective-C Methods
- setBuffer (buffer, offset, index)
- setBuffers (buffers, offsets, range)
- setFunction (function, index)
- setFunctions (functions, range)
- setOpaqueTriangleIntersectionFunctionWithSignature (signature, index)
- setOpaqueTriangleIntersectionFunctionWithSignatureWithRange(signature, range)
- setVisibleFunctionTable (visibleFunctionTable, bufferIndex)
- setVisibleFunctionTables (visibleFunctionTables, range)
Methods Inherited From Resource
- allocatedSize () -> NS.UInteger
- cpuCacheMode () -> CPUCacheMode
- device () -> ^Device
- hazardTrackingMode() -> HazardTrackingMode
- heap () -> ^Heap
- heapOffset () -> NS.UInteger
- isAliasable () -> bool
- label () -> ^NS.String
- makeAliasable ()
- resourceOptions () -> ResourceOptions
- setLabel (label)
- setPurgeableState (state) -> PurgeableState
- storageMode () -> StorageMode
Methods Inherited From NS.Object
- autorelease ()
- class () -> ^intrinsics.objc_class
- copy () -> ^T
- debugDescription () -> ^NS.String
- description () -> ^NS.String
- hash () -> NS.UInteger
- init () -> ^T
- isEqual (pObject) -> bool
- performSelectorOnMainThread(aSelector, arg, wait)
- release ()
- retain ()
- retainCount () -> NS.UInteger
IntersectionFunctionTableDescriptor ¶
IntersectionFunctionTableDescriptor :: struct { using _: NS.Copying($T=IntersectionFunctionTableDescriptor), }IntersectionFunctionTableDescriptor :: struct { using _: NS.Copying($T=IntersectionFunctionTableDescriptor), } // Objective-C class MTLIntersectionFunctionTableDescriptor // Inherits NS.Copying → NS.Object // 5 methods
Bound Objective-C Methods
- alloc () -> ^IntersectionFunctionTableDescriptor class method owned
- functionCount () -> NS.UInteger
- init () -> ^IntersectionFunctionTableDescriptor
- intersectionFunctionTableDescriptor() -> ^IntersectionFunctionTableDescriptor class method
- setFunctionCount (functionCount)
Methods Inherited From NS.Object
- autorelease ()
- class () -> ^intrinsics.objc_class
- copy () -> ^T
- debugDescription () -> ^NS.String
- description () -> ^NS.String
- hash () -> NS.UInteger
- isEqual (pObject) -> bool
- performSelectorOnMainThread(aSelector, arg, wait)
- release ()
- retain ()
- retainCount () -> NS.UInteger
LanguageVersion ¶
LanguageVersion :: enum NS.UInteger { Version1_0 = 65536, Version1_1 = 65537, Version1_2 = 65538, Version2_0 = 131072, Version2_1 = 131073, Version2_2 = 131074, Version2_3 = 131075, Version2_4 = 131076, Version3_0 = 196608, }
Library ¶
Library :: struct { using _: NS.Object, }Library :: struct { using _: NS.Object, } // Objective-C class MTLLibrary // Inherits NS.Object // 14 methods
External examples metal/learn_metal/01-primitive · metal/learn_metal/02-argbuffers · metal/learn_metal/02-argbuffers-no-sdl +7
Bound Objective-C Methods
- device () -> ^Device
- functionNames () -> ^NS.Array
- installName () -> ^NS.String
- label () -> ^NS.String
- newFunction (…) owned overloaded
- newFunctionWithCompletionHandler (descriptor, completionHandler) -> ^Function owned
- newFunctionWithConstantValues (name, constantValues) -> (function: ^Function, error: ^NS.Error)
- newFunctionWithConstantValuesAndCompletionHandler(name, constantValues, completionHandler) -> ^Function owned
- newFunctionWithDescriptor (descriptor) -> (function: ^Function, error: ^NS.Error)
- newFunctionWithName (functionName) -> ^Function owned
- newIntersectionFunction (descriptor) -> (function: ^Function, error: ^NS.Error)
- newIntersectionFunctionWithCompletionHandler (descriptor, completionHandler) -> ^Function owned
- setLabel (label)
- type () -> LibraryType
Methods Inherited From NS.Object
- autorelease ()
- class () -> ^intrinsics.objc_class
- copy () -> ^T
- debugDescription () -> ^NS.String
- description () -> ^NS.String
- hash () -> NS.UInteger
- init () -> ^T
- isEqual (pObject) -> bool
- performSelectorOnMainThread(aSelector, arg, wait)
- release ()
- retain ()
- retainCount () -> NS.UInteger
LibraryError ¶
LibraryError :: enum NS.UInteger { Unsupported = 1, Internal = 2, CompileFailure = 3, CompileWarning = 4, FunctionNotFound = 5, FileNotFound = 6, }
LibraryOptimizationLevel ¶
LibraryOptimizationLevel :: enum NS.Integer { Default = 0, Size = 1, }
LibraryType ¶
LibraryType :: enum NS.Integer { Executable = 0, Dynamic = 1, }
Related Procedures With Returns
LinkedFunctions ¶
LinkedFunctions :: struct { using _: NS.Copying($T=LinkedFunctions), }LinkedFunctions :: struct { using _: NS.Copying($T=LinkedFunctions), } // Objective-C class MTLLinkedFunctions // Inherits NS.Copying → NS.Object // 9 methods
Bound Objective-C Methods
- alloc () -> ^LinkedFunctions class method owned
- binaryFunctions () -> ^NS.Array
- functions () -> ^NS.Array
- groups () -> ^NS.Dictionary
- init () -> ^LinkedFunctions
- linkedFunctions () -> ^LinkedFunctions class method
- setBinaryFunctions(binaryFunctions)
- setFunctions (functions)
- setGroups (groups)
Methods Inherited From NS.Object
- autorelease ()
- class () -> ^intrinsics.objc_class
- copy () -> ^T
- debugDescription () -> ^NS.String
- description () -> ^NS.String
- hash () -> NS.UInteger
- isEqual (pObject) -> bool
- performSelectorOnMainThread(aSelector, arg, wait)
- release ()
- retain ()
- retainCount () -> NS.UInteger
LoadAction ¶
LoadAction :: enum NS.UInteger { DontCare = 0, Load = 1, Clear = 2, }
LogContainer ¶
LogContainer :: struct { using _: NS.FastEnumeration, }LogContainer :: struct { using _: NS.FastEnumeration, } // Objective-C class MTLLogContainer // Inherits NS.FastEnumeration → NS.Object
Methods Inherited From NS.FastEnumeration
- alloc () -> ^NS.FastEnumeration class method owned
- countByEnumerating(state, buffer, len) -> NS.UInteger
- init () -> ^NS.FastEnumeration
Methods Inherited From NS.Object
- autorelease ()
- class () -> ^intrinsics.objc_class
- copy () -> ^T
- debugDescription () -> ^NS.String
- description () -> ^NS.String
- hash () -> NS.UInteger
- isEqual (pObject) -> bool
- performSelectorOnMainThread(aSelector, arg, wait)
- release ()
- retain ()
- retainCount () -> NS.UInteger
MeshRenderPipelineDescriptor ¶
MeshRenderPipelineDescriptor :: struct { using _: NS.Copying($T=MeshRenderPipelineDescriptor), }MeshRenderPipelineDescriptor :: struct { using _: NS.Copying($T=MeshRenderPipelineDescriptor), } // Objective-C class MTLMeshRenderPipelineDescriptor // Inherits NS.Copying → NS.Object // 55 methods
Bound Objective-C Methods
- alloc () -> ^MeshRenderPipelineDescriptor class method owned
- alphaToCoverageEnabled () -> bool
- alphaToOneEnabled () -> bool
- binaryArchives () -> ^NS.Array
- colorAttachments () -> ^RenderPipelineColorAttachmentDescriptorArray
- depthAttachmentPixelFormat () -> PixelFormat
- fragmentBuffers () -> ^PipelineBufferDescriptorArray
- fragmentFunction () -> ^Function
- fragmentLinkedFunctions () -> ^LinkedFunctions
- init () -> ^MeshRenderPipelineDescriptor
- isAlphaToCoverageEnabled () -> bool
- isAlphaToOneEnabled () -> bool
- isRasterizationEnabled () -> bool
- label () -> ^NS.String
- maxTotalThreadgroupsPerMeshGrid () -> NS.UInteger
- maxTotalThreadsPerMeshThreadgroup () -> NS.UInteger
- maxTotalThreadsPerObjectThreadgroup () -> NS.UInteger
- maxVertexAmplificationCount () -> NS.UInteger
- meshBuffers () -> ^PipelineBufferDescriptorArray
- meshFunction () -> ^Function
- meshLinkedFunctions () -> ^LinkedFunctions
- meshThreadgroupSizeIsMultipleOfThreadExecutionWidth () -> bool
- objectBuffers () -> ^PipelineBufferDescriptorArray
- objectFunction () -> ^Function
- objectLinkedFunctions () -> ^LinkedFunctions
- objectThreadgroupSizeIsMultipleOfThreadExecutionWidth () -> bool
- payloadMemoryLength () -> NS.UInteger
- rasterSampleCount () -> NS.UInteger
- rasterizationEnabled () -> bool
- reset ()
- setAlphaToCoverageEnabled (alphaToCoverageEnabled)
- setAlphaToOneEnabled (alphaToOneEnabled)
- setBinaryArchives (binaryArchives)
- setDepthAttachmentPixelFormat (depthAttachmentPixelFormat)
- setFragmentFunction (fragmentFunction)
- setFragmentLinkedFunctions (fragmentLinkedFunctions)
- setMaxTotalThreadgroupsPerMeshGrid (maxTotalThreadgroupsPerMeshGrid)
- setMaxTotalThreadsPerMeshThreadgroup (maxTotalThreadsPerMeshThreadgroup)
- setMaxTotalThreadsPerObjectThreadgroup (maxTotalThreadsPerObjectThreadgroup)
- setMaxVertexAmplificationCount (maxVertexAmplificationCount)
- setMeshFunction (meshFunction)
- setMeshLinkedFunctions (meshLinkedFunctions)
- setMeshThreadgroupSizeIsMultipleOfThreadExecutionWidth (meshThreadgroupSizeIsMultipleOfThreadExecutionWidth)
- setObjectFunction (objectFunction)
- setObjectLinkedFunctions (objectLinkedFunctions)
- setObjectThreadgroupSizeIsMultipleOfThreadExecutionWidth(objectThreadgroupSizeIsMultipleOfThreadExecutionWidth)
- setPayloadMemoryLength (payloadMemoryLength)
- setRasterSampleCount (rasterSampleCount)
- setRasterizationEnabled (rasterizationEnabled)
- setShaderValidation (shaderValidation)
- setStencilAttachmentPixelFormat (stencilAttachmentPixelFormat)
- setSupportIndirectCommandBuffers (supportIndirectCommandBuffers)
- shaderValidation () -> ShaderValidation
- stencilAttachmentPixelFormat () -> PixelFormat
- supportIndirectCommandBuffers () -> bool
Methods Inherited From NS.Object
- autorelease ()
- class () -> ^intrinsics.objc_class
- copy () -> ^T
- debugDescription () -> ^NS.String
- description () -> ^NS.String
- hash () -> NS.UInteger
- isEqual (pObject) -> bool
- performSelectorOnMainThread(aSelector, arg, wait)
- release ()
- retain ()
- retainCount () -> NS.UInteger
MotionBorderMode ¶
MotionBorderMode :: enum u32 { Clamp = 0, Vanish = 1, }
Related Procedures With Parameters
Related Procedures With Returns
MotionKeyframeData ¶
MotionKeyframeData :: struct { using _: NS.Object, }MotionKeyframeData :: struct { using _: NS.Object, } // Objective-C class MTLMotionKeyframeData // Inherits NS.Object // 7 methods
Bound Objective-C Methods
- alloc () -> ^MotionKeyframeData class method owned
- buffer (self) -> ^Buffer class method
- data () -> ^MotionKeyframeData class method
- init (self) -> ^MotionKeyframeData class method
- offset (self) -> NS.UInteger class method
- setBuffer(self, buffer) class method
- setOffset(self, offset) class method
Methods Inherited From NS.Object
- autorelease ()
- class () -> ^intrinsics.objc_class
- copy () -> ^T
- debugDescription () -> ^NS.String
- description () -> ^NS.String
- hash () -> NS.UInteger
- isEqual (pObject) -> bool
- performSelectorOnMainThread(aSelector, arg, wait)
- release ()
- retain ()
- retainCount () -> NS.UInteger
MultisampleDepthResolveFilter ¶
MultisampleDepthResolveFilter :: enum NS.UInteger { Sample0 = 0, Min = 1, Max = 2, }
MultisampleStencilResolveFilter ¶
MultisampleStencilResolveFilter :: enum NS.UInteger { Sample0 = 0, DepthResolvedSample = 1, }
Mutability ¶
Mutability :: enum NS.UInteger { Default = 0, Mutable = 1, Immutable = 2, }
NewComputePipelineStateCompletionHandler ¶
NewComputePipelineStateCompletionHandler :: ^NS.Block
Related Procedures With Parameters
- CopyAllDevicesWithObserver
- Device_newComputePipelineStateWithDescriptorWithCompletionHandler
- Device_newComputePipelineStateWithFunctionWithCompletionHandler
- Device_newComputePipelineStateWithFunctionWithOptionsAndCompletionHandler
- Device_newLibraryWithSourceWithCompletionHandler
- Device_newRenderPipelineStateWithDescriptorWithCompletionHandler
- Device_newRenderPipelineStateWithDescriptorWithOptionsAndCompletionHandler
- Device_newRenderPipelineStateWithMeshDescriptorAndCompletionHandler
- Device_newRenderPipelineStateWithTileDescriptorWithCompletionHandler
- Drawable_addPresentedHandler
- IOCommandBuffer_addCompletedHandler
- Library_newFunctionWithCompletionHandler
- Library_newFunctionWithConstantValuesAndCompletionHandler
- Library_newIntersectionFunctionWithCompletionHandler
- SharedEvent_notifyListener
- Device_newComputePipelineState (procedure groups)
- Device_newLibrary (procedure groups)
- Device_newRenderPipelineState (procedure groups)
- Library_newFunction (procedure groups)
NewComputePipelineStateWithReflectionCompletionHandler ¶
NewComputePipelineStateWithReflectionCompletionHandler :: ^NS.Block
Related Procedures With Parameters
- CopyAllDevicesWithObserver
- Device_newComputePipelineStateWithDescriptorWithCompletionHandler
- Device_newComputePipelineStateWithFunctionWithCompletionHandler
- Device_newComputePipelineStateWithFunctionWithOptionsAndCompletionHandler
- Device_newLibraryWithSourceWithCompletionHandler
- Device_newRenderPipelineStateWithDescriptorWithCompletionHandler
- Device_newRenderPipelineStateWithDescriptorWithOptionsAndCompletionHandler
- Device_newRenderPipelineStateWithMeshDescriptorAndCompletionHandler
- Device_newRenderPipelineStateWithTileDescriptorWithCompletionHandler
- Drawable_addPresentedHandler
- IOCommandBuffer_addCompletedHandler
- Library_newFunctionWithCompletionHandler
- Library_newFunctionWithConstantValuesAndCompletionHandler
- Library_newIntersectionFunctionWithCompletionHandler
- SharedEvent_notifyListener
- Device_newComputePipelineState (procedure groups)
- Device_newLibrary (procedure groups)
- Device_newRenderPipelineState (procedure groups)
- Library_newFunction (procedure groups)
NewLibraryCompletionHandler ¶
NewLibraryCompletionHandler :: ^NS.Block
Related Procedures With Parameters
- CopyAllDevicesWithObserver
- Device_newComputePipelineStateWithDescriptorWithCompletionHandler
- Device_newComputePipelineStateWithFunctionWithCompletionHandler
- Device_newComputePipelineStateWithFunctionWithOptionsAndCompletionHandler
- Device_newLibraryWithSourceWithCompletionHandler
- Device_newRenderPipelineStateWithDescriptorWithCompletionHandler
- Device_newRenderPipelineStateWithDescriptorWithOptionsAndCompletionHandler
- Device_newRenderPipelineStateWithMeshDescriptorAndCompletionHandler
- Device_newRenderPipelineStateWithTileDescriptorWithCompletionHandler
- Drawable_addPresentedHandler
- IOCommandBuffer_addCompletedHandler
- Library_newFunctionWithCompletionHandler
- Library_newFunctionWithConstantValuesAndCompletionHandler
- Library_newIntersectionFunctionWithCompletionHandler
- SharedEvent_notifyListener
- Device_newComputePipelineState (procedure groups)
- Device_newLibrary (procedure groups)
- Device_newRenderPipelineState (procedure groups)
- Library_newFunction (procedure groups)
NewRenderPipelineStateCompletionHandler ¶
NewRenderPipelineStateCompletionHandler :: ^NS.Block
Related Procedures With Parameters
- CopyAllDevicesWithObserver
- Device_newComputePipelineStateWithDescriptorWithCompletionHandler
- Device_newComputePipelineStateWithFunctionWithCompletionHandler
- Device_newComputePipelineStateWithFunctionWithOptionsAndCompletionHandler
- Device_newLibraryWithSourceWithCompletionHandler
- Device_newRenderPipelineStateWithDescriptorWithCompletionHandler
- Device_newRenderPipelineStateWithDescriptorWithOptionsAndCompletionHandler
- Device_newRenderPipelineStateWithMeshDescriptorAndCompletionHandler
- Device_newRenderPipelineStateWithTileDescriptorWithCompletionHandler
- Drawable_addPresentedHandler
- IOCommandBuffer_addCompletedHandler
- Library_newFunctionWithCompletionHandler
- Library_newFunctionWithConstantValuesAndCompletionHandler
- Library_newIntersectionFunctionWithCompletionHandler
- SharedEvent_notifyListener
- Device_newComputePipelineState (procedure groups)
- Device_newLibrary (procedure groups)
- Device_newRenderPipelineState (procedure groups)
- Library_newFunction (procedure groups)
NewRenderPipelineStateWithReflectionCompletionHandler ¶
NewRenderPipelineStateWithReflectionCompletionHandler :: ^NS.Block
Related Procedures With Parameters
- CopyAllDevicesWithObserver
- Device_newComputePipelineStateWithDescriptorWithCompletionHandler
- Device_newComputePipelineStateWithFunctionWithCompletionHandler
- Device_newComputePipelineStateWithFunctionWithOptionsAndCompletionHandler
- Device_newLibraryWithSourceWithCompletionHandler
- Device_newRenderPipelineStateWithDescriptorWithCompletionHandler
- Device_newRenderPipelineStateWithDescriptorWithOptionsAndCompletionHandler
- Device_newRenderPipelineStateWithMeshDescriptorAndCompletionHandler
- Device_newRenderPipelineStateWithTileDescriptorWithCompletionHandler
- Drawable_addPresentedHandler
- IOCommandBuffer_addCompletedHandler
- Library_newFunctionWithCompletionHandler
- Library_newFunctionWithConstantValuesAndCompletionHandler
- Library_newIntersectionFunctionWithCompletionHandler
- SharedEvent_notifyListener
- Device_newComputePipelineState (procedure groups)
- Device_newLibrary (procedure groups)
- Device_newRenderPipelineState (procedure groups)
- Library_newFunction (procedure groups)
ObjectPayloadBinding ¶
ObjectPayloadBinding :: struct { using _: Binding, }ObjectPayloadBinding :: struct { using _: Binding, } // Objective-C class MTLObjectPayloadBinding // Inherits Binding → NS.Object // 2 methods
Bound Objective-C Methods
- objectPayloadAlignment() -> NS.UInteger
- objectPayloadDataSize () -> NS.UInteger
Methods Inherited From Binding
- access () -> ArgumentAccess
- index () -> NS.UInteger
- isArgument() -> bool
- isUsed () -> bool
- name () -> ^NS.String
- type () -> BindingType
Methods Inherited From NS.Object
- autorelease ()
- class () -> ^intrinsics.objc_class
- copy () -> ^T
- debugDescription () -> ^NS.String
- description () -> ^NS.String
- hash () -> NS.UInteger
- init () -> ^T
- isEqual (pObject) -> bool
- performSelectorOnMainThread(aSelector, arg, wait)
- release ()
- retain ()
- retainCount () -> NS.UInteger
Origin ¶
Origin :: distinct [3]NS.Integer
Related Procedures With Parameters
- BlitCommandEncoder_copyFromBufferEx
- BlitCommandEncoder_copyFromBufferExWithOptions
- BlitCommandEncoder_copyFromTextureEx
- BlitCommandEncoder_copyFromTextureExWithOptions
- BlitCommandEncoder_copyFromTextureWithDestinationOrigin
- IOCommandBuffer_loadTexture
- ResourceStateCommandEncoder_moveTextureMappingsFromTexture
PackedFloat3 ¶
PackedFloat3 :: distinct [3]f32
PackedFloat4x3 ¶
PackedFloat4x3 :: struct { columns: [4]PackedFloat3, }
ParallelRenderCommandEncoder ¶
ParallelRenderCommandEncoder :: struct { using _: CommandEncoder, }ParallelRenderCommandEncoder :: struct { using _: CommandEncoder, } // Objective-C class MTLParallelRenderCommandEncoder // Inherits CommandEncoder → NS.Object // 7 methods
Bound Objective-C Methods
- renderCommandEncoder () -> ^RenderCommandEncoder
- setColorStoreAction (storeAction, colorAttachmentIndex)
- setColorStoreActionOptions (storeActionOptions, colorAttachmentIndex)
- setDepthStoreAction (storeAction)
- setDepthStoreActionOptions (storeActionOptions)
- setStencilStoreAction (storeAction)
- setStencilStoreActionOptions(storeActionOptions)
Methods Inherited From CommandEncoder
- device () -> ^Device
- endEncoding ()
- insertDebugSignpost(string)
- label () -> ^NS.String
- popDebugGroup ()
- pushDebugGroup (string)
- setLabel (label)
Methods Inherited From NS.Object
- autorelease ()
- class () -> ^intrinsics.objc_class
- copy () -> ^T
- debugDescription () -> ^NS.String
- description () -> ^NS.String
- hash () -> NS.UInteger
- init () -> ^T
- isEqual (pObject) -> bool
- performSelectorOnMainThread(aSelector, arg, wait)
- release ()
- retain ()
- retainCount () -> NS.UInteger
PatchType ¶
PatchType :: enum NS.UInteger { None = 0, Triangle = 1, Quad = 2, }
PipelineBufferDescriptor ¶
PipelineBufferDescriptor :: struct { using _: NS.Copying($T=PipelineBufferDescriptor), }PipelineBufferDescriptor :: struct { using _: NS.Copying($T=PipelineBufferDescriptor), } // Objective-C class MTLPipelineBufferDescriptor // Inherits NS.Copying → NS.Object // 4 methods
Bound Objective-C Methods
- alloc () -> ^PipelineBufferDescriptor class method owned
- init () -> ^PipelineBufferDescriptor
- mutability () -> Mutability
- setMutability(mutability)
Methods Inherited From NS.Object
- autorelease ()
- class () -> ^intrinsics.objc_class
- copy () -> ^T
- debugDescription () -> ^NS.String
- description () -> ^NS.String
- hash () -> NS.UInteger
- isEqual (pObject) -> bool
- performSelectorOnMainThread(aSelector, arg, wait)
- release ()
- retain ()
- retainCount () -> NS.UInteger
PipelineBufferDescriptorArray ¶
PipelineBufferDescriptorArray :: struct { using _: NS.Object, }PipelineBufferDescriptorArray :: struct { using _: NS.Object, } // Objective-C class MTLPipelineBufferDescriptorArray // Inherits NS.Object // 4 methods
Bound Objective-C Methods
- alloc () -> ^PipelineBufferDescriptorArray class method owned
- init () -> ^PipelineBufferDescriptorArray
- object (bufferIndex) -> ^PipelineBufferDescriptor
- setObject(buffer, bufferIndex)
Methods Inherited From NS.Object
- autorelease ()
- class () -> ^intrinsics.objc_class
- copy () -> ^T
- debugDescription () -> ^NS.String
- description () -> ^NS.String
- hash () -> NS.UInteger
- isEqual (pObject) -> bool
- performSelectorOnMainThread(aSelector, arg, wait)
- release ()
- retain ()
- retainCount () -> NS.UInteger
PipelineOption ¶
PipelineOption :: distinct bit_set[PipelineOptionFlag; NS.UInteger]
Related Procedures With Parameters
- Device_newComputePipelineStateWithDescriptorWithCompletionHandler
- Device_newComputePipelineStateWithDescriptorWithReflection
- Device_newComputePipelineStateWithFunctionWithOptionsAndCompletionHandler
- Device_newComputePipelineStateWithFunctionWithReflection
- Device_newRenderPipelineStateWithDescriptorWithOptionsAndCompletionHandler
- Device_newRenderPipelineStateWithDescriptorWithReflection
- Device_newRenderPipelineStateWithMeshDescriptor
- Device_newRenderPipelineStateWithMeshDescriptorAndCompletionHandler
- Device_newRenderPipelineStateWithTileDescriptorWithCompletionHandler
- Device_newRenderPipelineStateWithTileDescriptorWithReflection
- Device_newComputePipelineState (procedure groups)
- Device_newRenderPipelineState (procedure groups)
PipelineOptionFlag ¶
PipelineOptionFlag :: enum NS.UInteger { ArgumentInfo = 0, BufferTypeInfo = 1, FailOnBinaryArchiveMiss = 2, }
PixelFormat ¶
PixelFormat :: enum NS.UInteger { Invalid = 0, A8Unorm = 1, R8Unorm = 10, R8Unorm_sRGB = 11, R8Snorm = 12, R8Uint = 13, R8Sint = 14, R16Unorm = 20, R16Snorm = 22, R16Uint = 23, R16Sint = 24, R16Float = 25, RG8Unorm = 30, RG8Unorm_sRGB = 31, RG8Snorm = 32, RG8Uint = 33, RG8Sint = 34, B5G6R5Unorm = 40, A1BGR5Unorm = 41, ABGR4Unorm = 42, BGR5A1Unorm = 43, R32Uint = 53, R32Sint = 54, R32Float = 55, RG16Unorm = 60, RG16Snorm = 62, RG16Uint = 63, RG16Sint = 64, RG16Float = 65, RGBA8Unorm = 70, RGBA8Unorm_sRGB = 71, RGBA8Snorm = 72, RGBA8Uint = 73, RGBA8Sint = 74, BGRA8Unorm = 80, BGRA8Unorm_sRGB = 81, RGB10A2Unorm = 90, RGB10A2Uint = 91, RG11B10Float = 92, RGB9E5Float = 93, BGR10A2Unorm = 94, RG32Uint = 103, RG32Sint = 104, RG32Float = 105, RGBA16Unorm = 110, RGBA16Snorm = 112, RGBA16Uint = 113, RGBA16Sint = 114, RGBA16Float = 115, RGBA32Uint = 123, RGBA32Sint = 124, RGBA32Float = 125, BC1_RGBA = 130, BC1_RGBA_sRGB = 131, BC2_RGBA = 132, BC2_RGBA_sRGB = 133, BC3_RGBA = 134, BC3_RGBA_sRGB = 135, BC4_RUnorm = 140, BC4_RSnorm = 141, BC5_RGUnorm = 142, BC5_RGSnorm = 143, BC6H_RGBFloat = 150, BC6H_RGBUfloat = 151, BC7_RGBAUnorm = 152, BC7_RGBAUnorm_sRGB = 153, PVRTC_RGB_2BPP = 160, PVRTC_RGB_2BPP_sRGB = 161, PVRTC_RGB_4BPP = 162, PVRTC_RGB_4BPP_sRGB = 163, PVRTC_RGBA_2BPP = 164, PVRTC_RGBA_2BPP_sRGB = 165, PVRTC_RGBA_4BPP = 166, PVRTC_RGBA_4BPP_sRGB = 167, EAC_R11Unorm = 170, EAC_R11Snorm = 172, EAC_RG11Unorm = 174, EAC_RG11Snorm = 176, EAC_RGBA8 = 178, EAC_RGBA8_sRGB = 179, ETC2_RGB8 = 180, ETC2_RGB8_sRGB = 181, ETC2_RGB8A1 = 182, ETC2_RGB8A1_sRGB = 183, ASTC_4x4_sRGB = 186, ASTC_5x4_sRGB = 187, ASTC_5x5_sRGB = 188, ASTC_6x5_sRGB = 189, ASTC_6x6_sRGB = 190, ASTC_8x5_sRGB = 192, ASTC_8x6_sRGB = 193, ASTC_8x8_sRGB = 194, ASTC_10x5_sRGB = 195, ASTC_10x6_sRGB = 196, ASTC_10x8_sRGB = 197, ASTC_10x10_sRGB = 198, ASTC_12x10_sRGB = 199, ASTC_12x12_sRGB = 200, ASTC_4x4_LDR = 204, ASTC_5x4_LDR = 205, ASTC_5x5_LDR = 206, ASTC_6x5_LDR = 207, ASTC_6x6_LDR = 208, ASTC_8x5_LDR = 210, ASTC_8x6_LDR = 211, ASTC_8x8_LDR = 212, ASTC_10x5_LDR = 213, ASTC_10x6_LDR = 214, ASTC_10x8_LDR = 215, ASTC_10x10_LDR = 216, ASTC_12x10_LDR = 217, ASTC_12x12_LDR = 218, ASTC_4x4_HDR = 222, ASTC_5x4_HDR = 223, ASTC_5x5_HDR = 224, ASTC_6x5_HDR = 225, ASTC_6x6_HDR = 226, ASTC_8x5_HDR = 228, ASTC_8x6_HDR = 229, ASTC_8x8_HDR = 230, ASTC_10x5_HDR = 231, ASTC_10x6_HDR = 232, ASTC_10x8_HDR = 233, ASTC_10x10_HDR = 234, ASTC_12x10_HDR = 235, ASTC_12x12_HDR = 236, GBGR422 = 240, BGRG422 = 241, Depth16Unorm = 250, Depth32Float = 252, Stencil8 = 253, Depth24Unorm_Stencil8 = 255, Depth32Float_Stencil8 = 260, X32_Stencil8 = 261, X24_Stencil8 = 262, BGRA10_XR = 552, BGRA10_XR_sRGB = 553, BGR10_XR = 554, BGR10_XR_sRGB = 555, }
Related Procedures With Parameters
- Device_minimumLinearTextureAlignmentForPixelFormat
- Device_minimumTextureBufferAlignmentForPixelFormat
- Device_sparseTileSizeWithTextureType
- MeshRenderPipelineDescriptor_setDepthAttachmentPixelFormat
- MeshRenderPipelineDescriptor_setStencilAttachmentPixelFormat
- RenderPipelineColorAttachmentDescriptor_setPixelFormat
- RenderPipelineDescriptor_setDepthAttachmentPixelFormat
- RenderPipelineDescriptor_setStencilAttachmentPixelFormat
- TextureDescriptor_setPixelFormat
- TextureDescriptor_texture2DDescriptorWithPixelFormat
- TextureDescriptor_textureBufferDescriptorWithPixelFormat
- TextureDescriptor_textureCubeDescriptorWithPixelFormat
- Texture_newTextureViewWithLevels
- Texture_newTextureViewWithLevelsAndSwizzle
- Texture_newTextureViewWithPixelFormat
- TileRenderPipelineColorAttachmentDescriptor_setPixelFormat
- Texture_newTextureView (procedure groups)
Related Procedures With Returns
- MeshRenderPipelineDescriptor_depthAttachmentPixelFormat
- MeshRenderPipelineDescriptor_stencilAttachmentPixelFormat
- RenderPipelineColorAttachmentDescriptor_pixelFormat
- RenderPipelineDescriptor_depthAttachmentPixelFormat
- RenderPipelineDescriptor_stencilAttachmentPixelFormat
- TextureDescriptor_pixelFormat
- Texture_pixelFormat
- TileRenderPipelineColorAttachmentDescriptor_pixelFormat
PointerType ¶
PointerType :: struct { using _: Type, }PointerType :: struct { using _: Type, } // Objective-C class MTLPointerType // Inherits Type → NS.Object // 9 methods
Bound Objective-C Methods
- access () -> ArgumentAccess
- alignment () -> NS.UInteger
- alloc () -> ^PointerType class method owned
- dataSize () -> NS.UInteger
- elementArrayType () -> ^ArrayType
- elementIsArgumentBuffer() -> bool
- elementStructType () -> ^StructType
- elementType () -> DataType
- init () -> ^PointerType
Methods Inherited From Type
Methods Inherited From NS.Object
- autorelease ()
- class () -> ^intrinsics.objc_class
- copy () -> ^T
- debugDescription () -> ^NS.String
- description () -> ^NS.String
- hash () -> NS.UInteger
- isEqual (pObject) -> bool
- performSelectorOnMainThread(aSelector, arg, wait)
- release ()
- retain ()
- retainCount () -> NS.UInteger
PrimitiveAccelerationStructureDescriptor ¶
PrimitiveAccelerationStructureDescriptor :: struct { using _: NS.Copying($T=PrimitiveAccelerationStructureDescriptor), using _: AccelerationStructureDescriptor, }PrimitiveAccelerationStructureDescriptor :: struct { using _: NS.Copying($T=PrimitiveAccelerationStructureDescriptor), using _: AccelerationStructureDescriptor, } // Objective-C class MTLPrimitiveAccelerationStructureDescriptor // Inherits AccelerationStructureDescriptor → NS.Copying → NS.Object // 15 methods
Bound Objective-C Methods
- alloc () -> ^PrimitiveAccelerationStructureDescriptor class method owned
- descriptor () -> ^PrimitiveAccelerationStructureDescriptor class method
- geometryDescriptors () -> ^NS.Array
- init () -> ^PrimitiveAccelerationStructureDescriptor
- motionEndBorderMode () -> MotionBorderMode
- motionEndTime () -> f32
- motionKeyframeCount () -> NS.UInteger
- motionStartBorderMode () -> MotionBorderMode
- motionStartTime () -> f32
- setGeometryDescriptors (geometryDescriptors)
- setMotionEndBorderMode (motionEndBorderMode)
- setMotionEndTime (motionEndTime)
- setMotionKeyframeCount (motionKeyframeCount)
- setMotionStartBorderMode(motionStartBorderMode)
- setMotionStartTime (motionStartTime)
Methods Inherited From AccelerationStructureDescriptor
- setUsage(usage)
- usage () -> AccelerationStructureUsage
Methods Inherited From NS.Object
- autorelease ()
- class () -> ^intrinsics.objc_class
- copy () -> ^T
- debugDescription () -> ^NS.String
- description () -> ^NS.String
- hash () -> NS.UInteger
- isEqual (pObject) -> bool
- performSelectorOnMainThread(aSelector, arg, wait)
- release ()
- retain ()
- retainCount () -> NS.UInteger
PrimitiveTopologyClass ¶
PrimitiveTopologyClass :: enum NS.UInteger { Unspecified = 0, Point = 1, Line = 2, Triangle = 3, }
PrimitiveType ¶
PrimitiveType :: enum NS.UInteger { Point = 0, Line = 1, LineStrip = 2, Triangle = 3, TriangleStrip = 4, }
Related Procedures With Parameters
- IndirectRenderCommand_drawIndexedPrimitives
- IndirectRenderCommand_drawPrimitives
- RenderCommandEncoder_drawIndexPrimitivesWithBaseVertex
- RenderCommandEncoder_drawIndexPrimitivesWithIndirect
- RenderCommandEncoder_drawIndexedPrimitives
- RenderCommandEncoder_drawIndexedPrimitivesWithInstanceCount
- RenderCommandEncoder_drawPrimitives
- RenderCommandEncoder_drawPrimitivesWithIndirect
- RenderCommandEncoder_drawPrimitivesWithInstanceCount
- RenderCommandEncoder_drawPrimitivesWithInstances
PurgeableState ¶
PurgeableState :: enum NS.UInteger { KeepCurrent = 1, NonVolatile = 2, Volatile = 3, Empty = 4, }
Related Procedures With Parameters
RasterizationRateLayerArray ¶
RasterizationRateLayerArray :: struct { using _: NS.Object, }RasterizationRateLayerArray :: struct { using _: NS.Object, } // Objective-C class MTLRasterizationRateLayerArray // Inherits NS.Object // 4 methods
Bound Objective-C Methods
- alloc () -> ^RasterizationRateLayerArray class method owned
- init () -> ^RasterizationRateLayerArray
- object (layerIndex) -> ^RasterizationRateLayerDescriptor
- setObject(layer, layerIndex)
Methods Inherited From NS.Object
- autorelease ()
- class () -> ^intrinsics.objc_class
- copy () -> ^T
- debugDescription () -> ^NS.String
- description () -> ^NS.String
- hash () -> NS.UInteger
- isEqual (pObject) -> bool
- performSelectorOnMainThread(aSelector, arg, wait)
- release ()
- retain ()
- retainCount () -> NS.UInteger
RasterizationRateLayerDescriptor ¶
RasterizationRateLayerDescriptor :: struct { using _: NS.Copying($T=RasterizationRateLayerDescriptor), }RasterizationRateLayerDescriptor :: struct { using _: NS.Copying($T=RasterizationRateLayerDescriptor), } // Objective-C class MTLRasterizationRateLayerDescriptor // Inherits NS.Copying → NS.Object // 9 methods
Bound Objective-C Methods
- alloc () -> ^RasterizationRateLayerDescriptor class method owned
- horizontal () -> ^RasterizationRateSampleArray
- horizontalSampleStorage () -> [^]f32
- init () -> ^RasterizationRateLayerDescriptor
- initWithSampleCount (sampleCount) -> ^RasterizationRateLayerDescriptor
- initWithSampleCountWithDimensions(sampleCount, horizontal, vertical) -> ^RasterizationRateLayerDescriptor
- sampleCount () -> Size
- vertical () -> ^RasterizationRateSampleArray
- verticalSampleStorage () -> [^]f32
Methods Inherited From NS.Object
- autorelease ()
- class () -> ^intrinsics.objc_class
- copy () -> ^T
- debugDescription () -> ^NS.String
- description () -> ^NS.String
- hash () -> NS.UInteger
- isEqual (pObject) -> bool
- performSelectorOnMainThread(aSelector, arg, wait)
- release ()
- retain ()
- retainCount () -> NS.UInteger
RasterizationRateMap ¶
RasterizationRateMap :: struct { using _: NS.Object, }RasterizationRateMap :: struct { using _: NS.Object, } // Objective-C class MTLRasterizationRateMap // Inherits NS.Object // 10 methods
Bound Objective-C Methods
- copyParameterDataToBuffer (buffer, offset)
- device () -> ^Device
- label () -> ^NS.String
- layerCount () -> NS.UInteger
- mapPhysicalToScreenCoordinates(physicalCoordinates, layerIndex) -> Coordinate2D
- mapScreenToPhysicalCoordinates(screenCoordinates, layerIndex) -> Coordinate2D
- parameterBufferSizeAndAlign () -> (size, align: NS.UInteger)
- physicalGranularity () -> Size
- physicalSizeForLayer (layerIndex) -> Size
- screenSize () -> Size
Methods Inherited From NS.Object
- autorelease ()
- class () -> ^intrinsics.objc_class
- copy () -> ^T
- debugDescription () -> ^NS.String
- description () -> ^NS.String
- hash () -> NS.UInteger
- init () -> ^T
- isEqual (pObject) -> bool
- performSelectorOnMainThread(aSelector, arg, wait)
- release ()
- retain ()
- retainCount () -> NS.UInteger
RasterizationRateMapDescriptor ¶
RasterizationRateMapDescriptor :: struct { using _: NS.Copying($T=RasterizationRateMapDescriptor), }RasterizationRateMapDescriptor :: struct { using _: NS.Copying($T=RasterizationRateMapDescriptor), } // Objective-C class MTLRasterizationRateMapDescriptor // Inherits NS.Copying → NS.Object // 13 methods
Bound Objective-C Methods
- alloc () -> ^RasterizationRateMapDescriptor class method owned
- init () -> ^RasterizationRateMapDescriptor
- label () -> ^NS.String
- layer (layerIndex) -> ^RasterizationRateLayerDescriptor
- layerCount () -> NS.UInteger
- layers () -> ^RasterizationRateLayerArray
- rasterizationRateMapDescriptorWithScreenSize (screenSize) -> ^RasterizationRateMapDescriptor class method
- rasterizationRateMapDescriptorWithScreenSizeWithLayer (screenSize, layer) -> ^RasterizationRateMapDescriptor class method
- rasterizationRateMapDescriptorWithScreenSizeWithLayers(screenSize, layers) -> ^RasterizationRateMapDescriptor class method
- screenSize () -> Size
- setLabel (label)
- setLayer (layer, layerIndex)
- setScreenSize (screenSize)
Methods Inherited From NS.Object
- autorelease ()
- class () -> ^intrinsics.objc_class
- copy () -> ^T
- debugDescription () -> ^NS.String
- description () -> ^NS.String
- hash () -> NS.UInteger
- isEqual (pObject) -> bool
- performSelectorOnMainThread(aSelector, arg, wait)
- release ()
- retain ()
- retainCount () -> NS.UInteger
RasterizationRateSampleArray ¶
RasterizationRateSampleArray :: struct { using _: NS.Object, }RasterizationRateSampleArray :: struct { using _: NS.Object, } // Objective-C class MTLRasterizationRateSampleArray // Inherits NS.Object // 4 methods
Bound Objective-C Methods
- alloc () -> ^RasterizationRateSampleArray class method owned
- init () -> ^RasterizationRateSampleArray
- object (index) -> ^NS.Number
- setObject(value, index)
Methods Inherited From NS.Object
- autorelease ()
- class () -> ^intrinsics.objc_class
- copy () -> ^T
- debugDescription () -> ^NS.String
- description () -> ^NS.String
- hash () -> NS.UInteger
- isEqual (pObject) -> bool
- performSelectorOnMainThread(aSelector, arg, wait)
- release ()
- retain ()
- retainCount () -> NS.UInteger
ReadWriteTextureTier ¶
ReadWriteTextureTier :: enum NS.UInteger { TierNone = 0, Tier1 = 1, Tier2 = 2, }
Region ¶
External examples metal/learn_metal/07-texturing
Related Procedures With Parameters
- BlitCommandEncoder_getTextureAccessCounters
- BlitCommandEncoder_resetTextureAccessCounters
- ComputeCommandEncoder_setStageInRegion
- Device_convertSparsePixelRegions
- Device_convertSparseTileRegions
- IndirectComputeCommand_setStageInRegion
- ResourceStateCommandEncoder_updateTextureMapping
- Texture_getBytes
- Texture_getBytesWithLevel
- Texture_replaceRegion
- Texture_replaceRegionWithLevel
RenderCommandEncoder ¶
RenderCommandEncoder :: struct { using _: CommandEncoder, }RenderCommandEncoder :: struct { using _: CommandEncoder, } // Objective-C class MTLRenderCommandEncoder // Inherits CommandEncoder → NS.Object // 110 methods
Bound Objective-C Methods
- dispatchThreadsPerTile (threadsPerTile)
- drawIndexPatchesWithInstances (numberOfPatchControlPoints, patchStart, patchCount, patchIndexBuffer, patchIndexBufferOffset, controlPointIndexBuffer, controlPointIndexBufferOffset, instanceCount, baseInstance)
- drawIndexPrimitivesWithBaseVertex (primitiveType, indexCount, indexType, indexBuffer, indexBufferOffset, instanceCount, baseVertex, baseInstance)
- drawIndexPrimitivesWithIndirect (primitiveType, indexType, indexBuffer, indexBufferOffset, indirectBuffer, indirectBufferOffset)
- drawIndexedPatchesWihtIndirect (numberOfPatchControlPoints, patchIndexBuffer, patchIndexBufferOffset, controlPointIndexBuffer, controlPointIndexBufferOffset, indirectBuffer, indirectBufferOffset)
- drawIndexedPrimitives (primitiveType, indexCount, indexType, indexBuffer, indexBufferOffset)
- drawIndexedPrimitivesWithInstanceCount(primitiveType, indexCount, indexType, indexBuffer, indexBufferOffset, instanceCount)
- drawMeshThreadgroups (threadgroupsPerGrid, threadPerObjectThreadgroup, threadsPerMeshThreadgroup)
- drawMeshThreadgroupsWithIndirectBuffer(indirectBuffer, indirectBufferOffset, threadPerObjectThreadgroup, threadsPerMeshThreadgroup)
- drawMeshThreads (threadsPerGrid, threadPerObjectThreadgroup, threadsPerMeshThreadgroup)
- drawPatches (numberOfPatchControlPoints, patchIndexBuffer, patchIndexBufferOffset, indirectBuffer, indirectBufferOffset)
- drawPatchesWithInstances (numberOfPatchControlPoints, patchStart, patchCount, patchIndexBuffer, patchIndexBufferOffset, instanceCount, baseInstance)
- drawPrimitives (primitiveType, vertexStart, vertexCount)
- drawPrimitivesWithIndirect (primitiveType, indirectBuffer, indirectBufferOffset)
- drawPrimitivesWithInstanceCount (primitiveType, vertexStart, vertexCount, instanceCount)
- drawPrimitivesWithInstances (primitiveType, vertexStart, vertexCount, instanceCount, baseInstance)
- executeCommandsInBuffer (indirectCommandbuffer, indirectRangeBuffer, indirectBufferOffset)
- executeCommandsInBufferWithRange (indirectCommandBuffer, executionRange)
- memoryBarrierWithResources (resources, after, before)
- memoryBarrierWithScope (scope, after, before)
- sampleCountersInBuffer (sampleBuffer, sampleIndex, barrier)
- setBlendColorRed (red, green, blue, alpha)
- setColorStoreAction (storeAction, colorAttachmentIndex)
- setColorStoreActionOptions (storeActionOptions, colorAttachmentIndex)
- setCullMode (cullMode)
- setDepthBias (depthBias, slopeScale, clamp)
- setDepthClipMode (depthClipMode)
- setDepthStencilState (depthStencilState)
- setDepthStoreAction (storeAction)
- setDepthStoreActionOptions (storeActionOptions)
- setFragmentBuffer (buffer, offset, index)
- setFragmentBufferOffset (offset, index)
- setFragmentBuffers (buffers, offsets, range)
- setFragmentBytes (bytes, index)
- setFragmentSamplerState (sampler, index)
- setFragmentSamplerStateWithLod (sampler, lodMinClamp, lodMaxClamp, index)
- setFragmentSamplerStatesWithLod (samplers, lodMinClamps, lodMaxClamps, range)
- setFragmentSamplerStatesWithRange (samplers, range)
- setFragmentTexture (texture, index)
- setFragmentTextures (textures, range)
- setFrontFacingWinding (frontFacingWinding)
- setMeshBuffer (buffer, offset, index)
- setMeshBufferOffset (offset, index)
- setMeshBuffers (buffers, offsets, range)
- setMeshBytes (bytes, length, index)
- setMeshSamplerState (sampler, index)
- setMeshSamplerStateWithLod (sampler, lodMinClamp, lodMaxClamp, index)
- setMeshSamplerStates (samplers, range)
- setMeshSamplerStatesWithLod (samplers, lodMinClamps, lodMaxClamps, range)
- setMeshTexture (texture, index)
- setMeshTextures (textures, range)
- setObjectBuffer (buffer, offset, index)
- setObjectBufferOffset (offset, index)
- setObjectBuffers (buffers, offsets, range)
- setObjectBytes (bytes, length, index)
- setObjectSamplerState (sampler, index)
- setObjectSamplerStateWithLod (sampler, lodMinClamp, lodMaxClamp, index)
- setObjectSamplerStates (samplers, range)
- setObjectSamplerStatesWithLod (samplers, lodMinClamps, lodMaxClamps, range)
- setObjectTexture (texture, index)
- setObjectTextures (textures, range)
- setObjectThreadgroupMemoryLength (length, index)
- setRenderPipelineState (pipelineState)
- setScissorRect (rect)
- setScissorRects (scissorRects)
- setStencilFrontReferenceValue (frontReferenceValue, backReferenceValue)
- setStencilReferenceValue (referenceValue)
- setStencilStoreAction (storeAction)
- setStencilStoreActionOptions (storeActionOptions)
- setTessellationFactorBuffer (buffer, offset, instanceStride)
- setTessellationFactorScale (scale)
- setThreadgroupMemoryLength (length, offset, index)
- setTileBuffer (buffer, offset, index)
- setTileBufferOffset (offset, index)
- setTileBuffers (buffers, offsets, range)
- setTileBytes (bytes, index)
- setTileSamplerState (sampler, index)
- setTileSamplerStateWithLod (sampler, lodMinClamp, lodMaxClamp, index)
- setTileSamplerStatesWithLod (samplers, lodMinClamps, lodMaxClamps, range)
- setTileSamplerStatesWithRange (samplers, range)
- setTileTexture (texture, index)
- setTileTextures (textures, range)
- setTriangleFillMode (fillMode)
- setVertexAmplificationCount (viewMappings)
- setVertexBuffer (buffer, offset, index)
- setVertexBufferOffset (offset, index)
- setVertexBuffers (buffers, offsets, range)
- setVertexBytes (bytes, index)
- setVertexSamplerState (sampler, index)
- setVertexSamplerStateWithLod (sampler, lodMinClamp, lodMaxClamp, index)
- setVertexSamplerStatesWithLod (samplers, lodMinClamps, lodMaxClamps, range)
- setVertexSamplerStatesWithRange (samplers, range)
- setVertexTexture (texture, index)
- setVertexTextures (textures, range)
- setViewport (viewport)
- setViewports (viewports)
- setVisibilityResultMode (mode, offset)
- textureBarrier ()
- tileHeight () -> NS.UInteger
- tileWidth () -> NS.UInteger
- updateFence (fence, stages)
- useHeap (heap)
- useHeapWithStages (heap, stages)
- useHeaps (heaps)
- useHeapsWithStages (heaps, stages)
- useResource (resource, usage)
- useResourceWithStages (resource, usage, stages)
- useResources (resources, usage)
- useResourcesStages (resources, usage, stages)
- waitForFence (fence, stages)
Methods Inherited From CommandEncoder
- device () -> ^Device
- endEncoding ()
- insertDebugSignpost(string)
- label () -> ^NS.String
- popDebugGroup ()
- pushDebugGroup (string)
- setLabel (label)
Methods Inherited From NS.Object
- autorelease ()
- class () -> ^intrinsics.objc_class
- copy () -> ^T
- debugDescription () -> ^NS.String
- description () -> ^NS.String
- hash () -> NS.UInteger
- init () -> ^T
- isEqual (pObject) -> bool
- performSelectorOnMainThread(aSelector, arg, wait)
- release ()
- retain ()
- retainCount () -> NS.UInteger
RenderPassAttachmentDescriptor ¶
RenderPassAttachmentDescriptor :: struct { using _: NS.Copying($T=RenderPassAttachmentDescriptor), }RenderPassAttachmentDescriptor :: struct { using _: NS.Copying($T=RenderPassAttachmentDescriptor), } // Objective-C class MTLRenderPassAttachmentDescriptor // Inherits NS.Copying → NS.Object // 24 methods
Bound Objective-C Methods
- alloc () -> ^RenderPassAttachmentDescriptor class method owned
- depthPlane () -> NS.UInteger
- init () -> ^RenderPassAttachmentDescriptor
- level () -> NS.UInteger
- loadAction () -> LoadAction
- resolveDepthPlane () -> NS.UInteger
- resolveLevel () -> NS.UInteger
- resolveSlice () -> NS.UInteger
- resolveTexture () -> ^Texture
- setDepthPlane (depthPlane)
- setLevel (level)
- setLoadAction (loadAction)
- setResolveDepthPlane (resolveDepthPlane)
- setResolveLevel (resolveLevel)
- setResolveSlice (resolveSlice)
- setResolveTexture (resolveTexture)
- setSlice (slice)
- setStoreAction (storeAction)
- setStoreActionOptions(storeActionOptions)
- setTexture (texture)
- slice () -> NS.UInteger
- storeAction () -> StoreAction
- storeActionOptions () -> StoreActionOptions
- texture () -> ^Texture
Methods Inherited From NS.Object
- autorelease ()
- class () -> ^intrinsics.objc_class
- copy () -> ^T
- debugDescription () -> ^NS.String
- description () -> ^NS.String
- hash () -> NS.UInteger
- isEqual (pObject) -> bool
- performSelectorOnMainThread(aSelector, arg, wait)
- release ()
- retain ()
- retainCount () -> NS.UInteger
RenderPassColorAttachmentDescriptor ¶
RenderPassColorAttachmentDescriptor :: struct { using _: NS.Copying($T=RenderPassColorAttachmentDescriptor), using _: RenderPassAttachmentDescriptor, }RenderPassColorAttachmentDescriptor :: struct { using _: NS.Copying($T=RenderPassColorAttachmentDescriptor), using _: RenderPassAttachmentDescriptor, } // Objective-C class MTLRenderPassColorAttachmentDescriptor // Inherits RenderPassAttachmentDescriptor → NS.Copying → NS.Object // 4 methods
Bound Objective-C Methods
- alloc () -> ^RenderPassColorAttachmentDescriptor class method owned
- clearColor () -> ClearColor
- init () -> ^RenderPassColorAttachmentDescriptor
- setClearColor(clearColor)
Methods Inherited From RenderPassAttachmentDescriptor
- depthPlane () -> NS.UInteger
- level () -> NS.UInteger
- loadAction () -> LoadAction
- resolveDepthPlane () -> NS.UInteger
- resolveLevel () -> NS.UInteger
- resolveSlice () -> NS.UInteger
- resolveTexture () -> ^Texture
- setDepthPlane (depthPlane)
- setLevel (level)
- setLoadAction (loadAction)
- setResolveDepthPlane (resolveDepthPlane)
- setResolveLevel (resolveLevel)
- setResolveSlice (resolveSlice)
- setResolveTexture (resolveTexture)
- setSlice (slice)
- setStoreAction (storeAction)
- setStoreActionOptions(storeActionOptions)
- setTexture (texture)
- slice () -> NS.UInteger
- storeAction () -> StoreAction
- storeActionOptions () -> StoreActionOptions
- texture () -> ^Texture
Methods Inherited From NS.Object
- autorelease ()
- class () -> ^intrinsics.objc_class
- copy () -> ^T
- debugDescription () -> ^NS.String
- description () -> ^NS.String
- hash () -> NS.UInteger
- isEqual (pObject) -> bool
- performSelectorOnMainThread(aSelector, arg, wait)
- release ()
- retain ()
- retainCount () -> NS.UInteger
RenderPassColorAttachmentDescriptorArray ¶
RenderPassColorAttachmentDescriptorArray :: struct { using _: NS.Object, }RenderPassColorAttachmentDescriptorArray :: struct { using _: NS.Object, } // Objective-C class MTLRenderPassColorAttachmentDescriptorArray // Inherits NS.Object // 4 methods
Bound Objective-C Methods
- alloc () -> ^RenderPassColorAttachmentDescriptorArray class method owned
- init () -> ^RenderPassColorAttachmentDescriptorArray
- object (attachmentIndex) -> ^RenderPassColorAttachmentDescriptor
- setObject(attachment, attachmentIndex)
Methods Inherited From NS.Object
- autorelease ()
- class () -> ^intrinsics.objc_class
- copy () -> ^T
- debugDescription () -> ^NS.String
- description () -> ^NS.String
- hash () -> NS.UInteger
- isEqual (pObject) -> bool
- performSelectorOnMainThread(aSelector, arg, wait)
- release ()
- retain ()
- retainCount () -> NS.UInteger
RenderPassDepthAttachmentDescriptor ¶
RenderPassDepthAttachmentDescriptor :: struct { using _: NS.Copying($T=RenderPassDepthAttachmentDescriptor), using _: RenderPassAttachmentDescriptor, }RenderPassDepthAttachmentDescriptor :: struct { using _: NS.Copying($T=RenderPassDepthAttachmentDescriptor), using _: RenderPassAttachmentDescriptor, } // Objective-C class MTLRenderPassDepthAttachmentDescriptor // Inherits RenderPassAttachmentDescriptor → NS.Copying → NS.Object // 6 methods
Bound Objective-C Methods
- alloc () -> ^RenderPassDepthAttachmentDescriptor class method owned
- clearDepth () -> f64
- depthResolveFilter () -> MultisampleDepthResolveFilter
- init () -> ^RenderPassDepthAttachmentDescriptor
- setClearDepth (clearDepth)
- setDepthResolveFilter(depthResolveFilter)
Methods Inherited From RenderPassAttachmentDescriptor
- depthPlane () -> NS.UInteger
- level () -> NS.UInteger
- loadAction () -> LoadAction
- resolveDepthPlane () -> NS.UInteger
- resolveLevel () -> NS.UInteger
- resolveSlice () -> NS.UInteger
- resolveTexture () -> ^Texture
- setDepthPlane (depthPlane)
- setLevel (level)
- setLoadAction (loadAction)
- setResolveDepthPlane (resolveDepthPlane)
- setResolveLevel (resolveLevel)
- setResolveSlice (resolveSlice)
- setResolveTexture (resolveTexture)
- setSlice (slice)
- setStoreAction (storeAction)
- setStoreActionOptions(storeActionOptions)
- setTexture (texture)
- slice () -> NS.UInteger
- storeAction () -> StoreAction
- storeActionOptions () -> StoreActionOptions
- texture () -> ^Texture
Methods Inherited From NS.Object
- autorelease ()
- class () -> ^intrinsics.objc_class
- copy () -> ^T
- debugDescription () -> ^NS.String
- description () -> ^NS.String
- hash () -> NS.UInteger
- isEqual (pObject) -> bool
- performSelectorOnMainThread(aSelector, arg, wait)
- release ()
- retain ()
- retainCount () -> NS.UInteger
RenderPassDescriptor ¶
RenderPassDescriptor :: struct { using _: NS.Copying($T=RenderPassDescriptor), using _: AccelerationStructureDescriptor, }RenderPassDescriptor :: struct { using _: NS.Copying($T=RenderPassDescriptor), using _: AccelerationStructureDescriptor, } // Objective-C class MTLRenderPassDescriptor // Inherits AccelerationStructureDescriptor → NS.Copying → NS.Object // 31 methods
External examples metal/learn_metal/00-window · metal/learn_metal/01-primitive · metal/learn_metal/02-argbuffers +9
Bound Objective-C Methods
- alloc () -> ^RenderPassDescriptor class method owned
- colorAttachments () -> ^RenderPassColorAttachmentDescriptorArray
- defaultRasterSampleCount () -> NS.UInteger
- depthAttachment () -> ^RenderPassDepthAttachmentDescriptor
- getSamplePositions (positions) -> NS.UInteger
- imageblockSampleLength () -> NS.UInteger
- init () -> ^RenderPassDescriptor
- rasterizationRateMap () -> ^RasterizationRateMap
- renderPassDescriptor () -> ^RenderPassDescriptor class method
- renderTargetArrayLength () -> NS.UInteger
- renderTargetHeight () -> NS.UInteger
- renderTargetWidth () -> NS.UInteger
- sampleBufferAttachments () -> ^RenderPassSampleBufferAttachmentDescriptorArray
- setDefaultRasterSampleCount(defaultRasterSampleCount)
- setDepthAttachment (depthAttachment)
- setImageblockSampleLength (imageblockSampleLength)
- setRasterizationRateMap (rasterizationRateMap)
- setRenderTargetArrayLength (renderTargetArrayLength)
- setRenderTargetHeight (renderTargetHeight)
- setRenderTargetWidth (renderTargetWidth)
- setSamplePositions (positions)
- setStencilAttachment (stencilAttachment)
- setThreadgroupMemoryLength (threadgroupMemoryLength)
- setTileHeight (tileHeight)
- setTileWidth (tileWidth)
- setVisibilityResultBuffer (visibilityResultBuffer)
- stencilAttachment () -> ^RenderPassStencilAttachmentDescriptor
- threadgroupMemoryLength () -> NS.UInteger
- tileHeight () -> NS.UInteger
- tileWidth () -> NS.UInteger
- visibilityResultBuffer () -> ^Buffer
Methods Inherited From AccelerationStructureDescriptor
- setUsage(usage)
- usage () -> AccelerationStructureUsage
Methods Inherited From NS.Object
- autorelease ()
- class () -> ^intrinsics.objc_class
- copy () -> ^T
- debugDescription () -> ^NS.String
- description () -> ^NS.String
- hash () -> NS.UInteger
- isEqual (pObject) -> bool
- performSelectorOnMainThread(aSelector, arg, wait)
- release ()
- retain ()
- retainCount () -> NS.UInteger
RenderPassSampleBufferAttachmentDescriptor ¶
RenderPassSampleBufferAttachmentDescriptor :: struct { using _: NS.Copying($T=RenderPassSampleBufferAttachmentDescriptor), }RenderPassSampleBufferAttachmentDescriptor :: struct { using _: NS.Copying($T=RenderPassSampleBufferAttachmentDescriptor), } // Objective-C class MTLRenderPassSampleBufferAttachmentDescriptor // Inherits NS.Copying → NS.Object // 12 methods
Bound Objective-C Methods
- alloc () -> ^RenderPassSampleBufferAttachmentDescriptor class method owned
- endOfFragmentSampleIndex () -> NS.UInteger
- endOfVertexSampleIndex () -> NS.UInteger
- init () -> ^RenderPassSampleBufferAttachmentDescriptor
- sampleBuffer () -> ^CounterSampleBuffer
- setEndOfFragmentSampleIndex (endOfFragmentSampleIndex)
- setEndOfVertexSampleIndex (endOfVertexSampleIndex)
- setSampleBuffer (sampleBuffer)
- setStartOfFragmentSampleIndex(startOfFragmentSampleIndex)
- setStartOfVertexSampleIndex (startOfVertexSampleIndex)
- startOfFragmentSampleIndex () -> NS.UInteger
- startOfVertexSampleIndex () -> NS.UInteger
Methods Inherited From NS.Object
- autorelease ()
- class () -> ^intrinsics.objc_class
- copy () -> ^T
- debugDescription () -> ^NS.String
- description () -> ^NS.String
- hash () -> NS.UInteger
- isEqual (pObject) -> bool
- performSelectorOnMainThread(aSelector, arg, wait)
- release ()
- retain ()
- retainCount () -> NS.UInteger
RenderPassSampleBufferAttachmentDescriptorArray ¶
RenderPassSampleBufferAttachmentDescriptorArray :: struct { using _: NS.Object, }RenderPassSampleBufferAttachmentDescriptorArray :: struct { using _: NS.Object, } // Objective-C class MTLRenderPassSampleBufferAttachmentDescriptorArray // Inherits NS.Object // 4 methods
Bound Objective-C Methods
- alloc () -> ^RenderPassSampleBufferAttachmentDescriptorArray class method owned
- init () -> ^RenderPassSampleBufferAttachmentDescriptorArray
- object (attachmentIndex) -> ^RenderPassSampleBufferAttachmentDescriptor
- setObject(attachment, attachmentIndex)
Methods Inherited From NS.Object
- autorelease ()
- class () -> ^intrinsics.objc_class
- copy () -> ^T
- debugDescription () -> ^NS.String
- description () -> ^NS.String
- hash () -> NS.UInteger
- isEqual (pObject) -> bool
- performSelectorOnMainThread(aSelector, arg, wait)
- release ()
- retain ()
- retainCount () -> NS.UInteger
RenderPassStencilAttachmentDescriptor ¶
RenderPassStencilAttachmentDescriptor :: struct { using _: NS.Copying($T=RenderPassStencilAttachmentDescriptor), }RenderPassStencilAttachmentDescriptor :: struct { using _: NS.Copying($T=RenderPassStencilAttachmentDescriptor), } // Objective-C class MTLRenderPassStencilAttachmentDescriptor // Inherits NS.Copying → NS.Object // 6 methods
Bound Objective-C Methods
- alloc () -> ^RenderPassStencilAttachmentDescriptor class method owned
- clearStencil () -> u32
- init () -> ^RenderPassStencilAttachmentDescriptor
- setClearStencil (clearStencil)
- setStencilResolveFilter(stencilResolveFilter)
- stencilResolveFilter () -> MultisampleStencilResolveFilter
Methods Inherited From NS.Object
- autorelease ()
- class () -> ^intrinsics.objc_class
- copy () -> ^T
- debugDescription () -> ^NS.String
- description () -> ^NS.String
- hash () -> NS.UInteger
- isEqual (pObject) -> bool
- performSelectorOnMainThread(aSelector, arg, wait)
- release ()
- retain ()
- retainCount () -> NS.UInteger
RenderPipelineColorAttachmentDescriptor ¶
RenderPipelineColorAttachmentDescriptor :: struct { using _: NS.Copying($T=RenderPipelineColorAttachmentDescriptor), using _: RenderPassAttachmentDescriptor, }RenderPipelineColorAttachmentDescriptor :: struct { using _: NS.Copying($T=RenderPipelineColorAttachmentDescriptor), using _: RenderPassAttachmentDescriptor, } // Objective-C class MTLRenderPipelineColorAttachmentDescriptor // Inherits RenderPassAttachmentDescriptor → NS.Copying → NS.Object // 20 methods
Bound Objective-C Methods
- alloc () -> ^RenderPipelineColorAttachmentDescriptor class method owned
- alphaBlendOperation () -> BlendOperation
- destinationAlphaBlendFactor () -> BlendFactor
- destinationRGBBlendFactor () -> BlendFactor
- init () -> ^RenderPipelineColorAttachmentDescriptor
- isBlendingEnabled () -> bool
- pixelFormat () -> PixelFormat
- rgbBlendOperation () -> BlendOperation
- setAlphaBlendOperation (alphaBlendOperation)
- setBlendingEnabled (blendingEnabled)
- setDestinationAlphaBlendFactor(destinationAlphaBlendFactor)
- setDestinationRGBBlendFactor (destinationRGBBlendFactor)
- setPixelFormat (pixelFormat)
- setRgbBlendOperation (rgbBlendOperation)
- setSourceAlphaBlendFactor (sourceAlphaBlendFactor)
- setSourceRGBBlendFactor (sourceRGBBlendFactor)
- setWriteMask (writeMask)
- sourceAlphaBlendFactor () -> BlendFactor
- sourceRGBBlendFactor () -> BlendFactor
- writeMask () -> ColorWriteMask
Methods Inherited From RenderPassAttachmentDescriptor
- depthPlane () -> NS.UInteger
- level () -> NS.UInteger
- loadAction () -> LoadAction
- resolveDepthPlane () -> NS.UInteger
- resolveLevel () -> NS.UInteger
- resolveSlice () -> NS.UInteger
- resolveTexture () -> ^Texture
- setDepthPlane (depthPlane)
- setLevel (level)
- setLoadAction (loadAction)
- setResolveDepthPlane (resolveDepthPlane)
- setResolveLevel (resolveLevel)
- setResolveSlice (resolveSlice)
- setResolveTexture (resolveTexture)
- setSlice (slice)
- setStoreAction (storeAction)
- setStoreActionOptions(storeActionOptions)
- setTexture (texture)
- slice () -> NS.UInteger
- storeAction () -> StoreAction
- storeActionOptions () -> StoreActionOptions
- texture () -> ^Texture
Methods Inherited From NS.Object
- autorelease ()
- class () -> ^intrinsics.objc_class
- copy () -> ^T
- debugDescription () -> ^NS.String
- description () -> ^NS.String
- hash () -> NS.UInteger
- isEqual (pObject) -> bool
- performSelectorOnMainThread(aSelector, arg, wait)
- release ()
- retain ()
- retainCount () -> NS.UInteger
RenderPipelineColorAttachmentDescriptorArray ¶
RenderPipelineColorAttachmentDescriptorArray :: struct { using _: NS.Object, }RenderPipelineColorAttachmentDescriptorArray :: struct { using _: NS.Object, } // Objective-C class MTLRenderPipelineColorAttachmentDescriptorArray // Inherits NS.Object // 4 methods
Bound Objective-C Methods
- alloc () -> ^RenderPipelineColorAttachmentDescriptorArray class method owned
- init () -> ^RenderPipelineColorAttachmentDescriptorArray
- object (attachmentIndex) -> ^RenderPipelineColorAttachmentDescriptor
- setObject(attachment, attachmentIndex)
Methods Inherited From NS.Object
- autorelease ()
- class () -> ^intrinsics.objc_class
- copy () -> ^T
- debugDescription () -> ^NS.String
- description () -> ^NS.String
- hash () -> NS.UInteger
- isEqual (pObject) -> bool
- performSelectorOnMainThread(aSelector, arg, wait)
- release ()
- retain ()
- retainCount () -> NS.UInteger
RenderPipelineDescriptor ¶
RenderPipelineDescriptor :: struct { using _: NS.Copying($T=RenderPipelineDescriptor), }RenderPipelineDescriptor :: struct { using _: NS.Copying($T=RenderPipelineDescriptor), } // Objective-C class MTLRenderPipelineDescriptor // Inherits NS.Copying → NS.Object // 59 methods
External examples metal/learn_metal/01-primitive · metal/learn_metal/02-argbuffers · metal/learn_metal/02-argbuffers-no-sdl +7
Bound Objective-C Methods
- alloc () -> ^RenderPipelineDescriptor class method owned
- alphaToCoverageEnabled () -> bool
- alphaToOneEnabled () -> bool
- binaryArchives () -> ^NS.Array
- colorAttachments () -> ^RenderPipelineColorAttachmentDescriptorArray
- depthAttachmentPixelFormat () -> PixelFormat
- fragmentBuffers () -> ^PipelineBufferDescriptorArray
- fragmentFunction () -> ^Function
- fragmentLinkedFunctions () -> ^LinkedFunctions
- init () -> ^RenderPipelineDescriptor
- inputPrimitiveTopology () -> PrimitiveTopologyClass
- isAlphaToCoverageEnabled () -> bool
- isAlphaToOneEnabled () -> bool
- isRasterizationEnabled () -> bool
- isTessellationFactorScaleEnabled () -> bool
- label () -> ^NS.String
- maxTessellationFactor () -> NS.UInteger
- maxVertexAmplificationCount () -> NS.UInteger
- rasterSampleCount () -> NS.UInteger
- rasterizationEnabled () -> bool
- reset ()
- sampleCount () -> NS.UInteger
- setAlphaToCoverageEnabled (alphaToCoverageEnabled)
- setAlphaToOneEnabled (alphaToOneEnabled)
- setBinaryArchives (binaryArchives)
- setDepthAttachmentPixelFormat (depthAttachmentPixelFormat)
- setFragmentFunction (fragmentFunction)
- setFragmentLinkedFunctions (fragmentLinkedFunctions)
- setInputPrimitiveTopology (inputPrimitiveTopology)
- setLabel (label)
- setMaxTessellationFactor (maxTessellationFactor)
- setMaxVertexAmplificationCount (maxVertexAmplificationCount)
- setRasterSampleCount (rasterSampleCount)
- setRasterizationEnabled (rasterizationEnabled)
- setSampleCount (sampleCount)
- setShaderValidation (shaderValidation)
- setStencilAttachmentPixelFormat (stencilAttachmentPixelFormat)
- setSupportIndirectCommandBuffers (supportIndirectCommandBuffers)
- setTessellationControlPointIndexType(tessellationControlPointIndexType)
- setTessellationFactorFormat (tessellationFactorFormat)
- setTessellationFactorScaleEnabled (tessellationFactorScaleEnabled)
- setTessellationFactorStepFunction (tessellationFactorStepFunction)
- setTessellationOutputWindingOrder (tessellationOutputWindingOrder)
- setTessellationPartitionMode (tessellationPartitionMode)
- setVertexDescriptor (vertexDescriptor)
- setVertexFunction (vertexFunction)
- setVertexLinkedFunctions (vertexLinkedFunctions)
- shaderValidation () -> ShaderValidation
- stencilAttachmentPixelFormat () -> PixelFormat
- supportIndirectCommandBuffers () -> bool
- tessellationControlPointIndexType () -> TessellationControlPointIndexType
- tessellationFactorFormat () -> TessellationFactorFormat
- tessellationFactorStepFunction () -> TessellationFactorStepFunction
- tessellationOutputWindingOrder () -> Winding
- tessellationPartitionMode () -> TessellationPartitionMode
- vertexBuffers () -> ^PipelineBufferDescriptorArray
- vertexDescriptor () -> ^VertexDescriptor
- vertexFunction () -> ^Function
- vertexLinkedFunctions () -> ^LinkedFunctions
Methods Inherited From NS.Object
- autorelease ()
- class () -> ^intrinsics.objc_class
- copy () -> ^T
- debugDescription () -> ^NS.String
- description () -> ^NS.String
- hash () -> NS.UInteger
- isEqual (pObject) -> bool
- performSelectorOnMainThread(aSelector, arg, wait)
- release ()
- retain ()
- retainCount () -> NS.UInteger
RenderPipelineFunctionsDescriptor ¶
RenderPipelineFunctionsDescriptor :: struct { using _: NS.Copying($T=RenderPipelineFunctionsDescriptor), }RenderPipelineFunctionsDescriptor :: struct { using _: NS.Copying($T=RenderPipelineFunctionsDescriptor), } // Objective-C class MTLRenderPipelineFunctionsDescriptor // Inherits NS.Copying → NS.Object // 8 methods
Bound Objective-C Methods
- alloc () -> ^RenderPipelineFunctionsDescriptor class method owned
- fragmentAdditionalBinaryFunctions () -> ^NS.Array
- init () -> ^RenderPipelineFunctionsDescriptor
- setFragmentAdditionalBinaryFunctions(binaryFunctions)
- setTileAdditionalBinaryFunctions (binaryFunctions)
- setVertexAdditionalBinaryFunctions (binaryFunctions)
- tileAdditionalBinaryFunctions () -> ^NS.Array
- vertexAdditionalBinaryFunctions () -> ^NS.Array
Methods Inherited From NS.Object
- autorelease ()
- class () -> ^intrinsics.objc_class
- copy () -> ^T
- debugDescription () -> ^NS.String
- description () -> ^NS.String
- hash () -> NS.UInteger
- isEqual (pObject) -> bool
- performSelectorOnMainThread(aSelector, arg, wait)
- release ()
- retain ()
- retainCount () -> NS.UInteger
RenderPipelineReflection ¶
RenderPipelineReflection :: struct { using _: NS.Object, }RenderPipelineReflection :: struct { using _: NS.Object, } // Objective-C class MTLRenderPipelineReflection // Inherits NS.Object // 10 methods
Bound Objective-C Methods
- alloc () -> ^RenderPipelineReflection class method owned
- fragmentArguments() -> ^NS.Array
- fragmentBindings () -> ^NS.Array
- init () -> ^RenderPipelineReflection
- meshBindings () -> ^NS.Array
- objectBindings () -> ^NS.Array
- tileArguments () -> ^NS.Array
- tileBindings () -> ^NS.Array
- vertexArguments () -> ^NS.Array
- vertexBindings () -> ^NS.Array
Methods Inherited From NS.Object
- autorelease ()
- class () -> ^intrinsics.objc_class
- copy () -> ^T
- debugDescription () -> ^NS.String
- description () -> ^NS.String
- hash () -> NS.UInteger
- isEqual (pObject) -> bool
- performSelectorOnMainThread(aSelector, arg, wait)
- release ()
- retain ()
- retainCount () -> NS.UInteger
RenderPipelineState ¶
RenderPipelineState :: struct { using _: NS.Object, }RenderPipelineState :: struct { using _: NS.Object, } // Objective-C class MTLRenderPipelineState // Inherits NS.Object // 17 methods
External examples metal/learn_metal/01-primitive · metal/learn_metal/02-argbuffers · metal/learn_metal/02-argbuffers-no-sdl +7
Bound Objective-C Methods
- device () -> ^Device
- functionHandle (function, stage) -> ^FunctionHandle
- gpuResourceID () -> ResourceID
- imageblockMemoryLengthForDimensions(imageblockDimensions) -> NS.UInteger
- imageblockSampleLength () -> NS.UInteger
- label () -> ^NS.String
- maxTotalThreadgroupsPerMeshGrid () -> NS.UInteger
- maxTotalThreadsPerMeshThreadgroup () -> NS.UInteger
- maxTotalThreadsPerObjectThreadgroup() -> NS.UInteger
- maxTotalThreadsPerThreadgroup () -> NS.UInteger
- meshThreadExecutionWidth () -> NS.UInteger
- newIntersectionFunctionTable (descriptor, stage) -> ^IntersectionFunctionTable owned
- newRenderPipelineState (additionalBinaryFunctions) -> (state: ^RenderPipelineState, error: ^NS.Error)
- newVisibleFunctionTable (descriptor, stage) -> ^VisibleFunctionTable owned
- objectThreadExecutionWidth () -> NS.UInteger
- supportIndirectCommandBuffers () -> bool
- threadgroupSizeMatchesTileSize () -> bool
Methods Inherited From NS.Object
- autorelease ()
- class () -> ^intrinsics.objc_class
- copy () -> ^T
- debugDescription () -> ^NS.String
- description () -> ^NS.String
- hash () -> NS.UInteger
- init () -> ^T
- isEqual (pObject) -> bool
- performSelectorOnMainThread(aSelector, arg, wait)
- release ()
- retain ()
- retainCount () -> NS.UInteger
RenderStage ¶
RenderStage :: enum NS.UInteger { Vertex = 0, Fragment = 1, Tile = 2, Object = 3, Mesh = 4, }
RenderStages ¶
RenderStages :: distinct bit_set[RenderStage; NS.UInteger]
Related Procedures With Parameters
- RenderCommandEncoder_memoryBarrierWithResources
- RenderCommandEncoder_memoryBarrierWithScope
- RenderCommandEncoder_updateFence
- RenderCommandEncoder_useHeapWithStages
- RenderCommandEncoder_useHeapsWithStages
- RenderCommandEncoder_useResourceWithStages
- RenderCommandEncoder_useResourcesStages
- RenderCommandEncoder_waitForFence
- RenderPipelineState_functionHandle
- RenderPipelineState_newIntersectionFunctionTable
- RenderPipelineState_newVisibleFunctionTable
Resource ¶
Resource :: struct { using _: NS.Object, }Resource :: struct { using _: NS.Object, } // Objective-C class MTLResource // Inherits NS.Object // 13 methods
Bound Objective-C Methods
- allocatedSize () -> NS.UInteger
- cpuCacheMode () -> CPUCacheMode
- device () -> ^Device
- hazardTrackingMode() -> HazardTrackingMode
- heap () -> ^Heap
- heapOffset () -> NS.UInteger
- isAliasable () -> bool
- label () -> ^NS.String
- makeAliasable ()
- resourceOptions () -> ResourceOptions
- setLabel (label)
- setPurgeableState (state) -> PurgeableState
- storageMode () -> StorageMode
Methods Inherited From NS.Object
- autorelease ()
- class () -> ^intrinsics.objc_class
- copy () -> ^T
- debugDescription () -> ^NS.String
- description () -> ^NS.String
- hash () -> NS.UInteger
- init () -> ^T
- isEqual (pObject) -> bool
- performSelectorOnMainThread(aSelector, arg, wait)
- release ()
- retain ()
- retainCount () -> NS.UInteger
ResourceID ¶
ResourceID :: distinct u64
ResourceOption ¶
ResourceOption :: enum NS.UInteger { CPUCacheModeWriteCombined = 0, StorageModeManaged = 4, StorageModePrivate = 5, HazardTrackingModeUntracked = 8, HazardTrackingModeTracked = 9, }
ResourceOptions ¶
ResourceOptions :: distinct bit_set[ResourceOption; NS.UInteger]
Related Procedures With Parameters
- Device_heapBufferSizeAndAlignWithLength
- Device_newBufferWithBytes
- Device_newBufferWithBytesNoCopy
- Device_newBufferWithLength
- Device_newBufferWithSlice
- Device_newBufferWithSliceNoCopy
- Device_newIndirectCommandBuffer
- HeapDescriptor_setResourceOptions
- Heap_newBufferWithLength
- Heap_newBufferWithOptions
- TextureDescriptor_setResourceOptions
- TextureDescriptor_textureBufferDescriptorWithPixelFormat
- Device_newBuffer (procedure groups)
- Heap_newBuffer (procedure groups)
Related Procedures With Returns
Related Constants
ResourceStateCommandEncoder ¶
ResourceStateCommandEncoder :: struct { using _: CommandEncoder, }ResourceStateCommandEncoder :: struct { using _: CommandEncoder, } // Objective-C class MTLResourceStateCommandEncoder // Inherits CommandEncoder → NS.Object // 6 methods
Bound Objective-C Methods
- moveTextureMappingsFromTexture(sourceTexture, sourceSlice, sourceLevel, sourceOrigin, sourceSize, destinationTexture, destinationSlice, destinationLevel, destinationOrigin)
- updateFence (fence)
- updateTextureMapping (texture, mode, region, mipLevel, slice)
- updateTextureMappingIndirect (texture, mode, indirectBuffer, indirectBufferOffset)
- updateTextureMappings (texture, mode, regions, mipLevels, slices)
- waitForFence (fence)
Methods Inherited From CommandEncoder
- device () -> ^Device
- endEncoding ()
- insertDebugSignpost(string)
- label () -> ^NS.String
- popDebugGroup ()
- pushDebugGroup (string)
- setLabel (label)
Methods Inherited From NS.Object
- autorelease ()
- class () -> ^intrinsics.objc_class
- copy () -> ^T
- debugDescription () -> ^NS.String
- description () -> ^NS.String
- hash () -> NS.UInteger
- init () -> ^T
- isEqual (pObject) -> bool
- performSelectorOnMainThread(aSelector, arg, wait)
- release ()
- retain ()
- retainCount () -> NS.UInteger
ResourceStatePassDescriptor ¶
ResourceStatePassDescriptor :: struct { using _: NS.Copying($T=ResourceStatePassDescriptor), }ResourceStatePassDescriptor :: struct { using _: NS.Copying($T=ResourceStatePassDescriptor), } // Objective-C class MTLResourceStatePassDescriptor // Inherits NS.Copying → NS.Object // 4 methods
Bound Objective-C Methods
- alloc () -> ^ResourceStatePassDescriptor class method owned
- init () -> ^ResourceStatePassDescriptor
- resourceStatePassDescriptor() -> ^ResourceStatePassDescriptor class method
- sampleBufferAttachments () -> ^ResourceStatePassSampleBufferAttachmentDescriptorArray
Methods Inherited From NS.Object
- autorelease ()
- class () -> ^intrinsics.objc_class
- copy () -> ^T
- debugDescription () -> ^NS.String
- description () -> ^NS.String
- hash () -> NS.UInteger
- isEqual (pObject) -> bool
- performSelectorOnMainThread(aSelector, arg, wait)
- release ()
- retain ()
- retainCount () -> NS.UInteger
ResourceStatePassSampleBufferAttachmentDescriptor ¶
ResourceStatePassSampleBufferAttachmentDescriptor :: struct { using _: NS.Copying($T=ResourceStatePassSampleBufferAttachmentDescriptor), }ResourceStatePassSampleBufferAttachmentDescriptor :: struct { using _: NS.Copying($T=ResourceStatePassSampleBufferAttachmentDescriptor), } // Objective-C class MTLResourceStatePassSampleBufferAttachmentDescriptor // Inherits NS.Copying → NS.Object // 8 methods
Bound Objective-C Methods
- alloc () -> ^ResourceStatePassSampleBufferAttachmentDescriptor class method owned
- endOfEncoderSampleIndex () -> NS.UInteger
- init () -> ^ResourceStatePassSampleBufferAttachmentDescriptor
- sampleBuffer () -> ^CounterSampleBuffer
- setEndOfEncoderSampleIndex (endOfEncoderSampleIndex)
- setSampleBuffer (sampleBuffer)
- setStartOfEncoderSampleIndex(startOfEncoderSampleIndex)
- startOfEncoderSampleIndex () -> NS.UInteger
Methods Inherited From NS.Object
- autorelease ()
- class () -> ^intrinsics.objc_class
- copy () -> ^T
- debugDescription () -> ^NS.String
- description () -> ^NS.String
- hash () -> NS.UInteger
- isEqual (pObject) -> bool
- performSelectorOnMainThread(aSelector, arg, wait)
- release ()
- retain ()
- retainCount () -> NS.UInteger
ResourceStatePassSampleBufferAttachmentDescriptorArray ¶
ResourceStatePassSampleBufferAttachmentDescriptorArray :: struct { using _: NS.Object, }ResourceStatePassSampleBufferAttachmentDescriptorArray :: struct { using _: NS.Object, } // Objective-C class MTLResourceStatePassSampleBufferAttachmentDescriptorArray // Inherits NS.Object // 4 methods
Bound Objective-C Methods
- alloc () -> ^ResourceStatePassSampleBufferAttachmentDescriptorArray class method owned
- init () -> ^ResourceStatePassSampleBufferAttachmentDescriptorArray
- object (attachmentIndex) -> ^ResourceStatePassSampleBufferAttachmentDescriptor
- setObject(attachment, attachmentIndex)
Methods Inherited From NS.Object
- autorelease ()
- class () -> ^intrinsics.objc_class
- copy () -> ^T
- debugDescription () -> ^NS.String
- description () -> ^NS.String
- hash () -> NS.UInteger
- isEqual (pObject) -> bool
- performSelectorOnMainThread(aSelector, arg, wait)
- release ()
- retain ()
- retainCount () -> NS.UInteger
ResourceUsage ¶
ResourceUsage :: distinct bit_set[ResourceUsageFlag; NS.UInteger]
Related Procedures With Parameters
- AccelerationStructureCommandEncoder_useResource
- AccelerationStructureCommandEncoder_useResources
- ComputeCommandEncoder_useResource
- ComputeCommandEncoder_useResources
- RenderCommandEncoder_useResource
- RenderCommandEncoder_useResourceWithStages
- RenderCommandEncoder_useResources
- RenderCommandEncoder_useResourcesStages
ResourceUsageFlag ¶
ResourceUsageFlag :: enum NS.UInteger { Read = 0, Write = 1, Sample = 2, }
SamplePosition ¶
SamplePosition :: distinct [2]f32
SamplerAddressMode ¶
SamplerAddressMode :: enum NS.UInteger { ClampToEdge = 0, MirrorClampToEdge = 1, Repeat = 2, MirrorRepeat = 3, ClampToZero = 4, ClampToBorderColor = 5, }
Related Procedures With Parameters
Related Procedures With Returns
SamplerBorderColor ¶
SamplerBorderColor :: enum NS.UInteger { TransparentBlack = 0, OpaqueBlack = 1, OpaqueWhite = 2, }
SamplerDescriptor ¶
SamplerDescriptor :: struct { using _: NS.Copying($T=SamplerDescriptor), }SamplerDescriptor :: struct { using _: NS.Copying($T=SamplerDescriptor), } // Objective-C class MTLSamplerDescriptor // Inherits NS.Copying → NS.Object // 32 methods
Bound Objective-C Methods
- alloc () -> ^SamplerDescriptor class method owned
- borderColor () -> SamplerBorderColor
- compareFunction () -> CompareFunction
- init () -> ^SamplerDescriptor
- label () -> ^NS.String
- lodAverage () -> bool
- lodMaxClamp () -> f32
- lodMinClamp () -> f32
- magFilter () -> SamplerMinMagFilter
- maxAnisotropy () -> NS.UInteger
- minFilter () -> SamplerMinMagFilter
- mipFilter () -> SamplerMipFilter
- normalizedCoordinates () -> bool
- rAddressMode () -> SamplerAddressMode
- sAddressMode () -> SamplerAddressMode
- setBorderColor (borderColor)
- setCompareFunction (compareFunction)
- setLabel (label)
- setLodAverage (lodAverage)
- setLodMaxClamp (lodMaxClamp)
- setLodMinClamp (lodMinClamp)
- setMagFilter (magFilter)
- setMaxAnisotropy (maxAnisotropy)
- setMinFilter (minFilter)
- setMipFilter (mipFilter)
- setNormalizedCoordinates (normalizedCoordinates)
- setRAddressMode (rAddressMode)
- setSAddressMode (sAddressMode)
- setSupportArgumentBuffers(supportArgumentBuffers)
- setTAddressMode (tAddressMode)
- supportArgumentBuffers () -> bool
- tAddressMode () -> SamplerAddressMode
Methods Inherited From NS.Object
- autorelease ()
- class () -> ^intrinsics.objc_class
- copy () -> ^T
- debugDescription () -> ^NS.String
- description () -> ^NS.String
- hash () -> NS.UInteger
- isEqual (pObject) -> bool
- performSelectorOnMainThread(aSelector, arg, wait)
- release ()
- retain ()
- retainCount () -> NS.UInteger
SamplerMinMagFilter ¶
SamplerMinMagFilter :: enum NS.UInteger { Nearest = 0, Linear = 1, }
Related Procedures With Parameters
Related Procedures With Returns
SamplerMipFilter ¶
SamplerMipFilter :: enum NS.UInteger { NotMipmapped = 0, Nearest = 1, Linear = 2, }
SamplerState ¶
SamplerState :: struct { using _: NS.Object, }SamplerState :: struct { using _: NS.Object, } // Objective-C class MTLSamplerState // Inherits NS.Object // 3 methods
Bound Objective-C Methods
- device () -> ^Device
- gpuResourceID() -> ResourceID
- label () -> ^NS.String
Methods Inherited From NS.Object
- autorelease ()
- class () -> ^intrinsics.objc_class
- copy () -> ^T
- debugDescription () -> ^NS.String
- description () -> ^NS.String
- hash () -> NS.UInteger
- init () -> ^T
- isEqual (pObject) -> bool
- performSelectorOnMainThread(aSelector, arg, wait)
- release ()
- retain ()
- retainCount () -> NS.UInteger
ShaderValidation ¶
ShaderValidation :: enum NS.UInteger { Default = 0, Enabled = 1, Disabled = 2, }
Related Procedures With Parameters
Related Procedures With Returns
SharedEvent ¶
SharedEvent :: struct { using _: Event, }SharedEvent :: struct { using _: Event, } // Objective-C class MTLSharedEvent // Inherits Event → NS.Object // 4 methods
Bound Objective-C Methods
- newSharedEventHandle() -> ^SharedEventHandle owned
- notifyListener (listener, value, block)
- setSignaledValue (signaledValue)
- signaledValue () -> u64
Methods Inherited From Event
Methods Inherited From NS.Object
- autorelease ()
- class () -> ^intrinsics.objc_class
- copy () -> ^T
- debugDescription () -> ^NS.String
- description () -> ^NS.String
- hash () -> NS.UInteger
- init () -> ^T
- isEqual (pObject) -> bool
- performSelectorOnMainThread(aSelector, arg, wait)
- release ()
- retain ()
- retainCount () -> NS.UInteger
SharedEventHandle ¶
SharedEventHandle :: struct { using _: NS.Object, }SharedEventHandle :: struct { using _: NS.Object, } // Objective-C class MTLSharedEventHandle // Inherits NS.Object // 3 methods
Bound Objective-C Methods
- alloc() -> ^SharedEventHandle class method owned
- init () -> ^SharedEventHandle
- label() -> ^NS.String
Methods Inherited From NS.Object
- autorelease ()
- class () -> ^intrinsics.objc_class
- copy () -> ^T
- debugDescription () -> ^NS.String
- description () -> ^NS.String
- hash () -> NS.UInteger
- isEqual (pObject) -> bool
- performSelectorOnMainThread(aSelector, arg, wait)
- release ()
- retain ()
- retainCount () -> NS.UInteger
SharedEventListener ¶
SharedEventListener :: struct { using _: NS.Object, }SharedEventListener :: struct { using _: NS.Object, } // Objective-C class MTLSharedEventListener // Inherits NS.Object // 4 methods
Bound Objective-C Methods
- alloc () -> ^SharedEventListener class method owned
- dispatchQueue () -> ^NS.Object
- init () -> ^SharedEventListener
- initWithDispatchQueue(dispatchQueue) -> ^SharedEventListener
Methods Inherited From NS.Object
- autorelease ()
- class () -> ^intrinsics.objc_class
- copy () -> ^T
- debugDescription () -> ^NS.String
- description () -> ^NS.String
- hash () -> NS.UInteger
- isEqual (pObject) -> bool
- performSelectorOnMainThread(aSelector, arg, wait)
- release ()
- retain ()
- retainCount () -> NS.UInteger
SharedEventNotificationBlock ¶
SharedEventNotificationBlock :: ^NS.Block
Related Procedures With Parameters
- CopyAllDevicesWithObserver
- Device_newComputePipelineStateWithDescriptorWithCompletionHandler
- Device_newComputePipelineStateWithFunctionWithCompletionHandler
- Device_newComputePipelineStateWithFunctionWithOptionsAndCompletionHandler
- Device_newLibraryWithSourceWithCompletionHandler
- Device_newRenderPipelineStateWithDescriptorWithCompletionHandler
- Device_newRenderPipelineStateWithDescriptorWithOptionsAndCompletionHandler
- Device_newRenderPipelineStateWithMeshDescriptorAndCompletionHandler
- Device_newRenderPipelineStateWithTileDescriptorWithCompletionHandler
- Drawable_addPresentedHandler
- IOCommandBuffer_addCompletedHandler
- Library_newFunctionWithCompletionHandler
- Library_newFunctionWithConstantValuesAndCompletionHandler
- Library_newIntersectionFunctionWithCompletionHandler
- SharedEvent_notifyListener
- Device_newComputePipelineState (procedure groups)
- Device_newLibrary (procedure groups)
- Device_newRenderPipelineState (procedure groups)
- Library_newFunction (procedure groups)
SharedTextureHandle ¶
SharedTextureHandle :: struct { using _: NS.Object, }SharedTextureHandle :: struct { using _: NS.Object, } // Objective-C class MTLSharedTextureHandle // Inherits NS.Object // 4 methods
Bound Objective-C Methods
- alloc () -> ^SharedTextureHandle class method owned
- device() -> ^Device
- init () -> ^SharedTextureHandle
- label () -> ^NS.String
Methods Inherited From NS.Object
- autorelease ()
- class () -> ^intrinsics.objc_class
- copy () -> ^T
- debugDescription () -> ^NS.String
- description () -> ^NS.String
- hash () -> NS.UInteger
- isEqual (pObject) -> bool
- performSelectorOnMainThread(aSelector, arg, wait)
- release ()
- retain ()
- retainCount () -> NS.UInteger
Size ¶
External examples metal/learn_metal/08-compute · metal/learn_metal/09-compute-to-render
Related Procedures With Parameters
- BlitCommandEncoder_copyFromBufferEx
- BlitCommandEncoder_copyFromBufferExWithOptions
- BlitCommandEncoder_copyFromTextureEx
- BlitCommandEncoder_copyFromTextureExWithOptions
- BlitCommandEncoder_copyFromTextureWithDestinationOrigin
- ComputeCommandEncoder_dispatchThreadgroups
- ComputeCommandEncoder_dispatchThreadgroupsWithIndirectBuffer
- ComputeCommandEncoder_dispatchThreads
- ComputePipelineState_imageblockMemoryLengthForDimensions
- Device_convertSparsePixelRegions
- Device_convertSparseTileRegions
- IndirectComputeCommand_concurrentDispatchThreadgroups
- IndirectComputeCommand_concurrentDispatchThreads
- RasterizationRateLayerDescriptor_initWithSampleCount
- RasterizationRateLayerDescriptor_initWithSampleCountWithDimensions
- RasterizationRateMapDescriptor_rasterizationRateMapDescriptorWithScreenSize
- RasterizationRateMapDescriptor_rasterizationRateMapDescriptorWithScreenSizeWithLayer
- RasterizationRateMapDescriptor_rasterizationRateMapDescriptorWithScreenSizeWithLayers
- RasterizationRateMapDescriptor_setScreenSize
- RenderCommandEncoder_dispatchThreadsPerTile
- RenderCommandEncoder_drawMeshThreadgroups
- RenderCommandEncoder_drawMeshThreadgroupsWithIndirectBuffer
- RenderCommandEncoder_drawMeshThreads
- RenderPipelineState_imageblockMemoryLengthForDimensions
- ResourceStateCommandEncoder_moveTextureMappingsFromTexture
Related Procedures With Returns
SparsePageSize ¶
SparsePageSize :: enum NS.Integer { Size16 = 101, Size64 = 102, Size256 = 103, }
SparseTextureMappingMode ¶
SparseTextureMappingMode :: enum NS.UInteger { Map = 0, Unmap = 1, }
SparseTextureRegionAlignmentMode ¶
SparseTextureRegionAlignmentMode :: enum NS.UInteger { Outward = 0, Inward = 1, }
StageInputOutputDescriptor ¶
StageInputOutputDescriptor :: struct { using _: NS.Copying($T=StageInputOutputDescriptor), }StageInputOutputDescriptor :: struct { using _: NS.Copying($T=StageInputOutputDescriptor), } // Objective-C class MTLStageInputOutputDescriptor // Inherits NS.Copying → NS.Object // 10 methods
Bound Objective-C Methods
- alloc () -> ^StageInputOutputDescriptor class method owned
- attributes () -> ^AttributeDescriptorArray
- indexBufferIndex () -> NS.UInteger
- indexType () -> IndexType
- init () -> ^StageInputOutputDescriptor
- layouts () -> ^BufferLayoutDescriptorArray
- reset ()
- setIndexBufferIndex (indexBufferIndex)
- setIndexType (indexType)
- stageInputOutputDescriptor() -> ^StageInputOutputDescriptor class method
Methods Inherited From NS.Object
- autorelease ()
- class () -> ^intrinsics.objc_class
- copy () -> ^T
- debugDescription () -> ^NS.String
- description () -> ^NS.String
- hash () -> NS.UInteger
- isEqual (pObject) -> bool
- performSelectorOnMainThread(aSelector, arg, wait)
- release ()
- retain ()
- retainCount () -> NS.UInteger
StencilDescriptor ¶
StencilDescriptor :: struct { using _: NS.Copying($T=StencilDescriptor), }StencilDescriptor :: struct { using _: NS.Copying($T=StencilDescriptor), } // Objective-C class MTLStencilDescriptor // Inherits NS.Copying → NS.Object // 14 methods
Bound Objective-C Methods
- alloc () -> ^StencilDescriptor class method owned
- depthFailureOperation () -> StencilOperation
- depthStencilPassOperation () -> StencilOperation
- init () -> ^StencilDescriptor
- readMask () -> u32
- setDepthFailureOperation (depthFailureOperation)
- setDepthStencilPassOperation(depthStencilPassOperation)
- setReadMask (readMask)
- setStencilCompareFunction (stencilCompareFunction)
- setStencilFailureOperation (stencilFailureOperation)
- setWriteMask (writeMask)
- stencilCompareFunction () -> CompareFunction
- stencilFailureOperation () -> StencilOperation
- writeMask () -> u32
Methods Inherited From NS.Object
- autorelease ()
- class () -> ^intrinsics.objc_class
- copy () -> ^T
- debugDescription () -> ^NS.String
- description () -> ^NS.String
- hash () -> NS.UInteger
- isEqual (pObject) -> bool
- performSelectorOnMainThread(aSelector, arg, wait)
- release ()
- retain ()
- retainCount () -> NS.UInteger
StencilOperation ¶
StencilOperation :: enum NS.UInteger { Keep = 0, Zero = 1, Replace = 2, IncrementClamp = 3, DecrementClamp = 4, Invert = 5, IncrementWrap = 6, DecrementWrap = 7, }
Related Procedures With Parameters
Related Procedures With Returns
StepFunction ¶
StepFunction :: enum NS.UInteger { Constant = 0, PerVertex = 1, PerInstance = 2, PerPatch = 3, PerPatchControlPoint = 4, ThreadPositionInGridX = 5, ThreadPositionInGridY = 6, ThreadPositionInGridXIndexed = 7, ThreadPositionInGridYIndexed = 8, }
StorageMode ¶
StorageMode :: enum NS.UInteger { Shared = 0, Managed = 1, Private = 2, Memoryless = 3, }
Related Procedures With Parameters
Related Procedures With Returns
StoreAction ¶
StoreAction :: enum NS.UInteger { DontCare = 0, Store = 1, MultisampleResolve = 2, StoreAndMultisampleResolve = 3, Unknown = 4, CustomSampleDepthStore = 5, }
Related Procedures With Parameters
- ParallelRenderCommandEncoder_setColorStoreAction
- ParallelRenderCommandEncoder_setDepthStoreAction
- ParallelRenderCommandEncoder_setStencilStoreAction
- RenderCommandEncoder_setColorStoreAction
- RenderCommandEncoder_setDepthStoreAction
- RenderCommandEncoder_setStencilStoreAction
- RenderPassAttachmentDescriptor_setStoreAction
StoreActionOption ¶
StoreActionOption :: enum NS.UInteger { CustomSamplePositions = 1, }
StoreActionOptions ¶
StoreActionOptions :: distinct bit_set[StoreActionOption; NS.UInteger]
Related Procedures With Parameters
- ParallelRenderCommandEncoder_setColorStoreActionOptions
- ParallelRenderCommandEncoder_setDepthStoreActionOptions
- ParallelRenderCommandEncoder_setStencilStoreActionOptions
- RenderCommandEncoder_setColorStoreActionOptions
- RenderCommandEncoder_setDepthStoreActionOptions
- RenderCommandEncoder_setStencilStoreActionOptions
- RenderPassAttachmentDescriptor_setStoreActionOptions
StructMember ¶
StructMember :: struct { using _: NS.Object, }StructMember :: struct { using _: NS.Object, } // Objective-C class MTLStructMember // Inherits NS.Object // 10 methods
Bound Objective-C Methods
- alloc () -> ^StructMember class method owned
- argumentIndex () -> NS.UInteger
- arrayType () -> ^ArrayType
- dataType () -> DataType
- init () -> ^StructMember
- name () -> ^NS.String
- offset () -> NS.UInteger
- pointerType () -> ^PointerType
- structType () -> ^StructType
- textureReferenceType() -> ^TextureReferenceType
Methods Inherited From NS.Object
- autorelease ()
- class () -> ^intrinsics.objc_class
- copy () -> ^T
- debugDescription () -> ^NS.String
- description () -> ^NS.String
- hash () -> NS.UInteger
- isEqual (pObject) -> bool
- performSelectorOnMainThread(aSelector, arg, wait)
- release ()
- retain ()
- retainCount () -> NS.UInteger
StructType ¶
StructType :: struct { using _: Type, }StructType :: struct { using _: Type, } // Objective-C class MTLStructType // Inherits Type → NS.Object // 4 methods
Bound Objective-C Methods
- alloc () -> ^StructType class method owned
- init () -> ^StructType
- memberByName(name) -> ^StructMember
- members () -> ^NS.Array
Methods Inherited From Type
Methods Inherited From NS.Object
- autorelease ()
- class () -> ^intrinsics.objc_class
- copy () -> ^T
- debugDescription () -> ^NS.String
- description () -> ^NS.String
- hash () -> NS.UInteger
- isEqual (pObject) -> bool
- performSelectorOnMainThread(aSelector, arg, wait)
- release ()
- retain ()
- retainCount () -> NS.UInteger
TessellationControlPointIndexType ¶
TessellationControlPointIndexType :: enum NS.UInteger { None = 0, UInt16 = 1, UInt32 = 2, }
TessellationFactorFormat ¶
TessellationFactorFormat :: enum NS.UInteger { Half = 0, }
TessellationFactorStepFunction ¶
TessellationFactorStepFunction :: enum NS.UInteger { Constant = 0, PerPatch = 1, PerInstance = 2, PerPatchAndPerInstance = 3, }
TessellationPartitionMode ¶
TessellationPartitionMode :: enum NS.UInteger { Pow2 = 0, Integer = 1, FractionalOdd = 2, FractionalEven = 3, }
Texture ¶
Texture :: struct { using _: Resource, }Texture :: struct { using _: Resource, } // Objective-C class MTLTexture // Inherits Resource → NS.Object // 38 methods
External examples metal/learn_metal/07-texturing · metal/learn_metal/05-perspective · metal/learn_metal/06-lighting +2
Bound Objective-C Methods
- allowGPUOptimizedContents () -> bool
- arrayLength () -> NS.UInteger
- buffer () -> ^Buffer
- bufferBytesPerRow () -> NS.UInteger
- bufferOffset () -> NS.UInteger
- compressionType () -> TextureCompressionType
- depth () -> NS.UInteger
- firstMipmapInTail () -> NS.UInteger
- getBytes (pixelBytes, bytesPerRow, region, level)
- getBytesWithLevel (pixelBytes, bytesPerRow, bytesPerImage, region, level, slice)
- gpuResourceID () -> ResourceID
- height () -> NS.UInteger
- iosurface () -> IOSurfaceRef
- iosurfacePlane () -> NS.UInteger
- isFramebufferOnly () -> bool
- isShareable () -> bool
- isSparse () -> bool
- mipmapLevelCount () -> NS.UInteger
- newRemoteTextureViewForDevice (device) -> ^Texture owned
- newSharedTextureHandle () -> ^SharedTextureHandle owned
- newTextureView (…) owned overloaded
- newTextureViewWithLevels (pixelFormat, textureType, levelRange, sliceRange) -> ^Texture owned
- newTextureViewWithLevelsAndSwizzle(pixelFormat, textureType, levelRange, sliceRange, swizzle) -> ^Texture owned
- newTextureViewWithPixelFormat (pixelFormat) -> ^Texture owned
- parentRelativeLevel () -> NS.UInteger
- parentRelativeSlice () -> NS.UInteger
- parentTexture () -> ^Texture
- pixelFormat () -> PixelFormat
- remoteStorageTexture () -> ^Texture
- replaceRegion (region, level, pixelBytes, bytesPerRow)
- replaceRegionWithLevel (region, level, slice, pixelBytes, bytesPerRow, bytesPerImage)
- rootResource () -> ^Resource
- sampleCount () -> NS.UInteger
- swizzle () -> TextureSwizzleChannels
- tailSizeInBytes () -> NS.UInteger
- textureType () -> TextureType
- usage () -> TextureUsage
- width () -> NS.UInteger
Methods Inherited From Resource
- allocatedSize () -> NS.UInteger
- cpuCacheMode () -> CPUCacheMode
- device () -> ^Device
- hazardTrackingMode() -> HazardTrackingMode
- heap () -> ^Heap
- heapOffset () -> NS.UInteger
- isAliasable () -> bool
- label () -> ^NS.String
- makeAliasable ()
- resourceOptions () -> ResourceOptions
- setLabel (label)
- setPurgeableState (state) -> PurgeableState
- storageMode () -> StorageMode
Methods Inherited From NS.Object
- autorelease ()
- class () -> ^intrinsics.objc_class
- copy () -> ^T
- debugDescription () -> ^NS.String
- description () -> ^NS.String
- hash () -> NS.UInteger
- init () -> ^T
- isEqual (pObject) -> bool
- performSelectorOnMainThread(aSelector, arg, wait)
- release ()
- retain ()
- retainCount () -> NS.UInteger
TextureBinding ¶
TextureBinding :: struct { using _: Binding, }TextureBinding :: struct { using _: Binding, } // Objective-C class MTLTextureBinding // Inherits Binding → NS.Object // 4 methods
Bound Objective-C Methods
- arrayLength () -> NS.UInteger
- isDepthTexture () -> bool
- textureDataType() -> DataType
- textureType () -> TextureType
Methods Inherited From Binding
- access () -> ArgumentAccess
- index () -> NS.UInteger
- isArgument() -> bool
- isUsed () -> bool
- name () -> ^NS.String
- type () -> BindingType
Methods Inherited From NS.Object
- autorelease ()
- class () -> ^intrinsics.objc_class
- copy () -> ^T
- debugDescription () -> ^NS.String
- description () -> ^NS.String
- hash () -> NS.UInteger
- init () -> ^T
- isEqual (pObject) -> bool
- performSelectorOnMainThread(aSelector, arg, wait)
- release ()
- retain ()
- retainCount () -> NS.UInteger
TextureCompressionType ¶
TextureCompressionType :: enum NS.Integer { Lossless = 0, Lossy = 1, }
Related Procedures With Returns
TextureDescriptor ¶
TextureDescriptor :: struct { using _: NS.Copying($T=TextureDescriptor), }TextureDescriptor :: struct { using _: NS.Copying($T=TextureDescriptor), } // Objective-C class MTLTextureDescriptor // Inherits NS.Copying → NS.Object // 37 methods
External examples metal/learn_metal/07-texturing · metal/learn_metal/05-perspective · metal/learn_metal/06-lighting +2
Bound Objective-C Methods
- alloc () -> ^TextureDescriptor class method owned
- allowGPUOptimizedContents () -> bool
- arrayLength () -> NS.UInteger
- compressionType () -> TextureCompressionType
- cpuCacheMode () -> CPUCacheMode
- depth () -> NS.UInteger
- hazardTrackingMode () -> HazardTrackingMode
- height () -> NS.UInteger
- init () -> ^TextureDescriptor
- mipmapLevelCount () -> NS.UInteger
- pixelFormat () -> PixelFormat
- resourceOptions () -> ResourceOptions
- sampleCount () -> NS.UInteger
- setAllowGPUOptimizedContents (allowGPUOptimizedContents)
- setArrayLength (arrayLength)
- setCompressionType (compressionType)
- setCpuCacheMode (cpuCacheMode)
- setDepth (depth)
- setHazardTrackingMode (hazardTrackingMode)
- setHeight (height)
- setMipmapLevelCount (mipmapLevelCount)
- setPixelFormat (pixelFormat)
- setResourceOptions (resourceOptions)
- setSampleCount (sampleCount)
- setStorageMode (storageMode)
- setSwizzle (swizzle)
- setTextureType (textureType)
- setUsage (usage)
- setWidth (width)
- storageMode () -> StorageMode
- swizzle () -> TextureSwizzleChannels
- texture2DDescriptorWithPixelFormat (pixelFormat, width, height, mipmapped) -> ^TextureDescriptor class method
- textureBufferDescriptorWithPixelFormat(pixelFormat, width, resourceOptions, usage) -> ^TextureDescriptor class method
- textureCubeDescriptorWithPixelFormat (pixelFormat, size, mipmapped) -> ^TextureDescriptor class method
- textureType () -> TextureType
- usage () -> TextureUsage
- width () -> NS.UInteger
Methods Inherited From NS.Object
- autorelease ()
- class () -> ^intrinsics.objc_class
- copy () -> ^T
- debugDescription () -> ^NS.String
- description () -> ^NS.String
- hash () -> NS.UInteger
- isEqual (pObject) -> bool
- performSelectorOnMainThread(aSelector, arg, wait)
- release ()
- retain ()
- retainCount () -> NS.UInteger
TextureReferenceType ¶
TextureReferenceType :: struct { using _: Type, }TextureReferenceType :: struct { using _: Type, } // Objective-C class MTLTextureReferenceType // Inherits Type → NS.Object // 6 methods
Bound Objective-C Methods
- access () -> ArgumentAccess
- alloc () -> ^TextureReferenceType class method owned
- init () -> ^TextureReferenceType
- isDepthTexture () -> bool
- textureDataType() -> DataType
- textureType () -> TextureType
Methods Inherited From Type
Methods Inherited From NS.Object
- autorelease ()
- class () -> ^intrinsics.objc_class
- copy () -> ^T
- debugDescription () -> ^NS.String
- description () -> ^NS.String
- hash () -> NS.UInteger
- isEqual (pObject) -> bool
- performSelectorOnMainThread(aSelector, arg, wait)
- release ()
- retain ()
- retainCount () -> NS.UInteger
TextureSwizzle ¶
TextureSwizzle :: enum u8 { Zero = 0, One = 1, Red = 2, Green = 3, Blue = 4, Alpha = 5, }
TextureSwizzleChannels ¶
TextureSwizzleChannels :: struct { red: TextureSwizzle, green: TextureSwizzle, blue: TextureSwizzle, alpha: TextureSwizzle, }
Related Procedures With Parameters
Related Procedures With Returns
TextureType ¶
TextureType :: enum NS.UInteger { Type1D = 0, Type1DArray = 1, Type2D = 2, Type2DArray = 3, Type2DMultisample = 4, TypeCube = 5, TypeCubeArray = 6, Type3D = 7, Type2DMultisampleArray = 8, TypeTextureBuffer = 9, }
Related Procedures With Parameters
TextureUsage ¶
TextureUsage :: distinct bit_set[TextureUsageFlag; NS.UInteger]
Related Procedures With Parameters
Related Procedures With Returns
TextureUsageFlag ¶
TextureUsageFlag :: enum NS.UInteger { ShaderRead = 0, ShaderWrite = 1, RenderTarget = 2, PixelFormatView = 4, }
ThreadgroupBinding ¶
ThreadgroupBinding :: struct { using _: Binding, }ThreadgroupBinding :: struct { using _: Binding, } // Objective-C class MTLThreadgroupBinding // Inherits Binding → NS.Object // 2 methods
Bound Objective-C Methods
- threadgroupMemoryAlignment() -> NS.UInteger
- threadgroupMemoryDataSize () -> NS.UInteger
Methods Inherited From Binding
- access () -> ArgumentAccess
- index () -> NS.UInteger
- isArgument() -> bool
- isUsed () -> bool
- name () -> ^NS.String
- type () -> BindingType
Methods Inherited From NS.Object
- autorelease ()
- class () -> ^intrinsics.objc_class
- copy () -> ^T
- debugDescription () -> ^NS.String
- description () -> ^NS.String
- hash () -> NS.UInteger
- init () -> ^T
- isEqual (pObject) -> bool
- performSelectorOnMainThread(aSelector, arg, wait)
- release ()
- retain ()
- retainCount () -> NS.UInteger
TileRenderPipelineColorAttachmentDescriptor ¶
TileRenderPipelineColorAttachmentDescriptor :: struct { using _: NS.Copying($T=TileRenderPipelineColorAttachmentDescriptor), }TileRenderPipelineColorAttachmentDescriptor :: struct { using _: NS.Copying($T=TileRenderPipelineColorAttachmentDescriptor), } // Objective-C class MTLTileRenderPipelineColorAttachmentDescriptor // Inherits NS.Copying → NS.Object // 4 methods
Bound Objective-C Methods
- alloc () -> ^TileRenderPipelineColorAttachmentDescriptor class method owned
- init () -> ^TileRenderPipelineColorAttachmentDescriptor
- pixelFormat () -> PixelFormat
- setPixelFormat(pixelFormat)
Methods Inherited From NS.Object
- autorelease ()
- class () -> ^intrinsics.objc_class
- copy () -> ^T
- debugDescription () -> ^NS.String
- description () -> ^NS.String
- hash () -> NS.UInteger
- isEqual (pObject) -> bool
- performSelectorOnMainThread(aSelector, arg, wait)
- release ()
- retain ()
- retainCount () -> NS.UInteger
TileRenderPipelineColorAttachmentDescriptorArray ¶
TileRenderPipelineColorAttachmentDescriptorArray :: struct { using _: NS.Object, }TileRenderPipelineColorAttachmentDescriptorArray :: struct { using _: NS.Object, } // Objective-C class MTLTileRenderPipelineColorAttachmentDescriptorArray // Inherits NS.Object // 4 methods
Bound Objective-C Methods
- alloc () -> ^TileRenderPipelineColorAttachmentDescriptorArray class method owned
- init () -> ^TileRenderPipelineColorAttachmentDescriptorArray
- object (attachmentIndex) -> ^TileRenderPipelineColorAttachmentDescriptor
- setObject(attachment, attachmentIndex)
Methods Inherited From NS.Object
- autorelease ()
- class () -> ^intrinsics.objc_class
- copy () -> ^T
- debugDescription () -> ^NS.String
- description () -> ^NS.String
- hash () -> NS.UInteger
- isEqual (pObject) -> bool
- performSelectorOnMainThread(aSelector, arg, wait)
- release ()
- retain ()
- retainCount () -> NS.UInteger
TileRenderPipelineDescriptor ¶
TileRenderPipelineDescriptor :: struct { using _: NS.Copying($T=TileRenderPipelineDescriptor), }TileRenderPipelineDescriptor :: struct { using _: NS.Copying($T=TileRenderPipelineDescriptor), } // Objective-C class MTLTileRenderPipelineDescriptor // Inherits NS.Copying → NS.Object // 17 methods
Bound Objective-C Methods
- alloc () -> ^TileRenderPipelineDescriptor class method owned
- binaryArchives () -> ^NS.Array
- colorAttachments () -> ^TileRenderPipelineColorAttachmentDescriptorArray
- init () -> ^TileRenderPipelineDescriptor
- label () -> ^NS.String
- maxTotalThreadsPerThreadgroup () -> NS.UInteger
- rasterSampleCount () -> NS.UInteger
- reset ()
- setBinaryArchives (binaryArchives)
- setLabel (label)
- setMaxTotalThreadsPerThreadgroup (maxTotalThreadsPerThreadgroup)
- setRasterSampleCount (rasterSampleCount)
- setThreadgroupSizeMatchesTileSize(threadgroupSizeMatchesTileSize)
- setTileFunction (tileFunction)
- threadgroupSizeMatchesTileSize () -> bool
- tileBuffers () -> ^PipelineBufferDescriptorArray
- tileFunction () -> ^Function
Methods Inherited From NS.Object
- autorelease ()
- class () -> ^intrinsics.objc_class
- copy () -> ^T
- debugDescription () -> ^NS.String
- description () -> ^NS.String
- hash () -> NS.UInteger
- isEqual (pObject) -> bool
- performSelectorOnMainThread(aSelector, arg, wait)
- release ()
- retain ()
- retainCount () -> NS.UInteger
Timestamp ¶
Timestamp :: distinct u64
TriangleFillMode ¶
TriangleFillMode :: enum NS.UInteger { Fill = 0, Lines = 1, }
Type ¶
Type :: struct { using _: NS.Object, }Type :: struct { using _: NS.Object, } // Objective-C class MTLType // Inherits NS.Object // 3 methods
Bound Objective-C Methods
Methods Inherited From NS.Object
- autorelease ()
- class () -> ^intrinsics.objc_class
- copy () -> ^T
- debugDescription () -> ^NS.String
- description () -> ^NS.String
- hash () -> NS.UInteger
- isEqual (pObject) -> bool
- performSelectorOnMainThread(aSelector, arg, wait)
- release ()
- retain ()
- retainCount () -> NS.UInteger
VertexAttribute ¶
VertexAttribute :: struct { using _: NS.Object, }VertexAttribute :: struct { using _: NS.Object, } // Objective-C class MTLVertexAttribute // Inherits NS.Object // 8 methods
Bound Objective-C Methods
- alloc () -> ^VertexAttribute class method owned
- attributeIndex () -> NS.UInteger
- attributeType () -> DataType
- init () -> ^VertexAttribute
- isActive () -> bool
- isPatchControlPointData() -> bool
- isPatchData () -> bool
- name () -> ^NS.String
Methods Inherited From NS.Object
- autorelease ()
- class () -> ^intrinsics.objc_class
- copy () -> ^T
- debugDescription () -> ^NS.String
- description () -> ^NS.String
- hash () -> NS.UInteger
- isEqual (pObject) -> bool
- performSelectorOnMainThread(aSelector, arg, wait)
- release ()
- retain ()
- retainCount () -> NS.UInteger
VertexAttributeDescriptor ¶
VertexAttributeDescriptor :: struct { using _: NS.Copying($T=VertexAttributeDescriptor), }VertexAttributeDescriptor :: struct { using _: NS.Copying($T=VertexAttributeDescriptor), } // Objective-C class MTLVertexAttributeDescriptor // Inherits NS.Copying → NS.Object // 8 methods
Bound Objective-C Methods
- alloc () -> ^VertexAttributeDescriptor class method owned
- bufferIndex () -> NS.UInteger
- format () -> VertexFormat
- init () -> ^VertexAttributeDescriptor
- offset () -> NS.UInteger
- setBufferIndex(bufferIndex)
- setFormat (format)
- setOffset (offset)
Methods Inherited From NS.Object
- autorelease ()
- class () -> ^intrinsics.objc_class
- copy () -> ^T
- debugDescription () -> ^NS.String
- description () -> ^NS.String
- hash () -> NS.UInteger
- isEqual (pObject) -> bool
- performSelectorOnMainThread(aSelector, arg, wait)
- release ()
- retain ()
- retainCount () -> NS.UInteger
VertexAttributeDescriptorArray ¶
VertexAttributeDescriptorArray :: struct { using _: NS.Object, }VertexAttributeDescriptorArray :: struct { using _: NS.Object, } // Objective-C class MTLVertexAttributeDescriptorArray // Inherits NS.Object // 4 methods
Bound Objective-C Methods
- alloc () -> ^VertexAttributeDescriptorArray class method owned
- init () -> ^VertexAttributeDescriptorArray
- object (index) -> ^VertexAttributeDescriptor
- setObject(attributeDesc, index)
Methods Inherited From NS.Object
- autorelease ()
- class () -> ^intrinsics.objc_class
- copy () -> ^T
- debugDescription () -> ^NS.String
- description () -> ^NS.String
- hash () -> NS.UInteger
- isEqual (pObject) -> bool
- performSelectorOnMainThread(aSelector, arg, wait)
- release ()
- retain ()
- retainCount () -> NS.UInteger
VertexBufferLayoutDescriptor ¶
VertexBufferLayoutDescriptor :: struct { using _: NS.Copying($T=VertexBufferLayoutDescriptor), }VertexBufferLayoutDescriptor :: struct { using _: NS.Copying($T=VertexBufferLayoutDescriptor), } // Objective-C class MTLVertexBufferLayoutDescriptor // Inherits NS.Copying → NS.Object // 8 methods
Bound Objective-C Methods
- alloc () -> ^VertexBufferLayoutDescriptor class method owned
- init () -> ^VertexBufferLayoutDescriptor
- setStepFunction(stepFunction)
- setStepRate (stepRate)
- setStride (stride)
- stepFunction () -> VertexStepFunction
- stepRate () -> NS.UInteger
- stride () -> NS.UInteger
Methods Inherited From NS.Object
- autorelease ()
- class () -> ^intrinsics.objc_class
- copy () -> ^T
- debugDescription () -> ^NS.String
- description () -> ^NS.String
- hash () -> NS.UInteger
- isEqual (pObject) -> bool
- performSelectorOnMainThread(aSelector, arg, wait)
- release ()
- retain ()
- retainCount () -> NS.UInteger
VertexBufferLayoutDescriptorArray ¶
VertexBufferLayoutDescriptorArray :: struct { using _: NS.Object, }VertexBufferLayoutDescriptorArray :: struct { using _: NS.Object, } // Objective-C class MTLVertexBufferLayoutDescriptorArray // Inherits NS.Object // 4 methods
Bound Objective-C Methods
- alloc () -> ^VertexBufferLayoutDescriptorArray class method owned
- init () -> ^VertexBufferLayoutDescriptorArray
- object (index) -> ^VertexBufferLayoutDescriptor
- setObject(bufferDesc, index)
Methods Inherited From NS.Object
- autorelease ()
- class () -> ^intrinsics.objc_class
- copy () -> ^T
- debugDescription () -> ^NS.String
- description () -> ^NS.String
- hash () -> NS.UInteger
- isEqual (pObject) -> bool
- performSelectorOnMainThread(aSelector, arg, wait)
- release ()
- retain ()
- retainCount () -> NS.UInteger
VertexDescriptor ¶
VertexDescriptor :: struct { using _: NS.Copying($T=VertexDescriptor), }VertexDescriptor :: struct { using _: NS.Copying($T=VertexDescriptor), } // Objective-C class MTLVertexDescriptor // Inherits NS.Copying → NS.Object // 6 methods
Bound Objective-C Methods
- alloc () -> ^VertexDescriptor class method owned
- attributes () -> ^VertexAttributeDescriptorArray
- init () -> ^VertexDescriptor
- layouts () -> ^VertexBufferLayoutDescriptorArray
- reset ()
- vertexDescriptor() -> ^VertexDescriptor class method
Methods Inherited From NS.Object
- autorelease ()
- class () -> ^intrinsics.objc_class
- copy () -> ^T
- debugDescription () -> ^NS.String
- description () -> ^NS.String
- hash () -> NS.UInteger
- isEqual (pObject) -> bool
- performSelectorOnMainThread(aSelector, arg, wait)
- release ()
- retain ()
- retainCount () -> NS.UInteger
VertexFormat ¶
VertexFormat :: enum NS.UInteger { Invalid = 0, UChar2 = 1, UChar3 = 2, UChar4 = 3, Char2 = 4, Char3 = 5, Char4 = 6, UChar2Normalized = 7, UChar3Normalized = 8, UChar4Normalized = 9, Char2Normalized = 10, Char3Normalized = 11, Char4Normalized = 12, UShort2 = 13, UShort3 = 14, UShort4 = 15, Short2 = 16, Short3 = 17, Short4 = 18, UShort2Normalized = 19, UShort3Normalized = 20, UShort4Normalized = 21, Short2Normalized = 22, Short3Normalized = 23, Short4Normalized = 24, Half2 = 25, Half3 = 26, Half4 = 27, Float = 28, Float2 = 29, Float3 = 30, Float4 = 31, Int = 32, Int2 = 33, Int3 = 34, Int4 = 35, UInt = 36, UInt2 = 37, UInt3 = 38, UInt4 = 39, Int1010102Normalized = 40, UInt1010102Normalized = 41, UChar4Normalized_BGRA = 42, UChar = 45, Char = 46, UCharNormalized = 47, CharNormalized = 48, UShort = 49, Short = 50, UShortNormalized = 51, ShortNormalized = 52, Half = 53, }
VertexStepFunction ¶
VertexStepFunction :: enum NS.UInteger { Constant = 0, PerVertex = 1, PerInstance = 2, PerPatch = 3, PerPatchControlPoint = 4, }
VisibilityResultMode ¶
VisibilityResultMode :: enum NS.UInteger { Disabled = 0, Boolean = 1, Counting = 2, }
VisibleFunctionTable ¶
VisibleFunctionTable :: struct { using _: Resource, }VisibleFunctionTable :: struct { using _: Resource, } // Objective-C class MTLVisibleFunctionTable // Inherits Resource → NS.Object // 3 methods
Bound Objective-C Methods
- gpuResourceID() -> ResourceID
- setFunction (function, index)
- setFunctions (functions, range)
Methods Inherited From Resource
- allocatedSize () -> NS.UInteger
- cpuCacheMode () -> CPUCacheMode
- device () -> ^Device
- hazardTrackingMode() -> HazardTrackingMode
- heap () -> ^Heap
- heapOffset () -> NS.UInteger
- isAliasable () -> bool
- label () -> ^NS.String
- makeAliasable ()
- resourceOptions () -> ResourceOptions
- setLabel (label)
- setPurgeableState (state) -> PurgeableState
- storageMode () -> StorageMode
Methods Inherited From NS.Object
- autorelease ()
- class () -> ^intrinsics.objc_class
- copy () -> ^T
- debugDescription () -> ^NS.String
- description () -> ^NS.String
- hash () -> NS.UInteger
- init () -> ^T
- isEqual (pObject) -> bool
- performSelectorOnMainThread(aSelector, arg, wait)
- release ()
- retain ()
- retainCount () -> NS.UInteger
VisibleFunctionTableDescriptor ¶
VisibleFunctionTableDescriptor :: struct { using _: NS.Copying($T=VisibleFunctionTableDescriptor), }VisibleFunctionTableDescriptor :: struct { using _: NS.Copying($T=VisibleFunctionTableDescriptor), } // Objective-C class MTLVisibleFunctionTableDescriptor // Inherits NS.Copying → NS.Object // 5 methods
Bound Objective-C Methods
- alloc () -> ^VisibleFunctionTableDescriptor class method owned
- functionCount () -> NS.UInteger
- init () -> ^VisibleFunctionTableDescriptor
- setFunctionCount (functionCount)
- visibleFunctionTableDescriptor() -> ^VisibleFunctionTableDescriptor class method
Methods Inherited From NS.Object
- autorelease ()
- class () -> ^intrinsics.objc_class
- copy () -> ^T
- debugDescription () -> ^NS.String
- description () -> ^NS.String
- hash () -> NS.UInteger
- isEqual (pObject) -> bool
- performSelectorOnMainThread(aSelector, arg, wait)
- release ()
- retain ()
- retainCount () -> NS.UInteger
Winding ¶
Winding :: enum NS.UInteger { Clockwise = 0, CounterClockwise = 1, }
Related Procedures With Parameters
dispatch_data_t ¶
dispatch_data_t :: ^NS.Object
Related Procedures With Parameters
Related Procedures With Returns
dispatch_queue_t ¶
dispatch_queue_t :: ^NS.Object
Related Procedures With Parameters
Related Procedures With Returns
Constants
ColorWriteMaskAll ¶
ColorWriteMaskAll :: ColorWriteMask{.Alpha, .Blue, .Green, .Red}
ResourceCPUCacheModeDefaultCache ¶
ResourceCPUCacheModeDefaultCache :: ResourceOptions{}
ResourceHazardTrackingModeDefault ¶
ResourceHazardTrackingModeDefault :: ResourceOptions{}
ResourceOptionCPUCacheModeDefault ¶
ResourceOptionCPUCacheModeDefault :: ResourceOptions{}
ResourceStorageModeMemoryless ¶
ResourceStorageModeMemoryless :: ResourceOptions{.StorageModeManaged, .StorageModePrivate}
ResourceStorageModeShared ¶
ResourceStorageModeShared :: ResourceOptions{}
Variables
CommandBufferEncoderInfoErrorKey ¶
@(linkage="weak") CommandBufferEncoderInfoErrorKey: ^^NS.String
CommonCounterClipperInvocations ¶
@(linkage="weak") CommonCounterClipperInvocations: ^NS.String
CommonCounterClipperPrimitivesOut ¶
@(linkage="weak") CommonCounterClipperPrimitivesOut: ^NS.String
CommonCounterComputeKernelInvocations ¶
@(linkage="weak") CommonCounterComputeKernelInvocations: ^NS.String
CommonCounterFragmentCycles ¶
@(linkage="weak") CommonCounterFragmentCycles: ^NS.String
CommonCounterFragmentInvocations ¶
@(linkage="weak") CommonCounterFragmentInvocations: ^NS.String
CommonCounterFragmentsPassed ¶
@(linkage="weak") CommonCounterFragmentsPassed: ^NS.String
CommonCounterPostTessellationVertexCycles ¶
@(linkage="weak") CommonCounterPostTessellationVertexCycles: ^NS.String
CommonCounterPostTessellationVertexInvocations ¶
@(linkage="weak") CommonCounterPostTessellationVertexInvocations: ^NS.String
CommonCounterRenderTargetWriteCycles ¶
@(linkage="weak") CommonCounterRenderTargetWriteCycles: ^NS.String
CommonCounterSetStageUtilization ¶
@(linkage="weak") CommonCounterSetStageUtilization: ^NS.String
CommonCounterSetStatistic ¶
@(linkage="weak") CommonCounterSetStatistic: ^NS.String
CommonCounterSetTimestamp ¶
@(linkage="weak") CommonCounterSetTimestamp: ^NS.String
CommonCounterTessellationCycles ¶
@(linkage="weak") CommonCounterTessellationCycles: ^NS.String
CommonCounterTessellationInputPatches ¶
@(linkage="weak") CommonCounterTessellationInputPatches: ^NS.String
CommonCounterTimestamp ¶
@(linkage="weak") CommonCounterTimestamp: ^NS.String
CommonCounterTotalCycles ¶
@(linkage="weak") CommonCounterTotalCycles: ^NS.String
CommonCounterVertexCycles ¶
@(linkage="weak") CommonCounterVertexCycles: ^NS.String
CommonCounterVertexInvocations ¶
@(linkage="weak") CommonCounterVertexInvocations: ^NS.String
DeviceRemovalRequestedNotification ¶
@(linkage="weak") DeviceRemovalRequestedNotification: ^NS.String
DeviceWasAddedNotification ¶
@(linkage="weak") DeviceWasAddedNotification: ^NS.String
DeviceWasRemovedNotification ¶
@(linkage="weak") DeviceWasRemovedNotification: ^NS.String
IOErrorDomain ¶
@(linkage="weak") IOErrorDomain: ^^NS.String
Procedures
AccelerationStructureBoundingBoxGeometryDescriptor_alloc ¶ class method owned
AccelerationStructureBoundingBoxGeometryDescriptor_alloc :: proc "c" () -> ^AccelerationStructureBoundingBoxGeometryDescriptor {…}
accelerationStructureBoundingBoxGeometryDescriptor := AccelerationStructureBoundingBoxGeometryDescriptor.alloc()
AccelerationStructureBoundingBoxGeometryDescriptor_boundingBoxBuffer ¶
AccelerationStructureBoundingBoxGeometryDescriptor_boundingBoxBuffer :: proc "c" (self: ^AccelerationStructureBoundingBoxGeometryDescriptor) -> ^Buffer {…}
boundingBoxBuffer := accelerationStructureBoundingBoxGeometryDescriptor->boundingBoxBuffer()
AccelerationStructureBoundingBoxGeometryDescriptor_boundingBoxBufferOffset ¶
AccelerationStructureBoundingBoxGeometryDescriptor_boundingBoxBufferOffset :: proc "c" (self: ^AccelerationStructureBoundingBoxGeometryDescriptor) -> NS.UInteger {…}
boundingBoxBufferOffset := accelerationStructureBoundingBoxGeometryDescriptor->boundingBoxBufferOffset()
AccelerationStructureBoundingBoxGeometryDescriptor_boundingBoxCount ¶
AccelerationStructureBoundingBoxGeometryDescriptor_boundingBoxCount :: proc "c" (self: ^AccelerationStructureBoundingBoxGeometryDescriptor) -> NS.UInteger {…}
boundingBoxCount := accelerationStructureBoundingBoxGeometryDescriptor->boundingBoxCount()
AccelerationStructureBoundingBoxGeometryDescriptor_boundingBoxStride ¶
AccelerationStructureBoundingBoxGeometryDescriptor_boundingBoxStride :: proc "c" (self: ^AccelerationStructureBoundingBoxGeometryDescriptor) -> NS.UInteger {…}
boundingBoxStride := accelerationStructureBoundingBoxGeometryDescriptor->boundingBoxStride()
AccelerationStructureBoundingBoxGeometryDescriptor_descriptor ¶ class method
AccelerationStructureBoundingBoxGeometryDescriptor_descriptor :: proc "c" () -> ^AccelerationStructureBoundingBoxGeometryDescriptor {…}
accelerationStructureBoundingBoxGeometryDescriptor := AccelerationStructureBoundingBoxGeometryDescriptor.descriptor()
AccelerationStructureBoundingBoxGeometryDescriptor_init ¶
AccelerationStructureBoundingBoxGeometryDescriptor_init :: proc "c" (self: ^AccelerationStructureBoundingBoxGeometryDescriptor) -> ^AccelerationStructureBoundingBoxGeometryDescriptor {…}
res := accelerationStructureBoundingBoxGeometryDescriptor->init()
AccelerationStructureBoundingBoxGeometryDescriptor_setBoundingBoxBuffer ¶
AccelerationStructureBoundingBoxGeometryDescriptor_setBoundingBoxBuffer :: proc "c" ( self: ^AccelerationStructureBoundingBoxGeometryDescriptor, boundingBoxBuffer: ^Buffer, ) {…}
accelerationStructureBoundingBoxGeometryDescriptor->setBoundingBoxBuffer(boundingBoxBuffer)
AccelerationStructureBoundingBoxGeometryDescriptor_setBoundingBoxBufferOffset ¶
AccelerationStructureBoundingBoxGeometryDescriptor_setBoundingBoxBufferOffset :: proc "c" ( self: ^AccelerationStructureBoundingBoxGeometryDescriptor, boundingBoxBufferOffset: NS.UInteger, ) {…}
accelerationStructureBoundingBoxGeometryDescriptor->setBoundingBoxBufferOffset(boundingBoxBufferOffset)
AccelerationStructureBoundingBoxGeometryDescriptor_setBoundingBoxCount ¶
AccelerationStructureBoundingBoxGeometryDescriptor_setBoundingBoxCount :: proc "c" ( self: ^AccelerationStructureBoundingBoxGeometryDescriptor, boundingBoxCount: NS.UInteger, ) {…}
accelerationStructureBoundingBoxGeometryDescriptor->setBoundingBoxCount(boundingBoxCount)
AccelerationStructureBoundingBoxGeometryDescriptor_setBoundingBoxStride ¶
AccelerationStructureBoundingBoxGeometryDescriptor_setBoundingBoxStride :: proc "c" ( self: ^AccelerationStructureBoundingBoxGeometryDescriptor, boundingBoxStride: NS.UInteger, ) {…}
accelerationStructureBoundingBoxGeometryDescriptor->setBoundingBoxStride(boundingBoxStride)
AccelerationStructureCommandEncoder_buildAccelerationStructure ¶
AccelerationStructureCommandEncoder_buildAccelerationStructure :: proc "c" ( self: ^AccelerationStructureCommandEncoder, accelerationStructure: ^AccelerationStructure, descriptor: ^AccelerationStructureDescriptor, scratchBuffer: ^Buffer, scratchBufferOffset: NS.UInteger, ) {…}
accelerationStructureCommandEncoder->buildAccelerationStructure( accelerationStructure, descriptor, scratchBuffer, scratchBufferOffset, )
AccelerationStructureCommandEncoder_copyAccelerationStructure ¶
AccelerationStructureCommandEncoder_copyAccelerationStructure :: proc "c" ( self: ^AccelerationStructureCommandEncoder, sourceAccelerationStructure, destinationAccelerationStructure: ^AccelerationStructure, ) {…}
accelerationStructureCommandEncoder->copyAccelerationStructure( sourceAccelerationStructure, destinationAccelerationStructure, )
AccelerationStructureCommandEncoder_copyAndCompactAccelerationStructure ¶
AccelerationStructureCommandEncoder_copyAndCompactAccelerationStructure :: proc "c" ( self: ^AccelerationStructureCommandEncoder, sourceAccelerationStructure, destinationAccelerationStructure: ^AccelerationStructure, ) {…}
accelerationStructureCommandEncoder->copyAndCompactAccelerationStructure( sourceAccelerationStructure, destinationAccelerationStructure, )
AccelerationStructureCommandEncoder_refitAccelerationStructure ¶
AccelerationStructureCommandEncoder_refitAccelerationStructure :: proc "c" ( self: ^AccelerationStructureCommandEncoder, sourceAccelerationStructure: ^AccelerationStructure, descriptor: ^AccelerationStructureDescriptor, destinationAccelerationStructure: ^AccelerationStructure, scratchBuffer: ^Buffer, scratchBufferOffset: NS.UInteger, ) {…}
accelerationStructureCommandEncoder->refitAccelerationStructure( sourceAccelerationStructure, descriptor, destinationAccelerationStructure, scratchBuffer, scratchBufferOffset, )
AccelerationStructureCommandEncoder_refitAccelerationStructureWithOptions ¶
AccelerationStructureCommandEncoder_refitAccelerationStructureWithOptions :: proc "c" ( self: ^AccelerationStructureCommandEncoder, sourceAccelerationStructure: ^AccelerationStructure, descriptor: ^AccelerationStructureDescriptor, destinationAccelerationStructure: ^AccelerationStructure, scratchBuffer: ^Buffer, scratchBufferOffset: NS.UInteger, options: AccelerationStructureRefitOptions, ) {…}
accelerationStructureCommandEncoder->refitAccelerationStructureWithOptions( sourceAccelerationStructure, descriptor, destinationAccelerationStructure, scratchBuffer, scratchBufferOffset, options, )
AccelerationStructureCommandEncoder_sampleCountersInBuffer ¶
AccelerationStructureCommandEncoder_sampleCountersInBuffer :: proc "c" ( self: ^AccelerationStructureCommandEncoder, sampleBuffer: ^Buffer, sampleIndex: NS.UInteger, barrier: bool, ) {…}
accelerationStructureCommandEncoder->sampleCountersInBuffer(sampleBuffer, sampleIndex, barrier)
AccelerationStructureCommandEncoder_updateFence ¶
AccelerationStructureCommandEncoder_updateFence :: proc "c" ( self: ^AccelerationStructureCommandEncoder, fence: ^Fence, ) {…}
accelerationStructureCommandEncoder->updateFence(fence)
AccelerationStructureCommandEncoder_useHeap ¶
AccelerationStructureCommandEncoder_useHeap :: proc "c" ( self: ^AccelerationStructureCommandEncoder, heap: ^Heap, ) {…}
accelerationStructureCommandEncoder->useHeap(heap)
AccelerationStructureCommandEncoder_useHeaps ¶
AccelerationStructureCommandEncoder_useHeaps :: proc "c" ( self: ^AccelerationStructureCommandEncoder, heaps: []^Heap, ) {…}
accelerationStructureCommandEncoder->useHeaps(heaps)
AccelerationStructureCommandEncoder_useResource ¶
AccelerationStructureCommandEncoder_useResource :: proc "c" ( self: ^AccelerationStructureCommandEncoder, resource: ^Resource, usage: ResourceUsage, ) {…}
accelerationStructureCommandEncoder->useResource(resource, usage)
AccelerationStructureCommandEncoder_useResources ¶
AccelerationStructureCommandEncoder_useResources :: proc "c" ( self: ^AccelerationStructureCommandEncoder, resources: []^Resource, usage: ResourceUsage, ) {…}
accelerationStructureCommandEncoder->useResources(resources, usage)
AccelerationStructureCommandEncoder_waitForFence ¶
AccelerationStructureCommandEncoder_waitForFence :: proc "c" ( self: ^AccelerationStructureCommandEncoder, fence: ^Fence, ) {…}
accelerationStructureCommandEncoder->waitForFence(fence)
AccelerationStructureCommandEncoder_writeCompactedAccelerationStructureSize ¶
AccelerationStructureCommandEncoder_writeCompactedAccelerationStructureSize :: proc "c" ( self: ^AccelerationStructureCommandEncoder, accelerationStructure: ^AccelerationStructure, buffer: ^Buffer, offset: NS.UInteger, ) {…}
accelerationStructureCommandEncoder->writeCompactedAccelerationStructureSize( accelerationStructure, buffer, offset, )
AccelerationStructureDescriptor_alloc ¶ class method owned
AccelerationStructureDescriptor_alloc :: proc "c" () -> ^AccelerationStructureDescriptor {…}
accelerationStructureDescriptor := AccelerationStructureDescriptor.alloc()
AccelerationStructureDescriptor_init ¶
AccelerationStructureDescriptor_init :: proc "c" (self: ^AccelerationStructureDescriptor) -> ^AccelerationStructureDescriptor {…}
res := accelerationStructureDescriptor->init()
AccelerationStructureDescriptor_setUsage ¶
AccelerationStructureDescriptor_setUsage :: proc "c" ( self: ^AccelerationStructureDescriptor, usage: AccelerationStructureUsage, ) {…}
accelerationStructureDescriptor->setUsage(usage)
AccelerationStructureDescriptor_usage ¶
AccelerationStructureDescriptor_usage :: proc "c" (self: ^AccelerationStructureDescriptor) -> AccelerationStructureUsage {…}
usage := accelerationStructureDescriptor->usage()
AccelerationStructureGeometryDescriptor_alloc ¶ class method owned
AccelerationStructureGeometryDescriptor_alloc :: proc "c" () -> ^AccelerationStructureGeometryDescriptor {…}
accelerationStructureGeometryDescriptor := AccelerationStructureGeometryDescriptor.alloc()
AccelerationStructureGeometryDescriptor_allowDuplicateIntersectionFunctionInvocation ¶
AccelerationStructureGeometryDescriptor_allowDuplicateIntersectionFunctionInvocation :: proc "c" (self: ^AccelerationStructureGeometryDescriptor) -> bool {…}
allowDuplicateIntersectionFunctionInvocation := accelerationStructureGeometryDescriptor->allowDuplicateIntersectionFunctionInvocation()
AccelerationStructureGeometryDescriptor_init ¶
AccelerationStructureGeometryDescriptor_init :: proc "c" (self: ^AccelerationStructureGeometryDescriptor) -> ^AccelerationStructureGeometryDescriptor {…}
res := accelerationStructureGeometryDescriptor->init()
AccelerationStructureGeometryDescriptor_intersectionFunctionTableOffset ¶
AccelerationStructureGeometryDescriptor_intersectionFunctionTableOffset :: proc "c" (self: ^AccelerationStructureGeometryDescriptor) -> NS.UInteger {…}
intersectionFunctionTableOffset := accelerationStructureGeometryDescriptor->intersectionFunctionTableOffset()
AccelerationStructureGeometryDescriptor_opaque ¶
AccelerationStructureGeometryDescriptor_opaque :: proc "c" (self: ^AccelerationStructureGeometryDescriptor) -> bool {…}
opaque := accelerationStructureGeometryDescriptor->opaque()
AccelerationStructureGeometryDescriptor_primitiveDataBuffer ¶
AccelerationStructureGeometryDescriptor_primitiveDataBuffer :: proc "c" (self: ^AccelerationStructureGeometryDescriptor) -> ^Buffer {…}
primitiveDataBuffer := accelerationStructureGeometryDescriptor->primitiveDataBuffer()
AccelerationStructureGeometryDescriptor_primitiveDataBufferOffset ¶
AccelerationStructureGeometryDescriptor_primitiveDataBufferOffset :: proc "c" (self: ^AccelerationStructureGeometryDescriptor) -> NS.UInteger {…}
primitiveDataBufferOffset := accelerationStructureGeometryDescriptor->primitiveDataBufferOffset()
AccelerationStructureGeometryDescriptor_primitiveDataElementSize ¶
AccelerationStructureGeometryDescriptor_primitiveDataElementSize :: proc "c" (self: ^AccelerationStructureGeometryDescriptor) -> NS.UInteger {…}
primitiveDataElementSize := accelerationStructureGeometryDescriptor->primitiveDataElementSize()
AccelerationStructureGeometryDescriptor_primitiveDataStride ¶
AccelerationStructureGeometryDescriptor_primitiveDataStride :: proc "c" (self: ^AccelerationStructureGeometryDescriptor) -> NS.UInteger {…}
primitiveDataStride := accelerationStructureGeometryDescriptor->primitiveDataStride()
AccelerationStructureGeometryDescriptor_setAllowDuplicateIntersectionFunctionInvocation ¶
AccelerationStructureGeometryDescriptor_setAllowDuplicateIntersectionFunctionInvocation :: proc "c" ( self: ^AccelerationStructureGeometryDescriptor, allowDuplicateIntersectionFunctionInvocation: bool, ) {…}
accelerationStructureGeometryDescriptor->setAllowDuplicateIntersectionFunctionInvocation(allowDuplicateIntersectionFunctionInvocation)
AccelerationStructureGeometryDescriptor_setIntersectionFunctionTableOffset ¶
AccelerationStructureGeometryDescriptor_setIntersectionFunctionTableOffset :: proc "c" ( self: ^AccelerationStructureGeometryDescriptor, intersectionFunctionTableOffset: NS.UInteger, ) {…}
accelerationStructureGeometryDescriptor->setIntersectionFunctionTableOffset(intersectionFunctionTableOffset)
AccelerationStructureGeometryDescriptor_setOpaque ¶
AccelerationStructureGeometryDescriptor_setOpaque :: proc "c" ( self: ^AccelerationStructureGeometryDescriptor, opaque: bool, ) {…}
accelerationStructureGeometryDescriptor->setOpaque(opaque)
AccelerationStructureGeometryDescriptor_setPrimitiveDataBuffer ¶
AccelerationStructureGeometryDescriptor_setPrimitiveDataBuffer :: proc "c" ( self: ^AccelerationStructureGeometryDescriptor, primitiveDataBuffer: ^Buffer, ) {…}
accelerationStructureGeometryDescriptor->setPrimitiveDataBuffer(primitiveDataBuffer)
AccelerationStructureGeometryDescriptor_setPrimitiveDataBufferOffset ¶
AccelerationStructureGeometryDescriptor_setPrimitiveDataBufferOffset :: proc "c" ( self: ^AccelerationStructureGeometryDescriptor, offset: NS.UInteger, ) {…}
accelerationStructureGeometryDescriptor->setPrimitiveDataBufferOffset(offset)
AccelerationStructureGeometryDescriptor_setPrimitiveDataElementSize ¶
AccelerationStructureGeometryDescriptor_setPrimitiveDataElementSize :: proc "c" ( self: ^AccelerationStructureGeometryDescriptor, elementSize: NS.UInteger, ) {…}
accelerationStructureGeometryDescriptor->setPrimitiveDataElementSize(elementSize)
AccelerationStructureGeometryDescriptor_setPrimitiveDataStride ¶
AccelerationStructureGeometryDescriptor_setPrimitiveDataStride :: proc "c" ( self: ^AccelerationStructureGeometryDescriptor, stride: NS.UInteger, ) {…}
accelerationStructureGeometryDescriptor->setPrimitiveDataStride(stride)
AccelerationStructureMotionBoundingBoxGeometryDescriptor_alloc ¶ class method owned
AccelerationStructureMotionBoundingBoxGeometryDescriptor_alloc :: proc "c" () -> ^AccelerationStructureMotionBoundingBoxGeometryDescriptor {…}
accelerationStructureMotionBoundingBoxGeometryDescriptor := AccelerationStructureMotionBoundingBoxGeometryDescriptor.alloc()
AccelerationStructureMotionBoundingBoxGeometryDescriptor_boundingBoxBuffers ¶
AccelerationStructureMotionBoundingBoxGeometryDescriptor_boundingBoxBuffers :: proc "c" (self: ^AccelerationStructureMotionBoundingBoxGeometryDescriptor) -> ^NS.Array {…}
boundingBoxBuffers := accelerationStructureMotionBoundingBoxGeometryDescriptor->boundingBoxBuffers()
AccelerationStructureMotionBoundingBoxGeometryDescriptor_boundingBoxCount ¶
AccelerationStructureMotionBoundingBoxGeometryDescriptor_boundingBoxCount :: proc "c" (self: ^AccelerationStructureMotionBoundingBoxGeometryDescriptor) -> NS.UInteger {…}
boundingBoxCount := accelerationStructureMotionBoundingBoxGeometryDescriptor->boundingBoxCount()
AccelerationStructureMotionBoundingBoxGeometryDescriptor_boundingBoxStride ¶
AccelerationStructureMotionBoundingBoxGeometryDescriptor_boundingBoxStride :: proc "c" (self: ^AccelerationStructureMotionBoundingBoxGeometryDescriptor) -> NS.UInteger {…}
boundingBoxStride := accelerationStructureMotionBoundingBoxGeometryDescriptor->boundingBoxStride()
AccelerationStructureMotionBoundingBoxGeometryDescriptor_descriptor ¶ class method
AccelerationStructureMotionBoundingBoxGeometryDescriptor_descriptor :: proc "c" () -> ^AccelerationStructureMotionBoundingBoxGeometryDescriptor {…}
accelerationStructureMotionBoundingBoxGeometryDescriptor := AccelerationStructureMotionBoundingBoxGeometryDescriptor.descriptor()
AccelerationStructureMotionBoundingBoxGeometryDescriptor_init ¶
AccelerationStructureMotionBoundingBoxGeometryDescriptor_init :: proc "c" (self: ^AccelerationStructureMotionBoundingBoxGeometryDescriptor) -> ^AccelerationStructureMotionBoundingBoxGeometryDescriptor {…}
res := accelerationStructureMotionBoundingBoxGeometryDescriptor->init()
AccelerationStructureMotionBoundingBoxGeometryDescriptor_setBoundBoxBuffers ¶
AccelerationStructureMotionBoundingBoxGeometryDescriptor_setBoundBoxBuffers :: proc "c" ( self: ^AccelerationStructureMotionBoundingBoxGeometryDescriptor, buffers: ^NS.Array, ) {…}
accelerationStructureMotionBoundingBoxGeometryDescriptor->setBoundBoxBuffers(buffers)
AccelerationStructureMotionBoundingBoxGeometryDescriptor_setBoundingBoxCount ¶
AccelerationStructureMotionBoundingBoxGeometryDescriptor_setBoundingBoxCount :: proc "c" ( self: ^AccelerationStructureMotionBoundingBoxGeometryDescriptor, offset: NS.UInteger, ) {…}
accelerationStructureMotionBoundingBoxGeometryDescriptor->setBoundingBoxCount(offset)
AccelerationStructureMotionBoundingBoxGeometryDescriptor_setBoundingBoxStride ¶
AccelerationStructureMotionBoundingBoxGeometryDescriptor_setBoundingBoxStride :: proc "c" ( self: ^AccelerationStructureMotionBoundingBoxGeometryDescriptor, stride: NS.UInteger, ) {…}
accelerationStructureMotionBoundingBoxGeometryDescriptor->setBoundingBoxStride(stride)
AccelerationStructureMotionTriangleGeometryDescriptor_alloc ¶ class method owned
AccelerationStructureMotionTriangleGeometryDescriptor_alloc :: proc "c" () -> ^AccelerationStructureMotionTriangleGeometryDescriptor {…}
accelerationStructureMotionTriangleGeometryDescriptor := AccelerationStructureMotionTriangleGeometryDescriptor.alloc()
AccelerationStructureMotionTriangleGeometryDescriptor_indexBuffer ¶
AccelerationStructureMotionTriangleGeometryDescriptor_indexBuffer :: proc "c" (self: ^AccelerationStructureMotionTriangleGeometryDescriptor) -> ^Buffer {…}
indexBuffer := accelerationStructureMotionTriangleGeometryDescriptor->indexBuffer()
AccelerationStructureMotionTriangleGeometryDescriptor_indexBufferOffset ¶
AccelerationStructureMotionTriangleGeometryDescriptor_indexBufferOffset :: proc "c" (self: ^AccelerationStructureMotionTriangleGeometryDescriptor) -> NS.UInteger {…}
indexBufferOffset := accelerationStructureMotionTriangleGeometryDescriptor->indexBufferOffset()
AccelerationStructureMotionTriangleGeometryDescriptor_indexType ¶
AccelerationStructureMotionTriangleGeometryDescriptor_indexType :: proc "c" (self: ^AccelerationStructureMotionTriangleGeometryDescriptor) -> IndexType {…}
indexType := accelerationStructureMotionTriangleGeometryDescriptor->indexType()
AccelerationStructureMotionTriangleGeometryDescriptor_init ¶
AccelerationStructureMotionTriangleGeometryDescriptor_init :: proc "c" (self: ^AccelerationStructureMotionTriangleGeometryDescriptor) -> ^AccelerationStructureMotionTriangleGeometryDescriptor {…}
res := accelerationStructureMotionTriangleGeometryDescriptor->init()
AccelerationStructureMotionTriangleGeometryDescriptor_setIndexBuffer ¶
AccelerationStructureMotionTriangleGeometryDescriptor_setIndexBuffer :: proc "c" ( self: ^AccelerationStructureMotionTriangleGeometryDescriptor, buffer: ^Buffer, ) {…}
accelerationStructureMotionTriangleGeometryDescriptor->setIndexBuffer(buffer)
AccelerationStructureMotionTriangleGeometryDescriptor_setIndexBufferOffset ¶
AccelerationStructureMotionTriangleGeometryDescriptor_setIndexBufferOffset :: proc "c" ( self: ^AccelerationStructureMotionTriangleGeometryDescriptor, offset: NS.UInteger, ) {…}
accelerationStructureMotionTriangleGeometryDescriptor->setIndexBufferOffset(offset)
AccelerationStructureMotionTriangleGeometryDescriptor_setIndexType ¶
AccelerationStructureMotionTriangleGeometryDescriptor_setIndexType :: proc "c" ( self: ^AccelerationStructureMotionTriangleGeometryDescriptor, indexType: IndexType, ) {…}
accelerationStructureMotionTriangleGeometryDescriptor->setIndexType(indexType)
AccelerationStructureMotionTriangleGeometryDescriptor_setTransformationMatrixBuffer ¶
AccelerationStructureMotionTriangleGeometryDescriptor_setTransformationMatrixBuffer :: proc "c" ( self: ^AccelerationStructureMotionTriangleGeometryDescriptor, transformationMatrixBuffer: ^Buffer, ) {…}
accelerationStructureMotionTriangleGeometryDescriptor->setTransformationMatrixBuffer(transformationMatrixBuffer)
AccelerationStructureMotionTriangleGeometryDescriptor_setTransformationMatrixBufferOffset ¶
AccelerationStructureMotionTriangleGeometryDescriptor_setTransformationMatrixBufferOffset :: proc "c" ( self: ^AccelerationStructureMotionTriangleGeometryDescriptor, transformationMatrixBufferOffset: NS.UInteger, ) {…}
accelerationStructureMotionTriangleGeometryDescriptor->setTransformationMatrixBufferOffset(transformationMatrixBufferOffset)
AccelerationStructureMotionTriangleGeometryDescriptor_setTriangleCount ¶
AccelerationStructureMotionTriangleGeometryDescriptor_setTriangleCount :: proc "c" ( self: ^AccelerationStructureMotionTriangleGeometryDescriptor, count: NS.UInteger, ) {…}
accelerationStructureMotionTriangleGeometryDescriptor->setTriangleCount(count)
AccelerationStructureMotionTriangleGeometryDescriptor_setVertexBuffers ¶
AccelerationStructureMotionTriangleGeometryDescriptor_setVertexBuffers :: proc "c" ( self: ^AccelerationStructureMotionTriangleGeometryDescriptor, buffers: ^NS.Array, ) {…}
accelerationStructureMotionTriangleGeometryDescriptor->setVertexBuffers(buffers)
AccelerationStructureMotionTriangleGeometryDescriptor_setVertexFormat ¶
AccelerationStructureMotionTriangleGeometryDescriptor_setVertexFormat :: proc "c" ( self: ^AccelerationStructureMotionTriangleGeometryDescriptor, vertexFormat: AttributeFormat, ) {…}
accelerationStructureMotionTriangleGeometryDescriptor->setVertexFormat(vertexFormat)
AccelerationStructureMotionTriangleGeometryDescriptor_setVertexStride ¶
AccelerationStructureMotionTriangleGeometryDescriptor_setVertexStride :: proc "c" ( self: ^AccelerationStructureMotionTriangleGeometryDescriptor, stride: NS.UInteger, ) {…}
accelerationStructureMotionTriangleGeometryDescriptor->setVertexStride(stride)
AccelerationStructureMotionTriangleGeometryDescriptor_transformationMatrixBuffer ¶
AccelerationStructureMotionTriangleGeometryDescriptor_transformationMatrixBuffer :: proc "c" (self: ^AccelerationStructureMotionTriangleGeometryDescriptor) -> ^Buffer {…}
transformationMatrixBuffer := accelerationStructureMotionTriangleGeometryDescriptor->transformationMatrixBuffer()
AccelerationStructureMotionTriangleGeometryDescriptor_transformationMatrixBufferOffset ¶
AccelerationStructureMotionTriangleGeometryDescriptor_transformationMatrixBufferOffset :: proc "c" (self: ^AccelerationStructureMotionTriangleGeometryDescriptor) -> NS.UInteger {…}
transformationMatrixBufferOffset := accelerationStructureMotionTriangleGeometryDescriptor->transformationMatrixBufferOffset()
AccelerationStructureMotionTriangleGeometryDescriptor_triangleCount ¶
AccelerationStructureMotionTriangleGeometryDescriptor_triangleCount :: proc "c" (self: ^AccelerationStructureMotionTriangleGeometryDescriptor) -> NS.UInteger {…}
triangleCount := accelerationStructureMotionTriangleGeometryDescriptor->triangleCount()
AccelerationStructureMotionTriangleGeometryDescriptor_vertexBuffers ¶
AccelerationStructureMotionTriangleGeometryDescriptor_vertexBuffers :: proc "c" (self: ^AccelerationStructureMotionTriangleGeometryDescriptor) -> ^NS.Array {…}
vertexBuffers := accelerationStructureMotionTriangleGeometryDescriptor->vertexBuffers()
AccelerationStructureMotionTriangleGeometryDescriptor_vertexFormat ¶
AccelerationStructureMotionTriangleGeometryDescriptor_vertexFormat :: proc "c" (self: ^AccelerationStructureMotionTriangleGeometryDescriptor) -> AttributeFormat {…}
vertexFormat := accelerationStructureMotionTriangleGeometryDescriptor->vertexFormat()
AccelerationStructureMotionTriangleGeometryDescriptor_vertexStride ¶
AccelerationStructureMotionTriangleGeometryDescriptor_vertexStride :: proc "c" (self: ^AccelerationStructureMotionTriangleGeometryDescriptor) -> NS.UInteger {…}
vertexStride := accelerationStructureMotionTriangleGeometryDescriptor->vertexStride()
AccelerationStructurePassDescriptor_accelerationStructurePassDescriptor ¶ class method
AccelerationStructurePassDescriptor_accelerationStructurePassDescriptor :: proc "c" () -> ^AccelerationStructurePassDescriptor {…}
accelerationStructurePassDescriptor := AccelerationStructurePassDescriptor.accelerationStructurePassDescriptor()
AccelerationStructurePassDescriptor_alloc ¶ class method owned
AccelerationStructurePassDescriptor_alloc :: proc "c" () -> ^AccelerationStructurePassDescriptor {…}
accelerationStructurePassDescriptor := AccelerationStructurePassDescriptor.alloc()
AccelerationStructurePassDescriptor_init ¶
AccelerationStructurePassDescriptor_init :: proc "c" (self: ^AccelerationStructurePassDescriptor) -> ^AccelerationStructurePassDescriptor {…}
res := accelerationStructurePassDescriptor->init()
AccelerationStructurePassDescriptor_sampleBufferAttachments ¶
AccelerationStructurePassDescriptor_sampleBufferAttachments :: proc "c" (self: ^AccelerationStructurePassDescriptor) -> ^AccelerationStructurePassSampleBufferAttachmentDescriptorArray {…}
sampleBufferAttachments := accelerationStructurePassDescriptor->sampleBufferAttachments()
AccelerationStructurePassSampleBufferAttachmentDescriptorArray_alloc ¶ class method owned
AccelerationStructurePassSampleBufferAttachmentDescriptorArray_alloc :: proc "c" () -> ^AccelerationStructurePassSampleBufferAttachmentDescriptorArray {…}
accelerationStructurePassSampleBufferAttachmentDescriptorArray := AccelerationStructurePassSampleBufferAttachmentDescriptorArray.alloc()
AccelerationStructurePassSampleBufferAttachmentDescriptorArray_init ¶
AccelerationStructurePassSampleBufferAttachmentDescriptorArray_init :: proc "c" (self: ^AccelerationStructurePassSampleBufferAttachmentDescriptorArray) -> ^AccelerationStructurePassSampleBufferAttachmentDescriptorArray {…}
res := accelerationStructurePassSampleBufferAttachmentDescriptorArray->init()
AccelerationStructurePassSampleBufferAttachmentDescriptorArray_object ¶
AccelerationStructurePassSampleBufferAttachmentDescriptorArray_object :: proc "c" ( self: ^AccelerationStructurePassSampleBufferAttachmentDescriptorArray, attachmentIndex: NS.UInteger, ) -> ^AccelerationStructurePassSampleBufferAttachmentDescriptor {…}
accelerationStructurePassSampleBufferAttachmentDescriptor := accelerationStructurePassSampleBufferAttachmentDescriptorArray->object(attachmentIndex)
AccelerationStructurePassSampleBufferAttachmentDescriptorArray_setObject ¶
AccelerationStructurePassSampleBufferAttachmentDescriptorArray_setObject :: proc "c" ( self: ^AccelerationStructurePassSampleBufferAttachmentDescriptorArray, attachment: ^AccelerationStructurePassSampleBufferAttachmentDescriptor, attachmentIndex: NS.UInteger, ) {…}
accelerationStructurePassSampleBufferAttachmentDescriptorArray->setObject( attachment, attachmentIndex, )
AccelerationStructurePassSampleBufferAttachmentDescriptor_alloc ¶ class method owned
AccelerationStructurePassSampleBufferAttachmentDescriptor_alloc :: proc "c" () -> ^AccelerationStructurePassSampleBufferAttachmentDescriptor {…}
accelerationStructurePassSampleBufferAttachmentDescriptor := AccelerationStructurePassSampleBufferAttachmentDescriptor.alloc()
AccelerationStructurePassSampleBufferAttachmentDescriptor_endOfEncoderSampleIndex ¶
AccelerationStructurePassSampleBufferAttachmentDescriptor_endOfEncoderSampleIndex :: proc "c" (self: ^AccelerationStructurePassSampleBufferAttachmentDescriptor) -> NS.UInteger {…}
endOfEncoderSampleIndex := accelerationStructurePassSampleBufferAttachmentDescriptor->endOfEncoderSampleIndex()
AccelerationStructurePassSampleBufferAttachmentDescriptor_init ¶
AccelerationStructurePassSampleBufferAttachmentDescriptor_init :: proc "c" (self: ^AccelerationStructurePassSampleBufferAttachmentDescriptor) -> ^AccelerationStructurePassSampleBufferAttachmentDescriptor {…}
res := accelerationStructurePassSampleBufferAttachmentDescriptor->init()
AccelerationStructurePassSampleBufferAttachmentDescriptor_sampleBuffer ¶
AccelerationStructurePassSampleBufferAttachmentDescriptor_sampleBuffer :: proc "c" (self: ^AccelerationStructurePassSampleBufferAttachmentDescriptor) -> ^CounterSampleBuffer {…}
sampleBuffer := accelerationStructurePassSampleBufferAttachmentDescriptor->sampleBuffer()
AccelerationStructurePassSampleBufferAttachmentDescriptor_setEndOfEncoderSampleIndex ¶
AccelerationStructurePassSampleBufferAttachmentDescriptor_setEndOfEncoderSampleIndex :: proc "c" ( self: ^AccelerationStructurePassSampleBufferAttachmentDescriptor, endOfEncoderSampleIndex: NS.UInteger, ) {…}
accelerationStructurePassSampleBufferAttachmentDescriptor->setEndOfEncoderSampleIndex(endOfEncoderSampleIndex)
AccelerationStructurePassSampleBufferAttachmentDescriptor_setSampleBuffer ¶
AccelerationStructurePassSampleBufferAttachmentDescriptor_setSampleBuffer :: proc "c" ( self: ^AccelerationStructurePassSampleBufferAttachmentDescriptor, sampleBuffer: ^CounterSampleBuffer, ) {…}
accelerationStructurePassSampleBufferAttachmentDescriptor->setSampleBuffer(sampleBuffer)
AccelerationStructurePassSampleBufferAttachmentDescriptor_setStartOfEncoderSampleIndex ¶
AccelerationStructurePassSampleBufferAttachmentDescriptor_setStartOfEncoderSampleIndex :: proc "c" ( self: ^AccelerationStructurePassSampleBufferAttachmentDescriptor, startOfEncoderSampleIndex: NS.UInteger, ) {…}
accelerationStructurePassSampleBufferAttachmentDescriptor->setStartOfEncoderSampleIndex(startOfEncoderSampleIndex)
AccelerationStructurePassSampleBufferAttachmentDescriptor_startOfEncoderSampleIndex ¶
AccelerationStructurePassSampleBufferAttachmentDescriptor_startOfEncoderSampleIndex :: proc "c" (self: ^AccelerationStructurePassSampleBufferAttachmentDescriptor) -> NS.UInteger {…}
startOfEncoderSampleIndex := accelerationStructurePassSampleBufferAttachmentDescriptor->startOfEncoderSampleIndex()
AccelerationStructureTriangleGeometryDescriptor_alloc ¶ class method owned
AccelerationStructureTriangleGeometryDescriptor_alloc :: proc "c" () -> ^AccelerationStructureTriangleGeometryDescriptor {…}
accelerationStructureTriangleGeometryDescriptor := AccelerationStructureTriangleGeometryDescriptor.alloc()
AccelerationStructureTriangleGeometryDescriptor_descriptor ¶ class method
AccelerationStructureTriangleGeometryDescriptor_descriptor :: proc "c" () -> ^AccelerationStructureTriangleGeometryDescriptor {…}
accelerationStructureTriangleGeometryDescriptor := AccelerationStructureTriangleGeometryDescriptor.descriptor()
AccelerationStructureTriangleGeometryDescriptor_indexBuffer ¶
AccelerationStructureTriangleGeometryDescriptor_indexBuffer :: proc "c" (self: ^AccelerationStructureTriangleGeometryDescriptor) -> ^Buffer {…}
indexBuffer := accelerationStructureTriangleGeometryDescriptor->indexBuffer()
AccelerationStructureTriangleGeometryDescriptor_indexBufferOffset ¶
AccelerationStructureTriangleGeometryDescriptor_indexBufferOffset :: proc "c" (self: ^AccelerationStructureTriangleGeometryDescriptor) -> NS.UInteger {…}
indexBufferOffset := accelerationStructureTriangleGeometryDescriptor->indexBufferOffset()
AccelerationStructureTriangleGeometryDescriptor_indexType ¶
AccelerationStructureTriangleGeometryDescriptor_indexType :: proc "c" (self: ^AccelerationStructureTriangleGeometryDescriptor) -> IndexType {…}
indexType := accelerationStructureTriangleGeometryDescriptor->indexType()
AccelerationStructureTriangleGeometryDescriptor_init ¶
AccelerationStructureTriangleGeometryDescriptor_init :: proc "c" (self: ^AccelerationStructureTriangleGeometryDescriptor) -> ^AccelerationStructureTriangleGeometryDescriptor {…}
res := accelerationStructureTriangleGeometryDescriptor->init()
AccelerationStructureTriangleGeometryDescriptor_setIndexBuffer ¶
AccelerationStructureTriangleGeometryDescriptor_setIndexBuffer :: proc "c" ( self: ^AccelerationStructureTriangleGeometryDescriptor, indexBuffer: ^Buffer, ) {…}
accelerationStructureTriangleGeometryDescriptor->setIndexBuffer(indexBuffer)
AccelerationStructureTriangleGeometryDescriptor_setIndexBufferOffset ¶
AccelerationStructureTriangleGeometryDescriptor_setIndexBufferOffset :: proc "c" ( self: ^AccelerationStructureTriangleGeometryDescriptor, indexBufferOffset: NS.UInteger, ) {…}
accelerationStructureTriangleGeometryDescriptor->setIndexBufferOffset(indexBufferOffset)
AccelerationStructureTriangleGeometryDescriptor_setIndexType ¶
AccelerationStructureTriangleGeometryDescriptor_setIndexType :: proc "c" ( self: ^AccelerationStructureTriangleGeometryDescriptor, indexType: IndexType, ) {…}
accelerationStructureTriangleGeometryDescriptor->setIndexType(indexType)
AccelerationStructureTriangleGeometryDescriptor_setTransformationMatrixBuffer ¶
AccelerationStructureTriangleGeometryDescriptor_setTransformationMatrixBuffer :: proc "c" ( self: ^AccelerationStructureTriangleGeometryDescriptor, transformationMatrixBuffer: ^Buffer, ) {…}
accelerationStructureTriangleGeometryDescriptor->setTransformationMatrixBuffer(transformationMatrixBuffer)
AccelerationStructureTriangleGeometryDescriptor_setTransformationMatrixBufferOffset ¶
AccelerationStructureTriangleGeometryDescriptor_setTransformationMatrixBufferOffset :: proc "c" ( self: ^AccelerationStructureTriangleGeometryDescriptor, transformationMatrixBufferOffset: NS.UInteger, ) {…}
accelerationStructureTriangleGeometryDescriptor->setTransformationMatrixBufferOffset(transformationMatrixBufferOffset)
AccelerationStructureTriangleGeometryDescriptor_setTriangleCount ¶
AccelerationStructureTriangleGeometryDescriptor_setTriangleCount :: proc "c" ( self: ^AccelerationStructureTriangleGeometryDescriptor, triangleCount: NS.UInteger, ) {…}
accelerationStructureTriangleGeometryDescriptor->setTriangleCount(triangleCount)
AccelerationStructureTriangleGeometryDescriptor_setVertexBuffer ¶
AccelerationStructureTriangleGeometryDescriptor_setVertexBuffer :: proc "c" ( self: ^AccelerationStructureTriangleGeometryDescriptor, vertexBuffer: ^Buffer, ) {…}
accelerationStructureTriangleGeometryDescriptor->setVertexBuffer(vertexBuffer)
AccelerationStructureTriangleGeometryDescriptor_setVertexBufferOffset ¶
AccelerationStructureTriangleGeometryDescriptor_setVertexBufferOffset :: proc "c" ( self: ^AccelerationStructureTriangleGeometryDescriptor, vertexBufferOffset: NS.UInteger, ) {…}
accelerationStructureTriangleGeometryDescriptor->setVertexBufferOffset(vertexBufferOffset)
AccelerationStructureTriangleGeometryDescriptor_setVertexFormat ¶
AccelerationStructureTriangleGeometryDescriptor_setVertexFormat :: proc "c" ( self: ^AccelerationStructureTriangleGeometryDescriptor, vertexFormat: AttributeFormat, ) {…}
accelerationStructureTriangleGeometryDescriptor->setVertexFormat(vertexFormat)
AccelerationStructureTriangleGeometryDescriptor_setVertexStride ¶
AccelerationStructureTriangleGeometryDescriptor_setVertexStride :: proc "c" ( self: ^AccelerationStructureTriangleGeometryDescriptor, vertexStride: NS.UInteger, ) {…}
accelerationStructureTriangleGeometryDescriptor->setVertexStride(vertexStride)
AccelerationStructureTriangleGeometryDescriptor_transformationMatrixBuffer ¶
AccelerationStructureTriangleGeometryDescriptor_transformationMatrixBuffer :: proc "c" (self: ^AccelerationStructureTriangleGeometryDescriptor) -> ^Buffer {…}
transformationMatrixBuffer := accelerationStructureTriangleGeometryDescriptor->transformationMatrixBuffer()
AccelerationStructureTriangleGeometryDescriptor_transformationMatrixBufferOffset ¶
AccelerationStructureTriangleGeometryDescriptor_transformationMatrixBufferOffset :: proc "c" (self: ^AccelerationStructureTriangleGeometryDescriptor) -> NS.UInteger {…}
transformationMatrixBufferOffset := accelerationStructureTriangleGeometryDescriptor->transformationMatrixBufferOffset()
AccelerationStructureTriangleGeometryDescriptor_triangleCount ¶
AccelerationStructureTriangleGeometryDescriptor_triangleCount :: proc "c" (self: ^AccelerationStructureTriangleGeometryDescriptor) -> NS.UInteger {…}
triangleCount := accelerationStructureTriangleGeometryDescriptor->triangleCount()
AccelerationStructureTriangleGeometryDescriptor_vertexBuffer ¶
AccelerationStructureTriangleGeometryDescriptor_vertexBuffer :: proc "c" (self: ^AccelerationStructureTriangleGeometryDescriptor) -> ^Buffer {…}
vertexBuffer := accelerationStructureTriangleGeometryDescriptor->vertexBuffer()
AccelerationStructureTriangleGeometryDescriptor_vertexBufferOffset ¶
AccelerationStructureTriangleGeometryDescriptor_vertexBufferOffset :: proc "c" (self: ^AccelerationStructureTriangleGeometryDescriptor) -> NS.UInteger {…}
vertexBufferOffset := accelerationStructureTriangleGeometryDescriptor->vertexBufferOffset()
AccelerationStructureTriangleGeometryDescriptor_vertexFormat ¶
AccelerationStructureTriangleGeometryDescriptor_vertexFormat :: proc "c" (self: ^AccelerationStructureTriangleGeometryDescriptor) -> AttributeFormat {…}
vertexFormat := accelerationStructureTriangleGeometryDescriptor->vertexFormat()
AccelerationStructureTriangleGeometryDescriptor_vertexStride ¶
AccelerationStructureTriangleGeometryDescriptor_vertexStride :: proc "c" (self: ^AccelerationStructureTriangleGeometryDescriptor) -> NS.UInteger {…}
vertexStride := accelerationStructureTriangleGeometryDescriptor->vertexStride()
AccelerationStructure_gpuResourceID ¶
AccelerationStructure_gpuResourceID :: proc "c" (self: ^AccelerationStructure) -> ResourceID {…}
gpuResourceID := accelerationStructure->gpuResourceID()
AccelerationStructure_size ¶
AccelerationStructure_size :: proc "c" (self: ^AccelerationStructure) -> NS.UInteger {…}
size := accelerationStructure->size()
ArgumentDescriptor_access ¶
ArgumentDescriptor_access :: proc "c" (self: ^ArgumentDescriptor) -> ArgumentAccess {…}
access := argumentDescriptor->access()
ArgumentDescriptor_alloc ¶ class method owned
ArgumentDescriptor_alloc :: proc "c" () -> ^ArgumentDescriptor {…}
argumentDescriptor := ArgumentDescriptor.alloc()
ArgumentDescriptor_argumentDescriptor ¶ class method
ArgumentDescriptor_argumentDescriptor :: proc "c" () -> ^ArgumentDescriptor {…}
argumentDescriptor := ArgumentDescriptor.argumentDescriptor()
ArgumentDescriptor_arrayLength ¶
ArgumentDescriptor_arrayLength :: proc "c" (self: ^ArgumentDescriptor) -> NS.UInteger {…}
arrayLength := argumentDescriptor->arrayLength()
ArgumentDescriptor_constantBlockAlignment ¶
ArgumentDescriptor_constantBlockAlignment :: proc "c" (self: ^ArgumentDescriptor) -> NS.UInteger {…}
constantBlockAlignment := argumentDescriptor->constantBlockAlignment()
ArgumentDescriptor_dataType ¶
ArgumentDescriptor_dataType :: proc "c" (self: ^ArgumentDescriptor) -> DataType {…}
dataType := argumentDescriptor->dataType()
ArgumentDescriptor_index ¶
ArgumentDescriptor_index :: proc "c" (self: ^ArgumentDescriptor) -> NS.UInteger {…}
index := argumentDescriptor->index()
ArgumentDescriptor_init ¶
ArgumentDescriptor_init :: proc "c" (self: ^ArgumentDescriptor) -> ^ArgumentDescriptor {…}
res := argumentDescriptor->init()
ArgumentDescriptor_setAccess ¶
ArgumentDescriptor_setAccess :: proc "c" (self: ^ArgumentDescriptor, access: ArgumentAccess) {…}
argumentDescriptor->setAccess(access)
ArgumentDescriptor_setArrayLength ¶
ArgumentDescriptor_setArrayLength :: proc "c" ( self: ^ArgumentDescriptor, arrayLength: NS.UInteger, ) {…}
argumentDescriptor->setArrayLength(arrayLength)
ArgumentDescriptor_setConstantBlockAlignment ¶
ArgumentDescriptor_setConstantBlockAlignment :: proc "c" ( self: ^ArgumentDescriptor, constantBlockAlignment: NS.UInteger, ) {…}
argumentDescriptor->setConstantBlockAlignment(constantBlockAlignment)
ArgumentDescriptor_setDataType ¶
ArgumentDescriptor_setDataType :: proc "c" (self: ^ArgumentDescriptor, dataType: DataType) {…}
argumentDescriptor->setDataType(dataType)
ArgumentDescriptor_setIndex ¶
ArgumentDescriptor_setIndex :: proc "c" (self: ^ArgumentDescriptor, index: NS.UInteger) {…}
argumentDescriptor->setIndex(index)
ArgumentDescriptor_setTextureType ¶
ArgumentDescriptor_setTextureType :: proc "c" ( self: ^ArgumentDescriptor, textureType: TextureType, ) {…}
argumentDescriptor->setTextureType(textureType)
ArgumentDescriptor_textureType ¶
ArgumentDescriptor_textureType :: proc "c" (self: ^ArgumentDescriptor) -> TextureType {…}
textureType := argumentDescriptor->textureType()
ArgumentEncoder_alignment ¶
ArgumentEncoder_alignment :: proc "c" (self: ^ArgumentEncoder) -> NS.UInteger {…}
alignment := argumentEncoder->alignment()
ArgumentEncoder_constantData ¶
ArgumentEncoder_constantData :: proc "c" ( self: ^ArgumentEncoder, index: NS.UInteger, ) -> rawptr {…}
res := argumentEncoder->constantData(index)
ArgumentEncoder_device ¶
ArgumentEncoder_device :: proc "c" (self: ^ArgumentEncoder) -> ^Device {…}
device := argumentEncoder->device()
ArgumentEncoder_encodedLength ¶
ArgumentEncoder_encodedLength :: proc "c" (self: ^ArgumentEncoder) -> NS.UInteger {…}
encodedLength := argumentEncoder->encodedLength()
ArgumentEncoder_label ¶
ArgumentEncoder_label :: proc "c" (self: ^ArgumentEncoder) -> ^NS.String {…}
label := argumentEncoder->label()
ArgumentEncoder_newArgumentEncoderForBuffer ¶ owned
ArgumentEncoder_newArgumentEncoderForBuffer :: proc "c" ( self: ^ArgumentEncoder, index: NS.UInteger, ) -> ^ArgumentEncoder {…}
res := argumentEncoder->newArgumentEncoderForBuffer(index)
ArgumentEncoder_setAccelerationStructure ¶
ArgumentEncoder_setAccelerationStructure :: proc "c" ( self: ^ArgumentEncoder, accelerationStructure: ^AccelerationStructure, index: NS.UInteger, ) {…}
argumentEncoder->setAccelerationStructure(accelerationStructure, index)
ArgumentEncoder_setArgumentBufferWithOffset ¶
ArgumentEncoder_setArgumentBufferWithOffset :: proc "c" ( self: ^ArgumentEncoder, argumentBuffer: ^Buffer, offset: NS.UInteger, ) {…}
argumentEncoder->setArgumentBufferWithOffset(argumentBuffer, offset)
ArgumentEncoder_setArgumentBuffer_startOffsetWithStartOffset ¶
ArgumentEncoder_setArgumentBuffer_startOffsetWithStartOffset :: proc "c" ( self: ^ArgumentEncoder, argumentBuffer: ^Buffer, startOffset: NS.UInteger, arrayElement: NS.UInteger, ) {…}
argumentEncoder->setArgumentBufferWithStartOffset(argumentBuffer, startOffset, arrayElement)
ArgumentEncoder_setBuffer ¶
ArgumentEncoder_setBuffer :: proc "c" ( self: ^ArgumentEncoder, buffer: ^Buffer, offset: NS.UInteger, index: NS.UInteger, ) {…}
argumentEncoder->setBuffer(buffer, offset, index)
ArgumentEncoder_setBuffers ¶
ArgumentEncoder_setBuffers :: proc( self: ^ArgumentEncoder, buffers: []^Buffer, offsets: []NS.UInteger, range: NS.Range, ) {…}
argumentEncoder->setBuffers(buffers, offsets, range)
ArgumentEncoder_setComputePipelineState ¶
ArgumentEncoder_setComputePipelineState :: proc "c" ( self: ^ArgumentEncoder, pipeline: ^ComputePipelineState, index: NS.UInteger, ) {…}
argumentEncoder->setComputePipelineState(pipeline, index)
ArgumentEncoder_setComputePipelineStates ¶
ArgumentEncoder_setComputePipelineStates :: proc( self: ^ArgumentEncoder, pipelines: []^ComputePipelineState, range: NS.Range, ) {…}
argumentEncoder->setComputePipelineStates(pipelines, range)
ArgumentEncoder_setIndirectCommandBuffer ¶
ArgumentEncoder_setIndirectCommandBuffer :: proc "c" ( self: ^ArgumentEncoder, indirectCommandBuffer: ^IndirectCommandBuffer, index: NS.UInteger, ) {…}
argumentEncoder->setIndirectCommandBuffer(indirectCommandBuffer, index)
ArgumentEncoder_setIndirectCommandBuffers ¶
ArgumentEncoder_setIndirectCommandBuffers :: proc( self: ^ArgumentEncoder, buffers: []^IndirectCommandBuffer, range: NS.Range, ) {…}
argumentEncoder->setIndirectCommandBuffers(buffers, range)
ArgumentEncoder_setIntersectionFunctionTable ¶
ArgumentEncoder_setIntersectionFunctionTable :: proc "c" ( self: ^ArgumentEncoder, intersectionFunctionTable: ^IntersectionFunctionTable, index: NS.UInteger, ) {…}
argumentEncoder->setIntersectionFunctionTable(intersectionFunctionTable, index)
ArgumentEncoder_setIntersectionFunctionTables ¶
ArgumentEncoder_setIntersectionFunctionTables :: proc( self: ^ArgumentEncoder, intersectionFunctionTables: []^IntersectionFunctionTable, range: NS.Range, ) {…}
argumentEncoder->setIntersectionFunctionTables(intersectionFunctionTables, range)
ArgumentEncoder_setLabel ¶
ArgumentEncoder_setLabel :: proc "c" (self: ^ArgumentEncoder, label: ^NS.String) {…}
argumentEncoder->setLabel(label)
ArgumentEncoder_setRenderPipelineState ¶
ArgumentEncoder_setRenderPipelineState :: proc "c" ( self: ^ArgumentEncoder, pipeline: ^RenderPipelineState, index: NS.UInteger, ) {…}
argumentEncoder->setRenderPipelineState(pipeline, index)
ArgumentEncoder_setRenderPipelineStates ¶
ArgumentEncoder_setRenderPipelineStates :: proc( self: ^ArgumentEncoder, pipelines: []^RenderPipelineState, range: NS.Range, ) {…}
argumentEncoder->setRenderPipelineStates(pipelines, range)
ArgumentEncoder_setSamplerState ¶
ArgumentEncoder_setSamplerState :: proc "c" ( self: ^ArgumentEncoder, sampler: ^SamplerState, index: NS.UInteger, ) {…}
argumentEncoder->setSamplerState(sampler, index)
ArgumentEncoder_setSamplerStates ¶
ArgumentEncoder_setSamplerStates :: proc( self: ^ArgumentEncoder, samplers: []^SamplerState, range: NS.Range, ) {…}
argumentEncoder->setSamplerStates(samplers, range)
ArgumentEncoder_setTexture ¶
ArgumentEncoder_setTexture :: proc "c" ( self: ^ArgumentEncoder, texture: ^Texture, index: NS.UInteger, ) {…}
argumentEncoder->setTexture(texture, index)
ArgumentEncoder_setTextures ¶
ArgumentEncoder_setTextures :: proc( self: ^ArgumentEncoder, textures: []^Texture, range: NS.Range, ) {…}
argumentEncoder->setTextures(textures, range)
ArgumentEncoder_setVisibleFunctionTable ¶
ArgumentEncoder_setVisibleFunctionTable :: proc "c" ( self: ^ArgumentEncoder, visibleFunctionTable: ^VisibleFunctionTable, index: NS.UInteger, ) {…}
argumentEncoder->setVisibleFunctionTable(visibleFunctionTable, index)
ArgumentEncoder_setVisibleFunctionTables ¶
ArgumentEncoder_setVisibleFunctionTables :: proc( self: ^ArgumentEncoder, visibleFunctionTables: []^VisibleFunctionTable, range: NS.Range, ) {…}
argumentEncoder->setVisibleFunctionTables(visibleFunctionTables, range)
Argument_access ¶
Argument_access :: proc "c" (self: ^Argument) -> ArgumentAccess {…}
access := argument->access()
Argument_alloc ¶ class method owned
Argument_arrayLength ¶
Argument_arrayLength :: proc "c" (self: ^Argument) -> NS.UInteger {…}
arrayLength := argument->arrayLength()
Argument_bufferAlignment ¶
Argument_bufferAlignment :: proc "c" (self: ^Argument) -> NS.UInteger {…}
bufferAlignment := argument->bufferAlignment()
Argument_bufferDataSize ¶
Argument_bufferDataSize :: proc "c" (self: ^Argument) -> NS.UInteger {…}
bufferDataSize := argument->bufferDataSize()
Argument_bufferDataType ¶
Argument_bufferDataType :: proc "c" (self: ^Argument) -> DataType {…}
bufferDataType := argument->bufferDataType()
Argument_bufferPointerType ¶
Argument_bufferPointerType :: proc "c" (self: ^Argument) -> ^PointerType {…}
bufferPointerType := argument->bufferPointerType()
Argument_bufferStructType ¶
Argument_bufferStructType :: proc "c" (self: ^Argument) -> ^StructType {…}
bufferStructType := argument->bufferStructType()
Argument_isDepthTexture ¶
Argument_isDepthTexture :: proc "c" (self: ^Argument) -> bool {…}
isDepthTexture := argument->isDepthTexture()
Argument_textureDataType ¶
Argument_textureDataType :: proc "c" (self: ^Argument) -> DataType {…}
textureDataType := argument->textureDataType()
Argument_textureType ¶
Argument_textureType :: proc "c" (self: ^Argument) -> TextureType {…}
textureType := argument->textureType()
Argument_threadgroupMemoryAlignment ¶
Argument_threadgroupMemoryAlignment :: proc "c" (self: ^Argument) -> NS.UInteger {…}
threadgroupMemoryAlignment := argument->threadgroupMemoryAlignment()
Argument_threadgroupMemoryDataSize ¶
Argument_threadgroupMemoryDataSize :: proc "c" (self: ^Argument) -> NS.UInteger {…}
threadgroupMemoryDataSize := argument->threadgroupMemoryDataSize()
Argument_type ¶
Argument_type :: proc "c" (self: ^Argument) -> ArgumentType {…}
type := argument->type()
ArrayType_alloc ¶ class method owned
ArrayType_argumentIndexStride ¶
ArrayType_argumentIndexStride :: proc "c" (self: ^ArrayType) -> NS.UInteger {…}
argumentIndexStride := arrayType->argumentIndexStride()
ArrayType_arrayLength ¶
ArrayType_arrayLength :: proc "c" (self: ^ArrayType) -> NS.UInteger {…}
arrayLength := arrayType->arrayLength()
ArrayType_elementArrayType ¶
ArrayType_elementArrayType :: proc "c" (self: ^ArrayType) -> ^ArrayType {…}
elementArrayType := arrayType->elementArrayType()
ArrayType_elementPointerType ¶
ArrayType_elementPointerType :: proc "c" (self: ^ArrayType) -> ^PointerType {…}
elementPointerType := arrayType->elementPointerType()
ArrayType_elementStructType ¶
ArrayType_elementStructType :: proc "c" (self: ^ArrayType) -> ^StructType {…}
elementStructType := arrayType->elementStructType()
ArrayType_elementTextureReferenceType ¶
ArrayType_elementTextureReferenceType :: proc "c" (self: ^ArrayType) -> ^TextureReferenceType {…}
elementTextureReferenceType := arrayType->elementTextureReferenceType()
ArrayType_elementType ¶
ArrayType_elementType :: proc "c" (self: ^ArrayType) -> DataType {…}
elementType := arrayType->elementType()
AttributeDescriptorArray_alloc ¶ class method owned
AttributeDescriptorArray_alloc :: proc "c" () -> ^AttributeDescriptorArray {…}
attributeDescriptorArray := AttributeDescriptorArray.alloc()
AttributeDescriptorArray_init ¶
AttributeDescriptorArray_init :: proc "c" (self: ^AttributeDescriptorArray) -> ^AttributeDescriptorArray {…}
res := attributeDescriptorArray->init()
AttributeDescriptorArray_object ¶
AttributeDescriptorArray_object :: proc "c" ( self: ^AttributeDescriptorArray, index: NS.UInteger, ) -> ^AttributeDescriptor {…}
attributeDescriptor := attributeDescriptorArray->object(index)
AttributeDescriptorArray_setObject ¶
AttributeDescriptorArray_setObject :: proc "c" ( self: ^AttributeDescriptorArray, attributeDesc: ^AttributeDescriptor, index: NS.UInteger, ) {…}
attributeDescriptorArray->setObject(attributeDesc, index)
AttributeDescriptor_alloc ¶ class method owned
AttributeDescriptor_alloc :: proc "c" () -> ^AttributeDescriptor {…}
attributeDescriptor := AttributeDescriptor.alloc()
AttributeDescriptor_bufferIndex ¶
AttributeDescriptor_bufferIndex :: proc "c" (self: ^AttributeDescriptor) -> NS.UInteger {…}
bufferIndex := attributeDescriptor->bufferIndex()
AttributeDescriptor_format ¶
AttributeDescriptor_format :: proc "c" (self: ^AttributeDescriptor) -> AttributeFormat {…}
format := attributeDescriptor->format()
AttributeDescriptor_init ¶
AttributeDescriptor_init :: proc "c" (self: ^AttributeDescriptor) -> ^AttributeDescriptor {…}
res := attributeDescriptor->init()
AttributeDescriptor_offset ¶
AttributeDescriptor_offset :: proc "c" (self: ^AttributeDescriptor) -> NS.UInteger {…}
offset := attributeDescriptor->offset()
AttributeDescriptor_setBufferIndex ¶
AttributeDescriptor_setBufferIndex :: proc "c" ( self: ^AttributeDescriptor, bufferIndex: NS.UInteger, ) {…}
attributeDescriptor->setBufferIndex(bufferIndex)
AttributeDescriptor_setFormat ¶
AttributeDescriptor_setFormat :: proc "c" ( self: ^AttributeDescriptor, format: AttributeFormat, ) {…}
attributeDescriptor->setFormat(format)
AttributeDescriptor_setOffset ¶
AttributeDescriptor_setOffset :: proc "c" (self: ^AttributeDescriptor, offset: NS.UInteger) {…}
attributeDescriptor->setOffset(offset)
Attribute_alloc ¶ class method owned
Attribute_attributeIndex ¶
Attribute_attributeIndex :: proc "c" (self: ^Attribute) -> NS.UInteger {…}
attributeIndex := attribute->attributeIndex()
Attribute_attributeType ¶
Attribute_attributeType :: proc "c" (self: ^Attribute) -> DataType {…}
attributeType := attribute->attributeType()
Attribute_isPatchControlPointData ¶
Attribute_isPatchControlPointData :: proc "c" (self: ^Attribute) -> bool {…}
isPatchControlPointData := attribute->isPatchControlPointData()
Attribute_isPatchData ¶
Attribute_isPatchData :: proc "c" (self: ^Attribute) -> bool {…}
isPatchData := attribute->isPatchData()
BinaryArchiveDescriptor_alloc ¶ class method owned
BinaryArchiveDescriptor_alloc :: proc "c" () -> ^BinaryArchiveDescriptor {…}
binaryArchiveDescriptor := BinaryArchiveDescriptor.alloc()
BinaryArchiveDescriptor_init ¶
BinaryArchiveDescriptor_init :: proc "c" (self: ^BinaryArchiveDescriptor) -> ^BinaryArchiveDescriptor {…}
res := binaryArchiveDescriptor->init()
BinaryArchiveDescriptor_setUrl ¶
BinaryArchiveDescriptor_setUrl :: proc "c" (self: ^BinaryArchiveDescriptor, url: ^NS.URL) {…}
binaryArchiveDescriptor->setUrl(url)
BinaryArchiveDescriptor_url ¶
BinaryArchiveDescriptor_url :: proc "c" (self: ^BinaryArchiveDescriptor) -> ^NS.URL {…}
url := binaryArchiveDescriptor->url()
BinaryArchive_addComputePipelineFunctions ¶
BinaryArchive_addComputePipelineFunctions :: proc "contextless" ( self: ^BinaryArchive, descriptor: ^ComputePipelineDescriptor, ) -> (ok: bool, error: ^NS.Error) {…}
ok, error := binaryArchive->addComputePipelineFunctions(descriptor)
BinaryArchive_addFunction ¶
BinaryArchive_addFunction :: proc "contextless" ( self: ^BinaryArchive, descriptor: ^FunctionDescriptor, library: ^Library, ) -> (ok: bool, error: ^NS.Error) {…}
ok, error := binaryArchive->addFunction(descriptor, library)
BinaryArchive_addRenderPipelineFunctions ¶
BinaryArchive_addRenderPipelineFunctions :: proc "contextless" ( self: ^BinaryArchive, descriptor: ^RenderPipelineDescriptor, ) -> (ok: bool, error: ^NS.Error) {…}
ok, error := binaryArchive->addRenderPipelineFunctions(descriptor)
BinaryArchive_addTileRenderPipelineFunctions ¶
BinaryArchive_addTileRenderPipelineFunctions :: proc "contextless" ( self: ^BinaryArchive, descriptor: ^TileRenderPipelineDescriptor, ) -> (ok: bool, error: ^NS.Error) {…}
ok, error := binaryArchive->addTileRenderPipelineFunctions(descriptor)
BinaryArchive_device ¶
BinaryArchive_device :: proc "c" (self: ^BinaryArchive) -> ^Device {…}
device := binaryArchive->device()
BinaryArchive_label ¶
BinaryArchive_label :: proc "c" (self: ^BinaryArchive) -> ^NS.String {…}
label := binaryArchive->label()
BinaryArchive_serializeToURL ¶
BinaryArchive_serializeToURL :: proc "contextless" ( self: ^BinaryArchive, url: ^NS.URL, ) -> (ok: bool, error: ^NS.Error) {…}
ok, error := binaryArchive->serializeToURL(url)
BinaryArchive_setLabel ¶
BinaryArchive_setLabel :: proc "c" (self: ^BinaryArchive, label: ^NS.String) {…}
binaryArchive->setLabel(label)
Binding_access ¶
Binding_access :: proc "c" (self: ^Binding) -> ArgumentAccess {…}
access := binding->access()
Binding_isArgument ¶
Binding_isArgument :: proc "c" (self: ^Binding) -> bool {…}
isArgument := binding->isArgument()
Binding_type ¶
Binding_type :: proc "c" (self: ^Binding) -> BindingType {…}
type := binding->type()
BlitCommandEncoder_copyFromBuffer ¶
BlitCommandEncoder_copyFromBuffer :: proc "c" ( self: ^BlitCommandEncoder, sourceBuffer: ^Buffer, sourceOffset: NS.UInteger, destinationBuffer: ^Buffer, destinationOffset: NS.UInteger, size: NS.UInteger, ) {…}
blitCommandEncoder->copyFromBuffer( sourceBuffer, sourceOffset, destinationBuffer, destinationOffset, size, )
BlitCommandEncoder_copyFromBufferEx ¶
BlitCommandEncoder_copyFromBufferEx :: proc "c" ( self: ^BlitCommandEncoder, sourceBuffer: ^Buffer, sourceOffset: NS.UInteger, sourceBytesPerRow: NS.UInteger, sourceBytesPerImage: NS.UInteger, sourceSize: Size, destinationTexture: ^Texture, destinationSlice: NS.UInteger, destinationLevel: NS.UInteger, destinationOrigin: Origin, ) {…}
blitCommandEncoder->copyFromBufferEx( sourceBuffer, sourceOffset, sourceBytesPerRow, sourceBytesPerImage, sourceSize, destinationTexture, destinationSlice, destinationLevel, destinationOrigin, )
BlitCommandEncoder_copyFromBufferExWithOptions ¶
BlitCommandEncoder_copyFromBufferExWithOptions :: proc "c" ( self: ^BlitCommandEncoder, sourceBuffer: ^Buffer, sourceOffset: NS.UInteger, sourceBytesPerRow: NS.UInteger, sourceBytesPerImage: NS.UInteger, sourceSize: Size, destinationTexture: ^Texture, destinationSlice: NS.UInteger, destinationLevel: NS.UInteger, destinationOrigin: Origin, options: BlitOption, ) {…}
blitCommandEncoder->copyFromBufferExWithOptions( sourceBuffer, sourceOffset, sourceBytesPerRow, sourceBytesPerImage, sourceSize, destinationTexture, destinationSlice, destinationLevel, destinationOrigin, options, )
BlitCommandEncoder_copyFromTexture ¶
BlitCommandEncoder_copyFromTexture :: proc "c" ( self: ^BlitCommandEncoder, sourceTexture: ^Texture, destinationTexture: ^Texture, ) {…}
blitCommandEncoder->copyFromTexture(sourceTexture, destinationTexture)
BlitCommandEncoder_copyFromTextureEx ¶
BlitCommandEncoder_copyFromTextureEx :: proc "c" ( self: ^BlitCommandEncoder, sourceTexture: ^Texture, sourceSlice: NS.UInteger, sourceLevel: NS.UInteger, sourceOrigin: Origin, sourceSize: Size, destinationBuffer: ^Buffer, destinationOffset: NS.UInteger, destinationBytesPerRow: NS.UInteger, destinationBytesPerImage: NS.UInteger, ) {…}
blitCommandEncoder->copyFromTextureEx( sourceTexture, sourceSlice, sourceLevel, sourceOrigin, sourceSize, destinationBuffer, destinationOffset, destinationBytesPerRow, destinationBytesPerImage, )
BlitCommandEncoder_copyFromTextureExWithOptions ¶
BlitCommandEncoder_copyFromTextureExWithOptions :: proc "c" ( self: ^BlitCommandEncoder, sourceTexture: ^Texture, sourceSlice: NS.UInteger, sourceLevel: NS.UInteger, sourceOrigin: Origin, sourceSize: Size, destinationBuffer: ^Buffer, destinationOffset: NS.UInteger, destinationBytesPerRow: NS.UInteger, destinationBytesPerImage: NS.UInteger, options: BlitOption, ) {…}
blitCommandEncoder->copyFromTextureExWithOptions( sourceTexture, sourceSlice, sourceLevel, sourceOrigin, sourceSize, destinationBuffer, destinationOffset, destinationBytesPerRow, destinationBytesPerImage, options, )
BlitCommandEncoder_copyFromTextureWithCounts ¶
BlitCommandEncoder_copyFromTextureWithCounts :: proc "c" ( self: ^BlitCommandEncoder, sourceTexture: ^Texture, sourceSlice: NS.UInteger, sourceLevel: NS.UInteger, destinationTexture: ^Texture, destinationSlice: NS.UInteger, destinationLevel: NS.UInteger, sliceCount: NS.UInteger, levelCount: NS.UInteger, ) {…}
blitCommandEncoder->copyFromTextureWithCounts( sourceTexture, sourceSlice, sourceLevel, destinationTexture, destinationSlice, destinationLevel, sliceCount, levelCount, )
BlitCommandEncoder_copyFromTextureWithDestinationOrigin ¶
BlitCommandEncoder_copyFromTextureWithDestinationOrigin :: proc "c" ( self: ^BlitCommandEncoder, sourceTexture: ^Texture, sourceSlice: NS.UInteger, sourceLevel: NS.UInteger, sourceOrigin: Origin, sourceSize: Size, destinationTexture: ^Texture, destinationSlice: NS.UInteger, destinationLevel: NS.UInteger, destinationOrigin: Origin, ) {…}
blitCommandEncoder->copyFromTextureWithDestinationOrigin( sourceTexture, sourceSlice, sourceLevel, sourceOrigin, sourceSize, destinationTexture, destinationSlice, destinationLevel, destinationOrigin, )
BlitCommandEncoder_copyIndirectCommandBuffer ¶
BlitCommandEncoder_copyIndirectCommandBuffer :: proc "c" ( self: ^BlitCommandEncoder, source: ^IndirectCommandBuffer, sourceRange: NS.Range, destination: ^IndirectCommandBuffer, destinationIndex: NS.UInteger, ) {…}
blitCommandEncoder->copyIndirectCommandBuffer(source, sourceRange, destination, destinationIndex)
BlitCommandEncoder_fillBuffer ¶
BlitCommandEncoder_fillBuffer :: proc "c" ( self: ^BlitCommandEncoder, buffer: ^Buffer, range: NS.Range, value: u8, ) {…}
blitCommandEncoder->fillBuffer(buffer, range, value)
BlitCommandEncoder_generateMipmapsForTexture ¶
BlitCommandEncoder_generateMipmapsForTexture :: proc "c" ( self: ^BlitCommandEncoder, texture: ^Texture, ) {…}
blitCommandEncoder->generateMipmapsForTexture(texture)
BlitCommandEncoder_getTextureAccessCounters ¶
BlitCommandEncoder_getTextureAccessCounters :: proc "c" ( self: ^BlitCommandEncoder, texture: ^Texture, region: Region, mipLevel: NS.UInteger, slice: NS.UInteger, resetCounters: bool, countersBuffer: ^Buffer, countersBufferOffset: NS.UInteger, ) {…}
blitCommandEncoder->getTextureAccessCounters( texture, region, mipLevel, slice, resetCounters, countersBuffer, countersBufferOffset, )
BlitCommandEncoder_optimizeContentsForCPUAccess ¶
BlitCommandEncoder_optimizeContentsForCPUAccess :: proc "c" ( self: ^BlitCommandEncoder, texture: ^Texture, ) {…}
blitCommandEncoder->optimizeContentsForCPUAccess(texture)
BlitCommandEncoder_optimizeContentsForCPUAccessWithSliceAndLevel ¶
BlitCommandEncoder_optimizeContentsForCPUAccessWithSliceAndLevel :: proc "c" ( self: ^BlitCommandEncoder, texture: ^Texture, slice: NS.UInteger, level: NS.UInteger, ) {…}
blitCommandEncoder->optimizeContentsForCPUAccessWithSliceAndLevel(texture, slice, level)
BlitCommandEncoder_optimizeContentsForGPUAccess ¶
BlitCommandEncoder_optimizeContentsForGPUAccess :: proc "c" ( self: ^BlitCommandEncoder, texture: ^Texture, ) {…}
blitCommandEncoder->optimizeContentsForGPUAccess(texture)
BlitCommandEncoder_optimizeContentsForGPUAccessWithSliceAndLevel ¶
BlitCommandEncoder_optimizeContentsForGPUAccessWithSliceAndLevel :: proc "c" ( self: ^BlitCommandEncoder, texture: ^Texture, slice: NS.UInteger, level: NS.UInteger, ) {…}
blitCommandEncoder->optimizeContentsForGPUAccessWithSliceAndLevel(texture, slice, level)
BlitCommandEncoder_optimizeIndirectCommandBuffer ¶
BlitCommandEncoder_optimizeIndirectCommandBuffer :: proc "c" ( self: ^BlitCommandEncoder, indirectCommandBuffer: ^Buffer, range: NS.Range, ) {…}
blitCommandEncoder->optimizeIndirectCommandBuffer(indirectCommandBuffer, range)
BlitCommandEncoder_resetCommandsInBuffer ¶
BlitCommandEncoder_resetCommandsInBuffer :: proc "c" ( self: ^BlitCommandEncoder, buffer: ^Buffer, range: NS.Range, ) {…}
blitCommandEncoder->resetCommandsInBuffer(buffer, range)
BlitCommandEncoder_resetTextureAccessCounters ¶
BlitCommandEncoder_resetTextureAccessCounters :: proc "c" ( self: ^BlitCommandEncoder, texture: ^Texture, region: Region, mipLevel: NS.UInteger, slice: NS.UInteger, ) {…}
blitCommandEncoder->resetTextureAccessCounters(texture, region, mipLevel, slice)
BlitCommandEncoder_resolveCounters ¶
BlitCommandEncoder_resolveCounters :: proc "c" ( self: ^BlitCommandEncoder, sampleBuffer: ^Buffer, range: NS.Range, destinationBuffer: ^Buffer, destinationOffset: NS.UInteger, ) {…}
blitCommandEncoder->resolveCounters(sampleBuffer, range, destinationBuffer, destinationOffset)
BlitCommandEncoder_sampleCountersInBuffer ¶
BlitCommandEncoder_sampleCountersInBuffer :: proc "c" ( self: ^BlitCommandEncoder, sampleBuffer: ^Buffer, sampleIndex: NS.UInteger, barrier: bool, ) {…}
blitCommandEncoder->sampleCountersInBuffer(sampleBuffer, sampleIndex, barrier)
BlitCommandEncoder_synchronizeResource ¶
BlitCommandEncoder_synchronizeResource :: proc "c" ( self: ^BlitCommandEncoder, resource: ^Resource, ) {…}
blitCommandEncoder->synchronizeResource(resource)
BlitCommandEncoder_synchronizeTexture ¶
BlitCommandEncoder_synchronizeTexture :: proc "c" ( self: ^BlitCommandEncoder, texture: ^Texture, slice: NS.UInteger, level: NS.UInteger, ) {…}
blitCommandEncoder->synchronizeTexture(texture, slice, level)
BlitCommandEncoder_updateFence ¶
BlitCommandEncoder_updateFence :: proc "c" (self: ^BlitCommandEncoder, fence: ^Fence) {…}
blitCommandEncoder->updateFence(fence)
BlitCommandEncoder_waitForFence ¶
BlitCommandEncoder_waitForFence :: proc "c" (self: ^BlitCommandEncoder, fence: ^Fence) {…}
blitCommandEncoder->waitForFence(fence)
BlitPassDescriptor_alloc ¶ class method owned
BlitPassDescriptor_alloc :: proc "c" () -> ^BlitPassDescriptor {…}
blitPassDescriptor := BlitPassDescriptor.alloc()
BlitPassDescriptor_blitPassDescriptor ¶ class method
BlitPassDescriptor_blitPassDescriptor :: proc "c" () -> ^BlitPassDescriptor {…}
blitPassDescriptor := BlitPassDescriptor.blitPassDescriptor()
BlitPassDescriptor_init ¶
BlitPassDescriptor_init :: proc "c" (self: ^BlitPassDescriptor) -> ^BlitPassDescriptor {…}
res := blitPassDescriptor->init()
BlitPassDescriptor_sampleBufferAttachments ¶
BlitPassDescriptor_sampleBufferAttachments :: proc "c" (self: ^BlitPassDescriptor) -> ^BlitPassSampleBufferAttachmentDescriptorArray {…}
sampleBufferAttachments := blitPassDescriptor->sampleBufferAttachments()
BlitPassSampleBufferAttachmentDescriptorArray_alloc ¶ class method owned
BlitPassSampleBufferAttachmentDescriptorArray_alloc :: proc "c" () -> ^BlitPassSampleBufferAttachmentDescriptorArray {…}
blitPassSampleBufferAttachmentDescriptorArray := BlitPassSampleBufferAttachmentDescriptorArray.alloc()
BlitPassSampleBufferAttachmentDescriptorArray_init ¶
BlitPassSampleBufferAttachmentDescriptorArray_init :: proc "c" (self: ^BlitPassSampleBufferAttachmentDescriptorArray) -> ^BlitPassSampleBufferAttachmentDescriptorArray {…}
res := blitPassSampleBufferAttachmentDescriptorArray->init()
BlitPassSampleBufferAttachmentDescriptorArray_object ¶
BlitPassSampleBufferAttachmentDescriptorArray_object :: proc "c" ( self: ^BlitPassSampleBufferAttachmentDescriptorArray, attachmentIndex: NS.UInteger, ) -> ^BlitPassSampleBufferAttachmentDescriptor {…}
blitPassSampleBufferAttachmentDescriptor := blitPassSampleBufferAttachmentDescriptorArray->object(attachmentIndex)
BlitPassSampleBufferAttachmentDescriptorArray_setObject ¶
BlitPassSampleBufferAttachmentDescriptorArray_setObject :: proc "c" ( self: ^BlitPassSampleBufferAttachmentDescriptorArray, attachment: ^BlitPassSampleBufferAttachmentDescriptor, attachmentIndex: NS.UInteger, ) {…}
blitPassSampleBufferAttachmentDescriptorArray->setObject(attachment, attachmentIndex)
BlitPassSampleBufferAttachmentDescriptor_alloc ¶ class method owned
BlitPassSampleBufferAttachmentDescriptor_alloc :: proc "c" () -> ^BlitPassSampleBufferAttachmentDescriptor {…}
blitPassSampleBufferAttachmentDescriptor := BlitPassSampleBufferAttachmentDescriptor.alloc()
BlitPassSampleBufferAttachmentDescriptor_endOfEncoderSampleIndex ¶
BlitPassSampleBufferAttachmentDescriptor_endOfEncoderSampleIndex :: proc "c" (self: ^BlitPassSampleBufferAttachmentDescriptor) -> NS.UInteger {…}
endOfEncoderSampleIndex := blitPassSampleBufferAttachmentDescriptor->endOfEncoderSampleIndex()
BlitPassSampleBufferAttachmentDescriptor_init ¶
BlitPassSampleBufferAttachmentDescriptor_init :: proc "c" (self: ^BlitPassSampleBufferAttachmentDescriptor) -> ^BlitPassSampleBufferAttachmentDescriptor {…}
res := blitPassSampleBufferAttachmentDescriptor->init()
BlitPassSampleBufferAttachmentDescriptor_sampleBuffer ¶
BlitPassSampleBufferAttachmentDescriptor_sampleBuffer :: proc "c" (self: ^BlitPassSampleBufferAttachmentDescriptor) -> ^CounterSampleBuffer {…}
sampleBuffer := blitPassSampleBufferAttachmentDescriptor->sampleBuffer()
BlitPassSampleBufferAttachmentDescriptor_setEndOfEncoderSampleIndex ¶
BlitPassSampleBufferAttachmentDescriptor_setEndOfEncoderSampleIndex :: proc "c" ( self: ^BlitPassSampleBufferAttachmentDescriptor, endOfEncoderSampleIndex: NS.UInteger, ) {…}
blitPassSampleBufferAttachmentDescriptor->setEndOfEncoderSampleIndex(endOfEncoderSampleIndex)
BlitPassSampleBufferAttachmentDescriptor_setSampleBuffer ¶
BlitPassSampleBufferAttachmentDescriptor_setSampleBuffer :: proc "c" ( self: ^BlitPassSampleBufferAttachmentDescriptor, sampleBuffer: ^CounterSampleBuffer, ) {…}
blitPassSampleBufferAttachmentDescriptor->setSampleBuffer(sampleBuffer)
BlitPassSampleBufferAttachmentDescriptor_setStartOfEncoderSampleIndex ¶
BlitPassSampleBufferAttachmentDescriptor_setStartOfEncoderSampleIndex :: proc "c" ( self: ^BlitPassSampleBufferAttachmentDescriptor, startOfEncoderSampleIndex: NS.UInteger, ) {…}
blitPassSampleBufferAttachmentDescriptor->setStartOfEncoderSampleIndex(startOfEncoderSampleIndex)
BlitPassSampleBufferAttachmentDescriptor_startOfEncoderSampleIndex ¶
BlitPassSampleBufferAttachmentDescriptor_startOfEncoderSampleIndex :: proc "c" (self: ^BlitPassSampleBufferAttachmentDescriptor) -> NS.UInteger {…}
startOfEncoderSampleIndex := blitPassSampleBufferAttachmentDescriptor->startOfEncoderSampleIndex()
BufferBinding_bufferAlignment ¶
BufferBinding_bufferAlignment :: proc "c" (self: ^BufferBinding) -> NS.UInteger {…}
bufferAlignment := bufferBinding->bufferAlignment()
BufferBinding_bufferDataSize ¶
BufferBinding_bufferDataSize :: proc "c" (self: ^BufferBinding) -> NS.UInteger {…}
bufferDataSize := bufferBinding->bufferDataSize()
BufferBinding_bufferDataType ¶
BufferBinding_bufferDataType :: proc "c" (self: ^BufferBinding) -> DataType {…}
bufferDataType := bufferBinding->bufferDataType()
BufferBinding_bufferPointerType ¶
BufferBinding_bufferPointerType :: proc "c" (self: ^BufferBinding) -> ^PointerType {…}
bufferPointerType := bufferBinding->bufferPointerType()
BufferBinding_bufferStructType ¶
BufferBinding_bufferStructType :: proc "c" (self: ^BufferBinding) -> ^StructType {…}
bufferStructType := bufferBinding->bufferStructType()
BufferLayoutDescriptorArray_alloc ¶ class method owned
BufferLayoutDescriptorArray_alloc :: proc "c" () -> ^BufferLayoutDescriptorArray {…}
bufferLayoutDescriptorArray := BufferLayoutDescriptorArray.alloc()
BufferLayoutDescriptorArray_init ¶
BufferLayoutDescriptorArray_init :: proc "c" (self: ^BufferLayoutDescriptorArray) -> ^BufferLayoutDescriptorArray {…}
res := bufferLayoutDescriptorArray->init()
BufferLayoutDescriptorArray_object ¶
BufferLayoutDescriptorArray_object :: proc "c" ( self: ^BufferLayoutDescriptorArray, index: NS.UInteger, ) -> ^BufferLayoutDescriptor {…}
bufferLayoutDescriptor := bufferLayoutDescriptorArray->object(index)
BufferLayoutDescriptorArray_setObject ¶
BufferLayoutDescriptorArray_setObject :: proc "c" ( self: ^BufferLayoutDescriptorArray, bufferDesc: ^BufferLayoutDescriptor, index: NS.UInteger, ) {…}
bufferLayoutDescriptorArray->setObject(bufferDesc, index)
BufferLayoutDescriptor_alloc ¶ class method owned
BufferLayoutDescriptor_alloc :: proc "c" () -> ^BufferLayoutDescriptor {…}
bufferLayoutDescriptor := BufferLayoutDescriptor.alloc()
BufferLayoutDescriptor_init ¶
BufferLayoutDescriptor_init :: proc "c" (self: ^BufferLayoutDescriptor) -> ^BufferLayoutDescriptor {…}
res := bufferLayoutDescriptor->init()
BufferLayoutDescriptor_setStepFunction ¶
BufferLayoutDescriptor_setStepFunction :: proc "c" ( self: ^BufferLayoutDescriptor, stepFunction: StepFunction, ) {…}
bufferLayoutDescriptor->setStepFunction(stepFunction)
BufferLayoutDescriptor_setStepRate ¶
BufferLayoutDescriptor_setStepRate :: proc "c" ( self: ^BufferLayoutDescriptor, stepRate: NS.UInteger, ) {…}
bufferLayoutDescriptor->setStepRate(stepRate)
BufferLayoutDescriptor_setStride ¶
BufferLayoutDescriptor_setStride :: proc "c" ( self: ^BufferLayoutDescriptor, stride: NS.UInteger, ) {…}
bufferLayoutDescriptor->setStride(stride)
BufferLayoutDescriptor_stepFunction ¶
BufferLayoutDescriptor_stepFunction :: proc "c" (self: ^BufferLayoutDescriptor) -> StepFunction {…}
stepFunction := bufferLayoutDescriptor->stepFunction()
BufferLayoutDescriptor_stepRate ¶
BufferLayoutDescriptor_stepRate :: proc "c" (self: ^BufferLayoutDescriptor) -> NS.UInteger {…}
stepRate := bufferLayoutDescriptor->stepRate()
BufferLayoutDescriptor_stride ¶
BufferLayoutDescriptor_stride :: proc "c" (self: ^BufferLayoutDescriptor) -> NS.UInteger {…}
stride := bufferLayoutDescriptor->stride()
Buffer_addDebugMarker ¶
Buffer_addDebugMarker :: proc "c" (self: ^Buffer, marker: ^NS.String, range: NS.Range) {…}
buffer->addDebugMarker(marker, range)
Buffer_contentsAsSlice ¶
Buffer_contentsAsSlice :: proc "c" (self: ^Buffer, $T: typeid/[]$E) -> T {…}
res := buffer->contentsAsSlice(T)
Buffer_contentsAsType ¶
Buffer_contentsAsType :: proc "c" (self: ^Buffer, $T: typeid, offset: uintptr = 0) -> ^T {…}
res := buffer->contentsAsType(T, offset)
Buffer_contentsPointer ¶
Buffer_contentsPointer :: proc "c" (self: ^Buffer) -> rawptr {…}
contentsPointer := buffer->contentsPointer()
Buffer_didModifyRange ¶
Buffer_didModifyRange :: proc "c" (self: ^Buffer, range: NS.Range) {…}
buffer->didModifyRange(range)
Buffer_gpuAddress ¶
Buffer_gpuAddress :: proc "c" (self: ^Buffer) -> u64 {…}
gpuAddress := buffer->gpuAddress()
Buffer_newRemoteBufferViewForDevice ¶ owned
Buffer_newRemoteBufferViewForDevice :: proc "c" (self: ^Buffer, device: ^Device) -> ^Buffer {…}
res := buffer->newRemoteBufferViewForDevice(device)
Buffer_newRemoveBufferViewForDevice ¶ owned
Buffer_newRemoveBufferViewForDevice :: proc "c" (self: ^Buffer, device: ^Device) -> ^Buffer {…}
res := buffer->newRemoveBufferViewForDevice(device)
Buffer_newTexture ¶ owned
Buffer_newTexture :: proc "c" ( self: ^Buffer, descriptor: ^TextureDescriptor, offset: NS.UInteger, bytesPerRow: NS.UInteger, ) -> ^Texture {…}
texture := buffer->newTexture(descriptor, offset, bytesPerRow)
Buffer_remoteStorageBuffer ¶
Buffer_remoteStorageBuffer :: proc "c" (self: ^Buffer) -> ^Buffer {…}
remoteStorageBuffer := buffer->remoteStorageBuffer()
Buffer_removeAllDebugMarkers ¶
Buffer_removeAllDebugMarkers :: proc "c" (self: ^Buffer) {…}
buffer->removeAllDebugMarkers()
CaptureDescriptor_alloc ¶ class method owned
CaptureDescriptor_alloc :: proc "c" () -> ^CaptureDescriptor {…}
captureDescriptor := CaptureDescriptor.alloc()
CaptureDescriptor_captureObject ¶
CaptureDescriptor_captureObject :: proc "c" (self: ^CaptureDescriptor) -> ^NS.Object {…}
captureObject := captureDescriptor->captureObject()
CaptureDescriptor_destination ¶
CaptureDescriptor_destination :: proc "c" (self: ^CaptureDescriptor) -> CaptureDestination {…}
destination := captureDescriptor->destination()
CaptureDescriptor_init ¶
CaptureDescriptor_init :: proc "c" (self: ^CaptureDescriptor) -> ^CaptureDescriptor {…}
res := captureDescriptor->init()
CaptureDescriptor_outputURL ¶
CaptureDescriptor_outputURL :: proc "c" (self: ^CaptureDescriptor) -> ^NS.URL {…}
outputURL := captureDescriptor->outputURL()
CaptureDescriptor_setCaptureObject ¶
CaptureDescriptor_setCaptureObject :: proc "c" ( self: ^CaptureDescriptor, captureObject: ^NS.Object, ) {…}
captureDescriptor->setCaptureObject(captureObject)
CaptureDescriptor_setDestination ¶
CaptureDescriptor_setDestination :: proc "c" ( self: ^CaptureDescriptor, destination: CaptureDestination, ) {…}
captureDescriptor->setDestination(destination)
CaptureDescriptor_setOutputURL ¶
CaptureDescriptor_setOutputURL :: proc "c" (self: ^CaptureDescriptor, outputURL: ^NS.URL) {…}
captureDescriptor->setOutputURL(outputURL)
CaptureManager_alloc ¶ class method owned
CaptureManager_alloc :: proc "c" () -> ^CaptureManager {…}
captureManager := CaptureManager.alloc()
CaptureManager_defaultCaptureScope ¶
CaptureManager_defaultCaptureScope :: proc "c" (self: ^CaptureManager) -> ^CaptureManager {…}
defaultCaptureScope := captureManager->defaultCaptureScope()
CaptureManager_init ¶
CaptureManager_init :: proc "c" (self: ^CaptureManager) -> ^CaptureManager {…}
res := captureManager->init()
CaptureManager_isCapturing ¶
CaptureManager_isCapturing :: proc "c" (self: ^CaptureManager) -> bool {…}
isCapturing := captureManager->isCapturing()
CaptureManager_newCaptureScopeWithCommandQueue ¶ owned
CaptureManager_newCaptureScopeWithCommandQueue :: proc "c" ( self: ^CaptureManager, commandQueue: ^CommandQueue, ) -> ^CaptureScope {…}
captureScope := captureManager->newCaptureScopeWithCommandQueue(commandQueue)
CaptureManager_newCaptureScopeWithDevice ¶ owned
CaptureManager_newCaptureScopeWithDevice :: proc "c" ( self: ^CaptureManager, device: ^Device, ) -> ^CaptureScope {…}
captureScope := captureManager->newCaptureScopeWithDevice(device)
CaptureManager_setDefaultCaptureScope ¶
CaptureManager_setDefaultCaptureScope :: proc "c" ( self: ^CaptureManager, defaultCaptureScope: ^CaptureScope, ) {…}
captureManager->setDefaultCaptureScope(defaultCaptureScope)
CaptureManager_sharedCaptureManager ¶ class method
CaptureManager_sharedCaptureManager :: proc "c" () -> ^CaptureManager {…}
captureManager := CaptureManager.sharedCaptureManager()
CaptureManager_startCaptureWithCommandQueue ¶
CaptureManager_startCaptureWithCommandQueue :: proc "c" ( self: ^CaptureManager, commandQueue: ^CommandQueue, ) {…}
captureManager->startCaptureWithCommandQueue(commandQueue)
CaptureManager_startCaptureWithDescriptor ¶
CaptureManager_startCaptureWithDescriptor :: proc "contextless" ( self: ^CaptureManager, descriptor: ^CaptureDescriptor, ) -> (ok: bool, error: ^NS.Error) {…}
ok, error := captureManager->startCaptureWithDescriptor(descriptor)
CaptureManager_startCaptureWithDevice ¶
CaptureManager_startCaptureWithDevice :: proc "c" (self: ^CaptureManager, device: ^Device) {…}
captureManager->startCaptureWithDevice(device)
CaptureManager_startCaptureWithScope ¶
CaptureManager_startCaptureWithScope :: proc "c" ( self: ^CaptureManager, captureScope: ^CaptureScope, ) {…}
captureManager->startCaptureWithScope(captureScope)
CaptureManager_stopCapture ¶
CaptureManager_stopCapture :: proc "c" (self: ^CaptureManager) {…}
captureManager->stopCapture()
CaptureManager_supportsDestination ¶
CaptureManager_supportsDestination :: proc "c" ( self: ^CaptureManager, destination: CaptureDestination, ) -> bool {…}
res := captureManager->supportsDestination(destination)
CaptureScope_beginScope ¶
CaptureScope_beginScope :: proc "c" (self: ^CaptureScope) {…}
captureScope->beginScope()
CaptureScope_commandQueue ¶
CaptureScope_commandQueue :: proc "c" (self: ^CaptureScope) -> ^CommandQueue {…}
commandQueue := captureScope->commandQueue()
CaptureScope_device ¶
CaptureScope_device :: proc "c" (self: ^CaptureScope) -> ^Device {…}
device := captureScope->device()
CaptureScope_endScope ¶
CaptureScope_endScope :: proc "c" (self: ^CaptureScope) {…}
captureScope->endScope()
CaptureScope_label ¶
CaptureScope_label :: proc "c" (self: ^CaptureScope) -> ^NS.String {…}
label := captureScope->label()
CaptureScope_setLabel ¶
CaptureScope_setLabel :: proc "c" (self: ^CaptureScope, label: ^NS.String) {…}
captureScope->setLabel(label)
CommandBufferDescriptor_alloc ¶ class method owned
CommandBufferDescriptor_alloc :: proc "c" () -> ^CommandBufferDescriptor {…}
commandBufferDescriptor := CommandBufferDescriptor.alloc()
CommandBufferDescriptor_errorOptions ¶
CommandBufferDescriptor_errorOptions :: proc "c" (self: ^CommandBufferDescriptor) -> CommandBufferErrorOption {…}
errorOptions := commandBufferDescriptor->errorOptions()
CommandBufferDescriptor_init ¶
CommandBufferDescriptor_init :: proc "c" (self: ^CommandBufferDescriptor) -> ^CommandBufferDescriptor {…}
res := commandBufferDescriptor->init()
CommandBufferDescriptor_retainedReferences ¶
CommandBufferDescriptor_retainedReferences :: proc "c" (self: ^CommandBufferDescriptor) -> bool {…}
retainedReferences := commandBufferDescriptor->retainedReferences()
CommandBufferDescriptor_setErrorOptions ¶
CommandBufferDescriptor_setErrorOptions :: proc "c" ( self: ^CommandBufferDescriptor, errorOptions: CommandBufferErrorOption, ) {…}
commandBufferDescriptor->setErrorOptions(errorOptions)
CommandBufferDescriptor_setRetainedReferences ¶
CommandBufferDescriptor_setRetainedReferences :: proc "c" ( self: ^CommandBufferDescriptor, retainedReferences: bool, ) {…}
commandBufferDescriptor->setRetainedReferences(retainedReferences)
CommandBufferEncoderInfo_debugSignposts ¶
CommandBufferEncoderInfo_debugSignposts :: proc "c" (self: ^CommandBufferEncoderInfo) -> ^NS.Array {…}
debugSignposts := commandBufferEncoderInfo->debugSignposts()
CommandBufferEncoderInfo_errorState ¶
CommandBufferEncoderInfo_errorState :: proc "c" (self: ^CommandBufferEncoderInfo) -> CommandEncoderErrorState {…}
errorState := commandBufferEncoderInfo->errorState()
CommandBufferEncoderInfo_label ¶
CommandBufferEncoderInfo_label :: proc "c" (self: ^CommandBufferEncoderInfo) -> ^NS.String {…}
label := commandBufferEncoderInfo->label()
CommandBuffer_GPUEndTime ¶
CommandBuffer_GPUEndTime :: proc "c" (self: ^CommandBuffer) -> NS.TimeInterval {…}
GPUEndTime := commandBuffer->GPUEndTime()
CommandBuffer_GPUStartTime ¶
CommandBuffer_GPUStartTime :: proc "c" (self: ^CommandBuffer) -> NS.TimeInterval {…}
GPUStartTime := commandBuffer->GPUStartTime()
CommandBuffer_accelerationStructureCommandEncoder ¶
CommandBuffer_accelerationStructureCommandEncoder :: proc "c" (self: ^CommandBuffer) -> ^AccelerationStructureCommandEncoder {…}
accelerationStructureCommandEncoder := commandBuffer->accelerationStructureCommandEncoder()
CommandBuffer_accelerationStructureCommandEncoderWithDescriptor ¶
CommandBuffer_accelerationStructureCommandEncoderWithDescriptor :: proc "c" ( self: ^CommandBuffer, descriptor: ^AccelerationStructurePassDescriptor, ) -> ^AccelerationStructureCommandEncoder {…}
accelerationStructureCommandEncoder := commandBuffer->accelerationStructureCommandEncoderWithDescriptor(descriptor)
CommandBuffer_addCompletedHandler ¶
CommandBuffer_addCompletedHandler :: proc "c" ( self: ^CommandBuffer, block: CommandBufferHandler, ) {…}
commandBuffer->addCompletedHandler(block)
CommandBuffer_addScheduledHandler ¶
CommandBuffer_addScheduledHandler :: proc "c" ( self: ^CommandBuffer, block: CommandBufferHandler, ) {…}
commandBuffer->addScheduledHandler(block)
CommandBuffer_blitCommandEncoder ¶
CommandBuffer_blitCommandEncoder :: proc "c" (self: ^CommandBuffer) -> ^BlitCommandEncoder {…}
blitCommandEncoder := commandBuffer->blitCommandEncoder()
CommandBuffer_blitCommandEncoderWithDescriptor ¶
CommandBuffer_blitCommandEncoderWithDescriptor :: proc "c" ( self: ^CommandBuffer, blitPassDescriptor: ^BlitPassDescriptor, ) -> ^BlitCommandEncoder {…}
blitCommandEncoder := commandBuffer->blitCommandEncoderWithDescriptor(blitPassDescriptor)
CommandBuffer_commandQueue ¶
CommandBuffer_commandQueue :: proc "c" (self: ^CommandBuffer) -> ^CommandQueue {…}
commandQueue := commandBuffer->commandQueue()
CommandBuffer_commit ¶
CommandBuffer_commit :: proc "c" (self: ^CommandBuffer) {…}
commandBuffer->commit()
CommandBuffer_computeCommandEncoder ¶
CommandBuffer_computeCommandEncoder :: proc "c" (self: ^CommandBuffer) -> ^ComputeCommandEncoder {…}
computeCommandEncoder := commandBuffer->computeCommandEncoder()
CommandBuffer_computeCommandEncoderWithDescriptor ¶
CommandBuffer_computeCommandEncoderWithDescriptor :: proc "c" ( self: ^CommandBuffer, computePassDescriptor: ^ComputePassDescriptor, ) -> ^ComputeCommandEncoder {…}
computeCommandEncoder := commandBuffer->computeCommandEncoderWithDescriptor(computePassDescriptor)
CommandBuffer_computeCommandEncoderWithDispatchType ¶
CommandBuffer_computeCommandEncoderWithDispatchType :: proc "c" ( self: ^CommandBuffer, dispatchType: DispatchType, ) -> ^ComputeCommandEncoder {…}
computeCommandEncoder := commandBuffer->computeCommandEncoderWithDispatchType(dispatchType)
CommandBuffer_device ¶
CommandBuffer_device :: proc "c" (self: ^CommandBuffer) -> ^Device {…}
device := commandBuffer->device()
CommandBuffer_encodeSignalEvent ¶
CommandBuffer_encodeSignalEvent :: proc "c" (self: ^CommandBuffer, event: ^Event, value: u64) {…}
commandBuffer->encodeSignalEvent(event, value)
CommandBuffer_encodeWaitForEvent ¶
CommandBuffer_encodeWaitForEvent :: proc "c" (self: ^CommandBuffer, event: ^Event, value: u64) {…}
commandBuffer->encodeWaitForEvent(event, value)
CommandBuffer_enqueue ¶
CommandBuffer_enqueue :: proc "c" (self: ^CommandBuffer) {…}
commandBuffer->enqueue()
CommandBuffer_error ¶
CommandBuffer_error :: proc "c" (self: ^CommandBuffer) -> ^NS.Error {…}
error := commandBuffer->error()
CommandBuffer_errorOptions ¶
CommandBuffer_errorOptions :: proc "c" (self: ^CommandBuffer) -> CommandBufferErrorOption {…}
errorOptions := commandBuffer->errorOptions()
CommandBuffer_kernelEndTime ¶
CommandBuffer_kernelEndTime :: proc "c" (self: ^CommandBuffer) -> NS.TimeInterval {…}
kernelEndTime := commandBuffer->kernelEndTime()
CommandBuffer_kernelStartTime ¶
CommandBuffer_kernelStartTime :: proc "c" (self: ^CommandBuffer) -> NS.TimeInterval {…}
kernelStartTime := commandBuffer->kernelStartTime()
CommandBuffer_label ¶
CommandBuffer_label :: proc "c" (self: ^CommandBuffer) -> ^NS.String {…}
label := commandBuffer->label()
CommandBuffer_logs ¶
CommandBuffer_logs :: proc "c" (self: ^CommandBuffer) -> ^LogContainer {…}
logs := commandBuffer->logs()
CommandBuffer_parallelRenderCommandEncoder ¶
CommandBuffer_parallelRenderCommandEncoder :: proc "c" ( self: ^CommandBuffer, renderPassDescriptor: ^RenderPassDescriptor, ) -> ^ParallelRenderCommandEncoder {…}
parallelRenderCommandEncoder := commandBuffer->parallelRenderCommandEncoder(renderPassDescriptor)
CommandBuffer_popDebugGroup ¶
CommandBuffer_popDebugGroup :: proc "c" (self: ^CommandBuffer) {…}
commandBuffer->popDebugGroup()
CommandBuffer_presentDrawable ¶
CommandBuffer_presentDrawable :: proc "c" (self: ^CommandBuffer, drawable: ^Drawable) {…}
commandBuffer->presentDrawable(drawable)
CommandBuffer_presentDrawableAfterMinimumDuration ¶
CommandBuffer_presentDrawableAfterMinimumDuration :: proc "c" ( self: ^CommandBuffer, drawable: ^Drawable, duration: NS.TimeInterval, ) {…}
commandBuffer->presentDrawableAfterMinimumDuration(drawable, duration)
CommandBuffer_presentDrawableAtTime ¶
CommandBuffer_presentDrawableAtTime :: proc "c" ( self: ^CommandBuffer, drawable: ^Drawable, presentationTime: NS.TimeInterval, ) {…}
commandBuffer->presentDrawableAtTime(drawable, presentationTime)
CommandBuffer_pushDebugGroup ¶
CommandBuffer_pushDebugGroup :: proc "c" (self: ^CommandBuffer, string: ^NS.String) {…}
commandBuffer->pushDebugGroup(string)
CommandBuffer_renderCommandEncoderWithDescriptor ¶
CommandBuffer_renderCommandEncoderWithDescriptor :: proc "c" ( self: ^CommandBuffer, renderPassDescriptor: ^RenderPassDescriptor, ) -> ^RenderCommandEncoder {…}
renderCommandEncoder := commandBuffer->renderCommandEncoderWithDescriptor(renderPassDescriptor)
CommandBuffer_resourceStateCommandEncoder ¶
CommandBuffer_resourceStateCommandEncoder :: proc "c" (self: ^CommandBuffer) -> ^CommandBuffer {…}
resourceStateCommandEncoder := commandBuffer->resourceStateCommandEncoder()
CommandBuffer_resourceStateCommandEncoderWithDescriptor ¶
CommandBuffer_resourceStateCommandEncoderWithDescriptor :: proc "c" ( self: ^CommandBuffer, resourceStatePassDescriptor: ^ResourceStatePassDescriptor, ) -> ^ResourceStateCommandEncoder {…}
resourceStateCommandEncoder := commandBuffer->resourceStateCommandEncoderWithDescriptor(resourceStatePassDescriptor)
CommandBuffer_retainedReferences ¶
CommandBuffer_retainedReferences :: proc "c" (self: ^CommandBuffer) -> bool {…}
retainedReferences := commandBuffer->retainedReferences()
CommandBuffer_setLabel ¶
CommandBuffer_setLabel :: proc "c" (self: ^CommandBuffer, label: ^NS.String) {…}
commandBuffer->setLabel(label)
CommandBuffer_status ¶
CommandBuffer_status :: proc "c" (self: ^CommandBuffer) -> CommandBufferStatus {…}
status := commandBuffer->status()
CommandBuffer_waitUntilCompleted ¶
CommandBuffer_waitUntilCompleted :: proc "c" (self: ^CommandBuffer) {…}
commandBuffer->waitUntilCompleted()
CommandBuffer_waitUntilScheduled ¶
CommandBuffer_waitUntilScheduled :: proc "c" (self: ^CommandBuffer) {…}
commandBuffer->waitUntilScheduled()
CommandEncoder_device ¶
CommandEncoder_device :: proc "c" (self: ^CommandEncoder) -> ^Device {…}
device := commandEncoder->device()
CommandEncoder_endEncoding ¶
CommandEncoder_endEncoding :: proc "c" (self: ^CommandEncoder) {…}
commandEncoder->endEncoding()
CommandEncoder_insertDebugSignpost ¶
CommandEncoder_insertDebugSignpost :: proc "c" (self: ^CommandEncoder, string: ^NS.String) {…}
commandEncoder->insertDebugSignpost(string)
CommandEncoder_label ¶
CommandEncoder_label :: proc "c" (self: ^CommandEncoder) -> ^NS.String {…}
label := commandEncoder->label()
CommandEncoder_popDebugGroup ¶
CommandEncoder_popDebugGroup :: proc "c" (self: ^CommandEncoder) {…}
commandEncoder->popDebugGroup()
CommandEncoder_pushDebugGroup ¶
CommandEncoder_pushDebugGroup :: proc "c" (self: ^CommandEncoder, string: ^NS.String) {…}
commandEncoder->pushDebugGroup(string)
CommandEncoder_setLabel ¶
CommandEncoder_setLabel :: proc "c" (self: ^CommandEncoder, label: ^NS.String) {…}
commandEncoder->setLabel(label)
CommandQueue_commandBuffer ¶
CommandQueue_commandBuffer :: proc "c" (self: ^CommandQueue) -> ^CommandBuffer {…}
commandBuffer := commandQueue->commandBuffer()
CommandQueue_commandBufferWithDescriptor ¶
CommandQueue_commandBufferWithDescriptor :: proc "c" ( self: ^CommandQueue, descriptor: ^CommandBufferDescriptor, ) -> ^CommandBuffer {…}
commandBuffer := commandQueue->commandBufferWithDescriptor(descriptor)
CommandQueue_commandBufferWithUnretainedReferences ¶
CommandQueue_commandBufferWithUnretainedReferences :: proc "c" (self: ^CommandQueue) -> ^CommandBuffer {…}
commandBufferWithUnretainedReferences := commandQueue->commandBufferWithUnretainedReferences()
CommandQueue_device ¶
CommandQueue_device :: proc "c" (self: ^CommandQueue) -> ^Device {…}
device := commandQueue->device()
CommandQueue_insertDebugCaptureBoundary ¶
CommandQueue_insertDebugCaptureBoundary :: proc "c" (self: ^CommandQueue) {…}
commandQueue->insertDebugCaptureBoundary()
CommandQueue_label ¶
CommandQueue_label :: proc "c" (self: ^CommandQueue) -> ^NS.String {…}
label := commandQueue->label()
CommandQueue_setLabel ¶
CommandQueue_setLabel :: proc "c" (self: ^CommandQueue, label: ^NS.String) {…}
commandQueue->setLabel(label)
CompileOptions_alloc ¶ class method owned
CompileOptions_alloc :: proc "c" () -> ^CompileOptions {…}
compileOptions := CompileOptions.alloc()
CompileOptions_fastMathEnabled ¶
CompileOptions_fastMathEnabled :: proc "c" (self: ^CompileOptions) -> bool {…}
fastMathEnabled := compileOptions->fastMathEnabled()
CompileOptions_init ¶
CompileOptions_init :: proc "c" (self: ^CompileOptions) -> ^CompileOptions {…}
res := compileOptions->init()
CompileOptions_installName ¶
CompileOptions_installName :: proc "c" (self: ^CompileOptions) -> ^NS.String {…}
installName := compileOptions->installName()
CompileOptions_languageVersion ¶
CompileOptions_languageVersion :: proc "c" (self: ^CompileOptions) -> LanguageVersion {…}
languageVersion := compileOptions->languageVersion()
CompileOptions_libraries ¶
CompileOptions_libraries :: proc "c" (self: ^CompileOptions) -> ^NS.Array {…}
libraries := compileOptions->libraries()
CompileOptions_libraryType ¶
CompileOptions_libraryType :: proc "c" (self: ^CompileOptions) -> LibraryType {…}
libraryType := compileOptions->libraryType()
CompileOptions_optimizationLevel ¶
CompileOptions_optimizationLevel :: proc "c" (self: ^CompileOptions) -> LibraryOptimizationLevel {…}
optimizationLevel := compileOptions->optimizationLevel()
CompileOptions_preprocessorMacros ¶
CompileOptions_preprocessorMacros :: proc "c" (self: ^CompileOptions) -> ^NS.Dictionary {…}
preprocessorMacros := compileOptions->preprocessorMacros()
CompileOptions_preserveInvariance ¶
CompileOptions_preserveInvariance :: proc "c" (self: ^CompileOptions) -> bool {…}
preserveInvariance := compileOptions->preserveInvariance()
CompileOptions_setFastMathEnabled ¶
CompileOptions_setFastMathEnabled :: proc "c" (self: ^CompileOptions, fastMathEnabled: bool) {…}
compileOptions->setFastMathEnabled(fastMathEnabled)
CompileOptions_setInstallName ¶
CompileOptions_setInstallName :: proc "c" (self: ^CompileOptions, installName: ^NS.String) {…}
compileOptions->setInstallName(installName)
CompileOptions_setLanguageVersion ¶
CompileOptions_setLanguageVersion :: proc "c" ( self: ^CompileOptions, languageVersion: LanguageVersion, ) {…}
compileOptions->setLanguageVersion(languageVersion)
CompileOptions_setLibraries ¶
CompileOptions_setLibraries :: proc "c" (self: ^CompileOptions, libraries: ^NS.Array) {…}
compileOptions->setLibraries(libraries)
CompileOptions_setLibraryType ¶
CompileOptions_setLibraryType :: proc "c" (self: ^CompileOptions, libraryType: LibraryType) {…}
compileOptions->setLibraryType(libraryType)
CompileOptions_setOptimizationLevel ¶
CompileOptions_setOptimizationLevel :: proc "c" ( self: ^CompileOptions, optimizationLevel: LibraryOptimizationLevel, ) {…}
compileOptions->setOptimizationLevel(optimizationLevel)
CompileOptions_setPreprocessorMacros ¶
CompileOptions_setPreprocessorMacros :: proc "c" ( self: ^CompileOptions, preprocessorMacros: ^NS.Dictionary, ) {…}
compileOptions->setPreprocessorMacros(preprocessorMacros)
CompileOptions_setPreserveInvariance ¶
CompileOptions_setPreserveInvariance :: proc "c" ( self: ^CompileOptions, preserveInvariance: bool, ) {…}
compileOptions->setPreserveInvariance(preserveInvariance)
ComputeCommandEncoder_dispatchThreadgroups ¶
ComputeCommandEncoder_dispatchThreadgroups :: proc "c" ( self: ^ComputeCommandEncoder, threadgroupsPerGrid: Size, threadsPerThreadgroup: Size, ) {…}
computeCommandEncoder->dispatchThreadgroups(threadgroupsPerGrid, threadsPerThreadgroup)
ComputeCommandEncoder_dispatchThreadgroupsWithIndirectBuffer ¶
ComputeCommandEncoder_dispatchThreadgroupsWithIndirectBuffer :: proc "c" ( self: ^ComputeCommandEncoder, indirectBuffer: ^Buffer, indirectBufferOffset: NS.UInteger, threadsPerThreadgroup: Size, ) {…}
computeCommandEncoder->dispatchThreadgroupsWithIndirectBuffer( indirectBuffer, indirectBufferOffset, threadsPerThreadgroup, )
ComputeCommandEncoder_dispatchThreads ¶
ComputeCommandEncoder_dispatchThreads :: proc "c" ( self: ^ComputeCommandEncoder, threadsPerGrid: Size, threadsPerThreadgroup: Size, ) {…}
computeCommandEncoder->dispatchThreads(threadsPerGrid, threadsPerThreadgroup)
ComputeCommandEncoder_dispatchType ¶
ComputeCommandEncoder_dispatchType :: proc "c" (self: ^ComputeCommandEncoder) -> DispatchType {…}
dispatchType := computeCommandEncoder->dispatchType()
ComputeCommandEncoder_executeCommandsInBuffer ¶
ComputeCommandEncoder_executeCommandsInBuffer :: proc "c" ( self: ^ComputeCommandEncoder, indirectCommandbuffer: ^Buffer, indirectRangeBuffer: ^Buffer, indirectBufferOffset: NS.UInteger, ) {…}
computeCommandEncoder->executeCommandsInBuffer( indirectCommandbuffer, indirectRangeBuffer, indirectBufferOffset, )
ComputeCommandEncoder_executeCommandsInBufferWithRange ¶
ComputeCommandEncoder_executeCommandsInBufferWithRange :: proc "c" ( self: ^ComputeCommandEncoder, indirectCommandBuffer: ^Buffer, executionRange: NS.Range, ) {…}
computeCommandEncoder->executeCommandsInBufferWithRange(indirectCommandBuffer, executionRange)
ComputeCommandEncoder_memoryBarrierWithResources ¶
ComputeCommandEncoder_memoryBarrierWithResources :: proc "c" ( self: ^ComputeCommandEncoder, resources: []^Resource, ) {…}
computeCommandEncoder->memoryBarrierWithResources(resources)
ComputeCommandEncoder_memoryBarrierWithScope ¶
ComputeCommandEncoder_memoryBarrierWithScope :: proc "c" ( self: ^ComputeCommandEncoder, scope: BarrierScope, ) {…}
computeCommandEncoder->memoryBarrierWithScope(scope)
ComputeCommandEncoder_sampleCountersInBuffer ¶
ComputeCommandEncoder_sampleCountersInBuffer :: proc "c" ( self: ^ComputeCommandEncoder, sampleBuffer: ^Buffer, sampleIndex: NS.UInteger, barrier: bool, ) {…}
computeCommandEncoder->sampleCountersInBuffer(sampleBuffer, sampleIndex, barrier)
ComputeCommandEncoder_setAccelerationStructure ¶
ComputeCommandEncoder_setAccelerationStructure :: proc "c" ( self: ^ComputeCommandEncoder, accelerationStructure: ^AccelerationStructure, bufferIndex: NS.UInteger, ) {…}
computeCommandEncoder->setAccelerationStructure(accelerationStructure, bufferIndex)
ComputeCommandEncoder_setBuffer ¶
ComputeCommandEncoder_setBuffer :: proc "c" ( self: ^ComputeCommandEncoder, buffer: ^Buffer, offset: NS.UInteger, index: NS.UInteger, ) {…}
computeCommandEncoder->setBuffer(buffer, offset, index)
ComputeCommandEncoder_setBufferOffset ¶
ComputeCommandEncoder_setBufferOffset :: proc "c" ( self: ^ComputeCommandEncoder, offset: NS.UInteger, index: NS.UInteger, ) {…}
computeCommandEncoder->setBufferOffset(offset, index)
ComputeCommandEncoder_setBuffers ¶
ComputeCommandEncoder_setBuffers :: proc( self: ^ComputeCommandEncoder, buffers: []^Buffer, offsets: []NS.UInteger, range: NS.Range, ) {…}
computeCommandEncoder->setBuffers(buffers, offsets, range)
ComputeCommandEncoder_setBytes ¶
ComputeCommandEncoder_setBytes :: proc "c" ( self: ^ComputeCommandEncoder, bytes: []u8, index: NS.UInteger, ) {…}
computeCommandEncoder->setBytes(bytes, index)
ComputeCommandEncoder_setComputePipelineState ¶
ComputeCommandEncoder_setComputePipelineState :: proc "c" ( self: ^ComputeCommandEncoder, pipelineState: ^ComputePipelineState, ) {…}
computeCommandEncoder->setComputePipelineState(pipelineState)
ComputeCommandEncoder_setImageblockWidth ¶
ComputeCommandEncoder_setImageblockWidth :: proc "c" ( self: ^ComputeCommandEncoder, width: NS.UInteger, height: NS.UInteger, ) {…}
computeCommandEncoder->setImageblockWidth(width, height)
ComputeCommandEncoder_setIntersectionFunctionTable ¶
ComputeCommandEncoder_setIntersectionFunctionTable :: proc "c" ( self: ^ComputeCommandEncoder, intersectionFunctionTable: ^IntersectionFunctionTable, bufferIndex: NS.UInteger, ) {…}
computeCommandEncoder->setIntersectionFunctionTable(intersectionFunctionTable, bufferIndex)
ComputeCommandEncoder_setIntersectionFunctionTables ¶
ComputeCommandEncoder_setIntersectionFunctionTables :: proc( self: ^ComputeCommandEncoder, intersectionFunctionTables: []^IntersectionFunctionTable, range: NS.Range, ) {…}
computeCommandEncoder->setIntersectionFunctionTables(intersectionFunctionTables, range)
ComputeCommandEncoder_setSamplerState ¶
ComputeCommandEncoder_setSamplerState :: proc "c" ( self: ^ComputeCommandEncoder, sampler: ^SamplerState, index: NS.UInteger, ) {…}
computeCommandEncoder->setSamplerState(sampler, index)
ComputeCommandEncoder_setSamplerState_lodMinClamp_lodMaxClamp ¶
ComputeCommandEncoder_setSamplerState_lodMinClamp_lodMaxClamp :: proc "c" ( self: ^ComputeCommandEncoder, sampler: ^SamplerState, lodMinClamp: f32, lodMaxClamp: f32, index: NS.UInteger, ) {…}
computeCommandEncoder->setSamplerStateWithLod(sampler, lodMinClamp, lodMaxClamp, index)
ComputeCommandEncoder_setSamplerStatesWithLod ¶
ComputeCommandEncoder_setSamplerStatesWithLod :: proc "c" ( self: ^ComputeCommandEncoder, samplers: []^SamplerState, lodMinClamps, lodMaxClamps: []f32, range: NS.Range, ) {…}
computeCommandEncoder->setSamplerStatesWithLod(samplers, lodMinClamps, lodMaxClamps, range)
ComputeCommandEncoder_setSamplerStatesWithRange ¶
ComputeCommandEncoder_setSamplerStatesWithRange :: proc "c" ( self: ^ComputeCommandEncoder, samplers: []^SamplerState, range: NS.Range, ) {…}
computeCommandEncoder->setSamplerStatesWithRange(samplers, range)
ComputeCommandEncoder_setStageInRegion ¶
ComputeCommandEncoder_setStageInRegion :: proc "c" ( self: ^ComputeCommandEncoder, region: Region, ) {…}
computeCommandEncoder->setStageInRegion(region)
ComputeCommandEncoder_setStageInRegionWithIndirectBuffer ¶
ComputeCommandEncoder_setStageInRegionWithIndirectBuffer :: proc "c" ( self: ^ComputeCommandEncoder, indirectBuffer: ^Buffer, indirectBufferOffset: NS.UInteger, ) {…}
computeCommandEncoder->setStageInRegionWithIndirectBuffer(indirectBuffer, indirectBufferOffset)
ComputeCommandEncoder_setTexture ¶
ComputeCommandEncoder_setTexture :: proc "c" ( self: ^ComputeCommandEncoder, texture: ^Texture, index: NS.UInteger, ) {…}
computeCommandEncoder->setTexture(texture, index)
ComputeCommandEncoder_setTextures ¶
ComputeCommandEncoder_setTextures :: proc "c" ( self: ^ComputeCommandEncoder, textures: []^Texture, range: NS.Range, ) {…}
computeCommandEncoder->setTextures(textures, range)
ComputeCommandEncoder_setThreadgroupMemoryLength ¶
ComputeCommandEncoder_setThreadgroupMemoryLength :: proc "c" ( self: ^ComputeCommandEncoder, length: NS.UInteger, index: NS.UInteger, ) {…}
computeCommandEncoder->setThreadgroupMemoryLength(length, index)
ComputeCommandEncoder_setVisibleFunctionTable ¶
ComputeCommandEncoder_setVisibleFunctionTable :: proc "c" ( self: ^ComputeCommandEncoder, visibleFunctionTable: ^VisibleFunctionTable, bufferIndex: NS.UInteger, ) {…}
computeCommandEncoder->setVisibleFunctionTable(visibleFunctionTable, bufferIndex)
ComputeCommandEncoder_setVisibleFunctionTables ¶
ComputeCommandEncoder_setVisibleFunctionTables :: proc "c" ( self: ^ComputeCommandEncoder, visibleFunctionTables: []^VisibleFunctionTable, range: NS.Range, ) {…}
computeCommandEncoder->setVisibleFunctionTables(visibleFunctionTables, range)
ComputeCommandEncoder_updateFence ¶
ComputeCommandEncoder_updateFence :: proc "c" (self: ^ComputeCommandEncoder, fence: ^Fence) {…}
computeCommandEncoder->updateFence(fence)
ComputeCommandEncoder_useHeap ¶
ComputeCommandEncoder_useHeap :: proc "c" (self: ^ComputeCommandEncoder, heap: ^Heap) {…}
computeCommandEncoder->useHeap(heap)
ComputeCommandEncoder_useHeaps ¶
ComputeCommandEncoder_useHeaps :: proc "c" (self: ^ComputeCommandEncoder, heaps: []^Heap) {…}
computeCommandEncoder->useHeaps(heaps)
ComputeCommandEncoder_useResource ¶
ComputeCommandEncoder_useResource :: proc "c" ( self: ^ComputeCommandEncoder, resource: ^Resource, usage: ResourceUsage, ) {…}
computeCommandEncoder->useResource(resource, usage)
ComputeCommandEncoder_useResources ¶
ComputeCommandEncoder_useResources :: proc "c" ( self: ^ComputeCommandEncoder, resources: []^Resource, usage: ResourceUsage, ) {…}
computeCommandEncoder->useResources(resources, usage)
ComputeCommandEncoder_waitForFence ¶
ComputeCommandEncoder_waitForFence :: proc "c" (self: ^ComputeCommandEncoder, fence: ^Fence) {…}
computeCommandEncoder->waitForFence(fence)
ComputePassDescriptor_alloc ¶ class method owned
ComputePassDescriptor_alloc :: proc "c" () -> ^ComputePassDescriptor {…}
computePassDescriptor := ComputePassDescriptor.alloc()
ComputePassDescriptor_computePassDescriptor ¶ class method
ComputePassDescriptor_computePassDescriptor :: proc "c" () -> ^ComputePassDescriptor {…}
computePassDescriptor := ComputePassDescriptor.computePassDescriptor()
ComputePassDescriptor_dispatchType ¶
ComputePassDescriptor_dispatchType :: proc "c" (self: ^ComputePassDescriptor) -> DispatchType {…}
dispatchType := computePassDescriptor->dispatchType()
ComputePassDescriptor_init ¶
ComputePassDescriptor_init :: proc "c" (self: ^ComputePassDescriptor) -> ^ComputePassDescriptor {…}
res := computePassDescriptor->init()
ComputePassDescriptor_sampleBufferAttachments ¶
ComputePassDescriptor_sampleBufferAttachments :: proc "c" (self: ^ComputePassDescriptor) -> ^ComputePassSampleBufferAttachmentDescriptorArray {…}
sampleBufferAttachments := computePassDescriptor->sampleBufferAttachments()
ComputePassDescriptor_setDispatchType ¶
ComputePassDescriptor_setDispatchType :: proc "c" ( self: ^ComputePassDescriptor, dispatchType: DispatchType, ) {…}
computePassDescriptor->setDispatchType(dispatchType)
ComputePassSampleBufferAttachmentDescriptorArray_alloc ¶ class method owned
ComputePassSampleBufferAttachmentDescriptorArray_alloc :: proc "c" () -> ^ComputePassSampleBufferAttachmentDescriptorArray {…}
computePassSampleBufferAttachmentDescriptorArray := ComputePassSampleBufferAttachmentDescriptorArray.alloc()
ComputePassSampleBufferAttachmentDescriptorArray_init ¶
ComputePassSampleBufferAttachmentDescriptorArray_init :: proc "c" (self: ^ComputePassSampleBufferAttachmentDescriptorArray) -> ^ComputePassSampleBufferAttachmentDescriptorArray {…}
res := computePassSampleBufferAttachmentDescriptorArray->init()
ComputePassSampleBufferAttachmentDescriptorArray_object ¶
ComputePassSampleBufferAttachmentDescriptorArray_object :: proc "c" ( self: ^ComputePassSampleBufferAttachmentDescriptorArray, attachmentIndex: NS.UInteger, ) -> ^ComputePassSampleBufferAttachmentDescriptor {…}
computePassSampleBufferAttachmentDescriptor := computePassSampleBufferAttachmentDescriptorArray->object(attachmentIndex)
ComputePassSampleBufferAttachmentDescriptorArray_setObject ¶
ComputePassSampleBufferAttachmentDescriptorArray_setObject :: proc "c" ( self: ^ComputePassSampleBufferAttachmentDescriptorArray, attachment: ^ComputePassSampleBufferAttachmentDescriptor, attachmentIndex: NS.UInteger, ) {…}
computePassSampleBufferAttachmentDescriptorArray->setObject(attachment, attachmentIndex)
ComputePassSampleBufferAttachmentDescriptor_alloc ¶ class method owned
ComputePassSampleBufferAttachmentDescriptor_alloc :: proc "c" () -> ^ComputePassSampleBufferAttachmentDescriptor {…}
computePassSampleBufferAttachmentDescriptor := ComputePassSampleBufferAttachmentDescriptor.alloc()
ComputePassSampleBufferAttachmentDescriptor_endOfEncoderSampleIndex ¶
ComputePassSampleBufferAttachmentDescriptor_endOfEncoderSampleIndex :: proc "c" (self: ^ComputePassSampleBufferAttachmentDescriptor) -> NS.UInteger {…}
endOfEncoderSampleIndex := computePassSampleBufferAttachmentDescriptor->endOfEncoderSampleIndex()
ComputePassSampleBufferAttachmentDescriptor_init ¶
ComputePassSampleBufferAttachmentDescriptor_init :: proc "c" (self: ^ComputePassSampleBufferAttachmentDescriptor) -> ^ComputePassSampleBufferAttachmentDescriptor {…}
res := computePassSampleBufferAttachmentDescriptor->init()
ComputePassSampleBufferAttachmentDescriptor_sampleBuffer ¶
ComputePassSampleBufferAttachmentDescriptor_sampleBuffer :: proc "c" (self: ^ComputePassSampleBufferAttachmentDescriptor) -> ^CounterSampleBuffer {…}
sampleBuffer := computePassSampleBufferAttachmentDescriptor->sampleBuffer()
ComputePassSampleBufferAttachmentDescriptor_setEndOfEncoderSampleIndex ¶
ComputePassSampleBufferAttachmentDescriptor_setEndOfEncoderSampleIndex :: proc "c" ( self: ^ComputePassSampleBufferAttachmentDescriptor, endOfEncoderSampleIndex: NS.UInteger, ) {…}
computePassSampleBufferAttachmentDescriptor->setEndOfEncoderSampleIndex(endOfEncoderSampleIndex)
ComputePassSampleBufferAttachmentDescriptor_setSampleBuffer ¶
ComputePassSampleBufferAttachmentDescriptor_setSampleBuffer :: proc "c" ( self: ^ComputePassSampleBufferAttachmentDescriptor, sampleBuffer: ^Buffer, ) {…}
computePassSampleBufferAttachmentDescriptor->setSampleBuffer(sampleBuffer)
ComputePassSampleBufferAttachmentDescriptor_setStartOfEncoderSampleIndex ¶
ComputePassSampleBufferAttachmentDescriptor_setStartOfEncoderSampleIndex :: proc "c" ( self: ^ComputePassSampleBufferAttachmentDescriptor, startOfEncoderSampleIndex: NS.UInteger, ) {…}
computePassSampleBufferAttachmentDescriptor->setStartOfEncoderSampleIndex(startOfEncoderSampleIndex)
ComputePassSampleBufferAttachmentDescriptor_startOfEncoderSampleIndex ¶
ComputePassSampleBufferAttachmentDescriptor_startOfEncoderSampleIndex :: proc "c" (self: ^ComputePassSampleBufferAttachmentDescriptor) -> NS.UInteger {…}
startOfEncoderSampleIndex := computePassSampleBufferAttachmentDescriptor->startOfEncoderSampleIndex()
ComputePipelineDescriptor_alloc ¶ class method owned
ComputePipelineDescriptor_alloc :: proc "c" () -> ^ComputePipelineDescriptor {…}
computePipelineDescriptor := ComputePipelineDescriptor.alloc()
ComputePipelineDescriptor_binaryArchives ¶
ComputePipelineDescriptor_binaryArchives :: proc "c" (self: ^ComputePipelineDescriptor) -> ^NS.Array {…}
binaryArchives := computePipelineDescriptor->binaryArchives()
ComputePipelineDescriptor_buffers ¶
ComputePipelineDescriptor_buffers :: proc "c" (self: ^ComputePipelineDescriptor) -> ^PipelineBufferDescriptorArray {…}
buffers := computePipelineDescriptor->buffers()
ComputePipelineDescriptor_computeFunction ¶
ComputePipelineDescriptor_computeFunction :: proc "c" (self: ^ComputePipelineDescriptor) -> ^Function {…}
computeFunction := computePipelineDescriptor->computeFunction()
ComputePipelineDescriptor_gpuResourceID ¶
ComputePipelineDescriptor_gpuResourceID :: proc "c" (self: ^ComputePipelineDescriptor) -> ResourceID {…}
gpuResourceID := computePipelineDescriptor->gpuResourceID()
ComputePipelineDescriptor_init ¶
ComputePipelineDescriptor_init :: proc "c" (self: ^ComputePipelineDescriptor) -> ^ComputePipelineDescriptor {…}
res := computePipelineDescriptor->init()
ComputePipelineDescriptor_insertLibraries ¶
ComputePipelineDescriptor_insertLibraries :: proc "c" (self: ^ComputePipelineDescriptor) -> ^NS.Array {…}
insertLibraries := computePipelineDescriptor->insertLibraries()
ComputePipelineDescriptor_label ¶
ComputePipelineDescriptor_label :: proc "c" (self: ^ComputePipelineDescriptor) -> ^NS.String {…}
label := computePipelineDescriptor->label()
ComputePipelineDescriptor_linkedFunctions ¶
ComputePipelineDescriptor_linkedFunctions :: proc "c" (self: ^ComputePipelineDescriptor) -> ^LinkedFunctions {…}
linkedFunctions := computePipelineDescriptor->linkedFunctions()
ComputePipelineDescriptor_maxCallStackDepth ¶
ComputePipelineDescriptor_maxCallStackDepth :: proc "c" (self: ^ComputePipelineDescriptor) -> NS.UInteger {…}
maxCallStackDepth := computePipelineDescriptor->maxCallStackDepth()
ComputePipelineDescriptor_maxTotalThreadsPerThreadgroup ¶
ComputePipelineDescriptor_maxTotalThreadsPerThreadgroup :: proc "c" (self: ^ComputePipelineDescriptor) -> NS.UInteger {…}
maxTotalThreadsPerThreadgroup := computePipelineDescriptor->maxTotalThreadsPerThreadgroup()
ComputePipelineDescriptor_reset ¶
ComputePipelineDescriptor_reset :: proc "c" (self: ^ComputePipelineDescriptor) {…}
computePipelineDescriptor->reset()
ComputePipelineDescriptor_setBinaryArchives ¶
ComputePipelineDescriptor_setBinaryArchives :: proc "c" ( self: ^ComputePipelineDescriptor, binaryArchives: ^NS.Array, ) {…}
computePipelineDescriptor->setBinaryArchives(binaryArchives)
ComputePipelineDescriptor_setComputeFunction ¶
ComputePipelineDescriptor_setComputeFunction :: proc "c" ( self: ^ComputePipelineDescriptor, computeFunction: ^Function, ) {…}
computePipelineDescriptor->setComputeFunction(computeFunction)
ComputePipelineDescriptor_setInsertLibraries ¶
ComputePipelineDescriptor_setInsertLibraries :: proc "c" ( self: ^ComputePipelineDescriptor, insertLibraries: ^NS.Array, ) {…}
computePipelineDescriptor->setInsertLibraries(insertLibraries)
ComputePipelineDescriptor_setLabel ¶
ComputePipelineDescriptor_setLabel :: proc "c" ( self: ^ComputePipelineDescriptor, label: ^NS.String, ) {…}
computePipelineDescriptor->setLabel(label)
ComputePipelineDescriptor_setLinkedFunctions ¶
ComputePipelineDescriptor_setLinkedFunctions :: proc "c" ( self: ^ComputePipelineDescriptor, linkedFunctions: ^LinkedFunctions, ) {…}
computePipelineDescriptor->setLinkedFunctions(linkedFunctions)
ComputePipelineDescriptor_setMaxCallStackDepth ¶
ComputePipelineDescriptor_setMaxCallStackDepth :: proc "c" ( self: ^ComputePipelineDescriptor, maxCallStackDepth: NS.UInteger, ) {…}
computePipelineDescriptor->setMaxCallStackDepth(maxCallStackDepth)
ComputePipelineDescriptor_setMaxTotalThreadsPerThreadgroup ¶
ComputePipelineDescriptor_setMaxTotalThreadsPerThreadgroup :: proc "c" ( self: ^ComputePipelineDescriptor, maxTotalThreadsPerThreadgroup: NS.UInteger, ) {…}
computePipelineDescriptor->setMaxTotalThreadsPerThreadgroup(maxTotalThreadsPerThreadgroup)
ComputePipelineDescriptor_setStageInputDescriptor ¶
ComputePipelineDescriptor_setStageInputDescriptor :: proc "c" ( self: ^ComputePipelineDescriptor, stageInputDescriptor: ^StageInputOutputDescriptor, ) {…}
computePipelineDescriptor->setStageInputDescriptor(stageInputDescriptor)
ComputePipelineDescriptor_setSupportAddingBinaryFunctions ¶
ComputePipelineDescriptor_setSupportAddingBinaryFunctions :: proc "c" ( self: ^ComputePipelineDescriptor, supportAddingBinaryFunctions: bool, ) {…}
computePipelineDescriptor->setSupportAddingBinaryFunctions(supportAddingBinaryFunctions)
ComputePipelineDescriptor_setSupportIndirectCommandBuffers ¶
ComputePipelineDescriptor_setSupportIndirectCommandBuffers :: proc "c" ( self: ^ComputePipelineDescriptor, supportIndirectCommandBuffers: bool, ) {…}
computePipelineDescriptor->setSupportIndirectCommandBuffers(supportIndirectCommandBuffers)
ComputePipelineDescriptor_setThreadGroupSizeIsMultipleOfThreadExecutionWidth ¶
ComputePipelineDescriptor_setThreadGroupSizeIsMultipleOfThreadExecutionWidth :: proc "c" ( self: ^ComputePipelineDescriptor, threadGroupSizeIsMultipleOfThreadExecutionWidth: bool, ) {…}
computePipelineDescriptor->setThreadGroupSizeIsMultipleOfThreadExecutionWidth(threadGroupSizeIsMultipleOfThreadExecutionWidth)
ComputePipelineDescriptor_stageInputDescriptor ¶
ComputePipelineDescriptor_stageInputDescriptor :: proc "c" (self: ^ComputePipelineDescriptor) -> ^StageInputOutputDescriptor {…}
stageInputDescriptor := computePipelineDescriptor->stageInputDescriptor()
ComputePipelineDescriptor_supportAddingBinaryFunctions ¶
ComputePipelineDescriptor_supportAddingBinaryFunctions :: proc "c" (self: ^ComputePipelineDescriptor) -> bool {…}
supportAddingBinaryFunctions := computePipelineDescriptor->supportAddingBinaryFunctions()
ComputePipelineDescriptor_supportIndirectCommandBuffers ¶
ComputePipelineDescriptor_supportIndirectCommandBuffers :: proc "c" (self: ^ComputePipelineDescriptor) -> bool {…}
supportIndirectCommandBuffers := computePipelineDescriptor->supportIndirectCommandBuffers()
ComputePipelineDescriptor_threadGroupSizeIsMultipleOfThreadExecutionWidth ¶
ComputePipelineDescriptor_threadGroupSizeIsMultipleOfThreadExecutionWidth :: proc "c" (self: ^ComputePipelineDescriptor) -> bool {…}
threadGroupSizeIsMultipleOfThreadExecutionWidth := computePipelineDescriptor->threadGroupSizeIsMultipleOfThreadExecutionWidth()
ComputePipelineReflection_alloc ¶ class method owned
ComputePipelineReflection_alloc :: proc "c" () -> ^ComputePipelineReflection {…}
computePipelineReflection := ComputePipelineReflection.alloc()
ComputePipelineReflection_arguments ¶
ComputePipelineReflection_arguments :: proc "c" (self: ^ComputePipelineReflection) -> ^NS.Array {…}
arguments := computePipelineReflection->arguments()
ComputePipelineReflection_bindings ¶
ComputePipelineReflection_bindings :: proc "c" (self: ^ComputePipelineReflection) -> ^NS.Array {…}
bindings := computePipelineReflection->bindings()
ComputePipelineReflection_init ¶
ComputePipelineReflection_init :: proc "c" (self: ^ComputePipelineReflection) -> ^ComputePipelineReflection {…}
res := computePipelineReflection->init()
ComputePipelineState_device ¶
ComputePipelineState_device :: proc "c" (self: ^ComputePipelineState) -> ^Device {…}
device := computePipelineState->device()
ComputePipelineState_functionHandleWithFunction ¶
ComputePipelineState_functionHandleWithFunction :: proc "c" ( self: ^ComputePipelineState, function: ^Function, ) -> ^FunctionHandle {…}
functionHandle := computePipelineState->functionHandleWithFunction(function)
ComputePipelineState_imageblockMemoryLengthForDimensions ¶
ComputePipelineState_imageblockMemoryLengthForDimensions :: proc "c" ( self: ^ComputePipelineState, imageblockDimensions: Size, ) -> ^ComputePipelineState {…}
res := computePipelineState->imageblockMemoryLengthForDimensions(imageblockDimensions)
ComputePipelineState_label ¶
ComputePipelineState_label :: proc "c" (self: ^ComputePipelineState) -> ^NS.String {…}
label := computePipelineState->label()
ComputePipelineState_maxTotalThreadsPerThreadgroup ¶
ComputePipelineState_maxTotalThreadsPerThreadgroup :: proc "c" (self: ^ComputePipelineState) -> NS.UInteger {…}
maxTotalThreadsPerThreadgroup := computePipelineState->maxTotalThreadsPerThreadgroup()
ComputePipelineState_newComputePipelineState ¶
ComputePipelineState_newComputePipelineState :: proc "contextless" ( self: ^ComputePipelineState, functions: ^NS.Array, ) -> (state: ^ComputePipelineState, error: ^NS.Error) {…}
state, error := computePipelineState->newComputePipelineState(functions)
ComputePipelineState_newIntersectionFunctionTable ¶ owned
ComputePipelineState_newIntersectionFunctionTable :: proc "c" ( self: ^ComputePipelineState, descriptor: ^IntersectionFunctionTableDescriptor, ) -> ^IntersectionFunctionTable {…}
intersectionFunctionTable := computePipelineState->newIntersectionFunctionTable(descriptor)
ComputePipelineState_newVisibleFunctionTable ¶ owned
ComputePipelineState_newVisibleFunctionTable :: proc "c" ( self: ^ComputePipelineState, descriptor: ^VisibleFunctionTableDescriptor, ) -> ^VisibleFunctionTable {…}
visibleFunctionTable := computePipelineState->newVisibleFunctionTable(descriptor)
ComputePipelineState_staticThreadgroupMemoryLength ¶
ComputePipelineState_staticThreadgroupMemoryLength :: proc "c" (self: ^ComputePipelineState) -> NS.UInteger {…}
staticThreadgroupMemoryLength := computePipelineState->staticThreadgroupMemoryLength()
ComputePipelineState_supportIndirectCommandBuffers ¶
ComputePipelineState_supportIndirectCommandBuffers :: proc "c" (self: ^ComputePipelineState) -> bool {…}
supportIndirectCommandBuffers := computePipelineState->supportIndirectCommandBuffers()
ComputePipelineState_threadExecutionWidth ¶
ComputePipelineState_threadExecutionWidth :: proc "c" (self: ^ComputePipelineState) -> NS.UInteger {…}
threadExecutionWidth := computePipelineState->threadExecutionWidth()
CopyAllDevices ¶ ownedC · MTLCopyAllDevicesSource · MetalProcedures.odin:11
CopyAllDevices :: proc "c" () -> ^NS.Array ---
CopyAllDevicesWithObserver ¶ ownedC · MTLCopyAllDevicesWithObserverSource · MetalProcedures.odin:12
CounterSampleBufferDescriptor_alloc ¶ class method owned
CounterSampleBufferDescriptor_alloc :: proc "c" () -> ^CounterSampleBufferDescriptor {…}
counterSampleBufferDescriptor := CounterSampleBufferDescriptor.alloc()
CounterSampleBufferDescriptor_counterSet ¶
CounterSampleBufferDescriptor_counterSet :: proc "c" (self: ^CounterSampleBufferDescriptor) -> ^CounterSet {…}
counterSet := counterSampleBufferDescriptor->counterSet()
CounterSampleBufferDescriptor_init ¶
CounterSampleBufferDescriptor_init :: proc "c" (self: ^CounterSampleBufferDescriptor) -> ^CounterSampleBufferDescriptor {…}
res := counterSampleBufferDescriptor->init()
CounterSampleBufferDescriptor_label ¶
CounterSampleBufferDescriptor_label :: proc "c" (self: ^CounterSampleBufferDescriptor) -> ^NS.String {…}
label := counterSampleBufferDescriptor->label()
CounterSampleBufferDescriptor_sampleCount ¶
CounterSampleBufferDescriptor_sampleCount :: proc "c" (self: ^CounterSampleBufferDescriptor) -> NS.UInteger {…}
sampleCount := counterSampleBufferDescriptor->sampleCount()
CounterSampleBufferDescriptor_setCounterSet ¶
CounterSampleBufferDescriptor_setCounterSet :: proc "c" ( self: ^CounterSampleBufferDescriptor, counterSet: ^CounterSet, ) {…}
counterSampleBufferDescriptor->setCounterSet(counterSet)
CounterSampleBufferDescriptor_setLabel ¶
CounterSampleBufferDescriptor_setLabel :: proc "c" ( self: ^CounterSampleBufferDescriptor, label: ^NS.String, ) {…}
counterSampleBufferDescriptor->setLabel(label)
CounterSampleBufferDescriptor_setSampleCount ¶
CounterSampleBufferDescriptor_setSampleCount :: proc "c" ( self: ^CounterSampleBufferDescriptor, sampleCount: NS.UInteger, ) {…}
counterSampleBufferDescriptor->setSampleCount(sampleCount)
CounterSampleBufferDescriptor_setStorageMode ¶
CounterSampleBufferDescriptor_setStorageMode :: proc "c" ( self: ^CounterSampleBufferDescriptor, storageMode: StorageMode, ) {…}
counterSampleBufferDescriptor->setStorageMode(storageMode)
CounterSampleBufferDescriptor_storageMode ¶
CounterSampleBufferDescriptor_storageMode :: proc "c" (self: ^CounterSampleBufferDescriptor) -> StorageMode {…}
storageMode := counterSampleBufferDescriptor->storageMode()
CounterSampleBuffer_device ¶
CounterSampleBuffer_device :: proc "c" (self: ^CounterSampleBuffer) -> ^Device {…}
device := counterSampleBuffer->device()
CounterSampleBuffer_label ¶
CounterSampleBuffer_label :: proc "c" (self: ^CounterSampleBuffer) -> ^NS.String {…}
label := counterSampleBuffer->label()
CounterSampleBuffer_resolveCounterRange ¶
CounterSampleBuffer_resolveCounterRange :: proc "c" ( self: ^CounterSampleBuffer, range: NS.Range, ) -> ^NS.Data {…}
data := counterSampleBuffer->resolveCounterRange(range)
CounterSampleBuffer_sampleCount ¶
CounterSampleBuffer_sampleCount :: proc "c" (self: ^CounterSampleBuffer) -> NS.UInteger {…}
sampleCount := counterSampleBuffer->sampleCount()
CounterSet_counters ¶
CounterSet_counters :: proc "c" (self: ^CounterSet) -> ^NS.Array {…}
counters := counterSet->counters()
CounterSet_name ¶
CounterSet_name :: proc "c" (self: ^CounterSet) -> ^NS.String {…}
name := counterSet->name()
CreateSystemDefaultDevice ¶ ownedC · MTLCreateSystemDefaultDeviceSource · MetalProcedures.odin:13
CreateSystemDefaultDevice :: proc "c" () -> ^Device ---
External examples metal/learn_metal/00-window · metal/learn_metal/01-primitive · metal/learn_metal/02-argbuffers +9
DepthStencilDescriptor_alloc ¶ class method owned
DepthStencilDescriptor_alloc :: proc "c" () -> ^DepthStencilDescriptor {…}
depthStencilDescriptor := DepthStencilDescriptor.alloc()
DepthStencilDescriptor_backFaceStencil ¶
DepthStencilDescriptor_backFaceStencil :: proc "c" (self: ^DepthStencilDescriptor) -> ^StencilDescriptor {…}
backFaceStencil := depthStencilDescriptor->backFaceStencil()
DepthStencilDescriptor_depthCompareFunction ¶
DepthStencilDescriptor_depthCompareFunction :: proc "c" (self: ^DepthStencilDescriptor) -> CompareFunction {…}
depthCompareFunction := depthStencilDescriptor->depthCompareFunction()
DepthStencilDescriptor_frontFaceStencil ¶
DepthStencilDescriptor_frontFaceStencil :: proc "c" (self: ^DepthStencilDescriptor) -> ^StencilDescriptor {…}
frontFaceStencil := depthStencilDescriptor->frontFaceStencil()
DepthStencilDescriptor_init ¶
DepthStencilDescriptor_init :: proc "c" (self: ^DepthStencilDescriptor) -> ^DepthStencilDescriptor {…}
res := depthStencilDescriptor->init()
DepthStencilDescriptor_isDepthWriteEnabled ¶
DepthStencilDescriptor_isDepthWriteEnabled :: proc "c" (self: ^DepthStencilDescriptor) -> bool {…}
isDepthWriteEnabled := depthStencilDescriptor->isDepthWriteEnabled()
DepthStencilDescriptor_label ¶
DepthStencilDescriptor_label :: proc "c" (self: ^DepthStencilDescriptor) -> ^NS.String {…}
label := depthStencilDescriptor->label()
DepthStencilDescriptor_setBackFaceStencil ¶
DepthStencilDescriptor_setBackFaceStencil :: proc "c" ( self: ^DepthStencilDescriptor, backFaceStencil: ^StencilDescriptor, ) {…}
depthStencilDescriptor->setBackFaceStencil(backFaceStencil)
DepthStencilDescriptor_setDepthCompareFunction ¶
DepthStencilDescriptor_setDepthCompareFunction :: proc "c" ( self: ^DepthStencilDescriptor, depthCompareFunction: CompareFunction, ) {…}
depthStencilDescriptor->setDepthCompareFunction(depthCompareFunction)
DepthStencilDescriptor_setDepthWriteEnabled ¶
DepthStencilDescriptor_setDepthWriteEnabled :: proc "c" ( self: ^DepthStencilDescriptor, depthWriteEnabled: bool, ) {…}
depthStencilDescriptor->setDepthWriteEnabled(depthWriteEnabled)
DepthStencilDescriptor_setFrontFaceStencil ¶
DepthStencilDescriptor_setFrontFaceStencil :: proc "c" ( self: ^DepthStencilDescriptor, frontFaceStencil: ^StencilDescriptor, ) {…}
depthStencilDescriptor->setFrontFaceStencil(frontFaceStencil)
DepthStencilDescriptor_setLabel ¶
DepthStencilDescriptor_setLabel :: proc "c" (self: ^DepthStencilDescriptor, label: ^NS.String) {…}
depthStencilDescriptor->setLabel(label)
DepthStencilState_device ¶
DepthStencilState_device :: proc "c" (self: ^DepthStencilState) -> ^Device {…}
device := depthStencilState->device()
DepthStencilState_label ¶
DepthStencilState_label :: proc "c" (self: ^DepthStencilState) -> ^NS.String {…}
label := depthStencilState->label()
Device_accelerationStructureSizesWithDescriptor ¶
Device_accelerationStructureSizesWithDescriptor :: proc "c" ( self: ^Device, descriptor: ^AccelerationStructureDescriptor, ) -> AccelerationStructureSizes {…}
accelerationStructureSizes := device->accelerationStructureSizesWithDescriptor(descriptor)
Device_areBarycentricCoordsSupported ¶
Device_areBarycentricCoordsSupported :: proc "c" (self: ^Device) -> bool {…}
areBarycentricCoordsSupported := device->areBarycentricCoordsSupported()
Device_areProgrammableSamplePositionsSupported ¶
Device_areProgrammableSamplePositionsSupported :: proc "c" (self: ^Device) -> bool {…}
areProgrammableSamplePositionsSupported := device->areProgrammableSamplePositionsSupported()
Device_areRasterOrderGroupsSupported ¶
Device_areRasterOrderGroupsSupported :: proc "c" (self: ^Device) -> bool {…}
areRasterOrderGroupsSupported := device->areRasterOrderGroupsSupported()
Device_argumentBuffersSupport ¶
Device_argumentBuffersSupport :: proc "c" (self: ^Device) -> ArgumentBuffersTier {…}
argumentBuffersSupport := device->argumentBuffersSupport()
Device_convertSparsePixelRegions ¶
Device_convertSparsePixelRegions :: proc "c" ( self: ^Device, pixelRegions, tileRegions: ^Region, tileSize: Size, mode: SparseTextureRegionAlignmentMode, numRegions: NS.UInteger, ) {…}
device->convertSparsePixelRegions(pixelRegions, tileRegions, tileSize, mode, numRegions)
Device_convertSparseTileRegions ¶
Device_convertSparseTileRegions :: proc "c" ( self: ^Device, tileRegions, pixelRegions: ^Region, tileSize: Size, numRegions: NS.UInteger, ) {…}
device->convertSparseTileRegions(tileRegions, pixelRegions, tileSize, numRegions)
Device_counterSets ¶
Device_counterSets :: proc "c" (self: ^Device) -> ^NS.Array {…}
counterSets := device->counterSets()
Device_currentAllocatedSize ¶
Device_currentAllocatedSize :: proc "c" (self: ^Device) -> NS.UInteger {…}
currentAllocatedSize := device->currentAllocatedSize()
Device_getDefaultSamplePositions ¶
Device_getDefaultSamplePositions :: proc "c" (self: ^Device, positions: []SamplePosition) {…}
device->getDefaultSamplePositions(positions)
Device_hasUnifiedMemory ¶
Device_hasUnifiedMemory :: proc "c" (self: ^Device) -> bool {…}
hasUnifiedMemory := device->hasUnifiedMemory()
Device_heapBufferSizeAndAlignWithLength ¶
Device_heapBufferSizeAndAlignWithLength :: proc "c" ( self: ^Device, length: NS.UInteger, options: ResourceOptions, ) -> (size, align: NS.UInteger) {…}
size, align := device->heapBufferSizeAndAlignWithLength(length, options)
Device_heapTextureSizeAndAlignWithDescriptor ¶
Device_heapTextureSizeAndAlignWithDescriptor :: proc "c" ( self: ^Device, desc: ^TextureDescriptor, ) -> (size, align: NS.UInteger) {…}
size, align := device->heapTextureSizeAndAlignWithDescriptor(desc)
Device_isDepth24Stencil8PixelFormatSupported ¶
Device_isDepth24Stencil8PixelFormatSupported :: proc "c" (self: ^Device) -> bool {…}
isDepth24Stencil8PixelFormatSupported := device->isDepth24Stencil8PixelFormatSupported()
Device_isHeadless ¶
Device_isHeadless :: proc "c" (self: ^Device) -> bool {…}
isHeadless := device->isHeadless()
Device_isLowPower ¶
Device_isLowPower :: proc "c" (self: ^Device) -> bool {…}
isLowPower := device->isLowPower()
Device_isRemovable ¶
Device_isRemovable :: proc "c" (self: ^Device) -> bool {…}
isRemovable := device->isRemovable()
Device_location ¶
Device_location :: proc "c" (self: ^Device) -> DeviceLocation {…}
location := device->location()
Device_locationNumber ¶
Device_locationNumber :: proc "c" (self: ^Device) -> NS.UInteger {…}
locationNumber := device->locationNumber()
Device_maxArgumentBufferSamplerCount ¶
Device_maxArgumentBufferSamplerCount :: proc "c" (self: ^Device) -> NS.UInteger {…}
maxArgumentBufferSamplerCount := device->maxArgumentBufferSamplerCount()
Device_maxBufferLength ¶
Device_maxBufferLength :: proc "c" (self: ^Device) -> NS.UInteger {…}
maxBufferLength := device->maxBufferLength()
Device_maxThreadgroupMemoryLength ¶
Device_maxThreadgroupMemoryLength :: proc "c" (self: ^Device) -> NS.UInteger {…}
maxThreadgroupMemoryLength := device->maxThreadgroupMemoryLength()
Device_maxThreadsPerThreadgroup ¶
Device_maxThreadsPerThreadgroup :: proc "c" (self: ^Device) -> Size {…}
maxThreadsPerThreadgroup := device->maxThreadsPerThreadgroup()
Device_maxTransferRate ¶
Device_maxTransferRate :: proc "c" (self: ^Device) -> u64 {…}
maxTransferRate := device->maxTransferRate()
Device_minimumLinearTextureAlignmentForPixelFormat ¶
Device_minimumLinearTextureAlignmentForPixelFormat :: proc "c" ( self: ^Device, format: PixelFormat, ) -> NS.UInteger {…}
uInteger := device->minimumLinearTextureAlignmentForPixelFormat(format)
Device_minimumTextureBufferAlignmentForPixelFormat ¶
Device_minimumTextureBufferAlignmentForPixelFormat :: proc "c" ( self: ^Device, format: PixelFormat, ) -> NS.UInteger {…}
uInteger := device->minimumTextureBufferAlignmentForPixelFormat(format)
Device_newAccelerationStructureWithDescriptor ¶ owned
Device_newAccelerationStructureWithDescriptor :: proc "c" ( self: ^Device, descriptor: ^AccelerationStructureDescriptor, ) -> ^AccelerationStructure {…}
accelerationStructure := device->newAccelerationStructureWithDescriptor(descriptor)
Device_newAccelerationStructureWithSize ¶ owned
Device_newAccelerationStructureWithSize :: proc "c" ( self: ^Device, size: NS.UInteger, ) -> ^AccelerationStructure {…}
accelerationStructure := device->newAccelerationStructureWithSize(size)
Device_newArgumentEncoderWithArguments ¶ owned
Device_newArgumentEncoderWithArguments :: proc "c" ( self: ^Device, arguments: ^NS.Array, ) -> ^ArgumentEncoder {…}
argumentEncoder := device->newArgumentEncoderWithArguments(arguments)
Device_newBinaryArchive ¶
Device_newBinaryArchive :: proc "contextless" ( self: ^Device, descriptor: ^BinaryArchiveDescriptor, ) -> (res: ^BinaryArchive, error: ^NS.Error) {…}
res, error := device->newBinaryArchive(descriptor)
Device_newBufferWithBytes ¶ owned
Device_newBufferWithBytes :: proc "c" ( self: ^Device, bytes: []u8, options: ResourceOptions, ) -> ^Buffer {…}
buffer := device->newBufferWithBytes(bytes, options)
Device_newBufferWithBytesNoCopy ¶ owned
Device_newBufferWithBytesNoCopy :: proc "c" ( self: ^Device, bytes: []u8, options: ResourceOptions, deallocator: rawptr, ) -> ^Buffer {…}
buffer := device->newBufferWithBytesNoCopy(bytes, options, deallocator)
Device_newBufferWithLength ¶ owned
Device_newBufferWithLength :: proc "c" ( self: ^Device, length: NS.UInteger, options: ResourceOptions, ) -> ^Buffer {…}
buffer := device->newBufferWithLength(length, options)
Device_newBufferWithSlice ¶ owned
Device_newBufferWithSlice :: proc "c" ( self: ^Device, slice: $S/[]$E, options: ResourceOptions, ) -> ^Buffer {…}
buffer := device->newBufferWithSlice(slice, options)
Device_newBufferWithSliceNoCopy ¶ owned
Device_newBufferWithSliceNoCopy :: proc "c" ( self: ^Device, slice: $S/[]$E, options: ResourceOptions, deallocator: rawptr, ) -> ^Buffer {…}
buffer := device->newBufferWithSliceNoCopy(slice, options, deallocator)
Device_newCommandQueue ¶ owned
Device_newCommandQueue :: proc "c" (self: ^Device) -> ^CommandQueue {…}
commandQueue := device->newCommandQueue()
Device_newCommandQueueWithMaxCommandBufferCount ¶ owned
Device_newCommandQueueWithMaxCommandBufferCount :: proc "c" ( self: ^Device, maxCommandBufferCount: NS.UInteger, ) -> ^CommandQueue {…}
commandQueue := device->newCommandQueueWithMaxCommandBufferCount(maxCommandBufferCount)
Device_newComputePipelineStateWithDescriptorWithCompletionHandler ¶ owned
Device_newComputePipelineStateWithDescriptorWithCompletionHandler :: proc "c" ( self: ^Device, descriptor: ^ComputePipelineDescriptor, options: PipelineOption, completionHandler: ^NS.Block, ) -> ^ComputePipelineState {…}
computePipelineState := device->newComputePipelineStateWithDescriptorWithCompletionHandler( descriptor, options, completionHandler, )
Device_newComputePipelineStateWithDescriptorWithReflection ¶
Device_newComputePipelineStateWithDescriptorWithReflection :: proc "contextless" ( self: ^Device, descriptor: ^ComputePipelineDescriptor, options: PipelineOption, reflection: ^^ComputePipelineReflection, ) -> (res: ^ComputePipelineState, error: ^NS.Error) {…}
res, error := device->newComputePipelineStateWithDescriptorWithReflection( descriptor, options, reflection, )
Device_newComputePipelineStateWithFunction ¶
Device_newComputePipelineStateWithFunction :: proc "contextless" ( self: ^Device, computeFunction: ^Function, ) -> (res: ^ComputePipelineState, error: ^NS.Error) {…}
res, error := device->newComputePipelineStateWithFunction(computeFunction)
Device_newComputePipelineStateWithFunctionWithCompletionHandler ¶ owned
Device_newComputePipelineStateWithFunctionWithCompletionHandler :: proc "c" ( self: ^Device, computeFunction: ^Function, completionHandler: ^NS.Block, ) -> ^ComputePipelineState {…}
computePipelineState := device->newComputePipelineStateWithFunctionWithCompletionHandler( computeFunction, completionHandler, )
Device_newComputePipelineStateWithFunctionWithOptionsAndCompletionHandler ¶ owned
Device_newComputePipelineStateWithFunctionWithOptionsAndCompletionHandler :: proc "c" ( self: ^Device, computeFunction: ^Function, options: PipelineOption, completionHandler: ^NS.Block, ) -> (res: ^ComputePipelineState) {…}
res := device->newComputePipelineStateWithFunctionWithOptionsAndCompletionHandler( computeFunction, options, completionHandler, )
Device_newComputePipelineStateWithFunctionWithReflection ¶
Device_newComputePipelineStateWithFunctionWithReflection :: proc "contextless" ( self: ^Device, computeFunction: ^Function, options: PipelineOption, reflection: ^^ComputePipelineReflection, ) -> (res: ^ComputePipelineState, error: ^NS.Error) {…}
res, error := device->newComputePipelineStateWithFunctionWithReflection( computeFunction, options, reflection, )
Device_newCounterSampleBuffer ¶
Device_newCounterSampleBuffer :: proc "contextless" ( self: ^Device, descriptor: ^CounterSampleBufferDescriptor, ) -> (counter: ^Counter, error: ^NS.Error) {…}
counter, error := device->newCounterSampleBuffer(descriptor)
Device_newDefaultLibrary ¶ owned
Device_newDefaultLibrary :: proc "c" (self: ^Device) -> ^Library {…}
library := device->newDefaultLibrary()
Device_newDefaultLibraryWithBundle ¶
Device_newDefaultLibraryWithBundle :: proc "contextless" ( self: ^Device, bundle: ^NS.Bundle, ) -> (library: ^Library, error: ^NS.Error) {…}
library, error := device->newDefaultLibraryWithBundle(bundle)
Device_newDepthStencilState ¶ owned
Device_newDepthStencilState :: proc "c" ( self: ^Device, descriptor: ^DepthStencilDescriptor, ) -> ^DepthStencilState {…}
depthStencilState := device->newDepthStencilState(descriptor)
Device_newDynamicLibrary ¶
Device_newDynamicLibrary :: proc "contextless" ( self: ^Device, library: ^Library, ) -> (dyn_library: ^DynamicLibrary, error: ^NS.Error) {…}
dyn_library, error := device->newDynamicLibrary(library)
Device_newDynamicLibraryWithURL ¶
Device_newDynamicLibraryWithURL :: proc "contextless" ( self: ^Device, url: ^NS.URL, ) -> (dyn_library: ^DynamicLibrary, error: ^NS.Error) {…}
dyn_library, error := device->newDynamicLibraryWithURL(url)
Device_newEvent ¶ owned
Device_newFence ¶ owned
Device_newHeap ¶ owned
Device_newHeap :: proc "c" (self: ^Device, descriptor: ^HeapDescriptor) -> ^Heap {…}
heap := device->newHeap(descriptor)
Device_newIOCommandQueue ¶
Device_newIOCommandQueue :: proc "contextless" ( self: ^Device, descriptor: ^IOCommandQueueDescriptor, ) -> (handle: ^IOCommandQueue, err: ^NS.Error) {…}
handle, err := device->newIOCommandQueue(descriptor)
Device_newIOHandle ¶
Device_newIOHandle :: proc "contextless" ( self: ^Device, url: ^NS.URL, ) -> (handle: ^IOFileHandle, err: ^NS.Error) {…}
handle, err := device->newIOHandle(url)
Device_newIOHandleWithCompressionMethod ¶
Device_newIOHandleWithCompressionMethod :: proc "contextless" ( self: ^Device, url: ^NS.URL, compressionMethod: IOCompressionMethod, ) -> (handle: ^IOFileHandle, err: ^NS.Error) {…}
handle, err := device->newIOHandleWithCompressionMethod(url, compressionMethod)
Device_newIndirectCommandBuffer ¶ owned
Device_newIndirectCommandBuffer :: proc "c" ( self: ^Device, descriptor: ^IndirectCommandBufferDescriptor, maxCount: NS.UInteger, options: ResourceOptions, ) -> ^IndirectCommandBuffer {…}
indirectCommandBuffer := device->newIndirectCommandBuffer(descriptor, maxCount, options)
Device_newLibraryWithData ¶
Device_newLibraryWithData :: proc "contextless" ( self: ^Device, data: ^NS.Object, ) -> (library: ^Library, error: ^NS.Error) {…}
library, error := device->newLibraryWithData(data)
Device_newLibraryWithFile ¶
Device_newLibraryWithFile :: proc "contextless" ( self: ^Device, filepath: ^NS.String, ) -> (library: ^Library, error: ^NS.Error) {…}
library, error := device->newLibraryWithFile(filepath)
Device_newLibraryWithSource ¶
Device_newLibraryWithSource :: proc "contextless" ( self: ^Device, source: ^NS.String, options: ^CompileOptions, ) -> (library: ^Library, error: ^NS.Error) {…}
library, error := device->newLibraryWithSource(source, options)
Device_newLibraryWithSourceWithCompletionHandler ¶ owned
Device_newLibraryWithSourceWithCompletionHandler :: proc "c" ( self: ^Device, source: ^NS.String, options: ^CompileOptions, completionHandler: ^NS.Block, ) -> ^Library {…}
library := device->newLibraryWithSourceWithCompletionHandler(source, options, completionHandler)
Device_newLibraryWithURL ¶
Device_newLibraryWithURL :: proc "contextless" ( self: ^Device, url: ^NS.URL, ) -> (library: ^Library, error: ^NS.Error) {…}
library, error := device->newLibraryWithURL(url)
Device_newRasterizationRateMap ¶ owned
Device_newRasterizationRateMap :: proc "c" ( self: ^Device, descriptor: ^RasterizationRateMapDescriptor, ) -> ^RasterizationRateMap {…}
rasterizationRateMap := device->newRasterizationRateMap(descriptor)
Device_newRenderPipelineStateWithDescriptor ¶
Device_newRenderPipelineStateWithDescriptor :: proc "contextless" ( self: ^Device, descriptor: ^RenderPipelineDescriptor, ) -> (pipeline: ^RenderPipelineState, error: ^NS.Error) {…}
pipeline, error := device->newRenderPipelineStateWithDescriptor(descriptor)
Device_newRenderPipelineStateWithDescriptorWithCompletionHandler ¶ owned
Device_newRenderPipelineStateWithDescriptorWithCompletionHandler :: proc "c" ( self: ^Device, descriptor: ^RenderPipelineDescriptor, completionHandler: ^NS.Block, ) -> ^RenderPipelineState {…}
renderPipelineState := device->newRenderPipelineStateWithDescriptorWithCompletionHandler( descriptor, completionHandler, )
Device_newRenderPipelineStateWithDescriptorWithOptionsAndCompletionHandler ¶ owned
Device_newRenderPipelineStateWithDescriptorWithOptionsAndCompletionHandler :: proc "c" ( self: ^Device, descriptor: ^RenderPipelineDescriptor, options: PipelineOption, completionHandler: ^NS.Block, ) -> ^RenderPipelineState {…}
renderPipelineState := device->newRenderPipelineStateWithDescriptorWithOptionsAndCompletionHandler( descriptor, options, completionHandler, )
Device_newRenderPipelineStateWithDescriptorWithReflection ¶
Device_newRenderPipelineStateWithDescriptorWithReflection :: proc "contextless" ( self: ^Device, descriptor: ^RenderPipelineDescriptor, options: PipelineOption, reflection: ^^RenderPipelineReflection, ) -> (pipeline: ^RenderPipelineState, error: ^NS.Error) {…}
pipeline, error := device->newRenderPipelineStateWithDescriptorWithReflection( descriptor, options, reflection, )
Device_newRenderPipelineStateWithMeshDescriptor ¶
Device_newRenderPipelineStateWithMeshDescriptor :: proc "c" ( self: ^Device, descriptor: ^MeshRenderPipelineDescriptor, options: PipelineOption, reflection: ^^RenderPipelineReflection, ) -> (state: ^RenderPipelineState, error: ^NS.Error) {…}
state, error := device->newRenderPipelineStateWithMeshDescriptor(descriptor, options, reflection)
Device_newRenderPipelineStateWithMeshDescriptorAndCompletionHandler ¶
Device_newRenderPipelineStateWithMeshDescriptorAndCompletionHandler :: proc "c" ( self: ^Device, descriptor: ^MeshRenderPipelineDescriptor, options: PipelineOption, completionHandler: ^NS.Block, ) {…}
device->newRenderPipelineStateWithMeshDescriptorAndCompletionHandler( descriptor, options, completionHandler, )
Device_newRenderPipelineStateWithTileDescriptorWithCompletionHandler ¶ owned
Device_newRenderPipelineStateWithTileDescriptorWithCompletionHandler :: proc "c" ( self: ^Device, descriptor: ^TileRenderPipelineDescriptor, options: PipelineOption, completionHandler: ^NS.Block, ) -> ^RenderPipelineState {…}
renderPipelineState := device->newRenderPipelineStateWithTileDescriptorWithCompletionHandler( descriptor, options, completionHandler, )
Device_newRenderPipelineStateWithTileDescriptorWithReflection ¶
Device_newRenderPipelineStateWithTileDescriptorWithReflection :: proc "contextless" ( self: ^Device, descriptor: ^TileRenderPipelineDescriptor, options: PipelineOption, reflection: ^^RenderPipelineReflection, ) -> (pipeline: ^RenderPipelineState, error: ^NS.Error) {…}
pipeline, error := device->newRenderPipelineStateWithTileDescriptorWithReflection( descriptor, options, reflection, )
Device_newSamplerState ¶ owned
Device_newSamplerState :: proc "c" ( self: ^Device, descriptor: ^SamplerDescriptor, ) -> ^SamplerState {…}
samplerState := device->newSamplerState(descriptor)
Device_newSharedEvent ¶ owned
Device_newSharedEvent :: proc "c" (self: ^Device) -> ^SharedEvent {…}
sharedEvent := device->newSharedEvent()
Device_newSharedEventWithHandle ¶ owned
Device_newSharedEventWithHandle :: proc "c" ( self: ^Device, sharedEventHandle: ^SharedEventHandle, ) -> ^SharedEvent {…}
sharedEvent := device->newSharedEventWithHandle(sharedEventHandle)
Device_newSharedTextureWithDescriptor ¶ owned
Device_newSharedTextureWithDescriptor :: proc "c" ( self: ^Device, descriptor: ^TextureDescriptor, ) -> ^SharedEvent {…}
sharedEvent := device->newSharedTextureWithDescriptor(descriptor)
Device_newSharedTextureWithHandle ¶ owned
Device_newSharedTextureWithHandle :: proc "c" ( self: ^Device, sharedHandle: ^SharedTextureHandle, ) -> ^SharedEvent {…}
sharedEvent := device->newSharedTextureWithHandle(sharedHandle)
Device_newTextureWithDescriptor ¶ owned
Device_newTextureWithDescriptor :: proc "c" ( self: ^Device, desc: ^TextureDescriptor, ) -> ^Texture {…}
texture := device->newTextureWithDescriptor(desc)
Device_newTextureWithIOSurface ¶ owned
Device_newTextureWithIOSurface :: proc "c" ( self: ^Device, descriptor: ^TextureDescriptor, iosurface: IOSurfaceRef, plane: NS.UInteger, ) -> ^Texture {…}
texture := device->newTextureWithIOSurface(descriptor, iosurface, plane)
Device_peerGroupID ¶
Device_peerGroupID :: proc "c" (self: ^Device) -> u64 {…}
peerGroupID := device->peerGroupID()
Device_readWriteTextureSupport ¶
Device_readWriteTextureSupport :: proc "c" (self: ^Device) -> ReadWriteTextureTier {…}
readWriteTextureSupport := device->readWriteTextureSupport()
Device_recommendedMaxWorkingSetSize ¶
Device_recommendedMaxWorkingSetSize :: proc "c" (self: ^Device) -> u64 {…}
recommendedMaxWorkingSetSize := device->recommendedMaxWorkingSetSize()
Device_registryID ¶
Device_registryID :: proc "c" (self: ^Device) -> u64 {…}
registryID := device->registryID()
Device_sampleTimestamps ¶
Device_sampleTimestamps :: proc "c" ( self: ^Device, cpuTimestamp: ^Timestamp, gpuTimestamp: ^Timestamp, ) {…}
device->sampleTimestamps(cpuTimestamp, gpuTimestamp)
Device_sparseTileSizeInBytes ¶
Device_sparseTileSizeInBytes :: proc "c" (self: ^Device) -> NS.UInteger {…}
sparseTileSizeInBytes := device->sparseTileSizeInBytes()
Device_sparseTileSizeWithTextureType ¶
Device_sparseTileSizeWithTextureType :: proc "c" ( self: ^Device, textureType: TextureType, pixelFormat: PixelFormat, sampleCount: NS.UInteger, ) -> Size {…}
size := device->sparseTileSizeWithTextureType(textureType, pixelFormat, sampleCount)
Device_supports32BitFloatFiltering ¶
Device_supports32BitFloatFiltering :: proc "c" (self: ^Device) -> bool {…}
supports32BitFloatFiltering := device->supports32BitFloatFiltering()
Device_supports32BitMSAA ¶
Device_supports32BitMSAA :: proc "c" (self: ^Device) -> bool {…}
supports32BitMSAA := device->supports32BitMSAA()
Device_supportsBCTextureCompression ¶
Device_supportsBCTextureCompression :: proc "c" (self: ^Device) -> bool {…}
supportsBCTextureCompression := device->supportsBCTextureCompression()
Device_supportsCounterSampling ¶
Device_supportsCounterSampling :: proc "c" ( self: ^Device, samplingPoint: CounterSamplingPoint, ) -> bool {…}
res := device->supportsCounterSampling(samplingPoint)
Device_supportsDynamicLibraries ¶
Device_supportsDynamicLibraries :: proc "c" (self: ^Device) -> bool {…}
supportsDynamicLibraries := device->supportsDynamicLibraries()
Device_supportsFamily ¶
Device_supportsFamily :: proc "c" (self: ^Device, gpuFamily: GPUFamily) -> bool {…}
res := device->supportsFamily(gpuFamily)
Device_supportsFeatureSet ¶
Device_supportsFeatureSet :: proc "c" (self: ^Device, featureSet: FeatureSet) -> bool {…}
res := device->supportsFeatureSet(featureSet)
Device_supportsFunctionPointers ¶
Device_supportsFunctionPointers :: proc "c" (self: ^Device) -> bool {…}
supportsFunctionPointers := device->supportsFunctionPointers()
Device_supportsPullModelInterpolation ¶
Device_supportsPullModelInterpolation :: proc "c" (self: ^Device) -> bool {…}
supportsPullModelInterpolation := device->supportsPullModelInterpolation()
Device_supportsQueryTextureLOD ¶
Device_supportsQueryTextureLOD :: proc "c" (self: ^Device) -> bool {…}
supportsQueryTextureLOD := device->supportsQueryTextureLOD()
Device_supportsRasterizationRateMapWithLayerCount ¶
Device_supportsRasterizationRateMapWithLayerCount :: proc "c" ( self: ^Device, layerCount: NS.UInteger, ) -> bool {…}
res := device->supportsRasterizationRateMapWithLayerCount(layerCount)
Device_supportsRaytracing ¶
Device_supportsRaytracing :: proc "c" (self: ^Device) -> bool {…}
supportsRaytracing := device->supportsRaytracing()
Device_supportsShaderBarycentricCoordinates ¶
Device_supportsShaderBarycentricCoordinates :: proc "c" (self: ^Device) -> bool {…}
supportsShaderBarycentricCoordinates := device->supportsShaderBarycentricCoordinates()
Device_supportsTextureSampleCount ¶
Device_supportsTextureSampleCount :: proc "c" ( self: ^Device, sampleCount: NS.UInteger, ) -> bool {…}
res := device->supportsTextureSampleCount(sampleCount)
Device_supportsVertexAmplificationCount ¶
Device_supportsVertexAmplificationCount :: proc "c" ( self: ^Device, count: NS.UInteger, ) -> bool {…}
res := device->supportsVertexAmplificationCount(count)
Drawable_addPresentedHandler ¶
Drawable_addPresentedHandler :: proc "c" (self: ^Drawable, block: ^NS.Block) {…}
drawable->addPresentedHandler(block)
Drawable_drawableID ¶
Drawable_drawableID :: proc "c" (self: ^Drawable) -> NS.UInteger {…}
drawableID := drawable->drawableID()
Drawable_presentAfterMinimumDuration ¶
Drawable_presentAfterMinimumDuration :: proc "c" (self: ^Drawable, duration: NS.TimeInterval) {…}
drawable->presentAfterMinimumDuration(duration)
Drawable_presentAtTime ¶
Drawable_presentAtTime :: proc "c" (self: ^Drawable, presentationTime: NS.TimeInterval) {…}
drawable->presentAtTime(presentationTime)
Drawable_presentedTime ¶
Drawable_presentedTime :: proc "c" (self: ^Drawable) -> NS.TimeInterval {…}
presentedTime := drawable->presentedTime()
DynamicLibrary_device ¶
DynamicLibrary_device :: proc "c" (self: ^DynamicLibrary) -> ^Device {…}
device := dynamicLibrary->device()
DynamicLibrary_installName ¶
DynamicLibrary_installName :: proc "c" (self: ^DynamicLibrary) -> ^NS.String {…}
installName := dynamicLibrary->installName()
DynamicLibrary_label ¶
DynamicLibrary_label :: proc "c" (self: ^DynamicLibrary) -> ^NS.String {…}
label := dynamicLibrary->label()
DynamicLibrary_serializeToURL ¶
DynamicLibrary_serializeToURL :: proc "contextless" ( self: ^DynamicLibrary, url: ^NS.URL, ) -> (ok: bool, error: ^NS.Error) {…}
ok, error := dynamicLibrary->serializeToURL(url)
DynamicLibrary_setLabel ¶
DynamicLibrary_setLabel :: proc "c" (self: ^DynamicLibrary, label: ^NS.String) {…}
dynamicLibrary->setLabel(label)
FunctionConstantValues_alloc ¶ class method owned
FunctionConstantValues_alloc :: proc "c" () -> ^FunctionConstantValues {…}
functionConstantValues := FunctionConstantValues.alloc()
FunctionConstantValues_init ¶
FunctionConstantValues_init :: proc "c" (self: ^FunctionConstantValues) -> ^FunctionConstantValues {…}
res := functionConstantValues->init()
FunctionConstantValues_reset ¶
FunctionConstantValues_reset :: proc "c" (self: ^FunctionConstantValues) {…}
functionConstantValues->reset()
FunctionConstantValues_setConstantValue ¶
FunctionConstantValues_setConstantValue :: proc "c" ( self: ^FunctionConstantValues, value: rawptr, type: DataType, index: NS.UInteger, ) {…}
functionConstantValues->setConstantValue(value, type, index)
FunctionConstantValues_setConstantValueWithName ¶
FunctionConstantValues_setConstantValueWithName :: proc "c" ( self: ^FunctionConstantValues, value: rawptr, type: DataType, name: ^NS.String, ) {…}
functionConstantValues->setConstantValueWithName(value, type, name)
FunctionConstantValues_setConstantValues ¶
FunctionConstantValues_setConstantValues :: proc "c" ( self: ^FunctionConstantValues, values: rawptr, type: DataType, range: NS.Range, ) {…}
functionConstantValues->setConstantValues(values, type, range)
FunctionConstant_alloc ¶ class method owned
FunctionConstant_alloc :: proc "c" () -> ^FunctionConstant {…}
functionConstant := FunctionConstant.alloc()
FunctionConstant_index ¶
FunctionConstant_index :: proc "c" (self: ^FunctionConstant) -> NS.UInteger {…}
index := functionConstant->index()
FunctionConstant_init ¶
FunctionConstant_init :: proc "c" (self: ^FunctionConstant) -> ^FunctionConstant {…}
res := functionConstant->init()
FunctionConstant_name ¶
FunctionConstant_name :: proc "c" (self: ^FunctionConstant) -> ^NS.String {…}
name := functionConstant->name()
FunctionConstant_required ¶
FunctionConstant_required :: proc "c" (self: ^FunctionConstant) -> bool {…}
required := functionConstant->required()
FunctionConstant_type ¶
FunctionConstant_type :: proc "c" (self: ^FunctionConstant) -> DataType {…}
type := functionConstant->type()
FunctionDescriptor_alloc ¶ class method owned
FunctionDescriptor_alloc :: proc "c" () -> ^FunctionDescriptor {…}
functionDescriptor := FunctionDescriptor.alloc()
FunctionDescriptor_constantValues ¶
FunctionDescriptor_constantValues :: proc "c" (self: ^FunctionDescriptor) -> ^FunctionConstantValues {…}
constantValues := functionDescriptor->constantValues()
FunctionDescriptor_functionDescriptor ¶ class method
FunctionDescriptor_functionDescriptor :: proc "c" () -> ^FunctionDescriptor {…}
functionDescriptor := FunctionDescriptor.functionDescriptor()
FunctionDescriptor_init ¶
FunctionDescriptor_init :: proc "c" (self: ^FunctionDescriptor) -> ^FunctionDescriptor {…}
res := functionDescriptor->init()
FunctionDescriptor_name ¶
FunctionDescriptor_name :: proc "c" (self: ^FunctionDescriptor) -> ^NS.String {…}
name := functionDescriptor->name()
FunctionDescriptor_options ¶
FunctionDescriptor_options :: proc "c" (self: ^FunctionDescriptor) -> FunctionOptions {…}
options := functionDescriptor->options()
FunctionDescriptor_setConstantValues ¶
FunctionDescriptor_setConstantValues :: proc "c" ( self: ^FunctionDescriptor, constantValues: ^FunctionConstantValues, ) {…}
functionDescriptor->setConstantValues(constantValues)
FunctionDescriptor_setName ¶
FunctionDescriptor_setName :: proc "c" (self: ^FunctionDescriptor, name: ^NS.String) {…}
functionDescriptor->setName(name)
FunctionDescriptor_setOptions ¶
FunctionDescriptor_setOptions :: proc "c" ( self: ^FunctionDescriptor, options: FunctionOptions, ) {…}
functionDescriptor->setOptions(options)
FunctionDescriptor_setSpecializedName ¶
FunctionDescriptor_setSpecializedName :: proc "c" ( self: ^FunctionDescriptor, specializedName: ^NS.String, ) {…}
functionDescriptor->setSpecializedName(specializedName)
FunctionDescriptor_specializedName ¶
FunctionDescriptor_specializedName :: proc "c" (self: ^FunctionDescriptor) -> ^NS.String {…}
specializedName := functionDescriptor->specializedName()
FunctionHandle_device ¶
FunctionHandle_device :: proc "c" (self: ^FunctionHandle) -> ^Device {…}
device := functionHandle->device()
FunctionHandle_functionType ¶
FunctionHandle_functionType :: proc "c" (self: ^FunctionHandle) -> FunctionType {…}
functionType := functionHandle->functionType()
FunctionHandle_name ¶
FunctionHandle_name :: proc "c" (self: ^FunctionHandle) -> ^NS.String {…}
name := functionHandle->name()
FunctionLogDebugLocation_URL ¶
FunctionLogDebugLocation_URL :: proc "c" (self: ^FunctionLogDebugLocation) -> ^NS.URL {…}
URL := functionLogDebugLocation->URL()
FunctionLogDebugLocation_column ¶
FunctionLogDebugLocation_column :: proc "c" (self: ^FunctionLogDebugLocation) -> NS.UInteger {…}
column := functionLogDebugLocation->column()
FunctionLogDebugLocation_functionName ¶
FunctionLogDebugLocation_functionName :: proc "c" (self: ^FunctionLogDebugLocation) -> ^NS.String {…}
functionName := functionLogDebugLocation->functionName()
FunctionLogDebugLocation_line ¶
FunctionLogDebugLocation_line :: proc "c" (self: ^FunctionLogDebugLocation) -> NS.UInteger {…}
line := functionLogDebugLocation->line()
FunctionLog_debugLocation ¶
FunctionLog_debugLocation :: proc "c" (self: ^FunctionLog) -> ^FunctionLog {…}
debugLocation := functionLog->debugLocation()
FunctionLog_encoderLabel ¶
FunctionLog_encoderLabel :: proc "c" (self: ^FunctionLog) -> ^NS.String {…}
encoderLabel := functionLog->encoderLabel()
FunctionLog_function ¶
FunctionLog_function :: proc "c" (self: ^FunctionLog) -> ^FunctionLog {…}
function := functionLog->function()
FunctionLog_type ¶
FunctionLog_type :: proc "c" (self: ^FunctionLog) -> FunctionLogType {…}
type := functionLog->type()
Function_functionConstantsDictionary ¶
Function_functionConstantsDictionary :: proc "c" (self: ^Function) -> ^NS.Dictionary {…}
functionConstantsDictionary := function->functionConstantsDictionary()
Function_functionType ¶
Function_functionType :: proc "c" (self: ^Function) -> FunctionType {…}
functionType := function->functionType()
Function_newArgumentEncoder ¶ owned
Function_newArgumentEncoder :: proc "c" ( self: ^Function, bufferIndex: NS.UInteger, ) -> ^ArgumentEncoder {…}
argumentEncoder := function->newArgumentEncoder(bufferIndex)
Function_newArgumentEncoderWithReflection ¶ owned
Function_newArgumentEncoderWithReflection :: proc "c" ( self: ^Function, bufferIndex: NS.UInteger, reflection: ^^Argument, ) -> ^ArgumentEncoder {…}
argumentEncoder := function->newArgumentEncoderWithReflection(bufferIndex, reflection)
Function_options ¶
Function_options :: proc "c" (self: ^Function) -> FunctionOptions {…}
options := function->options()
Function_patchControlPointCount ¶
Function_patchControlPointCount :: proc "c" (self: ^Function) -> NS.UInteger {…}
patchControlPointCount := function->patchControlPointCount()
Function_stageInputAttributes ¶
Function_stageInputAttributes :: proc "c" (self: ^Function) -> ^NS.Array {…}
stageInputAttributes := function->stageInputAttributes()
Function_vertexAttributes ¶
Function_vertexAttributes :: proc "c" (self: ^Function) -> ^NS.Array {…}
vertexAttributes := function->vertexAttributes()
HeapDescriptor_alloc ¶ class method owned
HeapDescriptor_alloc :: proc "c" () -> ^HeapDescriptor {…}
heapDescriptor := HeapDescriptor.alloc()
HeapDescriptor_cpuCacheMode ¶
HeapDescriptor_cpuCacheMode :: proc "c" (self: ^HeapDescriptor) -> CPUCacheMode {…}
cpuCacheMode := heapDescriptor->cpuCacheMode()
HeapDescriptor_hazardTrackingMode ¶
HeapDescriptor_hazardTrackingMode :: proc "c" (self: ^HeapDescriptor) -> HazardTrackingMode {…}
hazardTrackingMode := heapDescriptor->hazardTrackingMode()
HeapDescriptor_init ¶
HeapDescriptor_init :: proc "c" (self: ^HeapDescriptor) -> ^HeapDescriptor {…}
res := heapDescriptor->init()
HeapDescriptor_resourceOptions ¶
HeapDescriptor_resourceOptions :: proc "c" (self: ^HeapDescriptor) -> ResourceOptions {…}
resourceOptions := heapDescriptor->resourceOptions()
HeapDescriptor_setCpuCacheMode ¶
HeapDescriptor_setCpuCacheMode :: proc "c" (self: ^HeapDescriptor, cpuCacheMode: CPUCacheMode) {…}
heapDescriptor->setCpuCacheMode(cpuCacheMode)
HeapDescriptor_setHazardTrackingMode ¶
HeapDescriptor_setHazardTrackingMode :: proc "c" ( self: ^HeapDescriptor, hazardTrackingMode: HazardTrackingMode, ) {…}
heapDescriptor->setHazardTrackingMode(hazardTrackingMode)
HeapDescriptor_setResourceOptions ¶
HeapDescriptor_setResourceOptions :: proc "c" ( self: ^HeapDescriptor, resourceOptions: ResourceOptions, ) {…}
heapDescriptor->setResourceOptions(resourceOptions)
HeapDescriptor_setSize ¶
HeapDescriptor_setSize :: proc "c" (self: ^HeapDescriptor, size: NS.UInteger) {…}
heapDescriptor->setSize(size)
HeapDescriptor_setSparsePageSize ¶
HeapDescriptor_setSparsePageSize :: proc "c" ( self: ^HeapDescriptor, sparsePageSize: SparsePageSize, ) {…}
heapDescriptor->setSparsePageSize(sparsePageSize)
HeapDescriptor_setStorageMode ¶
HeapDescriptor_setStorageMode :: proc "c" (self: ^HeapDescriptor, storageMode: StorageMode) {…}
heapDescriptor->setStorageMode(storageMode)
HeapDescriptor_setType ¶
HeapDescriptor_setType :: proc "c" (self: ^HeapDescriptor, type: HeapType) {…}
heapDescriptor->setType(type)
HeapDescriptor_size ¶
HeapDescriptor_size :: proc "c" (self: ^HeapDescriptor) -> NS.UInteger {…}
size := heapDescriptor->size()
HeapDescriptor_sparsePageSize ¶
HeapDescriptor_sparsePageSize :: proc "c" (self: ^HeapDescriptor) -> SparsePageSize {…}
sparsePageSize := heapDescriptor->sparsePageSize()
HeapDescriptor_storageMode ¶
HeapDescriptor_storageMode :: proc "c" (self: ^HeapDescriptor) -> StorageMode {…}
storageMode := heapDescriptor->storageMode()
HeapDescriptor_type ¶
HeapDescriptor_type :: proc "c" (self: ^HeapDescriptor) -> HeapType {…}
type := heapDescriptor->type()
Heap_cpuCacheMode ¶
Heap_cpuCacheMode :: proc "c" (self: ^Heap) -> CPUCacheMode {…}
cpuCacheMode := heap->cpuCacheMode()
Heap_currentAllocatedSize ¶
Heap_currentAllocatedSize :: proc "c" (self: ^Heap) -> NS.UInteger {…}
currentAllocatedSize := heap->currentAllocatedSize()
Heap_hazardTrackingMode ¶
Heap_hazardTrackingMode :: proc "c" (self: ^Heap) -> HazardTrackingMode {…}
hazardTrackingMode := heap->hazardTrackingMode()
Heap_maxAvailableSizeWithAlignment ¶
Heap_maxAvailableSizeWithAlignment :: proc "c" ( self: ^Heap, alignment: NS.UInteger, ) -> NS.UInteger {…}
uInteger := heap->maxAvailableSizeWithAlignment(alignment)
Heap_newAccelerationStructureWithDescriptor ¶ owned
Heap_newAccelerationStructureWithDescriptor :: proc "c" ( self: ^Heap, descriptor: ^AccelerationStructureDescriptor, ) -> ^AccelerationStructure {…}
accelerationStructure := heap->newAccelerationStructureWithDescriptor(descriptor)
Heap_newAccelerationStructureWithDescriptorAndOffset ¶ owned
Heap_newAccelerationStructureWithDescriptorAndOffset :: proc "c" ( self: ^Heap, descriptor: ^AccelerationStructureDescriptor, offset: NS.UInteger, ) -> ^AccelerationStructure {…}
accelerationStructure := heap->newAccelerationStructureWithDescriptorAndOffset(descriptor, offset)
Heap_newAccelerationStructureWithSize ¶ owned
Heap_newAccelerationStructureWithSize :: proc "c" ( self: ^Heap, size: NS.UInteger, ) -> ^AccelerationStructure {…}
accelerationStructure := heap->newAccelerationStructureWithSize(size)
Heap_newAccelerationStructureWithSizeAndOffset ¶ owned
Heap_newAccelerationStructureWithSizeAndOffset :: proc "c" ( self: ^Heap, size, offset: NS.UInteger, ) -> ^AccelerationStructure {…}
accelerationStructure := heap->newAccelerationStructureWithSizeAndOffset(size, offset)
Heap_newBufferWithLength ¶ owned
Heap_newBufferWithLength :: proc "c" ( self: ^Heap, length: NS.UInteger, options: ResourceOptions, ) -> ^Buffer {…}
buffer := heap->newBufferWithLength(length, options)
Heap_newBufferWithOptions ¶ owned
Heap_newBufferWithOptions :: proc "c" ( self: ^Heap, length: NS.UInteger, options: ResourceOptions, offset: NS.UInteger, ) -> ^Buffer {…}
buffer := heap->newBufferWithOptions(length, options, offset)
Heap_newTextureWithDescriptor ¶ owned
Heap_newTextureWithDescriptor :: proc "c" (self: ^Heap, desc: ^TextureDescriptor) -> ^Texture {…}
texture := heap->newTextureWithDescriptor(desc)
Heap_newTextureWithDescriptorAndOffset ¶ owned
Heap_newTextureWithDescriptorAndOffset :: proc "c" ( self: ^Heap, descriptor: ^TextureDescriptor, offset: NS.UInteger, ) -> ^Texture {…}
texture := heap->newTextureWithDescriptorAndOffset(descriptor, offset)
Heap_resourceOptions ¶
Heap_resourceOptions :: proc "c" (self: ^Heap) -> ResourceOptions {…}
resourceOptions := heap->resourceOptions()
Heap_setPurgeableState ¶
Heap_setPurgeableState :: proc "c" (self: ^Heap, state: PurgeableState) -> PurgeableState {…}
purgeableState := heap->setPurgeableState(state)
Heap_storageMode ¶
Heap_storageMode :: proc "c" (self: ^Heap) -> StorageMode {…}
storageMode := heap->storageMode()
Heap_type ¶
Heap_type :: proc "c" (self: ^Heap) -> FunctionLogType {…}
type := heap->type()
IOCommandBuffer_addBarrier ¶
IOCommandBuffer_addBarrier :: proc "c" (self: ^IOCommandBuffer) {…}
ioCommandBuffer->addBarrier()
IOCommandBuffer_addCompletedHandler ¶
IOCommandBuffer_addCompletedHandler :: proc "c" (self: ^IOCommandBuffer, block: ^NS.Block) {…}
ioCommandBuffer->addCompletedHandler(block)
IOCommandBuffer_commit ¶
IOCommandBuffer_commit :: proc "c" (self: ^IOCommandBuffer) {…}
ioCommandBuffer->commit()
IOCommandBuffer_copyStatusToBuffer ¶
IOCommandBuffer_copyStatusToBuffer :: proc "c" ( self: ^IOCommandBuffer, buffer: ^Buffer, offset: NS.UInteger, ) {…}
ioCommandBuffer->copyStatusToBuffer(buffer, offset)
IOCommandBuffer_enqueue ¶
IOCommandBuffer_enqueue :: proc "c" (self: ^IOCommandBuffer) {…}
ioCommandBuffer->enqueue()
IOCommandBuffer_error ¶
IOCommandBuffer_error :: proc "c" (self: ^IOCommandBuffer) -> ^NS.Error {…}
error := ioCommandBuffer->error()
IOCommandBuffer_label ¶
IOCommandBuffer_label :: proc "c" (self: ^IOCommandBuffer) -> ^NS.String {…}
label := ioCommandBuffer->label()
IOCommandBuffer_loadBuffer ¶
IOCommandBuffer_loadBuffer :: proc "c" ( self: ^IOCommandBuffer, buffer: ^Buffer, offset: NS.UInteger, size: NS.UInteger, sourceHandle: ^IOFileHandle, sourceHandleOffset: NS.UInteger, ) {…}
ioCommandBuffer->loadBuffer(buffer, offset, size, sourceHandle, sourceHandleOffset)
IOCommandBuffer_loadBytes ¶
IOCommandBuffer_loadBytes :: proc "c" ( self: ^IOCommandBuffer, pointer: rawptr, size: NS.UInteger, sourceHandle: ^IOFileHandle, sourceHandleOffset: NS.UInteger, ) {…}
ioCommandBuffer->loadBytes(pointer, size, sourceHandle, sourceHandleOffset)
IOCommandBuffer_loadTexture ¶
IOCommandBuffer_loadTexture :: proc "c" ( self: ^IOCommandBuffer, texture: ^Texture, slice: NS.UInteger, level, size, sourceBytesPerRow, sourceBytesPerImage: NS.UInteger, destinationOrigin: Origin, sourceHandle: ^IOFileHandle, sourceHandleOffset: NS.UInteger, ) {…}
ioCommandBuffer->loadTexture( texture, slice, level, size, sourceBytesPerRow, sourceBytesPerImage, destinationOrigin, sourceHandle, sourceHandleOffset, )
IOCommandBuffer_popDebugGroup ¶
IOCommandBuffer_popDebugGroup :: proc "c" (self: ^IOCommandBuffer) {…}
ioCommandBuffer->popDebugGroup()
IOCommandBuffer_pushDebugGroup ¶
IOCommandBuffer_pushDebugGroup :: proc "c" (self: ^IOCommandBuffer, name: ^NS.String) {…}
ioCommandBuffer->pushDebugGroup(name)
IOCommandBuffer_setLabel ¶
IOCommandBuffer_setLabel :: proc "c" (self: ^IOCommandBuffer, label: ^NS.String) {…}
ioCommandBuffer->setLabel(label)
IOCommandBuffer_signalEvent ¶
IOCommandBuffer_signalEvent :: proc "c" ( self: ^IOCommandBuffer, event: ^SharedEvent, value: u64, ) {…}
ioCommandBuffer->signalEvent(event, value)
IOCommandBuffer_status ¶
IOCommandBuffer_status :: proc "c" (self: ^IOCommandBuffer) -> IOStatus {…}
status := ioCommandBuffer->status()
IOCommandBuffer_tryCancel ¶
IOCommandBuffer_tryCancel :: proc "c" (self: ^IOCommandBuffer) {…}
ioCommandBuffer->tryCancel()
IOCommandBuffer_waitForEvent ¶
IOCommandBuffer_waitForEvent :: proc "c" ( self: ^IOCommandBuffer, event: ^SharedEvent, value: u64, ) {…}
ioCommandBuffer->waitForEvent(event, value)
IOCommandBuffer_waitUntilCompleted ¶
IOCommandBuffer_waitUntilCompleted :: proc "c" (self: ^IOCommandBuffer) {…}
ioCommandBuffer->waitUntilCompleted()
IOCommandQueueDescriptor_alloc ¶ class method owned
IOCommandQueueDescriptor_alloc :: proc "c" () -> ^IOCommandQueueDescriptor {…}
ioCommandQueueDescriptor := IOCommandQueueDescriptor.alloc()
IOCommandQueueDescriptor_init ¶
IOCommandQueueDescriptor_init :: proc "c" (self: ^IOCommandQueueDescriptor) -> ^IOCommandQueueDescriptor {…}
res := ioCommandQueueDescriptor->init()
IOCommandQueueDescriptor_maxCommandBufferCount ¶
IOCommandQueueDescriptor_maxCommandBufferCount :: proc "c" (self: ^IOCommandQueueDescriptor) -> NS.UInteger {…}
maxCommandBufferCount := ioCommandQueueDescriptor->maxCommandBufferCount()
IOCommandQueue_commandBuffer ¶
IOCommandQueue_commandBuffer :: proc "c" (self: ^IOCommandQueue) -> ^IOCommandBuffer {…}
commandBuffer := ioCommandQueue->commandBuffer()
IOCommandQueue_commandBufferWithUnretainedReferences ¶
IOCommandQueue_commandBufferWithUnretainedReferences :: proc "c" (self: ^IOCommandQueue) -> ^IOCommandBuffer {…}
commandBufferWithUnretainedReferences := ioCommandQueue->commandBufferWithUnretainedReferences()
IOCommandQueue_enqueueBarrier ¶
IOCommandQueue_enqueueBarrier :: proc "c" (self: ^IOCommandQueue) {…}
ioCommandQueue->enqueueBarrier()
IOCommandQueue_label ¶
IOCommandQueue_label :: proc "c" (self: ^IOCommandQueue) -> ^NS.String {…}
label := ioCommandQueue->label()
IOCommandQueue_setLabel ¶
IOCommandQueue_setLabel :: proc "c" (self: ^IOCommandQueue, label: ^NS.String) {…}
ioCommandQueue->setLabel(label)
IOCompressionContextAppendData ¶C · MTLIOCompressionContextAppendDataSource · MetalProcedures.odin:19
IOCompressionContextDefaultChunkSize ¶C · MTLIOCompressionContextDefaultChunkSizeSource · MetalProcedures.odin:17
IOCompressionContextDefaultChunkSize :: proc "c" () -> uint ---
IOCreateCompressionContext ¶C · MTLIOCreateCompressionContextSource · MetalProcedures.odin:18
IOCreateCompressionContext :: proc "c" ( path: cstring, type: IOCompressionMethod, chuckSize: uint, ) -> rawptr ---
IOFileHandle_label ¶
IOFileHandle_label :: proc "c" (self: ^IOFileHandle) -> ^NS.String {…}
label := ioFileHandle->label()
IOFileHandle_setLabel ¶
IOFileHandle_setLabel :: proc "c" (self: ^IOFileHandle, label: ^NS.String) {…}
ioFileHandle->setLabel(label)
IOFlushAndDestroyCompressionContext ¶C · MTLIOFlushAndDestroyCompressionContextSource · MetalProcedures.odin:20
IOFlushAndDestroyCompressionContext :: proc "c" (ctx: rawptr) -> IOCompressionStatus ---
IOScratchBufferAllocator_newScratchBuffer ¶ owned
IOScratchBufferAllocator_newScratchBuffer :: proc "c" ( self: ^IOCommandQueue, minimumSize: NS.UInteger, ) -> ^IOScratchBuffer {…}
ioScratchBuffer := ioScratchBufferAllocator->newScratchBuffer(minimumSize)
IOScratchBuffer_buffer ¶
IOScratchBuffer_buffer :: proc "c" (self: ^IOCommandQueue) -> ^Buffer {…}
buffer := ioScratchBuffer->buffer()
IndirectCommandBufferDescriptor_alloc ¶ class method owned
IndirectCommandBufferDescriptor_alloc :: proc "c" () -> ^IndirectCommandBufferDescriptor {…}
indirectCommandBufferDescriptor := IndirectCommandBufferDescriptor.alloc()
IndirectCommandBufferDescriptor_commandTypes ¶
IndirectCommandBufferDescriptor_commandTypes :: proc "c" (self: ^IndirectCommandBufferDescriptor) -> IndirectCommandType {…}
commandTypes := indirectCommandBufferDescriptor->commandTypes()
IndirectCommandBufferDescriptor_inheritBuffers ¶
IndirectCommandBufferDescriptor_inheritBuffers :: proc "c" (self: ^IndirectCommandBufferDescriptor) -> bool {…}
inheritBuffers := indirectCommandBufferDescriptor->inheritBuffers()
IndirectCommandBufferDescriptor_inheritPipelineState ¶
IndirectCommandBufferDescriptor_inheritPipelineState :: proc "c" (self: ^IndirectCommandBufferDescriptor) -> bool {…}
inheritPipelineState := indirectCommandBufferDescriptor->inheritPipelineState()
IndirectCommandBufferDescriptor_init ¶
IndirectCommandBufferDescriptor_init :: proc "c" (self: ^IndirectCommandBufferDescriptor) -> ^IndirectCommandBufferDescriptor {…}
res := indirectCommandBufferDescriptor->init()
IndirectCommandBufferDescriptor_maxFragmentBufferBindCount ¶
IndirectCommandBufferDescriptor_maxFragmentBufferBindCount :: proc "c" (self: ^IndirectCommandBufferDescriptor) -> NS.UInteger {…}
maxFragmentBufferBindCount := indirectCommandBufferDescriptor->maxFragmentBufferBindCount()
IndirectCommandBufferDescriptor_maxKernelBufferBindCount ¶
IndirectCommandBufferDescriptor_maxKernelBufferBindCount :: proc "c" (self: ^IndirectCommandBufferDescriptor) -> NS.UInteger {…}
maxKernelBufferBindCount := indirectCommandBufferDescriptor->maxKernelBufferBindCount()
IndirectCommandBufferDescriptor_maxVertexBufferBindCount ¶
IndirectCommandBufferDescriptor_maxVertexBufferBindCount :: proc "c" (self: ^IndirectCommandBufferDescriptor) -> NS.UInteger {…}
maxVertexBufferBindCount := indirectCommandBufferDescriptor->maxVertexBufferBindCount()
IndirectCommandBufferDescriptor_setCommandTypes ¶
IndirectCommandBufferDescriptor_setCommandTypes :: proc "c" ( self: ^IndirectCommandBufferDescriptor, commandTypes: IndirectCommandType, ) {…}
indirectCommandBufferDescriptor->setCommandTypes(commandTypes)
IndirectCommandBufferDescriptor_setInheritBuffers ¶
IndirectCommandBufferDescriptor_setInheritBuffers :: proc "c" ( self: ^IndirectCommandBufferDescriptor, inheritBuffers: bool, ) {…}
indirectCommandBufferDescriptor->setInheritBuffers(inheritBuffers)
IndirectCommandBufferDescriptor_setInheritPipelineState ¶
IndirectCommandBufferDescriptor_setInheritPipelineState :: proc "c" ( self: ^IndirectCommandBufferDescriptor, inheritPipelineState: bool, ) {…}
indirectCommandBufferDescriptor->setInheritPipelineState(inheritPipelineState)
IndirectCommandBufferDescriptor_setMaxFragmentBufferBindCount ¶
IndirectCommandBufferDescriptor_setMaxFragmentBufferBindCount :: proc "c" ( self: ^IndirectCommandBufferDescriptor, maxFragmentBufferBindCount: NS.UInteger, ) {…}
indirectCommandBufferDescriptor->setMaxFragmentBufferBindCount(maxFragmentBufferBindCount)
IndirectCommandBufferDescriptor_setMaxKernelBufferBindCount ¶
IndirectCommandBufferDescriptor_setMaxKernelBufferBindCount :: proc "c" ( self: ^IndirectCommandBufferDescriptor, maxKernelBufferBindCount: NS.UInteger, ) {…}
indirectCommandBufferDescriptor->setMaxKernelBufferBindCount(maxKernelBufferBindCount)
IndirectCommandBufferDescriptor_setMaxVertexBufferBindCount ¶
IndirectCommandBufferDescriptor_setMaxVertexBufferBindCount :: proc "c" ( self: ^IndirectCommandBufferDescriptor, maxVertexBufferBindCount: NS.UInteger, ) {…}
indirectCommandBufferDescriptor->setMaxVertexBufferBindCount(maxVertexBufferBindCount)
IndirectCommandBuffer_gpuResourceID ¶
IndirectCommandBuffer_gpuResourceID :: proc "c" (self: ^IndirectCommandBuffer) -> ResourceID {…}
gpuResourceID := indirectCommandBuffer->gpuResourceID()
IndirectCommandBuffer_indirectComputeCommand ¶
IndirectCommandBuffer_indirectComputeCommand :: proc "c" ( self: ^IndirectCommandBuffer, commandIndex: NS.UInteger, ) -> ^IndirectComputeCommand {…}
indirectComputeCommand := indirectCommandBuffer->indirectComputeCommand(commandIndex)
IndirectCommandBuffer_indirectRenderCommand ¶
IndirectCommandBuffer_indirectRenderCommand :: proc "c" ( self: ^IndirectCommandBuffer, commandIndex: NS.UInteger, ) -> ^IndirectRenderCommand {…}
indirectRenderCommand := indirectCommandBuffer->indirectRenderCommand(commandIndex)
IndirectCommandBuffer_resetWithRange ¶
IndirectCommandBuffer_resetWithRange :: proc "c" ( self: ^IndirectCommandBuffer, range: NS.Range, ) {…}
indirectCommandBuffer->resetWithRange(range)
IndirectCommandBuffer_setSupportRayTracing ¶
IndirectCommandBuffer_setSupportRayTracing :: proc "c" ( self: ^IndirectCommandBuffer, supportRayTracing: bool, ) {…}
indirectCommandBuffer->setSupportRayTracing(supportRayTracing)
IndirectCommandBuffer_size ¶
IndirectCommandBuffer_size :: proc "c" (self: ^IndirectCommandBuffer) -> NS.UInteger {…}
size := indirectCommandBuffer->size()
IndirectCommandBuffer_supportRayTracing ¶
IndirectCommandBuffer_supportRayTracing :: proc "c" (self: ^IndirectCommandBuffer) -> bool {…}
supportRayTracing := indirectCommandBuffer->supportRayTracing()
IndirectComputeCommand_clearBarrier ¶
IndirectComputeCommand_clearBarrier :: proc "c" (self: ^IndirectComputeCommand) {…}
indirectComputeCommand->clearBarrier()
IndirectComputeCommand_concurrentDispatchThreadgroups ¶
IndirectComputeCommand_concurrentDispatchThreadgroups :: proc "c" ( self: ^IndirectComputeCommand, threadgroupsPerGrid: Size, threadsPerThreadgroup: Size, ) {…}
indirectComputeCommand->concurrentDispatchThreadgroups(threadgroupsPerGrid, threadsPerThreadgroup)
IndirectComputeCommand_concurrentDispatchThreads ¶
IndirectComputeCommand_concurrentDispatchThreads :: proc "c" ( self: ^IndirectComputeCommand, threadsPerGrid: Size, threadsPerThreadgroup: Size, ) {…}
indirectComputeCommand->concurrentDispatchThreads(threadsPerGrid, threadsPerThreadgroup)
IndirectComputeCommand_reset ¶
IndirectComputeCommand_reset :: proc "c" (self: ^IndirectComputeCommand) {…}
indirectComputeCommand->reset()
IndirectComputeCommand_setBarrier ¶
IndirectComputeCommand_setBarrier :: proc "c" (self: ^IndirectComputeCommand) {…}
indirectComputeCommand->setBarrier()
IndirectComputeCommand_setComputePipelineState ¶
IndirectComputeCommand_setComputePipelineState :: proc "c" ( self: ^IndirectComputeCommand, pipelineState: ^ComputePipelineState, ) {…}
indirectComputeCommand->setComputePipelineState(pipelineState)
IndirectComputeCommand_setImageblockWidth ¶
IndirectComputeCommand_setImageblockWidth :: proc "c" ( self: ^IndirectComputeCommand, width: NS.UInteger, height: NS.UInteger, ) {…}
indirectComputeCommand->setImageblockWidth(width, height)
IndirectComputeCommand_setKernelBuffer ¶
IndirectComputeCommand_setKernelBuffer :: proc "c" ( self: ^IndirectComputeCommand, buffer: ^Buffer, offset: NS.UInteger, index: NS.UInteger, ) {…}
indirectComputeCommand->setKernelBuffer(buffer, offset, index)
IndirectComputeCommand_setStageInRegion ¶
IndirectComputeCommand_setStageInRegion :: proc "c" ( self: ^IndirectComputeCommand, region: Region, ) {…}
indirectComputeCommand->setStageInRegion(region)
IndirectComputeCommand_setThreadgroupMemoryLength ¶
IndirectComputeCommand_setThreadgroupMemoryLength :: proc "c" ( self: ^IndirectComputeCommand, length: NS.UInteger, index: NS.UInteger, ) {…}
indirectComputeCommand->setThreadgroupMemoryLength(length, index)
IndirectRenderCommand_drawIndexedPatches ¶
IndirectRenderCommand_drawIndexedPatches :: proc "c" ( self: ^IndirectRenderCommand, numberOfPatchControlPoints: NS.UInteger, patchStart, patchCount: NS.UInteger, patchIndexBuffer: ^Buffer, patchIndexBufferOffset: NS.UInteger, controlPointIndexBuffer: ^Buffer, controlPointIndexBufferOffset: NS.UInteger, instanceCount: NS.UInteger, baseInstance: NS.UInteger, buffer: ^Buffer, offset: NS.UInteger, instanceStride: NS.UInteger, ) {…}
indirectRenderCommand->drawIndexedPatches( numberOfPatchControlPoints, patchStart, patchCount, patchIndexBuffer, patchIndexBufferOffset, controlPointIndexBuffer, controlPointIndexBufferOffset, instanceCount, baseInstance, buffer, offset, instanceStride, )
IndirectRenderCommand_drawIndexedPrimitives ¶
IndirectRenderCommand_drawIndexedPrimitives :: proc "c" ( self: ^IndirectRenderCommand, primitiveType: PrimitiveType, indexCount: NS.UInteger, indexType: IndexType, indexBuffer: ^Buffer, indexBufferOffset: NS.UInteger, instanceCount: NS.UInteger, baseVertex: NS.Integer, baseInstance: NS.UInteger, ) {…}
indirectRenderCommand->drawIndexedPrimitives( primitiveType, indexCount, indexType, indexBuffer, indexBufferOffset, instanceCount, baseVertex, baseInstance, )
IndirectRenderCommand_drawPatches ¶
IndirectRenderCommand_drawPatches :: proc "c" ( self: ^IndirectRenderCommand, numberOfPatchControlPoints: NS.UInteger, patchStart, patchCount: NS.UInteger, patchIndexBuffer: ^Buffer, patchIndexBufferOffset: NS.UInteger, instanceCount: NS.UInteger, baseInstance: NS.UInteger, buffer: ^Buffer, offset: NS.UInteger, instanceStride: NS.UInteger, ) {…}
indirectRenderCommand->drawPatches( numberOfPatchControlPoints, patchStart, patchCount, patchIndexBuffer, patchIndexBufferOffset, instanceCount, baseInstance, buffer, offset, instanceStride, )
IndirectRenderCommand_drawPrimitives ¶
IndirectRenderCommand_drawPrimitives :: proc "c" ( self: ^IndirectRenderCommand, primitiveType: PrimitiveType, vertexStart: NS.UInteger, vertexCount: NS.UInteger, instanceCount: NS.UInteger, baseInstance: NS.UInteger = 0, ) {…}
indirectRenderCommand->drawPrimitives( primitiveType, vertexStart, vertexCount, instanceCount, baseInstance, )
IndirectRenderCommand_reset ¶
IndirectRenderCommand_reset :: proc "c" (self: ^IndirectRenderCommand) {…}
indirectRenderCommand->reset()
IndirectRenderCommand_setFragmentBuffer ¶
IndirectRenderCommand_setFragmentBuffer :: proc "c" ( self: ^IndirectRenderCommand, buffer: ^Buffer, offset: NS.UInteger, index: NS.UInteger, ) {…}
indirectRenderCommand->setFragmentBuffer(buffer, offset, index)
IndirectRenderCommand_setRenderPipelineState ¶
IndirectRenderCommand_setRenderPipelineState :: proc "c" ( self: ^IndirectRenderCommand, pipelineState: ^RenderPipelineState, ) {…}
indirectRenderCommand->setRenderPipelineState(pipelineState)
IndirectRenderCommand_setVertexBuffer ¶
IndirectRenderCommand_setVertexBuffer :: proc "c" ( self: ^IndirectRenderCommand, buffer: ^Buffer, offset: NS.UInteger, index: NS.UInteger, ) {…}
indirectRenderCommand->setVertexBuffer(buffer, offset, index)
InstanceAccelerationStructureDescriptor_alloc ¶ class method owned
InstanceAccelerationStructureDescriptor_alloc :: proc "c" () -> ^InstanceAccelerationStructureDescriptor {…}
instanceAccelerationStructureDescriptor := InstanceAccelerationStructureDescriptor.alloc()
InstanceAccelerationStructureDescriptor_descriptor ¶ class method
InstanceAccelerationStructureDescriptor_descriptor :: proc "c" () -> ^InstanceAccelerationStructureDescriptor {…}
instanceAccelerationStructureDescriptor := InstanceAccelerationStructureDescriptor.descriptor()
InstanceAccelerationStructureDescriptor_init ¶
InstanceAccelerationStructureDescriptor_init :: proc "c" (self: ^InstanceAccelerationStructureDescriptor) -> ^InstanceAccelerationStructureDescriptor {…}
res := instanceAccelerationStructureDescriptor->init()
InstanceAccelerationStructureDescriptor_instanceCount ¶
InstanceAccelerationStructureDescriptor_instanceCount :: proc "c" (self: ^InstanceAccelerationStructureDescriptor) -> NS.UInteger {…}
instanceCount := instanceAccelerationStructureDescriptor->instanceCount()
InstanceAccelerationStructureDescriptor_instanceDescriptorBuffer ¶
InstanceAccelerationStructureDescriptor_instanceDescriptorBuffer :: proc "c" (self: ^InstanceAccelerationStructureDescriptor) -> ^Buffer {…}
instanceDescriptorBuffer := instanceAccelerationStructureDescriptor->instanceDescriptorBuffer()
InstanceAccelerationStructureDescriptor_instanceDescriptorBufferOffset ¶
InstanceAccelerationStructureDescriptor_instanceDescriptorBufferOffset :: proc "c" (self: ^InstanceAccelerationStructureDescriptor) -> NS.UInteger {…}
instanceDescriptorBufferOffset := instanceAccelerationStructureDescriptor->instanceDescriptorBufferOffset()
InstanceAccelerationStructureDescriptor_instanceDescriptorStride ¶
InstanceAccelerationStructureDescriptor_instanceDescriptorStride :: proc "c" (self: ^InstanceAccelerationStructureDescriptor) -> NS.UInteger {…}
instanceDescriptorStride := instanceAccelerationStructureDescriptor->instanceDescriptorStride()
InstanceAccelerationStructureDescriptor_instanceDescriptorType ¶
InstanceAccelerationStructureDescriptor_instanceDescriptorType :: proc "c" (self: ^InstanceAccelerationStructureDescriptor) -> AccelerationStructureInstanceDescriptorType {…}
instanceDescriptorType := instanceAccelerationStructureDescriptor->instanceDescriptorType()
InstanceAccelerationStructureDescriptor_instancedAccelerationStructures ¶
InstanceAccelerationStructureDescriptor_instancedAccelerationStructures :: proc "c" (self: ^InstanceAccelerationStructureDescriptor) -> ^NS.Array {…}
instancedAccelerationStructures := instanceAccelerationStructureDescriptor->instancedAccelerationStructures()
InstanceAccelerationStructureDescriptor_motionTransformBuffer ¶
InstanceAccelerationStructureDescriptor_motionTransformBuffer :: proc "c" (self: ^InstanceAccelerationStructureDescriptor) -> ^Buffer {…}
motionTransformBuffer := instanceAccelerationStructureDescriptor->motionTransformBuffer()
InstanceAccelerationStructureDescriptor_motionTransformBufferOffset ¶
InstanceAccelerationStructureDescriptor_motionTransformBufferOffset :: proc "c" (self: ^InstanceAccelerationStructureDescriptor) -> NS.UInteger {…}
motionTransformBufferOffset := instanceAccelerationStructureDescriptor->motionTransformBufferOffset()
InstanceAccelerationStructureDescriptor_motionTransformCount ¶
InstanceAccelerationStructureDescriptor_motionTransformCount :: proc "c" (self: ^InstanceAccelerationStructureDescriptor) -> NS.UInteger {…}
motionTransformCount := instanceAccelerationStructureDescriptor->motionTransformCount()
InstanceAccelerationStructureDescriptor_setInstanceCount ¶
InstanceAccelerationStructureDescriptor_setInstanceCount :: proc "c" ( self: ^InstanceAccelerationStructureDescriptor, instanceCount: NS.UInteger, ) {…}
instanceAccelerationStructureDescriptor->setInstanceCount(instanceCount)
InstanceAccelerationStructureDescriptor_setInstanceDescriptorBuffer ¶
InstanceAccelerationStructureDescriptor_setInstanceDescriptorBuffer :: proc "c" ( self: ^InstanceAccelerationStructureDescriptor, instanceDescriptorBuffer: ^Buffer, ) {…}
instanceAccelerationStructureDescriptor->setInstanceDescriptorBuffer(instanceDescriptorBuffer)
InstanceAccelerationStructureDescriptor_setInstanceDescriptorBufferOffset ¶
InstanceAccelerationStructureDescriptor_setInstanceDescriptorBufferOffset :: proc "c" ( self: ^InstanceAccelerationStructureDescriptor, instanceDescriptorBufferOffset: NS.UInteger, ) {…}
instanceAccelerationStructureDescriptor->setInstanceDescriptorBufferOffset(instanceDescriptorBufferOffset)
InstanceAccelerationStructureDescriptor_setInstanceDescriptorStride ¶
InstanceAccelerationStructureDescriptor_setInstanceDescriptorStride :: proc "c" ( self: ^InstanceAccelerationStructureDescriptor, instanceDescriptorStride: NS.UInteger, ) {…}
instanceAccelerationStructureDescriptor->setInstanceDescriptorStride(instanceDescriptorStride)
InstanceAccelerationStructureDescriptor_setInstanceDescriptorType ¶
InstanceAccelerationStructureDescriptor_setInstanceDescriptorType :: proc "c" ( self: ^InstanceAccelerationStructureDescriptor, buffer: AccelerationStructureInstanceDescriptorType, ) {…}
instanceAccelerationStructureDescriptor->setInstanceDescriptorType(buffer)
InstanceAccelerationStructureDescriptor_setInstancedAccelerationStructures ¶
InstanceAccelerationStructureDescriptor_setInstancedAccelerationStructures :: proc "c" ( self: ^InstanceAccelerationStructureDescriptor, instancedAccelerationStructures: ^NS.Array, ) {…}
instanceAccelerationStructureDescriptor->setInstancedAccelerationStructures(instancedAccelerationStructures)
InstanceAccelerationStructureDescriptor_setMotionTransformBuffer ¶
InstanceAccelerationStructureDescriptor_setMotionTransformBuffer :: proc "c" ( self: ^InstanceAccelerationStructureDescriptor, buffer: ^Buffer, ) {…}
instanceAccelerationStructureDescriptor->setMotionTransformBuffer(buffer)
InstanceAccelerationStructureDescriptor_setMotionTransformBufferOffset ¶
InstanceAccelerationStructureDescriptor_setMotionTransformBufferOffset :: proc "c" ( self: ^InstanceAccelerationStructureDescriptor, offset: NS.UInteger, ) {…}
instanceAccelerationStructureDescriptor->setMotionTransformBufferOffset(offset)
InstanceAccelerationStructureDescriptor_setMotionTransformCount ¶
InstanceAccelerationStructureDescriptor_setMotionTransformCount :: proc "c" ( self: ^InstanceAccelerationStructureDescriptor, offset: NS.UInteger, ) {…}
instanceAccelerationStructureDescriptor->setMotionTransformCount(offset)
IntersectionFunctionDescriptor_alloc ¶ class method owned
IntersectionFunctionDescriptor_alloc :: proc "c" () -> ^IntersectionFunctionDescriptor {…}
intersectionFunctionDescriptor := IntersectionFunctionDescriptor.alloc()
IntersectionFunctionDescriptor_init ¶
IntersectionFunctionDescriptor_init :: proc "c" (self: ^IntersectionFunctionDescriptor) -> ^IntersectionFunctionDescriptor {…}
res := intersectionFunctionDescriptor->init()
IntersectionFunctionTableDescriptor_alloc ¶ class method owned
IntersectionFunctionTableDescriptor_alloc :: proc "c" () -> ^IntersectionFunctionTableDescriptor {…}
intersectionFunctionTableDescriptor := IntersectionFunctionTableDescriptor.alloc()
IntersectionFunctionTableDescriptor_functionCount ¶
IntersectionFunctionTableDescriptor_functionCount :: proc "c" (self: ^IntersectionFunctionTableDescriptor) -> NS.UInteger {…}
functionCount := intersectionFunctionTableDescriptor->functionCount()
IntersectionFunctionTableDescriptor_init ¶
IntersectionFunctionTableDescriptor_init :: proc "c" (self: ^IntersectionFunctionTableDescriptor) -> ^IntersectionFunctionTableDescriptor {…}
res := intersectionFunctionTableDescriptor->init()
IntersectionFunctionTableDescriptor_intersectionFunctionTableDescriptor ¶ class method
IntersectionFunctionTableDescriptor_intersectionFunctionTableDescriptor :: proc "c" () -> ^IntersectionFunctionTableDescriptor {…}
intersectionFunctionTableDescriptor := IntersectionFunctionTableDescriptor.intersectionFunctionTableDescriptor()
IntersectionFunctionTableDescriptor_setFunctionCount ¶
IntersectionFunctionTableDescriptor_setFunctionCount :: proc "c" ( self: ^IntersectionFunctionTableDescriptor, functionCount: NS.UInteger, ) {…}
intersectionFunctionTableDescriptor->setFunctionCount(functionCount)
IntersectionFunctionTable_setBuffer ¶
IntersectionFunctionTable_setBuffer :: proc "c" ( self: ^IntersectionFunctionTable, buffer: ^Buffer, offset: NS.UInteger, index: NS.UInteger, ) {…}
intersectionFunctionTable->setBuffer(buffer, offset, index)
IntersectionFunctionTable_setBuffers ¶
IntersectionFunctionTable_setBuffers :: proc "c" ( self: ^IntersectionFunctionTable, buffers: []^Buffer, offsets: []NS.UInteger, range: NS.Range, ) {…}
intersectionFunctionTable->setBuffers(buffers, offsets, range)
IntersectionFunctionTable_setFunction ¶
IntersectionFunctionTable_setFunction :: proc "c" ( self: ^IntersectionFunctionTable, function: ^FunctionHandle, index: NS.UInteger, ) {…}
intersectionFunctionTable->setFunction(function, index)
IntersectionFunctionTable_setFunctions ¶
IntersectionFunctionTable_setFunctions :: proc "c" ( self: ^IntersectionFunctionTable, functions: []^FunctionHandle, range: NS.Range, ) {…}
intersectionFunctionTable->setFunctions(functions, range)
IntersectionFunctionTable_setOpaqueTriangleIntersectionFunctionWithSignature ¶
IntersectionFunctionTable_setOpaqueTriangleIntersectionFunctionWithSignature :: proc "c" ( self: ^IntersectionFunctionTable, signature: IntersectionFunctionSignature, index: NS.UInteger, ) {…}
intersectionFunctionTable->setOpaqueTriangleIntersectionFunctionWithSignature(signature, index)
IntersectionFunctionTable_setOpaqueTriangleIntersectionFunctionWithSignatureWithRange ¶
IntersectionFunctionTable_setOpaqueTriangleIntersectionFunctionWithSignatureWithRange :: proc "c" ( self: ^IntersectionFunctionTable, signature: IntersectionFunctionSignature, range: NS.Range, ) {…}
intersectionFunctionTable->setOpaqueTriangleIntersectionFunctionWithSignatureWithRange( signature, range, )
IntersectionFunctionTable_setVisibleFunctionTable ¶
IntersectionFunctionTable_setVisibleFunctionTable :: proc "c" ( self: ^IntersectionFunctionTable, visibleFunctionTable: ^VisibleFunctionTable, bufferIndex: NS.UInteger, ) {…}
intersectionFunctionTable->setVisibleFunctionTable(visibleFunctionTable, bufferIndex)
IntersectionFunctionTable_setVisibleFunctionTables ¶
IntersectionFunctionTable_setVisibleFunctionTables :: proc "c" ( self: ^IntersectionFunctionTable, visibleFunctionTables: []^VisibleFunctionTable, range: NS.Range, ) {…}
intersectionFunctionTable->setVisibleFunctionTables(visibleFunctionTables, range)
Library_functionNames ¶
Library_functionNames :: proc "c" (self: ^Library) -> ^NS.Array {…}
functionNames := library->functionNames()
Library_installName ¶
Library_installName :: proc "c" (self: ^Library) -> ^NS.String {…}
installName := library->installName()
Library_newFunctionWithCompletionHandler ¶ owned
Library_newFunctionWithCompletionHandler :: proc "c" ( self: ^Library, descriptor: ^FunctionDescriptor, completionHandler: ^NS.Block, ) -> ^Function {…}
function := library->newFunctionWithCompletionHandler(descriptor, completionHandler)
Library_newFunctionWithConstantValues ¶
Library_newFunctionWithConstantValues :: proc "contextless" ( self: ^Library, name: ^NS.String, constantValues: ^FunctionConstantValues, ) -> (function: ^Function, error: ^NS.Error) {…}
function, error := library->newFunctionWithConstantValues(name, constantValues)
Library_newFunctionWithConstantValuesAndCompletionHandler ¶ owned
Library_newFunctionWithConstantValuesAndCompletionHandler :: proc "c" ( self: ^Library, name: ^NS.String, constantValues: ^FunctionConstantValues, completionHandler: ^NS.Block, ) -> ^Function {…}
function := library->newFunctionWithConstantValuesAndCompletionHandler( name, constantValues, completionHandler, )
Library_newFunctionWithDescriptor ¶
Library_newFunctionWithDescriptor :: proc "contextless" ( self: ^Library, descriptor: ^FunctionDescriptor, ) -> (function: ^Function, error: ^NS.Error) {…}
function, error := library->newFunctionWithDescriptor(descriptor)
Library_newFunctionWithName ¶ owned
Library_newFunctionWithName :: proc "c" ( self: ^Library, functionName: ^NS.String, ) -> ^Function {…}
function := library->newFunctionWithName(functionName)
Library_newIntersectionFunction ¶
Library_newIntersectionFunction :: proc "contextless" ( self: ^Library, descriptor: ^IntersectionFunctionDescriptor, ) -> (function: ^Function, error: ^NS.Error) {…}
function, error := library->newIntersectionFunction(descriptor)
Library_newIntersectionFunctionWithCompletionHandler ¶ owned
Library_newIntersectionFunctionWithCompletionHandler :: proc "c" ( self: ^Library, descriptor: ^IntersectionFunctionDescriptor, completionHandler: ^NS.Block, ) -> ^Function {…}
function := library->newIntersectionFunctionWithCompletionHandler(descriptor, completionHandler)
Library_type ¶
Library_type :: proc "c" (self: ^Library) -> LibraryType {…}
type := library->type()
LinkedFunctions_alloc ¶ class method owned
LinkedFunctions_alloc :: proc "c" () -> ^LinkedFunctions {…}
linkedFunctions := LinkedFunctions.alloc()
LinkedFunctions_binaryFunctions ¶
LinkedFunctions_binaryFunctions :: proc "c" (self: ^LinkedFunctions) -> ^NS.Array {…}
binaryFunctions := linkedFunctions->binaryFunctions()
LinkedFunctions_functions ¶
LinkedFunctions_functions :: proc "c" (self: ^LinkedFunctions) -> ^NS.Array {…}
functions := linkedFunctions->functions()
LinkedFunctions_groups ¶
LinkedFunctions_groups :: proc "c" (self: ^LinkedFunctions) -> ^NS.Dictionary {…}
groups := linkedFunctions->groups()
LinkedFunctions_init ¶
LinkedFunctions_init :: proc "c" (self: ^LinkedFunctions) -> ^LinkedFunctions {…}
res := linkedFunctions->init()
LinkedFunctions_linkedFunctions ¶ class method
LinkedFunctions_linkedFunctions :: proc "c" () -> ^LinkedFunctions {…}
linkedFunctions := LinkedFunctions.linkedFunctions()
LinkedFunctions_setBinaryFunctions ¶
LinkedFunctions_setBinaryFunctions :: proc "c" ( self: ^LinkedFunctions, binaryFunctions: ^NS.Array, ) {…}
linkedFunctions->setBinaryFunctions(binaryFunctions)
LinkedFunctions_setFunctions ¶
LinkedFunctions_setFunctions :: proc "c" (self: ^LinkedFunctions, functions: ^NS.Array) {…}
linkedFunctions->setFunctions(functions)
LinkedFunctions_setGroups ¶
LinkedFunctions_setGroups :: proc "c" (self: ^LinkedFunctions, groups: ^NS.Dictionary) {…}
linkedFunctions->setGroups(groups)
MeshRenderPipelineDescriptor_alloc ¶ class method owned
MeshRenderPipelineDescriptor_alloc :: proc "c" () -> ^MeshRenderPipelineDescriptor {…}
meshRenderPipelineDescriptor := MeshRenderPipelineDescriptor.alloc()
MeshRenderPipelineDescriptor_alphaToCoverageEnabled ¶
MeshRenderPipelineDescriptor_alphaToCoverageEnabled :: proc "c" (self: ^MeshRenderPipelineDescriptor) -> bool {…}
alphaToCoverageEnabled := meshRenderPipelineDescriptor->alphaToCoverageEnabled()
MeshRenderPipelineDescriptor_alphaToOneEnabled ¶
MeshRenderPipelineDescriptor_alphaToOneEnabled :: proc "c" (self: ^MeshRenderPipelineDescriptor) -> bool {…}
alphaToOneEnabled := meshRenderPipelineDescriptor->alphaToOneEnabled()
MeshRenderPipelineDescriptor_binaryArchives ¶
MeshRenderPipelineDescriptor_binaryArchives :: proc "c" (self: ^MeshRenderPipelineDescriptor) -> ^NS.Array {…}
binaryArchives := meshRenderPipelineDescriptor->binaryArchives()
MeshRenderPipelineDescriptor_colorAttachments ¶
MeshRenderPipelineDescriptor_colorAttachments :: proc "c" (self: ^MeshRenderPipelineDescriptor) -> ^RenderPipelineColorAttachmentDescriptorArray {…}
colorAttachments := meshRenderPipelineDescriptor->colorAttachments()
MeshRenderPipelineDescriptor_depthAttachmentPixelFormat ¶
MeshRenderPipelineDescriptor_depthAttachmentPixelFormat :: proc "c" (self: ^MeshRenderPipelineDescriptor) -> PixelFormat {…}
depthAttachmentPixelFormat := meshRenderPipelineDescriptor->depthAttachmentPixelFormat()
MeshRenderPipelineDescriptor_fragmentBuffers ¶
MeshRenderPipelineDescriptor_fragmentBuffers :: proc "c" (self: ^MeshRenderPipelineDescriptor) -> ^PipelineBufferDescriptorArray {…}
fragmentBuffers := meshRenderPipelineDescriptor->fragmentBuffers()
MeshRenderPipelineDescriptor_fragmentFunction ¶
MeshRenderPipelineDescriptor_fragmentFunction :: proc "c" (self: ^MeshRenderPipelineDescriptor) -> ^Function {…}
fragmentFunction := meshRenderPipelineDescriptor->fragmentFunction()
MeshRenderPipelineDescriptor_fragmentLinkedFunctions ¶
MeshRenderPipelineDescriptor_fragmentLinkedFunctions :: proc "c" (self: ^MeshRenderPipelineDescriptor) -> ^LinkedFunctions {…}
fragmentLinkedFunctions := meshRenderPipelineDescriptor->fragmentLinkedFunctions()
MeshRenderPipelineDescriptor_init ¶
MeshRenderPipelineDescriptor_init :: proc "c" (self: ^MeshRenderPipelineDescriptor) -> ^MeshRenderPipelineDescriptor {…}
res := meshRenderPipelineDescriptor->init()
MeshRenderPipelineDescriptor_isAlphaToCoverageEnabled ¶
MeshRenderPipelineDescriptor_isAlphaToCoverageEnabled :: proc "c" (self: ^MeshRenderPipelineDescriptor) -> bool {…}
isAlphaToCoverageEnabled := meshRenderPipelineDescriptor->isAlphaToCoverageEnabled()
MeshRenderPipelineDescriptor_isAlphaToOneEnabled ¶
MeshRenderPipelineDescriptor_isAlphaToOneEnabled :: proc "c" (self: ^MeshRenderPipelineDescriptor) -> bool {…}
isAlphaToOneEnabled := meshRenderPipelineDescriptor->isAlphaToOneEnabled()
MeshRenderPipelineDescriptor_isRasterizationEnabled ¶
MeshRenderPipelineDescriptor_isRasterizationEnabled :: proc "c" (self: ^MeshRenderPipelineDescriptor) -> bool {…}
isRasterizationEnabled := meshRenderPipelineDescriptor->isRasterizationEnabled()
MeshRenderPipelineDescriptor_label ¶
MeshRenderPipelineDescriptor_label :: proc "c" (self: ^MeshRenderPipelineDescriptor) -> ^NS.String {…}
label := meshRenderPipelineDescriptor->label()
MeshRenderPipelineDescriptor_maxTotalThreadgroupsPerMeshGrid ¶
MeshRenderPipelineDescriptor_maxTotalThreadgroupsPerMeshGrid :: proc "c" (self: ^MeshRenderPipelineDescriptor) -> NS.UInteger {…}
maxTotalThreadgroupsPerMeshGrid := meshRenderPipelineDescriptor->maxTotalThreadgroupsPerMeshGrid()
MeshRenderPipelineDescriptor_maxTotalThreadsPerMeshThreadgroup ¶
MeshRenderPipelineDescriptor_maxTotalThreadsPerMeshThreadgroup :: proc "c" (self: ^MeshRenderPipelineDescriptor) -> NS.UInteger {…}
maxTotalThreadsPerMeshThreadgroup := meshRenderPipelineDescriptor->maxTotalThreadsPerMeshThreadgroup()
MeshRenderPipelineDescriptor_maxTotalThreadsPerObjectThreadgroup ¶
MeshRenderPipelineDescriptor_maxTotalThreadsPerObjectThreadgroup :: proc "c" (self: ^MeshRenderPipelineDescriptor) -> NS.UInteger {…}
maxTotalThreadsPerObjectThreadgroup := meshRenderPipelineDescriptor->maxTotalThreadsPerObjectThreadgroup()
MeshRenderPipelineDescriptor_maxVertexAmplificationCount ¶
MeshRenderPipelineDescriptor_maxVertexAmplificationCount :: proc "c" (self: ^MeshRenderPipelineDescriptor) -> NS.UInteger {…}
maxVertexAmplificationCount := meshRenderPipelineDescriptor->maxVertexAmplificationCount()
MeshRenderPipelineDescriptor_meshBuffers ¶
MeshRenderPipelineDescriptor_meshBuffers :: proc "c" (self: ^MeshRenderPipelineDescriptor) -> ^PipelineBufferDescriptorArray {…}
meshBuffers := meshRenderPipelineDescriptor->meshBuffers()
MeshRenderPipelineDescriptor_meshFunction ¶
MeshRenderPipelineDescriptor_meshFunction :: proc "c" (self: ^MeshRenderPipelineDescriptor) -> ^Function {…}
meshFunction := meshRenderPipelineDescriptor->meshFunction()
MeshRenderPipelineDescriptor_meshLinkedFunctions ¶
MeshRenderPipelineDescriptor_meshLinkedFunctions :: proc "c" (self: ^MeshRenderPipelineDescriptor) -> ^LinkedFunctions {…}
meshLinkedFunctions := meshRenderPipelineDescriptor->meshLinkedFunctions()
MeshRenderPipelineDescriptor_meshThreadgroupSizeIsMultipleOfThreadExecutionWidth ¶
MeshRenderPipelineDescriptor_meshThreadgroupSizeIsMultipleOfThreadExecutionWidth :: proc "c" (self: ^MeshRenderPipelineDescriptor) -> bool {…}
meshThreadgroupSizeIsMultipleOfThreadExecutionWidth := meshRenderPipelineDescriptor->meshThreadgroupSizeIsMultipleOfThreadExecutionWidth()
MeshRenderPipelineDescriptor_objectBuffers ¶
MeshRenderPipelineDescriptor_objectBuffers :: proc "c" (self: ^MeshRenderPipelineDescriptor) -> ^PipelineBufferDescriptorArray {…}
objectBuffers := meshRenderPipelineDescriptor->objectBuffers()
MeshRenderPipelineDescriptor_objectFunction ¶
MeshRenderPipelineDescriptor_objectFunction :: proc "c" (self: ^MeshRenderPipelineDescriptor) -> ^Function {…}
objectFunction := meshRenderPipelineDescriptor->objectFunction()
MeshRenderPipelineDescriptor_objectLinkedFunctions ¶
MeshRenderPipelineDescriptor_objectLinkedFunctions :: proc "c" (self: ^MeshRenderPipelineDescriptor) -> ^LinkedFunctions {…}
objectLinkedFunctions := meshRenderPipelineDescriptor->objectLinkedFunctions()
MeshRenderPipelineDescriptor_objectThreadgroupSizeIsMultipleOfThreadExecutionWidth ¶
MeshRenderPipelineDescriptor_objectThreadgroupSizeIsMultipleOfThreadExecutionWidth :: proc "c" (self: ^MeshRenderPipelineDescriptor) -> bool {…}
objectThreadgroupSizeIsMultipleOfThreadExecutionWidth := meshRenderPipelineDescriptor->objectThreadgroupSizeIsMultipleOfThreadExecutionWidth()
MeshRenderPipelineDescriptor_payloadMemoryLength ¶
MeshRenderPipelineDescriptor_payloadMemoryLength :: proc "c" (self: ^MeshRenderPipelineDescriptor) -> NS.UInteger {…}
payloadMemoryLength := meshRenderPipelineDescriptor->payloadMemoryLength()
MeshRenderPipelineDescriptor_rasterSampleCount ¶
MeshRenderPipelineDescriptor_rasterSampleCount :: proc "c" (self: ^MeshRenderPipelineDescriptor) -> NS.UInteger {…}
rasterSampleCount := meshRenderPipelineDescriptor->rasterSampleCount()
MeshRenderPipelineDescriptor_rasterizationEnabled ¶
MeshRenderPipelineDescriptor_rasterizationEnabled :: proc "c" (self: ^MeshRenderPipelineDescriptor) -> bool {…}
rasterizationEnabled := meshRenderPipelineDescriptor->rasterizationEnabled()
MeshRenderPipelineDescriptor_reset ¶
MeshRenderPipelineDescriptor_reset :: proc "c" (self: ^MeshRenderPipelineDescriptor) {…}
meshRenderPipelineDescriptor->reset()
MeshRenderPipelineDescriptor_setAlphaToCoverageEnabled ¶
MeshRenderPipelineDescriptor_setAlphaToCoverageEnabled :: proc "c" ( self: ^MeshRenderPipelineDescriptor, alphaToCoverageEnabled: bool, ) {…}
meshRenderPipelineDescriptor->setAlphaToCoverageEnabled(alphaToCoverageEnabled)
MeshRenderPipelineDescriptor_setAlphaToOneEnabled ¶
MeshRenderPipelineDescriptor_setAlphaToOneEnabled :: proc "c" ( self: ^MeshRenderPipelineDescriptor, alphaToOneEnabled: bool, ) {…}
meshRenderPipelineDescriptor->setAlphaToOneEnabled(alphaToOneEnabled)
MeshRenderPipelineDescriptor_setBinaryArchives ¶
MeshRenderPipelineDescriptor_setBinaryArchives :: proc "c" ( self: ^MeshRenderPipelineDescriptor, binaryArchives: ^NS.Array, ) {…}
meshRenderPipelineDescriptor->setBinaryArchives(binaryArchives)
MeshRenderPipelineDescriptor_setDepthAttachmentPixelFormat ¶
MeshRenderPipelineDescriptor_setDepthAttachmentPixelFormat :: proc "c" ( self: ^MeshRenderPipelineDescriptor, depthAttachmentPixelFormat: PixelFormat, ) {…}
meshRenderPipelineDescriptor->setDepthAttachmentPixelFormat(depthAttachmentPixelFormat)
MeshRenderPipelineDescriptor_setFragmentFunction ¶
MeshRenderPipelineDescriptor_setFragmentFunction :: proc "c" ( self: ^MeshRenderPipelineDescriptor, fragmentFunction: ^Function, ) {…}
meshRenderPipelineDescriptor->setFragmentFunction(fragmentFunction)
MeshRenderPipelineDescriptor_setFragmentLinkedFunctions ¶
MeshRenderPipelineDescriptor_setFragmentLinkedFunctions :: proc "c" ( self: ^MeshRenderPipelineDescriptor, fragmentLinkedFunctions: ^LinkedFunctions, ) {…}
meshRenderPipelineDescriptor->setFragmentLinkedFunctions(fragmentLinkedFunctions)
MeshRenderPipelineDescriptor_setMaxTotalThreadgroupsPerMeshGrid ¶
MeshRenderPipelineDescriptor_setMaxTotalThreadgroupsPerMeshGrid :: proc "c" ( self: ^MeshRenderPipelineDescriptor, maxTotalThreadgroupsPerMeshGrid: NS.UInteger, ) {…}
meshRenderPipelineDescriptor->setMaxTotalThreadgroupsPerMeshGrid(maxTotalThreadgroupsPerMeshGrid)
MeshRenderPipelineDescriptor_setMaxTotalThreadsPerMeshThreadgroup ¶
MeshRenderPipelineDescriptor_setMaxTotalThreadsPerMeshThreadgroup :: proc "c" ( self: ^MeshRenderPipelineDescriptor, maxTotalThreadsPerMeshThreadgroup: NS.UInteger, ) {…}
meshRenderPipelineDescriptor->setMaxTotalThreadsPerMeshThreadgroup(maxTotalThreadsPerMeshThreadgroup)
MeshRenderPipelineDescriptor_setMaxTotalThreadsPerObjectThreadgroup ¶
MeshRenderPipelineDescriptor_setMaxTotalThreadsPerObjectThreadgroup :: proc "c" ( self: ^MeshRenderPipelineDescriptor, maxTotalThreadsPerObjectThreadgroup: NS.UInteger, ) {…}
meshRenderPipelineDescriptor->setMaxTotalThreadsPerObjectThreadgroup(maxTotalThreadsPerObjectThreadgroup)
MeshRenderPipelineDescriptor_setMaxVertexAmplificationCount ¶
MeshRenderPipelineDescriptor_setMaxVertexAmplificationCount :: proc "c" ( self: ^MeshRenderPipelineDescriptor, maxVertexAmplificationCount: NS.UInteger, ) {…}
meshRenderPipelineDescriptor->setMaxVertexAmplificationCount(maxVertexAmplificationCount)
MeshRenderPipelineDescriptor_setMeshFunction ¶
MeshRenderPipelineDescriptor_setMeshFunction :: proc "c" ( self: ^MeshRenderPipelineDescriptor, meshFunction: ^Function, ) {…}
meshRenderPipelineDescriptor->setMeshFunction(meshFunction)
MeshRenderPipelineDescriptor_setMeshLinkedFunctions ¶
MeshRenderPipelineDescriptor_setMeshLinkedFunctions :: proc "c" ( self: ^MeshRenderPipelineDescriptor, meshLinkedFunctions: ^LinkedFunctions, ) {…}
meshRenderPipelineDescriptor->setMeshLinkedFunctions(meshLinkedFunctions)
MeshRenderPipelineDescriptor_setMeshThreadgroupSizeIsMultipleOfThreadExecutionWidth ¶
MeshRenderPipelineDescriptor_setMeshThreadgroupSizeIsMultipleOfThreadExecutionWidth :: proc "c" ( self: ^MeshRenderPipelineDescriptor, meshThreadgroupSizeIsMultipleOfThreadExecutionWidth: bool, ) {…}
meshRenderPipelineDescriptor->setMeshThreadgroupSizeIsMultipleOfThreadExecutionWidth(meshThreadgroupSizeIsMultipleOfThreadExecutionWidth)
MeshRenderPipelineDescriptor_setObjectFunction ¶
MeshRenderPipelineDescriptor_setObjectFunction :: proc "c" ( self: ^MeshRenderPipelineDescriptor, objectFunction: ^Function, ) {…}
meshRenderPipelineDescriptor->setObjectFunction(objectFunction)
MeshRenderPipelineDescriptor_setObjectLinkedFunctions ¶
MeshRenderPipelineDescriptor_setObjectLinkedFunctions :: proc "c" ( self: ^MeshRenderPipelineDescriptor, objectLinkedFunctions: ^LinkedFunctions, ) {…}
meshRenderPipelineDescriptor->setObjectLinkedFunctions(objectLinkedFunctions)
MeshRenderPipelineDescriptor_setObjectThreadgroupSizeIsMultipleOfThreadExecutionWidth ¶
MeshRenderPipelineDescriptor_setObjectThreadgroupSizeIsMultipleOfThreadExecutionWidth :: proc "c" ( self: ^MeshRenderPipelineDescriptor, objectThreadgroupSizeIsMultipleOfThreadExecutionWidth: bool, ) {…}
meshRenderPipelineDescriptor->setObjectThreadgroupSizeIsMultipleOfThreadExecutionWidth(objectThreadgroupSizeIsMultipleOfThreadExecutionWidth)
MeshRenderPipelineDescriptor_setPayloadMemoryLength ¶
MeshRenderPipelineDescriptor_setPayloadMemoryLength :: proc "c" ( self: ^MeshRenderPipelineDescriptor, payloadMemoryLength: NS.UInteger, ) {…}
meshRenderPipelineDescriptor->setPayloadMemoryLength(payloadMemoryLength)
MeshRenderPipelineDescriptor_setRasterSampleCount ¶
MeshRenderPipelineDescriptor_setRasterSampleCount :: proc "c" ( self: ^MeshRenderPipelineDescriptor, rasterSampleCount: NS.UInteger, ) {…}
meshRenderPipelineDescriptor->setRasterSampleCount(rasterSampleCount)
MeshRenderPipelineDescriptor_setRasterizationEnabled ¶
MeshRenderPipelineDescriptor_setRasterizationEnabled :: proc "c" ( self: ^MeshRenderPipelineDescriptor, rasterizationEnabled: bool, ) {…}
meshRenderPipelineDescriptor->setRasterizationEnabled(rasterizationEnabled)
MeshRenderPipelineDescriptor_setShaderValidation ¶
MeshRenderPipelineDescriptor_setShaderValidation :: proc "c" ( self: ^MeshRenderPipelineDescriptor, shaderValidation: ShaderValidation, ) {…}
meshRenderPipelineDescriptor->setShaderValidation(shaderValidation)
MeshRenderPipelineDescriptor_setStencilAttachmentPixelFormat ¶
MeshRenderPipelineDescriptor_setStencilAttachmentPixelFormat :: proc "c" ( self: ^MeshRenderPipelineDescriptor, stencilAttachmentPixelFormat: PixelFormat, ) {…}
meshRenderPipelineDescriptor->setStencilAttachmentPixelFormat(stencilAttachmentPixelFormat)
MeshRenderPipelineDescriptor_setSupportIndirectCommandBuffers ¶
MeshRenderPipelineDescriptor_setSupportIndirectCommandBuffers :: proc "c" ( self: ^MeshRenderPipelineDescriptor, supportIndirectCommandBuffers: bool, ) {…}
meshRenderPipelineDescriptor->setSupportIndirectCommandBuffers(supportIndirectCommandBuffers)
MeshRenderPipelineDescriptor_shaderValidation ¶
MeshRenderPipelineDescriptor_shaderValidation :: proc "c" (self: ^MeshRenderPipelineDescriptor) -> ShaderValidation {…}
shaderValidation := meshRenderPipelineDescriptor->shaderValidation()
MeshRenderPipelineDescriptor_stencilAttachmentPixelFormat ¶
MeshRenderPipelineDescriptor_stencilAttachmentPixelFormat :: proc "c" (self: ^MeshRenderPipelineDescriptor) -> PixelFormat {…}
stencilAttachmentPixelFormat := meshRenderPipelineDescriptor->stencilAttachmentPixelFormat()
MeshRenderPipelineDescriptor_supportIndirectCommandBuffers ¶
MeshRenderPipelineDescriptor_supportIndirectCommandBuffers :: proc "c" (self: ^MeshRenderPipelineDescriptor) -> bool {…}
supportIndirectCommandBuffers := meshRenderPipelineDescriptor->supportIndirectCommandBuffers()
MotionKeyframeData_alloc ¶ class method owned
MotionKeyframeData_alloc :: proc "c" () -> ^MotionKeyframeData {…}
motionKeyframeData := MotionKeyframeData.alloc()
MotionKeyframeData_buffer ¶ class method
MotionKeyframeData_buffer :: proc "c" (self: ^MotionKeyframeData) -> ^Buffer {…}
buffer := MotionKeyframeData.buffer(self)
MotionKeyframeData_data ¶ class method
MotionKeyframeData_data :: proc "c" () -> ^MotionKeyframeData {…}
motionKeyframeData := MotionKeyframeData.data()
MotionKeyframeData_init ¶ class method
MotionKeyframeData_init :: proc "c" (self: ^MotionKeyframeData) -> ^MotionKeyframeData {…}
motionKeyframeData := MotionKeyframeData.init(self)
MotionKeyframeData_offset ¶ class method
MotionKeyframeData_offset :: proc "c" (self: ^MotionKeyframeData) -> NS.UInteger {…}
uInteger := MotionKeyframeData.offset(self)
MotionKeyframeData_setBuffer ¶ class method
MotionKeyframeData_setBuffer :: proc "c" (self: ^MotionKeyframeData, buffer: ^Buffer) {…}
MotionKeyframeData.setBuffer(self, buffer)
MotionKeyframeData_setOffset ¶ class method
MotionKeyframeData_setOffset :: proc "c" (self: ^MotionKeyframeData, offset: NS.UInteger) {…}
MotionKeyframeData.setOffset(self, offset)
ObjectPayloadBinding_objectPayloadAlignment ¶
ObjectPayloadBinding_objectPayloadAlignment :: proc "c" (self: ^ObjectPayloadBinding) -> NS.UInteger {…}
objectPayloadAlignment := objectPayloadBinding->objectPayloadAlignment()
ObjectPayloadBinding_objectPayloadDataSize ¶
ObjectPayloadBinding_objectPayloadDataSize :: proc "c" (self: ^ObjectPayloadBinding) -> NS.UInteger {…}
objectPayloadDataSize := objectPayloadBinding->objectPayloadDataSize()
ParallelRenderCommandEncoder_renderCommandEncoder ¶
ParallelRenderCommandEncoder_renderCommandEncoder :: proc "c" (self: ^ParallelRenderCommandEncoder) -> ^RenderCommandEncoder {…}
renderCommandEncoder := parallelRenderCommandEncoder->renderCommandEncoder()
ParallelRenderCommandEncoder_setColorStoreAction ¶
ParallelRenderCommandEncoder_setColorStoreAction :: proc "c" ( self: ^ParallelRenderCommandEncoder, storeAction: StoreAction, colorAttachmentIndex: NS.UInteger, ) {…}
parallelRenderCommandEncoder->setColorStoreAction(storeAction, colorAttachmentIndex)
ParallelRenderCommandEncoder_setColorStoreActionOptions ¶
ParallelRenderCommandEncoder_setColorStoreActionOptions :: proc "c" ( self: ^ParallelRenderCommandEncoder, storeActionOptions: StoreActionOptions, colorAttachmentIndex: NS.UInteger, ) {…}
parallelRenderCommandEncoder->setColorStoreActionOptions(storeActionOptions, colorAttachmentIndex)
ParallelRenderCommandEncoder_setDepthStoreAction ¶
ParallelRenderCommandEncoder_setDepthStoreAction :: proc "c" ( self: ^ParallelRenderCommandEncoder, storeAction: StoreAction, ) {…}
parallelRenderCommandEncoder->setDepthStoreAction(storeAction)
ParallelRenderCommandEncoder_setDepthStoreActionOptions ¶
ParallelRenderCommandEncoder_setDepthStoreActionOptions :: proc "c" ( self: ^ParallelRenderCommandEncoder, storeActionOptions: StoreActionOptions, ) {…}
parallelRenderCommandEncoder->setDepthStoreActionOptions(storeActionOptions)
ParallelRenderCommandEncoder_setStencilStoreAction ¶
ParallelRenderCommandEncoder_setStencilStoreAction :: proc "c" ( self: ^ParallelRenderCommandEncoder, storeAction: StoreAction, ) {…}
parallelRenderCommandEncoder->setStencilStoreAction(storeAction)
ParallelRenderCommandEncoder_setStencilStoreActionOptions ¶
ParallelRenderCommandEncoder_setStencilStoreActionOptions :: proc "c" ( self: ^ParallelRenderCommandEncoder, storeActionOptions: StoreActionOptions, ) {…}
parallelRenderCommandEncoder->setStencilStoreActionOptions(storeActionOptions)
PipelineBufferDescriptorArray_alloc ¶ class method owned
PipelineBufferDescriptorArray_alloc :: proc "c" () -> ^PipelineBufferDescriptorArray {…}
pipelineBufferDescriptorArray := PipelineBufferDescriptorArray.alloc()
PipelineBufferDescriptorArray_init ¶
PipelineBufferDescriptorArray_init :: proc "c" (self: ^PipelineBufferDescriptorArray) -> ^PipelineBufferDescriptorArray {…}
res := pipelineBufferDescriptorArray->init()
PipelineBufferDescriptorArray_object ¶
PipelineBufferDescriptorArray_object :: proc "c" ( self: ^PipelineBufferDescriptorArray, bufferIndex: NS.UInteger, ) -> ^PipelineBufferDescriptor {…}
pipelineBufferDescriptor := pipelineBufferDescriptorArray->object(bufferIndex)
PipelineBufferDescriptorArray_setObject ¶
PipelineBufferDescriptorArray_setObject :: proc "c" ( self: ^PipelineBufferDescriptorArray, buffer: ^PipelineBufferDescriptor, bufferIndex: NS.UInteger, ) {…}
pipelineBufferDescriptorArray->setObject(buffer, bufferIndex)
PipelineBufferDescriptor_alloc ¶ class method owned
PipelineBufferDescriptor_alloc :: proc "c" () -> ^PipelineBufferDescriptor {…}
pipelineBufferDescriptor := PipelineBufferDescriptor.alloc()
PipelineBufferDescriptor_init ¶
PipelineBufferDescriptor_init :: proc "c" (self: ^PipelineBufferDescriptor) -> ^PipelineBufferDescriptor {…}
res := pipelineBufferDescriptor->init()
PipelineBufferDescriptor_mutability ¶
PipelineBufferDescriptor_mutability :: proc "c" (self: ^PipelineBufferDescriptor) -> Mutability {…}
mutability := pipelineBufferDescriptor->mutability()
PipelineBufferDescriptor_setMutability ¶
PipelineBufferDescriptor_setMutability :: proc "c" ( self: ^PipelineBufferDescriptor, mutability: Mutability, ) {…}
pipelineBufferDescriptor->setMutability(mutability)
PointerType_access ¶
PointerType_access :: proc "c" (self: ^PointerType) -> ArgumentAccess {…}
access := pointerType->access()
PointerType_alignment ¶
PointerType_alignment :: proc "c" (self: ^PointerType) -> NS.UInteger {…}
alignment := pointerType->alignment()
PointerType_alloc ¶ class method owned
PointerType_alloc :: proc "c" () -> ^PointerType {…}
pointerType := PointerType.alloc()
PointerType_dataSize ¶
PointerType_dataSize :: proc "c" (self: ^PointerType) -> NS.UInteger {…}
dataSize := pointerType->dataSize()
PointerType_elementArrayType ¶
PointerType_elementArrayType :: proc "c" (self: ^PointerType) -> ^ArrayType {…}
elementArrayType := pointerType->elementArrayType()
PointerType_elementIsArgumentBuffer ¶
PointerType_elementIsArgumentBuffer :: proc "c" (self: ^PointerType) -> bool {…}
elementIsArgumentBuffer := pointerType->elementIsArgumentBuffer()
PointerType_elementStructType ¶
PointerType_elementStructType :: proc "c" (self: ^PointerType) -> ^StructType {…}
elementStructType := pointerType->elementStructType()
PointerType_elementType ¶
PointerType_elementType :: proc "c" (self: ^PointerType) -> DataType {…}
elementType := pointerType->elementType()
PointerType_init ¶
PointerType_init :: proc "c" (self: ^PointerType) -> ^PointerType {…}
res := pointerType->init()
PrimitiveAccelerationStructureDescriptor_alloc ¶ class method owned
PrimitiveAccelerationStructureDescriptor_alloc :: proc "c" () -> ^PrimitiveAccelerationStructureDescriptor {…}
primitiveAccelerationStructureDescriptor := PrimitiveAccelerationStructureDescriptor.alloc()
PrimitiveAccelerationStructureDescriptor_descriptor ¶ class method
PrimitiveAccelerationStructureDescriptor_descriptor :: proc "c" () -> ^PrimitiveAccelerationStructureDescriptor {…}
primitiveAccelerationStructureDescriptor := PrimitiveAccelerationStructureDescriptor.descriptor()
PrimitiveAccelerationStructureDescriptor_geometryDescriptors ¶
PrimitiveAccelerationStructureDescriptor_geometryDescriptors :: proc "c" (self: ^PrimitiveAccelerationStructureDescriptor) -> ^NS.Array {…}
geometryDescriptors := primitiveAccelerationStructureDescriptor->geometryDescriptors()
PrimitiveAccelerationStructureDescriptor_init ¶
PrimitiveAccelerationStructureDescriptor_init :: proc "c" (self: ^PrimitiveAccelerationStructureDescriptor) -> ^PrimitiveAccelerationStructureDescriptor {…}
res := primitiveAccelerationStructureDescriptor->init()
PrimitiveAccelerationStructureDescriptor_motionEndBorderMode ¶
PrimitiveAccelerationStructureDescriptor_motionEndBorderMode :: proc "c" (self: ^PrimitiveAccelerationStructureDescriptor) -> MotionBorderMode {…}
motionEndBorderMode := primitiveAccelerationStructureDescriptor->motionEndBorderMode()
PrimitiveAccelerationStructureDescriptor_motionEndTime ¶
PrimitiveAccelerationStructureDescriptor_motionEndTime :: proc "c" (self: ^PrimitiveAccelerationStructureDescriptor) -> f32 {…}
motionEndTime := primitiveAccelerationStructureDescriptor->motionEndTime()
PrimitiveAccelerationStructureDescriptor_motionKeyframeCount ¶
PrimitiveAccelerationStructureDescriptor_motionKeyframeCount :: proc "c" (self: ^PrimitiveAccelerationStructureDescriptor) -> NS.UInteger {…}
motionKeyframeCount := primitiveAccelerationStructureDescriptor->motionKeyframeCount()
PrimitiveAccelerationStructureDescriptor_motionStartBorderMode ¶
PrimitiveAccelerationStructureDescriptor_motionStartBorderMode :: proc "c" (self: ^PrimitiveAccelerationStructureDescriptor) -> MotionBorderMode {…}
motionStartBorderMode := primitiveAccelerationStructureDescriptor->motionStartBorderMode()
PrimitiveAccelerationStructureDescriptor_motionStartTime ¶
PrimitiveAccelerationStructureDescriptor_motionStartTime :: proc "c" (self: ^PrimitiveAccelerationStructureDescriptor) -> f32 {…}
motionStartTime := primitiveAccelerationStructureDescriptor->motionStartTime()
PrimitiveAccelerationStructureDescriptor_setGeometryDescriptors ¶
PrimitiveAccelerationStructureDescriptor_setGeometryDescriptors :: proc "c" ( self: ^PrimitiveAccelerationStructureDescriptor, geometryDescriptors: ^NS.Array, ) {…}
primitiveAccelerationStructureDescriptor->setGeometryDescriptors(geometryDescriptors)
PrimitiveAccelerationStructureDescriptor_setMotionEndBorderMode ¶
PrimitiveAccelerationStructureDescriptor_setMotionEndBorderMode :: proc "c" ( self: ^PrimitiveAccelerationStructureDescriptor, motionEndBorderMode: MotionBorderMode, ) {…}
primitiveAccelerationStructureDescriptor->setMotionEndBorderMode(motionEndBorderMode)
PrimitiveAccelerationStructureDescriptor_setMotionEndTime ¶
PrimitiveAccelerationStructureDescriptor_setMotionEndTime :: proc "c" ( self: ^PrimitiveAccelerationStructureDescriptor, motionEndTime: f32, ) {…}
primitiveAccelerationStructureDescriptor->setMotionEndTime(motionEndTime)
PrimitiveAccelerationStructureDescriptor_setMotionKeyframeCount ¶
PrimitiveAccelerationStructureDescriptor_setMotionKeyframeCount :: proc "c" ( self: ^PrimitiveAccelerationStructureDescriptor, motionKeyframeCount: NS.UInteger, ) {…}
primitiveAccelerationStructureDescriptor->setMotionKeyframeCount(motionKeyframeCount)
PrimitiveAccelerationStructureDescriptor_setMotionStartBorderMode ¶
PrimitiveAccelerationStructureDescriptor_setMotionStartBorderMode :: proc "c" ( self: ^PrimitiveAccelerationStructureDescriptor, motionStartBorderMode: MotionBorderMode, ) {…}
primitiveAccelerationStructureDescriptor->setMotionStartBorderMode(motionStartBorderMode)
PrimitiveAccelerationStructureDescriptor_setMotionStartTime ¶
PrimitiveAccelerationStructureDescriptor_setMotionStartTime :: proc "c" ( self: ^PrimitiveAccelerationStructureDescriptor, motionStartTime: f32, ) {…}
primitiveAccelerationStructureDescriptor->setMotionStartTime(motionStartTime)
RasterizationRateLayerArray_alloc ¶ class method owned
RasterizationRateLayerArray_alloc :: proc "c" () -> ^RasterizationRateLayerArray {…}
rasterizationRateLayerArray := RasterizationRateLayerArray.alloc()
RasterizationRateLayerArray_init ¶
RasterizationRateLayerArray_init :: proc "c" (self: ^RasterizationRateLayerArray) -> ^RasterizationRateLayerArray {…}
res := rasterizationRateLayerArray->init()
RasterizationRateLayerArray_object ¶
RasterizationRateLayerArray_object :: proc "c" ( self: ^RasterizationRateLayerArray, layerIndex: NS.UInteger, ) -> ^RasterizationRateLayerDescriptor {…}
rasterizationRateLayerDescriptor := rasterizationRateLayerArray->object(layerIndex)
RasterizationRateLayerArray_setObject ¶
RasterizationRateLayerArray_setObject :: proc "c" ( self: ^RasterizationRateLayerArray, layer: ^RasterizationRateLayerDescriptor, layerIndex: NS.UInteger, ) {…}
rasterizationRateLayerArray->setObject(layer, layerIndex)
RasterizationRateLayerDescriptor_alloc ¶ class method owned
RasterizationRateLayerDescriptor_alloc :: proc "c" () -> ^RasterizationRateLayerDescriptor {…}
rasterizationRateLayerDescriptor := RasterizationRateLayerDescriptor.alloc()
RasterizationRateLayerDescriptor_horizontal ¶
RasterizationRateLayerDescriptor_horizontal :: proc "c" (self: ^RasterizationRateLayerDescriptor) -> ^RasterizationRateSampleArray {…}
horizontal := rasterizationRateLayerDescriptor->horizontal()
RasterizationRateLayerDescriptor_horizontalSampleStorage ¶
RasterizationRateLayerDescriptor_horizontalSampleStorage :: proc "c" (self: ^RasterizationRateLayerDescriptor) -> [^]f32 {…}
horizontalSampleStorage := rasterizationRateLayerDescriptor->horizontalSampleStorage()
RasterizationRateLayerDescriptor_init ¶
RasterizationRateLayerDescriptor_init :: proc "c" (self: ^RasterizationRateLayerDescriptor) -> ^RasterizationRateLayerDescriptor {…}
res := rasterizationRateLayerDescriptor->init()
RasterizationRateLayerDescriptor_initWithSampleCount ¶
RasterizationRateLayerDescriptor_initWithSampleCount :: proc "c" ( self: ^RasterizationRateLayerDescriptor, sampleCount: Size, ) -> ^RasterizationRateLayerDescriptor {…}
res := rasterizationRateLayerDescriptor->initWithSampleCount(sampleCount)
RasterizationRateLayerDescriptor_initWithSampleCountWithDimensions ¶
RasterizationRateLayerDescriptor_initWithSampleCountWithDimensions :: proc "c" ( self: ^RasterizationRateLayerDescriptor, sampleCount: Size, horizontal: []f32, vertical: []f32, ) -> ^RasterizationRateLayerDescriptor {…}
res := rasterizationRateLayerDescriptor->initWithSampleCountWithDimensions( sampleCount, horizontal, vertical, )
RasterizationRateLayerDescriptor_sampleCount ¶
RasterizationRateLayerDescriptor_sampleCount :: proc "c" (self: ^RasterizationRateLayerDescriptor) -> Size {…}
sampleCount := rasterizationRateLayerDescriptor->sampleCount()
RasterizationRateLayerDescriptor_vertical ¶
RasterizationRateLayerDescriptor_vertical :: proc "c" (self: ^RasterizationRateLayerDescriptor) -> ^RasterizationRateSampleArray {…}
vertical := rasterizationRateLayerDescriptor->vertical()
RasterizationRateLayerDescriptor_verticalSampleStorage ¶
RasterizationRateLayerDescriptor_verticalSampleStorage :: proc "c" (self: ^RasterizationRateLayerDescriptor) -> [^]f32 {…}
verticalSampleStorage := rasterizationRateLayerDescriptor->verticalSampleStorage()
RasterizationRateMapDescriptor_alloc ¶ class method owned
RasterizationRateMapDescriptor_alloc :: proc "c" () -> ^RasterizationRateMapDescriptor {…}
rasterizationRateMapDescriptor := RasterizationRateMapDescriptor.alloc()
RasterizationRateMapDescriptor_init ¶
RasterizationRateMapDescriptor_init :: proc "c" (self: ^RasterizationRateMapDescriptor) -> ^RasterizationRateMapDescriptor {…}
res := rasterizationRateMapDescriptor->init()
RasterizationRateMapDescriptor_label ¶
RasterizationRateMapDescriptor_label :: proc "c" (self: ^RasterizationRateMapDescriptor) -> ^NS.String {…}
label := rasterizationRateMapDescriptor->label()
RasterizationRateMapDescriptor_layer ¶
RasterizationRateMapDescriptor_layer :: proc "c" ( self: ^RasterizationRateMapDescriptor, layerIndex: NS.UInteger, ) -> ^RasterizationRateLayerDescriptor {…}
rasterizationRateLayerDescriptor := rasterizationRateMapDescriptor->layer(layerIndex)
RasterizationRateMapDescriptor_layerCount ¶
RasterizationRateMapDescriptor_layerCount :: proc "c" (self: ^RasterizationRateMapDescriptor) -> NS.UInteger {…}
layerCount := rasterizationRateMapDescriptor->layerCount()
RasterizationRateMapDescriptor_layers ¶
RasterizationRateMapDescriptor_layers :: proc "c" (self: ^RasterizationRateMapDescriptor) -> ^RasterizationRateLayerArray {…}
layers := rasterizationRateMapDescriptor->layers()
RasterizationRateMapDescriptor_rasterizationRateMapDescriptorWithScreenSize ¶ class method
RasterizationRateMapDescriptor_rasterizationRateMapDescriptorWithScreenSize :: proc "c" (screenSize: Size) -> ^RasterizationRateMapDescriptor {…}
rasterizationRateMapDescriptor := RasterizationRateMapDescriptor.rasterizationRateMapDescriptorWithScreenSize(screenSize)
RasterizationRateMapDescriptor_rasterizationRateMapDescriptorWithScreenSizeWithLayer ¶ class method
RasterizationRateMapDescriptor_rasterizationRateMapDescriptorWithScreenSizeWithLayer :: proc "c" ( screenSize: Size, layer: ^RasterizationRateLayerDescriptor, ) -> ^RasterizationRateMapDescriptor {…}
rasterizationRateMapDescriptor := RasterizationRateMapDescriptor.rasterizationRateMapDescriptorWithScreenSizeWithLayer( screenSize, layer, )
RasterizationRateMapDescriptor_rasterizationRateMapDescriptorWithScreenSizeWithLayers ¶ class method
RasterizationRateMapDescriptor_rasterizationRateMapDescriptorWithScreenSizeWithLayers :: proc "c" ( screenSize: Size, layers: []^RasterizationRateLayerDescriptor, ) -> ^RasterizationRateMapDescriptor {…}
rasterizationRateMapDescriptor := RasterizationRateMapDescriptor.rasterizationRateMapDescriptorWithScreenSizeWithLayers( screenSize, layers, )
RasterizationRateMapDescriptor_screenSize ¶
RasterizationRateMapDescriptor_screenSize :: proc "c" (self: ^RasterizationRateMapDescriptor) -> Size {…}
screenSize := rasterizationRateMapDescriptor->screenSize()
RasterizationRateMapDescriptor_setLabel ¶
RasterizationRateMapDescriptor_setLabel :: proc "c" ( self: ^RasterizationRateMapDescriptor, label: ^NS.String, ) {…}
rasterizationRateMapDescriptor->setLabel(label)
RasterizationRateMapDescriptor_setLayer ¶
RasterizationRateMapDescriptor_setLayer :: proc "c" ( self: ^RasterizationRateMapDescriptor, layer: ^RasterizationRateLayerDescriptor, layerIndex: NS.UInteger, ) {…}
rasterizationRateMapDescriptor->setLayer(layer, layerIndex)
RasterizationRateMapDescriptor_setScreenSize ¶
RasterizationRateMapDescriptor_setScreenSize :: proc "c" ( self: ^RasterizationRateMapDescriptor, screenSize: Size, ) {…}
rasterizationRateMapDescriptor->setScreenSize(screenSize)
RasterizationRateMap_copyParameterDataToBuffer ¶
RasterizationRateMap_copyParameterDataToBuffer :: proc "c" ( self: ^RasterizationRateMap, buffer: ^Buffer, offset: NS.UInteger, ) {…}
rasterizationRateMap->copyParameterDataToBuffer(buffer, offset)
RasterizationRateMap_device ¶
RasterizationRateMap_device :: proc "c" (self: ^RasterizationRateMap) -> ^Device {…}
device := rasterizationRateMap->device()
RasterizationRateMap_label ¶
RasterizationRateMap_label :: proc "c" (self: ^RasterizationRateMap) -> ^NS.String {…}
label := rasterizationRateMap->label()
RasterizationRateMap_layerCount ¶
RasterizationRateMap_layerCount :: proc "c" (self: ^RasterizationRateMap) -> NS.UInteger {…}
layerCount := rasterizationRateMap->layerCount()
RasterizationRateMap_mapPhysicalToScreenCoordinates ¶
RasterizationRateMap_mapPhysicalToScreenCoordinates :: proc "c" ( self: ^RasterizationRateMap, physicalCoordinates: Coordinate2D, layerIndex: NS.UInteger, ) -> Coordinate2D {…}
coordinate2D := rasterizationRateMap->mapPhysicalToScreenCoordinates( physicalCoordinates, layerIndex, )
RasterizationRateMap_mapScreenToPhysicalCoordinates ¶
RasterizationRateMap_mapScreenToPhysicalCoordinates :: proc "c" ( self: ^RasterizationRateMap, screenCoordinates: Coordinate2D, layerIndex: NS.UInteger, ) -> Coordinate2D {…}
coordinate2D := rasterizationRateMap->mapScreenToPhysicalCoordinates(screenCoordinates, layerIndex)
RasterizationRateMap_parameterBufferSizeAndAlign ¶
RasterizationRateMap_parameterBufferSizeAndAlign :: proc "c" (self: ^RasterizationRateMap) -> (size, align: NS.UInteger) {…}
size, align := rasterizationRateMap->parameterBufferSizeAndAlign()
RasterizationRateMap_physicalGranularity ¶
RasterizationRateMap_physicalGranularity :: proc "c" (self: ^RasterizationRateMap) -> Size {…}
physicalGranularity := rasterizationRateMap->physicalGranularity()
RasterizationRateMap_physicalSizeForLayer ¶
RasterizationRateMap_physicalSizeForLayer :: proc "c" ( self: ^RasterizationRateMap, layerIndex: NS.UInteger, ) -> Size {…}
size := rasterizationRateMap->physicalSizeForLayer(layerIndex)
RasterizationRateMap_screenSize ¶
RasterizationRateMap_screenSize :: proc "c" (self: ^RasterizationRateMap) -> Size {…}
screenSize := rasterizationRateMap->screenSize()
RasterizationRateSampleArray_alloc ¶ class method owned
RasterizationRateSampleArray_alloc :: proc "c" () -> ^RasterizationRateSampleArray {…}
rasterizationRateSampleArray := RasterizationRateSampleArray.alloc()
RasterizationRateSampleArray_init ¶
RasterizationRateSampleArray_init :: proc "c" (self: ^RasterizationRateSampleArray) -> ^RasterizationRateSampleArray {…}
res := rasterizationRateSampleArray->init()
RasterizationRateSampleArray_object ¶
RasterizationRateSampleArray_object :: proc "c" ( self: ^RasterizationRateSampleArray, index: NS.UInteger, ) -> ^NS.Number {…}
number := rasterizationRateSampleArray->object(index)
RasterizationRateSampleArray_setObject ¶
RasterizationRateSampleArray_setObject :: proc "c" ( self: ^RasterizationRateSampleArray, value: ^NS.Number, index: NS.UInteger, ) {…}
rasterizationRateSampleArray->setObject(value, index)
RemoveDeviceObserver ¶C · MTLRemoveDeviceObserverSource · MetalProcedures.odin:14
RemoveDeviceObserver :: proc "c" (observer: ^NS.Object) ---
RenderCommandEncoder_dispatchThreadsPerTile ¶
RenderCommandEncoder_dispatchThreadsPerTile :: proc "c" ( self: ^RenderCommandEncoder, threadsPerTile: Size, ) {…}
renderCommandEncoder->dispatchThreadsPerTile(threadsPerTile)
RenderCommandEncoder_drawIndexPatchesWithInstance ¶
RenderCommandEncoder_drawIndexPatchesWithInstance :: proc "c" ( self: ^RenderCommandEncoder, numberOfPatchControlPoints: NS.UInteger, patchStart, patchCount: NS.UInteger, patchIndexBuffer: ^Buffer, patchIndexBufferOffset: NS.UInteger, controlPointIndexBuffer: ^Buffer, controlPointIndexBufferOffset: NS.UInteger, instanceCount: NS.UInteger, baseInstance: NS.UInteger, ) {…}
renderCommandEncoder->drawIndexPatchesWithInstances( numberOfPatchControlPoints, patchStart, patchCount, patchIndexBuffer, patchIndexBufferOffset, controlPointIndexBuffer, controlPointIndexBufferOffset, instanceCount, baseInstance, )
RenderCommandEncoder_drawIndexPrimitivesWithBaseVertex ¶
RenderCommandEncoder_drawIndexPrimitivesWithBaseVertex :: proc "c" ( self: ^RenderCommandEncoder, primitiveType: PrimitiveType, indexCount: NS.UInteger, indexType: IndexType, indexBuffer: ^Buffer, indexBufferOffset: NS.UInteger, instanceCount: NS.UInteger, baseVertex: NS.Integer, baseInstance: NS.UInteger, ) {…}
renderCommandEncoder->drawIndexPrimitivesWithBaseVertex( primitiveType, indexCount, indexType, indexBuffer, indexBufferOffset, instanceCount, baseVertex, baseInstance, )
RenderCommandEncoder_drawIndexPrimitivesWithIndirect ¶
RenderCommandEncoder_drawIndexPrimitivesWithIndirect :: proc "c" ( self: ^RenderCommandEncoder, primitiveType: PrimitiveType, indexType: IndexType, indexBuffer: ^Buffer, indexBufferOffset: NS.UInteger, indirectBuffer: ^Buffer, indirectBufferOffset: NS.UInteger, ) {…}
renderCommandEncoder->drawIndexPrimitivesWithIndirect( primitiveType, indexType, indexBuffer, indexBufferOffset, indirectBuffer, indirectBufferOffset, )
RenderCommandEncoder_drawIndexedPatchesWihtIndirect ¶
RenderCommandEncoder_drawIndexedPatchesWihtIndirect :: proc "c" ( self: ^RenderCommandEncoder, numberOfPatchControlPoints: NS.UInteger, patchIndexBuffer: ^Buffer, patchIndexBufferOffset: NS.UInteger, controlPointIndexBuffer: ^Buffer, controlPointIndexBufferOffset: NS.UInteger, indirectBuffer: ^Buffer, indirectBufferOffset: NS.UInteger, ) {…}
renderCommandEncoder->drawIndexedPatchesWihtIndirect( numberOfPatchControlPoints, patchIndexBuffer, patchIndexBufferOffset, controlPointIndexBuffer, controlPointIndexBufferOffset, indirectBuffer, indirectBufferOffset, )
RenderCommandEncoder_drawIndexedPrimitives ¶
RenderCommandEncoder_drawIndexedPrimitives :: proc "c" ( self: ^RenderCommandEncoder, primitiveType: PrimitiveType, indexCount: NS.UInteger, indexType: IndexType, indexBuffer: ^Buffer, indexBufferOffset: NS.UInteger, ) {…}
renderCommandEncoder->drawIndexedPrimitives( primitiveType, indexCount, indexType, indexBuffer, indexBufferOffset, )
RenderCommandEncoder_drawIndexedPrimitivesWithInstanceCount ¶
RenderCommandEncoder_drawIndexedPrimitivesWithInstanceCount :: proc "c" ( self: ^RenderCommandEncoder, primitiveType: PrimitiveType, indexCount: NS.UInteger, indexType: IndexType, indexBuffer: ^Buffer, indexBufferOffset: NS.UInteger, instanceCount: NS.UInteger, ) {…}
renderCommandEncoder->drawIndexedPrimitivesWithInstanceCount( primitiveType, indexCount, indexType, indexBuffer, indexBufferOffset, instanceCount, )
RenderCommandEncoder_drawMeshThreadgroups ¶
RenderCommandEncoder_drawMeshThreadgroups :: proc "c" ( self: ^RenderCommandEncoder, threadgroupsPerGrid, threadPerObjectThreadgroup, threadsPerMeshThreadgroup: Size, ) {…}
renderCommandEncoder->drawMeshThreadgroups( threadgroupsPerGrid, threadPerObjectThreadgroup, threadsPerMeshThreadgroup, )
RenderCommandEncoder_drawMeshThreadgroupsWithIndirectBuffer ¶
RenderCommandEncoder_drawMeshThreadgroupsWithIndirectBuffer :: proc "c" ( self: ^RenderCommandEncoder, indirectBuffer: ^Buffer, indirectBufferOffset, threadPerObjectThreadgroup, threadsPerMeshThreadgroup: Size, ) {…}
renderCommandEncoder->drawMeshThreadgroupsWithIndirectBuffer( indirectBuffer, indirectBufferOffset, threadPerObjectThreadgroup, threadsPerMeshThreadgroup, )
RenderCommandEncoder_drawMeshThreads ¶
RenderCommandEncoder_drawMeshThreads :: proc "c" ( self: ^RenderCommandEncoder, threadsPerGrid, threadPerObjectThreadgroup, threadsPerMeshThreadgroup: Size, ) {…}
renderCommandEncoder->drawMeshThreads( threadsPerGrid, threadPerObjectThreadgroup, threadsPerMeshThreadgroup, )
RenderCommandEncoder_drawPatches ¶
RenderCommandEncoder_drawPatches :: proc "c" ( self: ^RenderCommandEncoder, numberOfPatchControlPoints: NS.UInteger, patchIndexBuffer: ^Buffer, patchIndexBufferOffset: NS.UInteger, indirectBuffer: ^Buffer, indirectBufferOffset: NS.UInteger, ) {…}
renderCommandEncoder->drawPatches( numberOfPatchControlPoints, patchIndexBuffer, patchIndexBufferOffset, indirectBuffer, indirectBufferOffset, )
RenderCommandEncoder_drawPatchesWithInstance ¶
RenderCommandEncoder_drawPatchesWithInstance :: proc "c" ( self: ^RenderCommandEncoder, numberOfPatchControlPoints: NS.UInteger, patchStart, patchCount: NS.UInteger, patchIndexBuffer: ^Buffer, patchIndexBufferOffset: NS.UInteger, instanceCount: NS.UInteger, baseInstance: NS.UInteger, ) {…}
renderCommandEncoder->drawPatchesWithInstances( numberOfPatchControlPoints, patchStart, patchCount, patchIndexBuffer, patchIndexBufferOffset, instanceCount, baseInstance, )
RenderCommandEncoder_drawPrimitives ¶
RenderCommandEncoder_drawPrimitives :: proc "c" ( self: ^RenderCommandEncoder, primitiveType: PrimitiveType, vertexStart: NS.UInteger, vertexCount: NS.UInteger, ) {…}
renderCommandEncoder->drawPrimitives(primitiveType, vertexStart, vertexCount)
RenderCommandEncoder_drawPrimitivesWithIndirect ¶
RenderCommandEncoder_drawPrimitivesWithIndirect :: proc "c" ( self: ^RenderCommandEncoder, primitiveType: PrimitiveType, indirectBuffer: ^Buffer, indirectBufferOffset: NS.UInteger, ) {…}
renderCommandEncoder->drawPrimitivesWithIndirect( primitiveType, indirectBuffer, indirectBufferOffset, )
RenderCommandEncoder_drawPrimitivesWithInstanceCount ¶
RenderCommandEncoder_drawPrimitivesWithInstanceCount :: proc "c" ( self: ^RenderCommandEncoder, primitiveType: PrimitiveType, vertexStart: NS.UInteger, vertexCount: NS.UInteger, instanceCount: NS.UInteger, ) {…}
renderCommandEncoder->drawPrimitivesWithInstanceCount( primitiveType, vertexStart, vertexCount, instanceCount, )
RenderCommandEncoder_drawPrimitivesWithInstances ¶
RenderCommandEncoder_drawPrimitivesWithInstances :: proc "c" ( self: ^RenderCommandEncoder, primitiveType: PrimitiveType, vertexStart: NS.UInteger, vertexCount: NS.UInteger, instanceCount: NS.UInteger, baseInstance: NS.UInteger, ) {…}
renderCommandEncoder->drawPrimitivesWithInstances( primitiveType, vertexStart, vertexCount, instanceCount, baseInstance, )
RenderCommandEncoder_executeCommandsInBuffer ¶
RenderCommandEncoder_executeCommandsInBuffer :: proc "c" ( self: ^RenderCommandEncoder, indirectCommandbuffer: ^Buffer, indirectRangeBuffer: ^Buffer, indirectBufferOffset: NS.UInteger, ) {…}
renderCommandEncoder->executeCommandsInBuffer( indirectCommandbuffer, indirectRangeBuffer, indirectBufferOffset, )
RenderCommandEncoder_executeCommandsInBufferWithRange ¶
RenderCommandEncoder_executeCommandsInBufferWithRange :: proc "c" ( self: ^RenderCommandEncoder, indirectCommandBuffer: ^Buffer, executionRange: NS.Range, ) {…}
renderCommandEncoder->executeCommandsInBufferWithRange(indirectCommandBuffer, executionRange)
RenderCommandEncoder_memoryBarrierWithResources ¶
RenderCommandEncoder_memoryBarrierWithResources :: proc "c" ( self: ^RenderCommandEncoder, resources: []^Resource, after: RenderStages, before: RenderStages, ) {…}
renderCommandEncoder->memoryBarrierWithResources(resources, after, before)
RenderCommandEncoder_memoryBarrierWithScope ¶
RenderCommandEncoder_memoryBarrierWithScope :: proc "c" ( self: ^RenderCommandEncoder, scope: BarrierScope, after: RenderStages, before: RenderStages, ) {…}
renderCommandEncoder->memoryBarrierWithScope(scope, after, before)
RenderCommandEncoder_sampleCountersInBuffer ¶
RenderCommandEncoder_sampleCountersInBuffer :: proc "c" ( self: ^RenderCommandEncoder, sampleBuffer: ^Buffer, sampleIndex: NS.UInteger, barrier: bool, ) {…}
renderCommandEncoder->sampleCountersInBuffer(sampleBuffer, sampleIndex, barrier)
RenderCommandEncoder_setBlendColorRed ¶
RenderCommandEncoder_setBlendColorRed :: proc "c" ( self: ^RenderCommandEncoder, red: f32, green: f32, blue: f32, alpha: f32, ) {…}
renderCommandEncoder->setBlendColorRed(red, green, blue, alpha)
RenderCommandEncoder_setColorStoreAction ¶
RenderCommandEncoder_setColorStoreAction :: proc "c" ( self: ^RenderCommandEncoder, storeAction: StoreAction, colorAttachmentIndex: NS.UInteger, ) {…}
renderCommandEncoder->setColorStoreAction(storeAction, colorAttachmentIndex)
RenderCommandEncoder_setColorStoreActionOptions ¶
RenderCommandEncoder_setColorStoreActionOptions :: proc "c" ( self: ^RenderCommandEncoder, storeActionOptions: StoreActionOptions, colorAttachmentIndex: NS.UInteger, ) {…}
renderCommandEncoder->setColorStoreActionOptions(storeActionOptions, colorAttachmentIndex)
RenderCommandEncoder_setCullMode ¶
RenderCommandEncoder_setCullMode :: proc "c" (self: ^RenderCommandEncoder, cullMode: CullMode) {…}
renderCommandEncoder->setCullMode(cullMode)
RenderCommandEncoder_setDepthBias ¶
RenderCommandEncoder_setDepthBias :: proc "c" ( self: ^RenderCommandEncoder, depthBias: f32, slopeScale: f32, clamp: f32, ) {…}
renderCommandEncoder->setDepthBias(depthBias, slopeScale, clamp)
RenderCommandEncoder_setDepthClipMode ¶
RenderCommandEncoder_setDepthClipMode :: proc "c" ( self: ^RenderCommandEncoder, depthClipMode: DepthClipMode, ) {…}
renderCommandEncoder->setDepthClipMode(depthClipMode)
RenderCommandEncoder_setDepthStencilState ¶
RenderCommandEncoder_setDepthStencilState :: proc "c" ( self: ^RenderCommandEncoder, depthStencilState: ^DepthStencilState, ) {…}
renderCommandEncoder->setDepthStencilState(depthStencilState)
RenderCommandEncoder_setDepthStoreAction ¶
RenderCommandEncoder_setDepthStoreAction :: proc "c" ( self: ^RenderCommandEncoder, storeAction: StoreAction, ) {…}
renderCommandEncoder->setDepthStoreAction(storeAction)
RenderCommandEncoder_setDepthStoreActionOptions ¶
RenderCommandEncoder_setDepthStoreActionOptions :: proc "c" ( self: ^RenderCommandEncoder, storeActionOptions: StoreActionOptions, ) {…}
renderCommandEncoder->setDepthStoreActionOptions(storeActionOptions)
RenderCommandEncoder_setFragmentBuffer ¶
RenderCommandEncoder_setFragmentBuffer :: proc "c" ( self: ^RenderCommandEncoder, buffer: ^Buffer, offset: NS.UInteger, index: NS.UInteger, ) {…}
renderCommandEncoder->setFragmentBuffer(buffer, offset, index)
RenderCommandEncoder_setFragmentBufferOffset ¶
RenderCommandEncoder_setFragmentBufferOffset :: proc "c" ( self: ^RenderCommandEncoder, offset: NS.UInteger, index: NS.UInteger, ) {…}
renderCommandEncoder->setFragmentBufferOffset(offset, index)
RenderCommandEncoder_setFragmentBuffers ¶
RenderCommandEncoder_setFragmentBuffers :: proc "c" ( self: ^RenderCommandEncoder, buffers: []^Buffer, offsets: []NS.UInteger, range: NS.Range, ) {…}
renderCommandEncoder->setFragmentBuffers(buffers, offsets, range)
RenderCommandEncoder_setFragmentBytes ¶
RenderCommandEncoder_setFragmentBytes :: proc "c" ( self: ^RenderCommandEncoder, bytes: []u8, index: NS.UInteger, ) {…}
renderCommandEncoder->setFragmentBytes(bytes, index)
RenderCommandEncoder_setFragmentSamplerState ¶
RenderCommandEncoder_setFragmentSamplerState :: proc "c" ( self: ^RenderCommandEncoder, sampler: ^SamplerState, index: NS.UInteger, ) {…}
renderCommandEncoder->setFragmentSamplerState(sampler, index)
RenderCommandEncoder_setFragmentSamplerStateWithLod ¶
RenderCommandEncoder_setFragmentSamplerStateWithLod :: proc "c" ( self: ^RenderCommandEncoder, sampler: ^SamplerState, lodMinClamp: f32, lodMaxClamp: f32, index: NS.UInteger, ) {…}
renderCommandEncoder->setFragmentSamplerStateWithLod(sampler, lodMinClamp, lodMaxClamp, index)
RenderCommandEncoder_setFragmentSamplerStatesWithLod ¶
RenderCommandEncoder_setFragmentSamplerStatesWithLod :: proc "c" ( self: ^RenderCommandEncoder, samplers: []^SamplerState, lodMinClamps, lodMaxClamps: []f32, range: NS.Range, ) {…}
renderCommandEncoder->setFragmentSamplerStatesWithLod(samplers, lodMinClamps, lodMaxClamps, range)
RenderCommandEncoder_setFragmentSamplerStatesWithRange ¶
RenderCommandEncoder_setFragmentSamplerStatesWithRange :: proc "c" ( self: ^RenderCommandEncoder, samplers: []^SamplerState, range: NS.Range, ) {…}
renderCommandEncoder->setFragmentSamplerStatesWithRange(samplers, range)
RenderCommandEncoder_setFragmentTexture ¶
RenderCommandEncoder_setFragmentTexture :: proc "c" ( self: ^RenderCommandEncoder, texture: ^Texture, index: NS.UInteger, ) {…}
renderCommandEncoder->setFragmentTexture(texture, index)
RenderCommandEncoder_setFragmentTextures ¶
RenderCommandEncoder_setFragmentTextures :: proc "c" ( self: ^RenderCommandEncoder, textures: []^Texture, range: NS.Range, ) {…}
renderCommandEncoder->setFragmentTextures(textures, range)
RenderCommandEncoder_setFrontFacingWinding ¶
RenderCommandEncoder_setFrontFacingWinding :: proc "c" ( self: ^RenderCommandEncoder, frontFacingWinding: Winding, ) {…}
renderCommandEncoder->setFrontFacingWinding(frontFacingWinding)
RenderCommandEncoder_setMeshBuffer ¶
RenderCommandEncoder_setMeshBuffer :: proc "c" ( self: ^RenderCommandEncoder, buffer: ^Buffer, offset: NS.UInteger, index: NS.UInteger, ) {…}
renderCommandEncoder->setMeshBuffer(buffer, offset, index)
RenderCommandEncoder_setMeshBufferOffset ¶
RenderCommandEncoder_setMeshBufferOffset :: proc "c" ( self: ^RenderCommandEncoder, offset: NS.UInteger, index: NS.UInteger, ) {…}
renderCommandEncoder->setMeshBufferOffset(offset, index)
RenderCommandEncoder_setMeshBuffers ¶
RenderCommandEncoder_setMeshBuffers :: proc "c" ( self: ^RenderCommandEncoder, buffers: [^]^Buffer, offsets: [^]NS.UInteger, range: NS.Range, ) {…}
renderCommandEncoder->setMeshBuffers(buffers, offsets, range)
RenderCommandEncoder_setMeshBytes ¶
RenderCommandEncoder_setMeshBytes :: proc "c" ( self: ^RenderCommandEncoder, bytes: rawptr, length: NS.UInteger, index: NS.UInteger, ) {…}
renderCommandEncoder->setMeshBytes(bytes, length, index)
RenderCommandEncoder_setMeshSamplerState ¶
RenderCommandEncoder_setMeshSamplerState :: proc "c" ( self: ^RenderCommandEncoder, sampler: ^SamplerState, index: NS.UInteger, ) {…}
renderCommandEncoder->setMeshSamplerState(sampler, index)
RenderCommandEncoder_setMeshSamplerStateWithLod ¶
RenderCommandEncoder_setMeshSamplerStateWithLod :: proc "c" ( self: ^RenderCommandEncoder, sampler: ^SamplerState, lodMinClamp: f32, lodMaxClamp: f32, index: NS.UInteger, ) {…}
renderCommandEncoder->setMeshSamplerStateWithLod(sampler, lodMinClamp, lodMaxClamp, index)
RenderCommandEncoder_setMeshSamplerStates ¶
RenderCommandEncoder_setMeshSamplerStates :: proc "c" ( self: ^RenderCommandEncoder, samplers: [^]^SamplerState, range: NS.Range, ) {…}
renderCommandEncoder->setMeshSamplerStates(samplers, range)
RenderCommandEncoder_setMeshSamplerStatesWithLod ¶
RenderCommandEncoder_setMeshSamplerStatesWithLod :: proc "c" ( self: ^RenderCommandEncoder, samplers: [^]^SamplerState, lodMinClamps, lodMaxClamps: [^]f32, range: NS.Range, ) {…}
renderCommandEncoder->setMeshSamplerStatesWithLod(samplers, lodMinClamps, lodMaxClamps, range)
RenderCommandEncoder_setMeshTexture ¶
RenderCommandEncoder_setMeshTexture :: proc "c" ( self: ^RenderCommandEncoder, texture: ^Texture, index: NS.UInteger, ) {…}
renderCommandEncoder->setMeshTexture(texture, index)
RenderCommandEncoder_setMeshTextures ¶
RenderCommandEncoder_setMeshTextures :: proc "c" ( self: ^RenderCommandEncoder, textures: [^]^Texture, range: NS.Range, ) {…}
renderCommandEncoder->setMeshTextures(textures, range)
RenderCommandEncoder_setObjectBuffer ¶
RenderCommandEncoder_setObjectBuffer :: proc "c" ( self: ^RenderCommandEncoder, buffer: ^Buffer, offset: NS.UInteger, index: NS.UInteger, ) {…}
renderCommandEncoder->setObjectBuffer(buffer, offset, index)
RenderCommandEncoder_setObjectBufferOffset ¶
RenderCommandEncoder_setObjectBufferOffset :: proc "c" ( self: ^RenderCommandEncoder, offset: NS.UInteger, index: NS.UInteger, ) {…}
renderCommandEncoder->setObjectBufferOffset(offset, index)
RenderCommandEncoder_setObjectBuffers ¶
RenderCommandEncoder_setObjectBuffers :: proc "c" ( self: ^RenderCommandEncoder, buffers: [^]^Buffer, offsets: [^]NS.UInteger, range: NS.Range, ) {…}
renderCommandEncoder->setObjectBuffers(buffers, offsets, range)
RenderCommandEncoder_setObjectBytes ¶
RenderCommandEncoder_setObjectBytes :: proc "c" ( self: ^RenderCommandEncoder, bytes: rawptr, length: NS.UInteger, index: NS.UInteger, ) {…}
renderCommandEncoder->setObjectBytes(bytes, length, index)
RenderCommandEncoder_setObjectSamplerState ¶
RenderCommandEncoder_setObjectSamplerState :: proc "c" ( self: ^RenderCommandEncoder, sampler: ^SamplerState, index: NS.UInteger, ) {…}
renderCommandEncoder->setObjectSamplerState(sampler, index)
RenderCommandEncoder_setObjectSamplerStateWithLod ¶
RenderCommandEncoder_setObjectSamplerStateWithLod :: proc "c" ( self: ^RenderCommandEncoder, sampler: ^SamplerState, lodMinClamp: f32, lodMaxClamp: f32, index: NS.UInteger, ) {…}
renderCommandEncoder->setObjectSamplerStateWithLod(sampler, lodMinClamp, lodMaxClamp, index)
RenderCommandEncoder_setObjectSamplerStates ¶
RenderCommandEncoder_setObjectSamplerStates :: proc "c" ( self: ^RenderCommandEncoder, samplers: [^]^SamplerState, range: NS.Range, ) {…}
renderCommandEncoder->setObjectSamplerStates(samplers, range)
RenderCommandEncoder_setObjectSamplerStatesWithLod ¶
RenderCommandEncoder_setObjectSamplerStatesWithLod :: proc "c" ( self: ^RenderCommandEncoder, samplers: [^]^SamplerState, lodMinClamps, lodMaxClamps: [^]f32, range: NS.Range, ) {…}
renderCommandEncoder->setObjectSamplerStatesWithLod(samplers, lodMinClamps, lodMaxClamps, range)
RenderCommandEncoder_setObjectTexture ¶
RenderCommandEncoder_setObjectTexture :: proc "c" ( self: ^RenderCommandEncoder, texture: ^Texture, index: NS.UInteger, ) {…}
renderCommandEncoder->setObjectTexture(texture, index)
RenderCommandEncoder_setObjectTextures ¶
RenderCommandEncoder_setObjectTextures :: proc "c" ( self: ^RenderCommandEncoder, textures: [^]^Texture, range: NS.Range, ) {…}
renderCommandEncoder->setObjectTextures(textures, range)
RenderCommandEncoder_setObjectThreadgroupMemoryLength ¶
RenderCommandEncoder_setObjectThreadgroupMemoryLength :: proc "c" ( self: ^RenderCommandEncoder, length: NS.UInteger, index: NS.UInteger, ) {…}
renderCommandEncoder->setObjectThreadgroupMemoryLength(length, index)
RenderCommandEncoder_setRenderPipelineState ¶
RenderCommandEncoder_setRenderPipelineState :: proc "c" ( self: ^RenderCommandEncoder, pipelineState: ^RenderPipelineState, ) {…}
renderCommandEncoder->setRenderPipelineState(pipelineState)
RenderCommandEncoder_setScissorRect ¶
RenderCommandEncoder_setScissorRect :: proc "c" ( self: ^RenderCommandEncoder, rect: ScissorRect, ) {…}
renderCommandEncoder->setScissorRect(rect)
RenderCommandEncoder_setScissorRects ¶
RenderCommandEncoder_setScissorRects :: proc "c" ( self: ^RenderCommandEncoder, scissorRects: []ScissorRect, ) {…}
renderCommandEncoder->setScissorRects(scissorRects)
RenderCommandEncoder_setStencilFrontReferenceValue ¶
RenderCommandEncoder_setStencilFrontReferenceValue :: proc "c" ( self: ^RenderCommandEncoder, frontReferenceValue: u32, backReferenceValue: u32, ) {…}
renderCommandEncoder->setStencilFrontReferenceValue(frontReferenceValue, backReferenceValue)
RenderCommandEncoder_setStencilReferenceValue ¶
RenderCommandEncoder_setStencilReferenceValue :: proc "c" ( self: ^RenderCommandEncoder, referenceValue: u32, ) {…}
renderCommandEncoder->setStencilReferenceValue(referenceValue)
RenderCommandEncoder_setStencilStoreAction ¶
RenderCommandEncoder_setStencilStoreAction :: proc "c" ( self: ^RenderCommandEncoder, storeAction: StoreAction, ) {…}
renderCommandEncoder->setStencilStoreAction(storeAction)
RenderCommandEncoder_setStencilStoreActionOptions ¶
RenderCommandEncoder_setStencilStoreActionOptions :: proc "c" ( self: ^RenderCommandEncoder, storeActionOptions: StoreActionOptions, ) {…}
renderCommandEncoder->setStencilStoreActionOptions(storeActionOptions)
RenderCommandEncoder_setTessellationFactorBuffer ¶
RenderCommandEncoder_setTessellationFactorBuffer :: proc "c" ( self: ^RenderCommandEncoder, buffer: ^Buffer, offset: NS.UInteger, instanceStride: NS.UInteger, ) {…}
renderCommandEncoder->setTessellationFactorBuffer(buffer, offset, instanceStride)
RenderCommandEncoder_setTessellationFactorScale ¶
RenderCommandEncoder_setTessellationFactorScale :: proc "c" ( self: ^RenderCommandEncoder, scale: f32, ) {…}
renderCommandEncoder->setTessellationFactorScale(scale)
RenderCommandEncoder_setThreadgroupMemoryLength ¶
RenderCommandEncoder_setThreadgroupMemoryLength :: proc "c" ( self: ^RenderCommandEncoder, length: NS.UInteger, offset: NS.UInteger, index: NS.UInteger, ) {…}
renderCommandEncoder->setThreadgroupMemoryLength(length, offset, index)
RenderCommandEncoder_setTileBuffer ¶
RenderCommandEncoder_setTileBuffer :: proc "c" ( self: ^RenderCommandEncoder, buffer: ^Buffer, offset: NS.UInteger, index: NS.UInteger, ) {…}
renderCommandEncoder->setTileBuffer(buffer, offset, index)
RenderCommandEncoder_setTileBufferOffset ¶
RenderCommandEncoder_setTileBufferOffset :: proc "c" ( self: ^RenderCommandEncoder, offset: NS.UInteger, index: NS.UInteger, ) {…}
renderCommandEncoder->setTileBufferOffset(offset, index)
RenderCommandEncoder_setTileBuffers ¶
RenderCommandEncoder_setTileBuffers :: proc "c" ( self: ^RenderCommandEncoder, buffers: []^Buffer, offsets: []NS.UInteger, range: NS.Range, ) {…}
renderCommandEncoder->setTileBuffers(buffers, offsets, range)
RenderCommandEncoder_setTileBytes ¶
RenderCommandEncoder_setTileBytes :: proc "c" ( self: ^RenderCommandEncoder, bytes: []u8, index: NS.UInteger, ) {…}
renderCommandEncoder->setTileBytes(bytes, index)
RenderCommandEncoder_setTileSamplerState ¶
RenderCommandEncoder_setTileSamplerState :: proc "c" ( self: ^RenderCommandEncoder, sampler: ^SamplerState, index: NS.UInteger, ) {…}
renderCommandEncoder->setTileSamplerState(sampler, index)
RenderCommandEncoder_setTileSamplerStateWithLod ¶
RenderCommandEncoder_setTileSamplerStateWithLod :: proc "c" ( self: ^RenderCommandEncoder, sampler: ^SamplerState, lodMinClamp: f32, lodMaxClamp: f32, index: NS.UInteger, ) {…}
renderCommandEncoder->setTileSamplerStateWithLod(sampler, lodMinClamp, lodMaxClamp, index)
RenderCommandEncoder_setTileSamplerStatesWithLod ¶
RenderCommandEncoder_setTileSamplerStatesWithLod :: proc "c" ( self: ^RenderCommandEncoder, samplers: []^SamplerState, lodMinClamps, lodMaxClamps: []f32, range: NS.Range, ) {…}
renderCommandEncoder->setTileSamplerStatesWithLod(samplers, lodMinClamps, lodMaxClamps, range)
RenderCommandEncoder_setTileSamplerStatesWithRange ¶
RenderCommandEncoder_setTileSamplerStatesWithRange :: proc "c" ( self: ^RenderCommandEncoder, samplers: []^SamplerState, range: NS.Range, ) {…}
renderCommandEncoder->setTileSamplerStatesWithRange(samplers, range)
RenderCommandEncoder_setTileTexture ¶
RenderCommandEncoder_setTileTexture :: proc "c" ( self: ^RenderCommandEncoder, texture: ^Texture, index: NS.UInteger, ) {…}
renderCommandEncoder->setTileTexture(texture, index)
RenderCommandEncoder_setTileTextures ¶
RenderCommandEncoder_setTileTextures :: proc "c" ( self: ^RenderCommandEncoder, textures: []^Texture, range: NS.Range, ) {…}
renderCommandEncoder->setTileTextures(textures, range)
RenderCommandEncoder_setTriangleFillMode ¶
RenderCommandEncoder_setTriangleFillMode :: proc "c" ( self: ^RenderCommandEncoder, fillMode: TriangleFillMode, ) {…}
renderCommandEncoder->setTriangleFillMode(fillMode)
RenderCommandEncoder_setVertexAmplificationCount ¶
RenderCommandEncoder_setVertexAmplificationCount :: proc "c" ( self: ^RenderCommandEncoder, viewMappings: []VertexAmplificationViewMapping, ) {…}
renderCommandEncoder->setVertexAmplificationCount(viewMappings)
RenderCommandEncoder_setVertexBuffer ¶
RenderCommandEncoder_setVertexBuffer :: proc "c" ( self: ^RenderCommandEncoder, buffer: ^Buffer, offset: NS.UInteger, index: NS.UInteger, ) {…}
renderCommandEncoder->setVertexBuffer(buffer, offset, index)
RenderCommandEncoder_setVertexBufferOffset ¶
RenderCommandEncoder_setVertexBufferOffset :: proc "c" ( self: ^RenderCommandEncoder, offset: NS.UInteger, index: NS.UInteger, ) {…}
renderCommandEncoder->setVertexBufferOffset(offset, index)
RenderCommandEncoder_setVertexBuffers ¶
RenderCommandEncoder_setVertexBuffers :: proc "c" ( self: ^RenderCommandEncoder, buffers: []^Buffer, offsets: []NS.UInteger, range: NS.Range, ) {…}
renderCommandEncoder->setVertexBuffers(buffers, offsets, range)
RenderCommandEncoder_setVertexBytes ¶
RenderCommandEncoder_setVertexBytes :: proc "c" ( self: ^RenderCommandEncoder, bytes: []u8, index: NS.UInteger, ) {…}
renderCommandEncoder->setVertexBytes(bytes, index)
RenderCommandEncoder_setVertexSamplerState ¶
RenderCommandEncoder_setVertexSamplerState :: proc "c" ( self: ^RenderCommandEncoder, sampler: ^SamplerState, index: NS.UInteger, ) {…}
renderCommandEncoder->setVertexSamplerState(sampler, index)
RenderCommandEncoder_setVertexSamplerStateWithLod ¶
RenderCommandEncoder_setVertexSamplerStateWithLod :: proc "c" ( self: ^RenderCommandEncoder, sampler: ^SamplerState, lodMinClamp: f32, lodMaxClamp: f32, index: NS.UInteger, ) {…}
renderCommandEncoder->setVertexSamplerStateWithLod(sampler, lodMinClamp, lodMaxClamp, index)
RenderCommandEncoder_setVertexSamplerStatesWithLod ¶
RenderCommandEncoder_setVertexSamplerStatesWithLod :: proc "c" ( self: ^RenderCommandEncoder, samplers: []^SamplerState, lodMinClamps, lodMaxClamps: []f32, range: NS.Range, ) {…}
renderCommandEncoder->setVertexSamplerStatesWithLod(samplers, lodMinClamps, lodMaxClamps, range)
RenderCommandEncoder_setVertexSamplerStatesWithRange ¶
RenderCommandEncoder_setVertexSamplerStatesWithRange :: proc "c" ( self: ^RenderCommandEncoder, samplers: []^SamplerState, range: NS.Range, ) {…}
renderCommandEncoder->setVertexSamplerStatesWithRange(samplers, range)
RenderCommandEncoder_setVertexTexture ¶
RenderCommandEncoder_setVertexTexture :: proc "c" ( self: ^RenderCommandEncoder, texture: ^Texture, index: NS.UInteger, ) {…}
renderCommandEncoder->setVertexTexture(texture, index)
RenderCommandEncoder_setVertexTextures ¶
RenderCommandEncoder_setVertexTextures :: proc "c" ( self: ^RenderCommandEncoder, textures: []^Texture, range: NS.Range, ) {…}
renderCommandEncoder->setVertexTextures(textures, range)
RenderCommandEncoder_setViewport ¶
RenderCommandEncoder_setViewport :: proc "c" (self: ^RenderCommandEncoder, viewport: Viewport) {…}
renderCommandEncoder->setViewport(viewport)
RenderCommandEncoder_setViewports ¶
RenderCommandEncoder_setViewports :: proc "c" ( self: ^RenderCommandEncoder, viewports: []Viewport, ) {…}
renderCommandEncoder->setViewports(viewports)
RenderCommandEncoder_setVisibilityResultMode ¶
RenderCommandEncoder_setVisibilityResultMode :: proc "c" ( self: ^RenderCommandEncoder, mode: VisibilityResultMode, offset: NS.UInteger, ) {…}
renderCommandEncoder->setVisibilityResultMode(mode, offset)
RenderCommandEncoder_textureBarrier ¶
RenderCommandEncoder_textureBarrier :: proc "c" (self: ^RenderCommandEncoder) {…}
renderCommandEncoder->textureBarrier()
RenderCommandEncoder_tileHeight ¶
RenderCommandEncoder_tileHeight :: proc "c" (self: ^RenderCommandEncoder) -> NS.UInteger {…}
tileHeight := renderCommandEncoder->tileHeight()
RenderCommandEncoder_tileWidth ¶
RenderCommandEncoder_tileWidth :: proc "c" (self: ^RenderCommandEncoder) -> NS.UInteger {…}
tileWidth := renderCommandEncoder->tileWidth()
RenderCommandEncoder_updateFence ¶
RenderCommandEncoder_updateFence :: proc "c" ( self: ^RenderCommandEncoder, fence: ^Fence, stages: RenderStages, ) {…}
renderCommandEncoder->updateFence(fence, stages)
RenderCommandEncoder_useHeap ¶
RenderCommandEncoder_useHeap :: proc "c" (self: ^RenderCommandEncoder, heap: ^Heap) {…}
renderCommandEncoder->useHeap(heap)
RenderCommandEncoder_useHeapWithStages ¶
RenderCommandEncoder_useHeapWithStages :: proc "c" ( self: ^RenderCommandEncoder, heap: ^Heap, stages: RenderStages, ) {…}
renderCommandEncoder->useHeapWithStages(heap, stages)
RenderCommandEncoder_useHeaps ¶
RenderCommandEncoder_useHeaps :: proc "c" (self: ^RenderCommandEncoder, heaps: []^Heap) {…}
renderCommandEncoder->useHeaps(heaps)
RenderCommandEncoder_useHeapsWithStages ¶
RenderCommandEncoder_useHeapsWithStages :: proc "c" ( self: ^RenderCommandEncoder, heaps: []^Heap, stages: RenderStages, ) {…}
renderCommandEncoder->useHeapsWithStages(heaps, stages)
RenderCommandEncoder_useResource ¶
RenderCommandEncoder_useResource :: proc "c" ( self: ^RenderCommandEncoder, resource: ^Resource, usage: ResourceUsage, ) {…}
renderCommandEncoder->useResource(resource, usage)
RenderCommandEncoder_useResourceWithStages ¶
RenderCommandEncoder_useResourceWithStages :: proc "c" ( self: ^RenderCommandEncoder, resource: ^Resource, usage: ResourceUsage, stages: RenderStages, ) {…}
renderCommandEncoder->useResourceWithStages(resource, usage, stages)
RenderCommandEncoder_useResources ¶
RenderCommandEncoder_useResources :: proc "c" ( self: ^RenderCommandEncoder, resources: []^Resource, usage: ResourceUsage, ) {…}
renderCommandEncoder->useResources(resources, usage)
RenderCommandEncoder_useResourcesStages ¶
RenderCommandEncoder_useResourcesStages :: proc "c" ( self: ^RenderCommandEncoder, resources: []^Resource, usage: ResourceUsage, stages: RenderStages, ) {…}
renderCommandEncoder->useResourcesStages(resources, usage, stages)
RenderCommandEncoder_waitForFence ¶
RenderCommandEncoder_waitForFence :: proc "c" ( self: ^RenderCommandEncoder, fence: ^Fence, stages: RenderStages, ) {…}
renderCommandEncoder->waitForFence(fence, stages)
RenderPassAttachmentDescriptor_alloc ¶ class method owned
RenderPassAttachmentDescriptor_alloc :: proc "c" () -> ^RenderPassAttachmentDescriptor {…}
renderPassAttachmentDescriptor := RenderPassAttachmentDescriptor.alloc()
RenderPassAttachmentDescriptor_depthPlane ¶
RenderPassAttachmentDescriptor_depthPlane :: proc "c" (self: ^RenderPassAttachmentDescriptor) -> NS.UInteger {…}
depthPlane := renderPassAttachmentDescriptor->depthPlane()
RenderPassAttachmentDescriptor_init ¶
RenderPassAttachmentDescriptor_init :: proc "c" (self: ^RenderPassAttachmentDescriptor) -> ^RenderPassAttachmentDescriptor {…}
res := renderPassAttachmentDescriptor->init()
RenderPassAttachmentDescriptor_level ¶
RenderPassAttachmentDescriptor_level :: proc "c" (self: ^RenderPassAttachmentDescriptor) -> NS.UInteger {…}
level := renderPassAttachmentDescriptor->level()
RenderPassAttachmentDescriptor_loadAction ¶
RenderPassAttachmentDescriptor_loadAction :: proc "c" (self: ^RenderPassAttachmentDescriptor) -> LoadAction {…}
loadAction := renderPassAttachmentDescriptor->loadAction()
RenderPassAttachmentDescriptor_resolveDepthPlane ¶
RenderPassAttachmentDescriptor_resolveDepthPlane :: proc "c" (self: ^RenderPassAttachmentDescriptor) -> NS.UInteger {…}
resolveDepthPlane := renderPassAttachmentDescriptor->resolveDepthPlane()
RenderPassAttachmentDescriptor_resolveLevel ¶
RenderPassAttachmentDescriptor_resolveLevel :: proc "c" (self: ^RenderPassAttachmentDescriptor) -> NS.UInteger {…}
resolveLevel := renderPassAttachmentDescriptor->resolveLevel()
RenderPassAttachmentDescriptor_resolveSlice ¶
RenderPassAttachmentDescriptor_resolveSlice :: proc "c" (self: ^RenderPassAttachmentDescriptor) -> NS.UInteger {…}
resolveSlice := renderPassAttachmentDescriptor->resolveSlice()
RenderPassAttachmentDescriptor_resolveTexture ¶
RenderPassAttachmentDescriptor_resolveTexture :: proc "c" (self: ^RenderPassAttachmentDescriptor) -> ^Texture {…}
resolveTexture := renderPassAttachmentDescriptor->resolveTexture()
RenderPassAttachmentDescriptor_setDepthPlane ¶
RenderPassAttachmentDescriptor_setDepthPlane :: proc "c" ( self: ^RenderPassAttachmentDescriptor, depthPlane: NS.UInteger, ) {…}
renderPassAttachmentDescriptor->setDepthPlane(depthPlane)
RenderPassAttachmentDescriptor_setLevel ¶
RenderPassAttachmentDescriptor_setLevel :: proc "c" ( self: ^RenderPassAttachmentDescriptor, level: NS.UInteger, ) {…}
renderPassAttachmentDescriptor->setLevel(level)
RenderPassAttachmentDescriptor_setLoadAction ¶
RenderPassAttachmentDescriptor_setLoadAction :: proc "c" ( self: ^RenderPassAttachmentDescriptor, loadAction: LoadAction, ) {…}
renderPassAttachmentDescriptor->setLoadAction(loadAction)
RenderPassAttachmentDescriptor_setResolveDepthPlane ¶
RenderPassAttachmentDescriptor_setResolveDepthPlane :: proc "c" ( self: ^RenderPassAttachmentDescriptor, resolveDepthPlane: NS.UInteger, ) {…}
renderPassAttachmentDescriptor->setResolveDepthPlane(resolveDepthPlane)
RenderPassAttachmentDescriptor_setResolveLevel ¶
RenderPassAttachmentDescriptor_setResolveLevel :: proc "c" ( self: ^RenderPassAttachmentDescriptor, resolveLevel: NS.UInteger, ) {…}
renderPassAttachmentDescriptor->setResolveLevel(resolveLevel)
RenderPassAttachmentDescriptor_setResolveSlice ¶
RenderPassAttachmentDescriptor_setResolveSlice :: proc "c" ( self: ^RenderPassAttachmentDescriptor, resolveSlice: NS.UInteger, ) {…}
renderPassAttachmentDescriptor->setResolveSlice(resolveSlice)
RenderPassAttachmentDescriptor_setResolveTexture ¶
RenderPassAttachmentDescriptor_setResolveTexture :: proc "c" ( self: ^RenderPassAttachmentDescriptor, resolveTexture: ^Texture, ) {…}
renderPassAttachmentDescriptor->setResolveTexture(resolveTexture)
RenderPassAttachmentDescriptor_setSlice ¶
RenderPassAttachmentDescriptor_setSlice :: proc "c" ( self: ^RenderPassAttachmentDescriptor, slice: NS.UInteger, ) {…}
renderPassAttachmentDescriptor->setSlice(slice)
RenderPassAttachmentDescriptor_setStoreAction ¶
RenderPassAttachmentDescriptor_setStoreAction :: proc "c" ( self: ^RenderPassAttachmentDescriptor, storeAction: StoreAction, ) {…}
renderPassAttachmentDescriptor->setStoreAction(storeAction)
RenderPassAttachmentDescriptor_setStoreActionOptions ¶
RenderPassAttachmentDescriptor_setStoreActionOptions :: proc "c" ( self: ^RenderPassAttachmentDescriptor, storeActionOptions: StoreActionOptions, ) {…}
renderPassAttachmentDescriptor->setStoreActionOptions(storeActionOptions)
RenderPassAttachmentDescriptor_setTexture ¶
RenderPassAttachmentDescriptor_setTexture :: proc "c" ( self: ^RenderPassAttachmentDescriptor, texture: ^Texture, ) {…}
renderPassAttachmentDescriptor->setTexture(texture)
RenderPassAttachmentDescriptor_slice ¶
RenderPassAttachmentDescriptor_slice :: proc "c" (self: ^RenderPassAttachmentDescriptor) -> NS.UInteger {…}
slice := renderPassAttachmentDescriptor->slice()
RenderPassAttachmentDescriptor_storeAction ¶
RenderPassAttachmentDescriptor_storeAction :: proc "c" (self: ^RenderPassAttachmentDescriptor) -> StoreAction {…}
storeAction := renderPassAttachmentDescriptor->storeAction()
RenderPassAttachmentDescriptor_storeActionOptions ¶
RenderPassAttachmentDescriptor_storeActionOptions :: proc "c" (self: ^RenderPassAttachmentDescriptor) -> StoreActionOptions {…}
storeActionOptions := renderPassAttachmentDescriptor->storeActionOptions()
RenderPassAttachmentDescriptor_texture ¶
RenderPassAttachmentDescriptor_texture :: proc "c" (self: ^RenderPassAttachmentDescriptor) -> ^Texture {…}
texture := renderPassAttachmentDescriptor->texture()
RenderPassColorAttachmentDescriptorArray_alloc ¶ class method owned
RenderPassColorAttachmentDescriptorArray_alloc :: proc "c" () -> ^RenderPassColorAttachmentDescriptorArray {…}
renderPassColorAttachmentDescriptorArray := RenderPassColorAttachmentDescriptorArray.alloc()
RenderPassColorAttachmentDescriptorArray_init ¶
RenderPassColorAttachmentDescriptorArray_init :: proc "c" (self: ^RenderPassColorAttachmentDescriptorArray) -> ^RenderPassColorAttachmentDescriptorArray {…}
res := renderPassColorAttachmentDescriptorArray->init()
RenderPassColorAttachmentDescriptorArray_object ¶
RenderPassColorAttachmentDescriptorArray_object :: proc "c" ( self: ^RenderPassColorAttachmentDescriptorArray, attachmentIndex: NS.UInteger, ) -> ^RenderPassColorAttachmentDescriptor {…}
renderPassColorAttachmentDescriptor := renderPassColorAttachmentDescriptorArray->object(attachmentIndex)
RenderPassColorAttachmentDescriptorArray_setObject ¶
RenderPassColorAttachmentDescriptorArray_setObject :: proc "c" ( self: ^RenderPassColorAttachmentDescriptorArray, attachment: ^RenderPassColorAttachmentDescriptor, attachmentIndex: NS.UInteger, ) {…}
renderPassColorAttachmentDescriptorArray->setObject(attachment, attachmentIndex)
RenderPassColorAttachmentDescriptor_alloc ¶ class method owned
RenderPassColorAttachmentDescriptor_alloc :: proc "c" () -> ^RenderPassColorAttachmentDescriptor {…}
renderPassColorAttachmentDescriptor := RenderPassColorAttachmentDescriptor.alloc()
RenderPassColorAttachmentDescriptor_clearColor ¶
RenderPassColorAttachmentDescriptor_clearColor :: proc "c" (self: ^RenderPassColorAttachmentDescriptor) -> ClearColor {…}
clearColor := renderPassColorAttachmentDescriptor->clearColor()
RenderPassColorAttachmentDescriptor_init ¶
RenderPassColorAttachmentDescriptor_init :: proc "c" (self: ^RenderPassColorAttachmentDescriptor) -> ^RenderPassColorAttachmentDescriptor {…}
res := renderPassColorAttachmentDescriptor->init()
RenderPassColorAttachmentDescriptor_setClearColor ¶
RenderPassColorAttachmentDescriptor_setClearColor :: proc "c" ( self: ^RenderPassColorAttachmentDescriptor, clearColor: ClearColor, ) {…}
renderPassColorAttachmentDescriptor->setClearColor(clearColor)
RenderPassDepthAttachmentDescriptor_alloc ¶ class method owned
RenderPassDepthAttachmentDescriptor_alloc :: proc "c" () -> ^RenderPassDepthAttachmentDescriptor {…}
renderPassDepthAttachmentDescriptor := RenderPassDepthAttachmentDescriptor.alloc()
RenderPassDepthAttachmentDescriptor_clearDepth ¶
RenderPassDepthAttachmentDescriptor_clearDepth :: proc "c" (self: ^RenderPassDepthAttachmentDescriptor) -> f64 {…}
clearDepth := renderPassDepthAttachmentDescriptor->clearDepth()
RenderPassDepthAttachmentDescriptor_depthResolveFilter ¶
RenderPassDepthAttachmentDescriptor_depthResolveFilter :: proc "c" (self: ^RenderPassDepthAttachmentDescriptor) -> MultisampleDepthResolveFilter {…}
depthResolveFilter := renderPassDepthAttachmentDescriptor->depthResolveFilter()
RenderPassDepthAttachmentDescriptor_init ¶
RenderPassDepthAttachmentDescriptor_init :: proc "c" (self: ^RenderPassDepthAttachmentDescriptor) -> ^RenderPassDepthAttachmentDescriptor {…}
res := renderPassDepthAttachmentDescriptor->init()
RenderPassDepthAttachmentDescriptor_setClearDepth ¶
RenderPassDepthAttachmentDescriptor_setClearDepth :: proc "c" ( self: ^RenderPassDepthAttachmentDescriptor, clearDepth: f64, ) {…}
renderPassDepthAttachmentDescriptor->setClearDepth(clearDepth)
RenderPassDepthAttachmentDescriptor_setDepthResolveFilter ¶
RenderPassDepthAttachmentDescriptor_setDepthResolveFilter :: proc "c" ( self: ^RenderPassDepthAttachmentDescriptor, depthResolveFilter: MultisampleDepthResolveFilter, ) {…}
renderPassDepthAttachmentDescriptor->setDepthResolveFilter(depthResolveFilter)
RenderPassDescriptor_alloc ¶ class method owned
RenderPassDescriptor_alloc :: proc "c" () -> ^RenderPassDescriptor {…}
renderPassDescriptor := RenderPassDescriptor.alloc()
RenderPassDescriptor_colorAttachments ¶
RenderPassDescriptor_colorAttachments :: proc "c" (self: ^RenderPassDescriptor) -> ^RenderPassColorAttachmentDescriptorArray {…}
colorAttachments := renderPassDescriptor->colorAttachments()
RenderPassDescriptor_defaultRasterSampleCount ¶
RenderPassDescriptor_defaultRasterSampleCount :: proc "c" (self: ^RenderPassDescriptor) -> NS.UInteger {…}
defaultRasterSampleCount := renderPassDescriptor->defaultRasterSampleCount()
RenderPassDescriptor_depthAttachment ¶
RenderPassDescriptor_depthAttachment :: proc "c" (self: ^RenderPassDescriptor) -> ^RenderPassDepthAttachmentDescriptor {…}
depthAttachment := renderPassDescriptor->depthAttachment()
RenderPassDescriptor_getSamplePositions ¶
RenderPassDescriptor_getSamplePositions :: proc "c" ( self: ^RenderPassDescriptor, positions: []SamplePosition, ) -> NS.UInteger {…}
uInteger := renderPassDescriptor->getSamplePositions(positions)
RenderPassDescriptor_imageblockSampleLength ¶
RenderPassDescriptor_imageblockSampleLength :: proc "c" (self: ^RenderPassDescriptor) -> NS.UInteger {…}
imageblockSampleLength := renderPassDescriptor->imageblockSampleLength()
RenderPassDescriptor_init ¶
RenderPassDescriptor_init :: proc "c" (self: ^RenderPassDescriptor) -> ^RenderPassDescriptor {…}
res := renderPassDescriptor->init()
RenderPassDescriptor_rasterizationRateMap ¶
RenderPassDescriptor_rasterizationRateMap :: proc "c" (self: ^RenderPassDescriptor) -> ^RasterizationRateMap {…}
rasterizationRateMap := renderPassDescriptor->rasterizationRateMap()
RenderPassDescriptor_renderPassDescriptor ¶ class method
RenderPassDescriptor_renderPassDescriptor :: proc "c" () -> ^RenderPassDescriptor {…}
renderPassDescriptor := RenderPassDescriptor.renderPassDescriptor()
RenderPassDescriptor_renderTargetArrayLength ¶
RenderPassDescriptor_renderTargetArrayLength :: proc "c" (self: ^RenderPassDescriptor) -> NS.UInteger {…}
renderTargetArrayLength := renderPassDescriptor->renderTargetArrayLength()
RenderPassDescriptor_renderTargetHeight ¶
RenderPassDescriptor_renderTargetHeight :: proc "c" (self: ^RenderPassDescriptor) -> NS.UInteger {…}
renderTargetHeight := renderPassDescriptor->renderTargetHeight()
RenderPassDescriptor_renderTargetWidth ¶
RenderPassDescriptor_renderTargetWidth :: proc "c" (self: ^RenderPassDescriptor) -> NS.UInteger {…}
renderTargetWidth := renderPassDescriptor->renderTargetWidth()
RenderPassDescriptor_sampleBufferAttachments ¶
RenderPassDescriptor_sampleBufferAttachments :: proc "c" (self: ^RenderPassDescriptor) -> ^RenderPassSampleBufferAttachmentDescriptorArray {…}
sampleBufferAttachments := renderPassDescriptor->sampleBufferAttachments()
RenderPassDescriptor_setDefaultRasterSampleCount ¶
RenderPassDescriptor_setDefaultRasterSampleCount :: proc "c" ( self: ^RenderPassDescriptor, defaultRasterSampleCount: NS.UInteger, ) {…}
renderPassDescriptor->setDefaultRasterSampleCount(defaultRasterSampleCount)
RenderPassDescriptor_setDepthAttachment ¶
RenderPassDescriptor_setDepthAttachment :: proc "c" ( self: ^RenderPassDescriptor, depthAttachment: ^RenderPassDepthAttachmentDescriptor, ) {…}
renderPassDescriptor->setDepthAttachment(depthAttachment)
RenderPassDescriptor_setImageblockSampleLength ¶
RenderPassDescriptor_setImageblockSampleLength :: proc "c" ( self: ^RenderPassDescriptor, imageblockSampleLength: NS.UInteger, ) {…}
renderPassDescriptor->setImageblockSampleLength(imageblockSampleLength)
RenderPassDescriptor_setRasterizationRateMap ¶
RenderPassDescriptor_setRasterizationRateMap :: proc "c" ( self: ^RenderPassDescriptor, rasterizationRateMap: ^RasterizationRateMap, ) {…}
renderPassDescriptor->setRasterizationRateMap(rasterizationRateMap)
RenderPassDescriptor_setRenderTargetArrayLength ¶
RenderPassDescriptor_setRenderTargetArrayLength :: proc "c" ( self: ^RenderPassDescriptor, renderTargetArrayLength: NS.UInteger, ) {…}
renderPassDescriptor->setRenderTargetArrayLength(renderTargetArrayLength)
RenderPassDescriptor_setRenderTargetHeight ¶
RenderPassDescriptor_setRenderTargetHeight :: proc "c" ( self: ^RenderPassDescriptor, renderTargetHeight: NS.UInteger, ) {…}
renderPassDescriptor->setRenderTargetHeight(renderTargetHeight)
RenderPassDescriptor_setRenderTargetWidth ¶
RenderPassDescriptor_setRenderTargetWidth :: proc "c" ( self: ^RenderPassDescriptor, renderTargetWidth: NS.UInteger, ) {…}
renderPassDescriptor->setRenderTargetWidth(renderTargetWidth)
RenderPassDescriptor_setSamplePositions ¶
RenderPassDescriptor_setSamplePositions :: proc "c" ( self: ^RenderPassDescriptor, positions: []SamplePosition, ) {…}
renderPassDescriptor->setSamplePositions(positions)
RenderPassDescriptor_setStencilAttachment ¶
RenderPassDescriptor_setStencilAttachment :: proc "c" ( self: ^RenderPassDescriptor, stencilAttachment: ^RenderPassStencilAttachmentDescriptor, ) {…}
renderPassDescriptor->setStencilAttachment(stencilAttachment)
RenderPassDescriptor_setThreadgroupMemoryLength ¶
RenderPassDescriptor_setThreadgroupMemoryLength :: proc "c" ( self: ^RenderPassDescriptor, threadgroupMemoryLength: NS.UInteger, ) {…}
renderPassDescriptor->setThreadgroupMemoryLength(threadgroupMemoryLength)
RenderPassDescriptor_setTileHeight ¶
RenderPassDescriptor_setTileHeight :: proc "c" ( self: ^RenderPassDescriptor, tileHeight: NS.UInteger, ) {…}
renderPassDescriptor->setTileHeight(tileHeight)
RenderPassDescriptor_setTileWidth ¶
RenderPassDescriptor_setTileWidth :: proc "c" ( self: ^RenderPassDescriptor, tileWidth: NS.UInteger, ) {…}
renderPassDescriptor->setTileWidth(tileWidth)
RenderPassDescriptor_setVisibilityResultBuffer ¶
RenderPassDescriptor_setVisibilityResultBuffer :: proc "c" ( self: ^RenderPassDescriptor, visibilityResultBuffer: ^Buffer, ) {…}
renderPassDescriptor->setVisibilityResultBuffer(visibilityResultBuffer)
RenderPassDescriptor_stencilAttachment ¶
RenderPassDescriptor_stencilAttachment :: proc "c" (self: ^RenderPassDescriptor) -> ^RenderPassStencilAttachmentDescriptor {…}
stencilAttachment := renderPassDescriptor->stencilAttachment()
RenderPassDescriptor_threadgroupMemoryLength ¶
RenderPassDescriptor_threadgroupMemoryLength :: proc "c" (self: ^RenderPassDescriptor) -> NS.UInteger {…}
threadgroupMemoryLength := renderPassDescriptor->threadgroupMemoryLength()
RenderPassDescriptor_tileHeight ¶
RenderPassDescriptor_tileHeight :: proc "c" (self: ^RenderPassDescriptor) -> NS.UInteger {…}
tileHeight := renderPassDescriptor->tileHeight()
RenderPassDescriptor_tileWidth ¶
RenderPassDescriptor_tileWidth :: proc "c" (self: ^RenderPassDescriptor) -> NS.UInteger {…}
tileWidth := renderPassDescriptor->tileWidth()
RenderPassDescriptor_visibilityResultBuffer ¶
RenderPassDescriptor_visibilityResultBuffer :: proc "c" (self: ^RenderPassDescriptor) -> ^Buffer {…}
visibilityResultBuffer := renderPassDescriptor->visibilityResultBuffer()
RenderPassSampleBufferAttachmentDescriptorArray_alloc ¶ class method owned
RenderPassSampleBufferAttachmentDescriptorArray_alloc :: proc "c" () -> ^RenderPassSampleBufferAttachmentDescriptorArray {…}
renderPassSampleBufferAttachmentDescriptorArray := RenderPassSampleBufferAttachmentDescriptorArray.alloc()
RenderPassSampleBufferAttachmentDescriptorArray_init ¶
RenderPassSampleBufferAttachmentDescriptorArray_init :: proc "c" (self: ^RenderPassSampleBufferAttachmentDescriptorArray) -> ^RenderPassSampleBufferAttachmentDescriptorArray {…}
res := renderPassSampleBufferAttachmentDescriptorArray->init()
RenderPassSampleBufferAttachmentDescriptorArray_object ¶
RenderPassSampleBufferAttachmentDescriptorArray_object :: proc "c" ( self: ^RenderPassSampleBufferAttachmentDescriptorArray, attachmentIndex: NS.UInteger, ) -> ^RenderPassSampleBufferAttachmentDescriptor {…}
renderPassSampleBufferAttachmentDescriptor := renderPassSampleBufferAttachmentDescriptorArray->object(attachmentIndex)
RenderPassSampleBufferAttachmentDescriptorArray_setObject ¶
RenderPassSampleBufferAttachmentDescriptorArray_setObject :: proc "c" ( self: ^RenderPassSampleBufferAttachmentDescriptorArray, attachment: ^RenderPassSampleBufferAttachmentDescriptor, attachmentIndex: NS.UInteger, ) {…}
renderPassSampleBufferAttachmentDescriptorArray->setObject(attachment, attachmentIndex)
RenderPassSampleBufferAttachmentDescriptor_alloc ¶ class method owned
RenderPassSampleBufferAttachmentDescriptor_alloc :: proc "c" () -> ^RenderPassSampleBufferAttachmentDescriptor {…}
renderPassSampleBufferAttachmentDescriptor := RenderPassSampleBufferAttachmentDescriptor.alloc()
RenderPassSampleBufferAttachmentDescriptor_endOfFragmentSampleIndex ¶
RenderPassSampleBufferAttachmentDescriptor_endOfFragmentSampleIndex :: proc "c" (self: ^RenderPassSampleBufferAttachmentDescriptor) -> NS.UInteger {…}
endOfFragmentSampleIndex := renderPassSampleBufferAttachmentDescriptor->endOfFragmentSampleIndex()
RenderPassSampleBufferAttachmentDescriptor_endOfVertexSampleIndex ¶
RenderPassSampleBufferAttachmentDescriptor_endOfVertexSampleIndex :: proc "c" (self: ^RenderPassSampleBufferAttachmentDescriptor) -> NS.UInteger {…}
endOfVertexSampleIndex := renderPassSampleBufferAttachmentDescriptor->endOfVertexSampleIndex()
RenderPassSampleBufferAttachmentDescriptor_init ¶
RenderPassSampleBufferAttachmentDescriptor_init :: proc "c" (self: ^RenderPassSampleBufferAttachmentDescriptor) -> ^RenderPassSampleBufferAttachmentDescriptor {…}
res := renderPassSampleBufferAttachmentDescriptor->init()
RenderPassSampleBufferAttachmentDescriptor_sampleBuffer ¶
RenderPassSampleBufferAttachmentDescriptor_sampleBuffer :: proc "c" (self: ^RenderPassSampleBufferAttachmentDescriptor) -> ^CounterSampleBuffer {…}
sampleBuffer := renderPassSampleBufferAttachmentDescriptor->sampleBuffer()
RenderPassSampleBufferAttachmentDescriptor_setEndOfFragmentSampleIndex ¶
RenderPassSampleBufferAttachmentDescriptor_setEndOfFragmentSampleIndex :: proc "c" ( self: ^RenderPassSampleBufferAttachmentDescriptor, endOfFragmentSampleIndex: NS.UInteger, ) {…}
renderPassSampleBufferAttachmentDescriptor->setEndOfFragmentSampleIndex(endOfFragmentSampleIndex)
RenderPassSampleBufferAttachmentDescriptor_setEndOfVertexSampleIndex ¶
RenderPassSampleBufferAttachmentDescriptor_setEndOfVertexSampleIndex :: proc "c" ( self: ^RenderPassSampleBufferAttachmentDescriptor, endOfVertexSampleIndex: NS.UInteger, ) {…}
renderPassSampleBufferAttachmentDescriptor->setEndOfVertexSampleIndex(endOfVertexSampleIndex)
RenderPassSampleBufferAttachmentDescriptor_setSampleBuffer ¶
RenderPassSampleBufferAttachmentDescriptor_setSampleBuffer :: proc "c" ( self: ^RenderPassSampleBufferAttachmentDescriptor, sampleBuffer: ^CounterSampleBuffer, ) {…}
renderPassSampleBufferAttachmentDescriptor->setSampleBuffer(sampleBuffer)
RenderPassSampleBufferAttachmentDescriptor_setStartOfFragmentSampleIndex ¶
RenderPassSampleBufferAttachmentDescriptor_setStartOfFragmentSampleIndex :: proc "c" ( self: ^RenderPassSampleBufferAttachmentDescriptor, startOfFragmentSampleIndex: NS.UInteger, ) {…}
renderPassSampleBufferAttachmentDescriptor->setStartOfFragmentSampleIndex(startOfFragmentSampleIndex)
RenderPassSampleBufferAttachmentDescriptor_setStartOfVertexSampleIndex ¶
RenderPassSampleBufferAttachmentDescriptor_setStartOfVertexSampleIndex :: proc "c" ( self: ^RenderPassSampleBufferAttachmentDescriptor, startOfVertexSampleIndex: NS.UInteger, ) {…}
renderPassSampleBufferAttachmentDescriptor->setStartOfVertexSampleIndex(startOfVertexSampleIndex)
RenderPassSampleBufferAttachmentDescriptor_startOfFragmentSampleIndex ¶
RenderPassSampleBufferAttachmentDescriptor_startOfFragmentSampleIndex :: proc "c" (self: ^RenderPassSampleBufferAttachmentDescriptor) -> NS.UInteger {…}
startOfFragmentSampleIndex := renderPassSampleBufferAttachmentDescriptor->startOfFragmentSampleIndex()
RenderPassSampleBufferAttachmentDescriptor_startOfVertexSampleIndex ¶
RenderPassSampleBufferAttachmentDescriptor_startOfVertexSampleIndex :: proc "c" (self: ^RenderPassSampleBufferAttachmentDescriptor) -> NS.UInteger {…}
startOfVertexSampleIndex := renderPassSampleBufferAttachmentDescriptor->startOfVertexSampleIndex()
RenderPassStencilAttachmentDescriptor_alloc ¶ class method owned
RenderPassStencilAttachmentDescriptor_alloc :: proc "c" () -> ^RenderPassStencilAttachmentDescriptor {…}
renderPassStencilAttachmentDescriptor := RenderPassStencilAttachmentDescriptor.alloc()
RenderPassStencilAttachmentDescriptor_clearStencil ¶
RenderPassStencilAttachmentDescriptor_clearStencil :: proc "c" (self: ^RenderPassStencilAttachmentDescriptor) -> u32 {…}
clearStencil := renderPassStencilAttachmentDescriptor->clearStencil()
RenderPassStencilAttachmentDescriptor_init ¶
RenderPassStencilAttachmentDescriptor_init :: proc "c" (self: ^RenderPassStencilAttachmentDescriptor) -> ^RenderPassStencilAttachmentDescriptor {…}
res := renderPassStencilAttachmentDescriptor->init()
RenderPassStencilAttachmentDescriptor_setClearStencil ¶
RenderPassStencilAttachmentDescriptor_setClearStencil :: proc "c" ( self: ^RenderPassStencilAttachmentDescriptor, clearStencil: u32, ) {…}
renderPassStencilAttachmentDescriptor->setClearStencil(clearStencil)
RenderPassStencilAttachmentDescriptor_setStencilResolveFilter ¶
RenderPassStencilAttachmentDescriptor_setStencilResolveFilter :: proc "c" ( self: ^RenderPassStencilAttachmentDescriptor, stencilResolveFilter: MultisampleStencilResolveFilter, ) {…}
renderPassStencilAttachmentDescriptor->setStencilResolveFilter(stencilResolveFilter)
RenderPassStencilAttachmentDescriptor_stencilResolveFilter ¶
RenderPassStencilAttachmentDescriptor_stencilResolveFilter :: proc "c" (self: ^RenderPassStencilAttachmentDescriptor) -> MultisampleStencilResolveFilter {…}
stencilResolveFilter := renderPassStencilAttachmentDescriptor->stencilResolveFilter()
RenderPipelineColorAttachmentDescriptorArray_alloc ¶ class method owned
RenderPipelineColorAttachmentDescriptorArray_alloc :: proc "c" () -> ^RenderPipelineColorAttachmentDescriptorArray {…}
renderPipelineColorAttachmentDescriptorArray := RenderPipelineColorAttachmentDescriptorArray.alloc()
RenderPipelineColorAttachmentDescriptorArray_init ¶
RenderPipelineColorAttachmentDescriptorArray_init :: proc "c" (self: ^RenderPipelineColorAttachmentDescriptorArray) -> ^RenderPipelineColorAttachmentDescriptorArray {…}
res := renderPipelineColorAttachmentDescriptorArray->init()
RenderPipelineColorAttachmentDescriptorArray_object ¶
RenderPipelineColorAttachmentDescriptorArray_object :: proc "c" ( self: ^RenderPipelineColorAttachmentDescriptorArray, attachmentIndex: NS.UInteger, ) -> ^RenderPipelineColorAttachmentDescriptor {…}
renderPipelineColorAttachmentDescriptor := renderPipelineColorAttachmentDescriptorArray->object(attachmentIndex)
RenderPipelineColorAttachmentDescriptorArray_setObject ¶
RenderPipelineColorAttachmentDescriptorArray_setObject :: proc "c" ( self: ^RenderPipelineColorAttachmentDescriptorArray, attachment: ^RenderPipelineColorAttachmentDescriptor, attachmentIndex: NS.UInteger, ) {…}
renderPipelineColorAttachmentDescriptorArray->setObject(attachment, attachmentIndex)
RenderPipelineColorAttachmentDescriptor_alloc ¶ class method owned
RenderPipelineColorAttachmentDescriptor_alloc :: proc "c" () -> ^RenderPipelineColorAttachmentDescriptor {…}
renderPipelineColorAttachmentDescriptor := RenderPipelineColorAttachmentDescriptor.alloc()
RenderPipelineColorAttachmentDescriptor_alphaBlendOperation ¶
RenderPipelineColorAttachmentDescriptor_alphaBlendOperation :: proc "c" (self: ^RenderPipelineColorAttachmentDescriptor) -> BlendOperation {…}
alphaBlendOperation := renderPipelineColorAttachmentDescriptor->alphaBlendOperation()
RenderPipelineColorAttachmentDescriptor_destinationAlphaBlendFactor ¶
RenderPipelineColorAttachmentDescriptor_destinationAlphaBlendFactor :: proc "c" (self: ^RenderPipelineColorAttachmentDescriptor) -> BlendFactor {…}
destinationAlphaBlendFactor := renderPipelineColorAttachmentDescriptor->destinationAlphaBlendFactor()
RenderPipelineColorAttachmentDescriptor_destinationRGBBlendFactor ¶
RenderPipelineColorAttachmentDescriptor_destinationRGBBlendFactor :: proc "c" (self: ^RenderPipelineColorAttachmentDescriptor) -> BlendFactor {…}
destinationRGBBlendFactor := renderPipelineColorAttachmentDescriptor->destinationRGBBlendFactor()
RenderPipelineColorAttachmentDescriptor_init ¶
RenderPipelineColorAttachmentDescriptor_init :: proc "c" (self: ^RenderPipelineColorAttachmentDescriptor) -> ^RenderPipelineColorAttachmentDescriptor {…}
res := renderPipelineColorAttachmentDescriptor->init()
RenderPipelineColorAttachmentDescriptor_isBlendingEnabled ¶
RenderPipelineColorAttachmentDescriptor_isBlendingEnabled :: proc "c" (self: ^RenderPipelineColorAttachmentDescriptor) -> bool {…}
isBlendingEnabled := renderPipelineColorAttachmentDescriptor->isBlendingEnabled()
RenderPipelineColorAttachmentDescriptor_pixelFormat ¶
RenderPipelineColorAttachmentDescriptor_pixelFormat :: proc "c" (self: ^RenderPipelineColorAttachmentDescriptor) -> PixelFormat {…}
pixelFormat := renderPipelineColorAttachmentDescriptor->pixelFormat()
RenderPipelineColorAttachmentDescriptor_rgbBlendOperation ¶
RenderPipelineColorAttachmentDescriptor_rgbBlendOperation :: proc "c" (self: ^RenderPipelineColorAttachmentDescriptor) -> BlendOperation {…}
rgbBlendOperation := renderPipelineColorAttachmentDescriptor->rgbBlendOperation()
RenderPipelineColorAttachmentDescriptor_setAlphaBlendOperation ¶
RenderPipelineColorAttachmentDescriptor_setAlphaBlendOperation :: proc "c" ( self: ^RenderPipelineColorAttachmentDescriptor, alphaBlendOperation: BlendOperation, ) {…}
renderPipelineColorAttachmentDescriptor->setAlphaBlendOperation(alphaBlendOperation)
RenderPipelineColorAttachmentDescriptor_setBlendingEnabled ¶
RenderPipelineColorAttachmentDescriptor_setBlendingEnabled :: proc "c" ( self: ^RenderPipelineColorAttachmentDescriptor, blendingEnabled: bool, ) {…}
renderPipelineColorAttachmentDescriptor->setBlendingEnabled(blendingEnabled)
RenderPipelineColorAttachmentDescriptor_setDestinationAlphaBlendFactor ¶
RenderPipelineColorAttachmentDescriptor_setDestinationAlphaBlendFactor :: proc "c" ( self: ^RenderPipelineColorAttachmentDescriptor, destinationAlphaBlendFactor: BlendFactor, ) {…}
renderPipelineColorAttachmentDescriptor->setDestinationAlphaBlendFactor(destinationAlphaBlendFactor)
RenderPipelineColorAttachmentDescriptor_setDestinationRGBBlendFactor ¶
RenderPipelineColorAttachmentDescriptor_setDestinationRGBBlendFactor :: proc "c" ( self: ^RenderPipelineColorAttachmentDescriptor, destinationRGBBlendFactor: BlendFactor, ) {…}
renderPipelineColorAttachmentDescriptor->setDestinationRGBBlendFactor(destinationRGBBlendFactor)
RenderPipelineColorAttachmentDescriptor_setPixelFormat ¶
RenderPipelineColorAttachmentDescriptor_setPixelFormat :: proc "c" ( self: ^RenderPipelineColorAttachmentDescriptor, pixelFormat: PixelFormat, ) {…}
renderPipelineColorAttachmentDescriptor->setPixelFormat(pixelFormat)
RenderPipelineColorAttachmentDescriptor_setRgbBlendOperation ¶
RenderPipelineColorAttachmentDescriptor_setRgbBlendOperation :: proc "c" ( self: ^RenderPipelineColorAttachmentDescriptor, rgbBlendOperation: BlendOperation, ) {…}
renderPipelineColorAttachmentDescriptor->setRgbBlendOperation(rgbBlendOperation)
RenderPipelineColorAttachmentDescriptor_setSourceAlphaBlendFactor ¶
RenderPipelineColorAttachmentDescriptor_setSourceAlphaBlendFactor :: proc "c" ( self: ^RenderPipelineColorAttachmentDescriptor, sourceAlphaBlendFactor: BlendFactor, ) {…}
renderPipelineColorAttachmentDescriptor->setSourceAlphaBlendFactor(sourceAlphaBlendFactor)
RenderPipelineColorAttachmentDescriptor_setSourceRGBBlendFactor ¶
RenderPipelineColorAttachmentDescriptor_setSourceRGBBlendFactor :: proc "c" ( self: ^RenderPipelineColorAttachmentDescriptor, sourceRGBBlendFactor: BlendFactor, ) {…}
renderPipelineColorAttachmentDescriptor->setSourceRGBBlendFactor(sourceRGBBlendFactor)
RenderPipelineColorAttachmentDescriptor_setWriteMask ¶
RenderPipelineColorAttachmentDescriptor_setWriteMask :: proc "c" ( self: ^RenderPipelineColorAttachmentDescriptor, writeMask: ColorWriteMask, ) {…}
renderPipelineColorAttachmentDescriptor->setWriteMask(writeMask)
RenderPipelineColorAttachmentDescriptor_sourceAlphaBlendFactor ¶
RenderPipelineColorAttachmentDescriptor_sourceAlphaBlendFactor :: proc "c" (self: ^RenderPipelineColorAttachmentDescriptor) -> BlendFactor {…}
sourceAlphaBlendFactor := renderPipelineColorAttachmentDescriptor->sourceAlphaBlendFactor()
RenderPipelineColorAttachmentDescriptor_sourceRGBBlendFactor ¶
RenderPipelineColorAttachmentDescriptor_sourceRGBBlendFactor :: proc "c" (self: ^RenderPipelineColorAttachmentDescriptor) -> BlendFactor {…}
sourceRGBBlendFactor := renderPipelineColorAttachmentDescriptor->sourceRGBBlendFactor()
RenderPipelineColorAttachmentDescriptor_writeMask ¶
RenderPipelineColorAttachmentDescriptor_writeMask :: proc "c" (self: ^RenderPipelineColorAttachmentDescriptor) -> ColorWriteMask {…}
writeMask := renderPipelineColorAttachmentDescriptor->writeMask()
RenderPipelineDescriptor_alloc ¶ class method owned
RenderPipelineDescriptor_alloc :: proc "c" () -> ^RenderPipelineDescriptor {…}
renderPipelineDescriptor := RenderPipelineDescriptor.alloc()
RenderPipelineDescriptor_alphaToCoverageEnabled ¶
RenderPipelineDescriptor_alphaToCoverageEnabled :: proc "c" (self: ^RenderPipelineDescriptor) -> bool {…}
alphaToCoverageEnabled := renderPipelineDescriptor->alphaToCoverageEnabled()
RenderPipelineDescriptor_alphaToOneEnabled ¶
RenderPipelineDescriptor_alphaToOneEnabled :: proc "c" (self: ^RenderPipelineDescriptor) -> bool {…}
alphaToOneEnabled := renderPipelineDescriptor->alphaToOneEnabled()
RenderPipelineDescriptor_binaryArchives ¶
RenderPipelineDescriptor_binaryArchives :: proc "c" (self: ^RenderPipelineDescriptor) -> ^NS.Array {…}
binaryArchives := renderPipelineDescriptor->binaryArchives()
RenderPipelineDescriptor_colorAttachments ¶
RenderPipelineDescriptor_colorAttachments :: proc "c" (self: ^RenderPipelineDescriptor) -> ^RenderPipelineColorAttachmentDescriptorArray {…}
colorAttachments := renderPipelineDescriptor->colorAttachments()
RenderPipelineDescriptor_depthAttachmentPixelFormat ¶
RenderPipelineDescriptor_depthAttachmentPixelFormat :: proc "c" (self: ^RenderPipelineDescriptor) -> PixelFormat {…}
depthAttachmentPixelFormat := renderPipelineDescriptor->depthAttachmentPixelFormat()
RenderPipelineDescriptor_fragmentBuffers ¶
RenderPipelineDescriptor_fragmentBuffers :: proc "c" (self: ^RenderPipelineDescriptor) -> ^PipelineBufferDescriptorArray {…}
fragmentBuffers := renderPipelineDescriptor->fragmentBuffers()
RenderPipelineDescriptor_fragmentFunction ¶
RenderPipelineDescriptor_fragmentFunction :: proc "c" (self: ^RenderPipelineDescriptor) -> ^Function {…}
fragmentFunction := renderPipelineDescriptor->fragmentFunction()
RenderPipelineDescriptor_fragmentLinkedFunctions ¶
RenderPipelineDescriptor_fragmentLinkedFunctions :: proc "c" (self: ^RenderPipelineDescriptor) -> ^LinkedFunctions {…}
fragmentLinkedFunctions := renderPipelineDescriptor->fragmentLinkedFunctions()
RenderPipelineDescriptor_init ¶
RenderPipelineDescriptor_init :: proc "c" (self: ^RenderPipelineDescriptor) -> ^RenderPipelineDescriptor {…}
res := renderPipelineDescriptor->init()
RenderPipelineDescriptor_inputPrimitiveTopology ¶
RenderPipelineDescriptor_inputPrimitiveTopology :: proc "c" (self: ^RenderPipelineDescriptor) -> PrimitiveTopologyClass {…}
inputPrimitiveTopology := renderPipelineDescriptor->inputPrimitiveTopology()
RenderPipelineDescriptor_isAlphaToCoverageEnabled ¶
RenderPipelineDescriptor_isAlphaToCoverageEnabled :: proc "c" (self: ^RenderPipelineDescriptor) -> bool {…}
isAlphaToCoverageEnabled := renderPipelineDescriptor->isAlphaToCoverageEnabled()
RenderPipelineDescriptor_isAlphaToOneEnabled ¶
RenderPipelineDescriptor_isAlphaToOneEnabled :: proc "c" (self: ^RenderPipelineDescriptor) -> bool {…}
isAlphaToOneEnabled := renderPipelineDescriptor->isAlphaToOneEnabled()
RenderPipelineDescriptor_isRasterizationEnabled ¶
RenderPipelineDescriptor_isRasterizationEnabled :: proc "c" (self: ^RenderPipelineDescriptor) -> bool {…}
isRasterizationEnabled := renderPipelineDescriptor->isRasterizationEnabled()
RenderPipelineDescriptor_isTessellationFactorScaleEnabled ¶
RenderPipelineDescriptor_isTessellationFactorScaleEnabled :: proc "c" (self: ^RenderPipelineDescriptor) -> bool {…}
isTessellationFactorScaleEnabled := renderPipelineDescriptor->isTessellationFactorScaleEnabled()
RenderPipelineDescriptor_label ¶
RenderPipelineDescriptor_label :: proc "c" (self: ^RenderPipelineDescriptor) -> ^NS.String {…}
label := renderPipelineDescriptor->label()
RenderPipelineDescriptor_maxTessellationFactor ¶
RenderPipelineDescriptor_maxTessellationFactor :: proc "c" (self: ^RenderPipelineDescriptor) -> NS.UInteger {…}
maxTessellationFactor := renderPipelineDescriptor->maxTessellationFactor()
RenderPipelineDescriptor_maxVertexAmplificationCount ¶
RenderPipelineDescriptor_maxVertexAmplificationCount :: proc "c" (self: ^RenderPipelineDescriptor) -> NS.UInteger {…}
maxVertexAmplificationCount := renderPipelineDescriptor->maxVertexAmplificationCount()
RenderPipelineDescriptor_rasterSampleCount ¶
RenderPipelineDescriptor_rasterSampleCount :: proc "c" (self: ^RenderPipelineDescriptor) -> NS.UInteger {…}
rasterSampleCount := renderPipelineDescriptor->rasterSampleCount()
RenderPipelineDescriptor_rasterizationEnabled ¶
RenderPipelineDescriptor_rasterizationEnabled :: proc "c" (self: ^RenderPipelineDescriptor) -> bool {…}
rasterizationEnabled := renderPipelineDescriptor->rasterizationEnabled()
RenderPipelineDescriptor_reset ¶
RenderPipelineDescriptor_reset :: proc "c" (self: ^RenderPipelineDescriptor) {…}
renderPipelineDescriptor->reset()
RenderPipelineDescriptor_sampleCount ¶
RenderPipelineDescriptor_sampleCount :: proc "c" (self: ^RenderPipelineDescriptor) -> NS.UInteger {…}
sampleCount := renderPipelineDescriptor->sampleCount()
RenderPipelineDescriptor_setAlphaToCoverageEnabled ¶
RenderPipelineDescriptor_setAlphaToCoverageEnabled :: proc "c" ( self: ^RenderPipelineDescriptor, alphaToCoverageEnabled: bool, ) {…}
renderPipelineDescriptor->setAlphaToCoverageEnabled(alphaToCoverageEnabled)
RenderPipelineDescriptor_setAlphaToOneEnabled ¶
RenderPipelineDescriptor_setAlphaToOneEnabled :: proc "c" ( self: ^RenderPipelineDescriptor, alphaToOneEnabled: bool, ) {…}
renderPipelineDescriptor->setAlphaToOneEnabled(alphaToOneEnabled)
RenderPipelineDescriptor_setBinaryArchives ¶
RenderPipelineDescriptor_setBinaryArchives :: proc "c" ( self: ^RenderPipelineDescriptor, binaryArchives: ^NS.Array, ) {…}
renderPipelineDescriptor->setBinaryArchives(binaryArchives)
RenderPipelineDescriptor_setDepthAttachmentPixelFormat ¶
RenderPipelineDescriptor_setDepthAttachmentPixelFormat :: proc "c" ( self: ^RenderPipelineDescriptor, depthAttachmentPixelFormat: PixelFormat, ) {…}
renderPipelineDescriptor->setDepthAttachmentPixelFormat(depthAttachmentPixelFormat)
RenderPipelineDescriptor_setFragmentFunction ¶
RenderPipelineDescriptor_setFragmentFunction :: proc "c" ( self: ^RenderPipelineDescriptor, fragmentFunction: ^Function, ) {…}
renderPipelineDescriptor->setFragmentFunction(fragmentFunction)
RenderPipelineDescriptor_setFragmentLinkedFunctions ¶
RenderPipelineDescriptor_setFragmentLinkedFunctions :: proc "c" ( self: ^RenderPipelineDescriptor, fragmentLinkedFunctions: ^LinkedFunctions, ) {…}
renderPipelineDescriptor->setFragmentLinkedFunctions(fragmentLinkedFunctions)
RenderPipelineDescriptor_setInputPrimitiveTopology ¶
RenderPipelineDescriptor_setInputPrimitiveTopology :: proc "c" ( self: ^RenderPipelineDescriptor, inputPrimitiveTopology: PrimitiveTopologyClass, ) {…}
renderPipelineDescriptor->setInputPrimitiveTopology(inputPrimitiveTopology)
RenderPipelineDescriptor_setLabel ¶
RenderPipelineDescriptor_setLabel :: proc "c" ( self: ^RenderPipelineDescriptor, label: ^NS.String, ) {…}
renderPipelineDescriptor->setLabel(label)
RenderPipelineDescriptor_setMaxTessellationFactor ¶
RenderPipelineDescriptor_setMaxTessellationFactor :: proc "c" ( self: ^RenderPipelineDescriptor, maxTessellationFactor: NS.UInteger, ) {…}
renderPipelineDescriptor->setMaxTessellationFactor(maxTessellationFactor)
RenderPipelineDescriptor_setMaxVertexAmplificationCount ¶
RenderPipelineDescriptor_setMaxVertexAmplificationCount :: proc "c" ( self: ^RenderPipelineDescriptor, maxVertexAmplificationCount: NS.UInteger, ) {…}
renderPipelineDescriptor->setMaxVertexAmplificationCount(maxVertexAmplificationCount)
RenderPipelineDescriptor_setRasterSampleCount ¶
RenderPipelineDescriptor_setRasterSampleCount :: proc "c" ( self: ^RenderPipelineDescriptor, rasterSampleCount: NS.UInteger, ) {…}
renderPipelineDescriptor->setRasterSampleCount(rasterSampleCount)
RenderPipelineDescriptor_setRasterizationEnabled ¶
RenderPipelineDescriptor_setRasterizationEnabled :: proc "c" ( self: ^RenderPipelineDescriptor, rasterizationEnabled: bool, ) {…}
renderPipelineDescriptor->setRasterizationEnabled(rasterizationEnabled)
RenderPipelineDescriptor_setSampleCount ¶
RenderPipelineDescriptor_setSampleCount :: proc "c" ( self: ^RenderPipelineDescriptor, sampleCount: NS.UInteger, ) {…}
renderPipelineDescriptor->setSampleCount(sampleCount)
RenderPipelineDescriptor_setShaderValidation ¶
RenderPipelineDescriptor_setShaderValidation :: proc "c" ( self: ^RenderPipelineDescriptor, shaderValidation: ShaderValidation, ) {…}
renderPipelineDescriptor->setShaderValidation(shaderValidation)
RenderPipelineDescriptor_setStencilAttachmentPixelFormat ¶
RenderPipelineDescriptor_setStencilAttachmentPixelFormat :: proc "c" ( self: ^RenderPipelineDescriptor, stencilAttachmentPixelFormat: PixelFormat, ) {…}
renderPipelineDescriptor->setStencilAttachmentPixelFormat(stencilAttachmentPixelFormat)
RenderPipelineDescriptor_setSupportIndirectCommandBuffers ¶
RenderPipelineDescriptor_setSupportIndirectCommandBuffers :: proc "c" ( self: ^RenderPipelineDescriptor, supportIndirectCommandBuffers: bool, ) {…}
renderPipelineDescriptor->setSupportIndirectCommandBuffers(supportIndirectCommandBuffers)
RenderPipelineDescriptor_setTessellationControlPointIndexType ¶
RenderPipelineDescriptor_setTessellationControlPointIndexType :: proc "c" ( self: ^RenderPipelineDescriptor, tessellationControlPointIndexType: TessellationControlPointIndexType, ) {…}
renderPipelineDescriptor->setTessellationControlPointIndexType(tessellationControlPointIndexType)
RenderPipelineDescriptor_setTessellationFactorFormat ¶
RenderPipelineDescriptor_setTessellationFactorFormat :: proc "c" ( self: ^RenderPipelineDescriptor, tessellationFactorFormat: TessellationFactorFormat, ) {…}
renderPipelineDescriptor->setTessellationFactorFormat(tessellationFactorFormat)
RenderPipelineDescriptor_setTessellationFactorScaleEnabled ¶
RenderPipelineDescriptor_setTessellationFactorScaleEnabled :: proc "c" ( self: ^RenderPipelineDescriptor, tessellationFactorScaleEnabled: bool, ) {…}
renderPipelineDescriptor->setTessellationFactorScaleEnabled(tessellationFactorScaleEnabled)
RenderPipelineDescriptor_setTessellationFactorStepFunction ¶
RenderPipelineDescriptor_setTessellationFactorStepFunction :: proc "c" ( self: ^RenderPipelineDescriptor, tessellationFactorStepFunction: TessellationFactorStepFunction, ) {…}
renderPipelineDescriptor->setTessellationFactorStepFunction(tessellationFactorStepFunction)
RenderPipelineDescriptor_setTessellationOutputWindingOrder ¶
RenderPipelineDescriptor_setTessellationOutputWindingOrder :: proc "c" ( self: ^RenderPipelineDescriptor, tessellationOutputWindingOrder: Winding, ) {…}
renderPipelineDescriptor->setTessellationOutputWindingOrder(tessellationOutputWindingOrder)
RenderPipelineDescriptor_setTessellationPartitionMode ¶
RenderPipelineDescriptor_setTessellationPartitionMode :: proc "c" ( self: ^RenderPipelineDescriptor, tessellationPartitionMode: TessellationPartitionMode, ) {…}
renderPipelineDescriptor->setTessellationPartitionMode(tessellationPartitionMode)
RenderPipelineDescriptor_setVertexDescriptor ¶
RenderPipelineDescriptor_setVertexDescriptor :: proc "c" ( self: ^RenderPipelineDescriptor, vertexDescriptor: ^VertexDescriptor, ) {…}
renderPipelineDescriptor->setVertexDescriptor(vertexDescriptor)
RenderPipelineDescriptor_setVertexFunction ¶
RenderPipelineDescriptor_setVertexFunction :: proc "c" ( self: ^RenderPipelineDescriptor, vertexFunction: ^Function, ) {…}
renderPipelineDescriptor->setVertexFunction(vertexFunction)
RenderPipelineDescriptor_setVertexLinkedFunctions ¶
RenderPipelineDescriptor_setVertexLinkedFunctions :: proc "c" ( self: ^RenderPipelineDescriptor, vertexLinkedFunctions: ^LinkedFunctions, ) {…}
renderPipelineDescriptor->setVertexLinkedFunctions(vertexLinkedFunctions)
RenderPipelineDescriptor_shaderValidation ¶
RenderPipelineDescriptor_shaderValidation :: proc "c" (self: ^RenderPipelineDescriptor) -> ShaderValidation {…}
shaderValidation := renderPipelineDescriptor->shaderValidation()
RenderPipelineDescriptor_stencilAttachmentPixelFormat ¶
RenderPipelineDescriptor_stencilAttachmentPixelFormat :: proc "c" (self: ^RenderPipelineDescriptor) -> PixelFormat {…}
stencilAttachmentPixelFormat := renderPipelineDescriptor->stencilAttachmentPixelFormat()
RenderPipelineDescriptor_supportIndirectCommandBuffers ¶
RenderPipelineDescriptor_supportIndirectCommandBuffers :: proc "c" (self: ^RenderPipelineDescriptor) -> bool {…}
supportIndirectCommandBuffers := renderPipelineDescriptor->supportIndirectCommandBuffers()
RenderPipelineDescriptor_tessellationControlPointIndexType ¶
RenderPipelineDescriptor_tessellationControlPointIndexType :: proc "c" (self: ^RenderPipelineDescriptor) -> TessellationControlPointIndexType {…}
tessellationControlPointIndexType := renderPipelineDescriptor->tessellationControlPointIndexType()
RenderPipelineDescriptor_tessellationFactorFormat ¶
RenderPipelineDescriptor_tessellationFactorFormat :: proc "c" (self: ^RenderPipelineDescriptor) -> TessellationFactorFormat {…}
tessellationFactorFormat := renderPipelineDescriptor->tessellationFactorFormat()
RenderPipelineDescriptor_tessellationFactorStepFunction ¶
RenderPipelineDescriptor_tessellationFactorStepFunction :: proc "c" (self: ^RenderPipelineDescriptor) -> TessellationFactorStepFunction {…}
tessellationFactorStepFunction := renderPipelineDescriptor->tessellationFactorStepFunction()
RenderPipelineDescriptor_tessellationOutputWindingOrder ¶
RenderPipelineDescriptor_tessellationOutputWindingOrder :: proc "c" (self: ^RenderPipelineDescriptor) -> Winding {…}
tessellationOutputWindingOrder := renderPipelineDescriptor->tessellationOutputWindingOrder()
RenderPipelineDescriptor_tessellationPartitionMode ¶
RenderPipelineDescriptor_tessellationPartitionMode :: proc "c" (self: ^RenderPipelineDescriptor) -> TessellationPartitionMode {…}
tessellationPartitionMode := renderPipelineDescriptor->tessellationPartitionMode()
RenderPipelineDescriptor_vertexBuffers ¶
RenderPipelineDescriptor_vertexBuffers :: proc "c" (self: ^RenderPipelineDescriptor) -> ^PipelineBufferDescriptorArray {…}
vertexBuffers := renderPipelineDescriptor->vertexBuffers()
RenderPipelineDescriptor_vertexDescriptor ¶
RenderPipelineDescriptor_vertexDescriptor :: proc "c" (self: ^RenderPipelineDescriptor) -> ^VertexDescriptor {…}
vertexDescriptor := renderPipelineDescriptor->vertexDescriptor()
RenderPipelineDescriptor_vertexFunction ¶
RenderPipelineDescriptor_vertexFunction :: proc "c" (self: ^RenderPipelineDescriptor) -> ^Function {…}
vertexFunction := renderPipelineDescriptor->vertexFunction()
RenderPipelineDescriptor_vertexLinkedFunctions ¶
RenderPipelineDescriptor_vertexLinkedFunctions :: proc "c" (self: ^RenderPipelineDescriptor) -> ^LinkedFunctions {…}
vertexLinkedFunctions := renderPipelineDescriptor->vertexLinkedFunctions()
RenderPipelineFunctionsDescriptor_alloc ¶ class method owned
RenderPipelineFunctionsDescriptor_alloc :: proc "c" () -> ^RenderPipelineFunctionsDescriptor {…}
renderPipelineFunctionsDescriptor := RenderPipelineFunctionsDescriptor.alloc()
RenderPipelineFunctionsDescriptor_fragmentAdditionalBinaryFunctions ¶
RenderPipelineFunctionsDescriptor_fragmentAdditionalBinaryFunctions :: proc "c" (self: ^RenderPipelineFunctionsDescriptor) -> ^NS.Array {…}
fragmentAdditionalBinaryFunctions := renderPipelineFunctionsDescriptor->fragmentAdditionalBinaryFunctions()
RenderPipelineFunctionsDescriptor_init ¶
RenderPipelineFunctionsDescriptor_init :: proc "c" (self: ^RenderPipelineFunctionsDescriptor) -> ^RenderPipelineFunctionsDescriptor {…}
res := renderPipelineFunctionsDescriptor->init()
RenderPipelineFunctionsDescriptor_setFragmentAdditionalBinaryFunctions ¶
RenderPipelineFunctionsDescriptor_setFragmentAdditionalBinaryFunctions :: proc "c" ( self: ^RenderPipelineFunctionsDescriptor, binaryFunctions: ^NS.Array, ) {…}
renderPipelineFunctionsDescriptor->setFragmentAdditionalBinaryFunctions(binaryFunctions)
RenderPipelineFunctionsDescriptor_setTileAdditionalBinaryFunctions ¶
RenderPipelineFunctionsDescriptor_setTileAdditionalBinaryFunctions :: proc "c" ( self: ^RenderPipelineFunctionsDescriptor, binaryFunctions: ^NS.Array, ) {…}
renderPipelineFunctionsDescriptor->setTileAdditionalBinaryFunctions(binaryFunctions)
RenderPipelineFunctionsDescriptor_setVertexAdditionalBinaryFunctions ¶
RenderPipelineFunctionsDescriptor_setVertexAdditionalBinaryFunctions :: proc "c" ( self: ^RenderPipelineFunctionsDescriptor, binaryFunctions: ^NS.Array, ) {…}
renderPipelineFunctionsDescriptor->setVertexAdditionalBinaryFunctions(binaryFunctions)
RenderPipelineFunctionsDescriptor_tileAdditionalBinaryFunctions ¶
RenderPipelineFunctionsDescriptor_tileAdditionalBinaryFunctions :: proc "c" (self: ^RenderPipelineFunctionsDescriptor) -> ^NS.Array {…}
tileAdditionalBinaryFunctions := renderPipelineFunctionsDescriptor->tileAdditionalBinaryFunctions()
RenderPipelineFunctionsDescriptor_vertexAdditionalBinaryFunctions ¶
RenderPipelineFunctionsDescriptor_vertexAdditionalBinaryFunctions :: proc "c" (self: ^RenderPipelineFunctionsDescriptor) -> ^NS.Array {…}
vertexAdditionalBinaryFunctions := renderPipelineFunctionsDescriptor->vertexAdditionalBinaryFunctions()
RenderPipelineReflection_alloc ¶ class method owned
RenderPipelineReflection_alloc :: proc "c" () -> ^RenderPipelineReflection {…}
renderPipelineReflection := RenderPipelineReflection.alloc()
RenderPipelineReflection_fragmentArguments ¶
RenderPipelineReflection_fragmentArguments :: proc "c" (self: ^RenderPipelineReflection) -> ^NS.Array {…}
fragmentArguments := renderPipelineReflection->fragmentArguments()
RenderPipelineReflection_fragmentBindings ¶
RenderPipelineReflection_fragmentBindings :: proc "c" (self: ^RenderPipelineReflection) -> ^NS.Array {…}
fragmentBindings := renderPipelineReflection->fragmentBindings()
RenderPipelineReflection_init ¶
RenderPipelineReflection_init :: proc "c" (self: ^RenderPipelineReflection) -> ^RenderPipelineReflection {…}
res := renderPipelineReflection->init()
RenderPipelineReflection_meshBindings ¶
RenderPipelineReflection_meshBindings :: proc "c" (self: ^RenderPipelineReflection) -> ^NS.Array {…}
meshBindings := renderPipelineReflection->meshBindings()
RenderPipelineReflection_objectBindings ¶
RenderPipelineReflection_objectBindings :: proc "c" (self: ^RenderPipelineReflection) -> ^NS.Array {…}
objectBindings := renderPipelineReflection->objectBindings()
RenderPipelineReflection_tileArguments ¶
RenderPipelineReflection_tileArguments :: proc "c" (self: ^RenderPipelineReflection) -> ^NS.Array {…}
tileArguments := renderPipelineReflection->tileArguments()
RenderPipelineReflection_tileBindings ¶
RenderPipelineReflection_tileBindings :: proc "c" (self: ^RenderPipelineReflection) -> ^NS.Array {…}
tileBindings := renderPipelineReflection->tileBindings()
RenderPipelineReflection_vertexArguments ¶
RenderPipelineReflection_vertexArguments :: proc "c" (self: ^RenderPipelineReflection) -> ^NS.Array {…}
vertexArguments := renderPipelineReflection->vertexArguments()
RenderPipelineReflection_vertexBindings ¶
RenderPipelineReflection_vertexBindings :: proc "c" (self: ^RenderPipelineReflection) -> ^NS.Array {…}
vertexBindings := renderPipelineReflection->vertexBindings()
RenderPipelineState_device ¶
RenderPipelineState_device :: proc "c" (self: ^RenderPipelineState) -> ^Device {…}
device := renderPipelineState->device()
RenderPipelineState_functionHandle ¶
RenderPipelineState_functionHandle :: proc "c" ( self: ^RenderPipelineState, function: ^Function, stage: RenderStages, ) -> ^FunctionHandle {…}
functionHandle := renderPipelineState->functionHandle(function, stage)
RenderPipelineState_gpuResourceID ¶
RenderPipelineState_gpuResourceID :: proc "c" (self: ^RenderPipelineState) -> ResourceID {…}
gpuResourceID := renderPipelineState->gpuResourceID()
RenderPipelineState_imageblockMemoryLengthForDimensions ¶
RenderPipelineState_imageblockMemoryLengthForDimensions :: proc "c" ( self: ^RenderPipelineState, imageblockDimensions: Size, ) -> NS.UInteger {…}
uInteger := renderPipelineState->imageblockMemoryLengthForDimensions(imageblockDimensions)
RenderPipelineState_imageblockSampleLength ¶
RenderPipelineState_imageblockSampleLength :: proc "c" (self: ^RenderPipelineState) -> NS.UInteger {…}
imageblockSampleLength := renderPipelineState->imageblockSampleLength()
RenderPipelineState_label ¶
RenderPipelineState_label :: proc "c" (self: ^RenderPipelineState) -> ^NS.String {…}
label := renderPipelineState->label()
RenderPipelineState_maxTotalThreadgroupsPerMeshGrid ¶
RenderPipelineState_maxTotalThreadgroupsPerMeshGrid :: proc "c" (self: ^RenderPipelineState) -> NS.UInteger {…}
maxTotalThreadgroupsPerMeshGrid := renderPipelineState->maxTotalThreadgroupsPerMeshGrid()
RenderPipelineState_maxTotalThreadsPerMeshThreadgroup ¶
RenderPipelineState_maxTotalThreadsPerMeshThreadgroup :: proc "c" (self: ^RenderPipelineState) -> NS.UInteger {…}
maxTotalThreadsPerMeshThreadgroup := renderPipelineState->maxTotalThreadsPerMeshThreadgroup()
RenderPipelineState_maxTotalThreadsPerObjectThreadgroup ¶
RenderPipelineState_maxTotalThreadsPerObjectThreadgroup :: proc "c" (self: ^RenderPipelineState) -> NS.UInteger {…}
maxTotalThreadsPerObjectThreadgroup := renderPipelineState->maxTotalThreadsPerObjectThreadgroup()
RenderPipelineState_maxTotalThreadsPerThreadgroup ¶
RenderPipelineState_maxTotalThreadsPerThreadgroup :: proc "c" (self: ^RenderPipelineState) -> NS.UInteger {…}
maxTotalThreadsPerThreadgroup := renderPipelineState->maxTotalThreadsPerThreadgroup()
RenderPipelineState_meshThreadExecutionWidth ¶
RenderPipelineState_meshThreadExecutionWidth :: proc "c" (self: ^RenderPipelineState) -> NS.UInteger {…}
meshThreadExecutionWidth := renderPipelineState->meshThreadExecutionWidth()
RenderPipelineState_newIntersectionFunctionTable ¶ owned
RenderPipelineState_newIntersectionFunctionTable :: proc "c" ( self: ^RenderPipelineState, descriptor: ^IntersectionFunctionTableDescriptor, stage: RenderStages, ) -> ^IntersectionFunctionTable {…}
intersectionFunctionTable := renderPipelineState->newIntersectionFunctionTable(descriptor, stage)
RenderPipelineState_newRenderPipelineState ¶
RenderPipelineState_newRenderPipelineState :: proc "contextless" ( self: ^RenderPipelineState, additionalBinaryFunctions: ^RenderPipelineFunctionsDescriptor, ) -> (state: ^RenderPipelineState, error: ^NS.Error) {…}
state, error := renderPipelineState->newRenderPipelineState(additionalBinaryFunctions)
RenderPipelineState_newVisibleFunctionTable ¶ owned
RenderPipelineState_newVisibleFunctionTable :: proc "c" ( self: ^RenderPipelineState, descriptor: ^VisibleFunctionTableDescriptor, stage: RenderStages, ) -> ^VisibleFunctionTable {…}
visibleFunctionTable := renderPipelineState->newVisibleFunctionTable(descriptor, stage)
RenderPipelineState_objectThreadExecutionWidth ¶
RenderPipelineState_objectThreadExecutionWidth :: proc "c" (self: ^RenderPipelineState) -> NS.UInteger {…}
objectThreadExecutionWidth := renderPipelineState->objectThreadExecutionWidth()
RenderPipelineState_supportIndirectCommandBuffers ¶
RenderPipelineState_supportIndirectCommandBuffers :: proc "c" (self: ^RenderPipelineState) -> bool {…}
supportIndirectCommandBuffers := renderPipelineState->supportIndirectCommandBuffers()
RenderPipelineState_threadgroupSizeMatchesTileSize ¶
RenderPipelineState_threadgroupSizeMatchesTileSize :: proc "c" (self: ^RenderPipelineState) -> bool {…}
threadgroupSizeMatchesTileSize := renderPipelineState->threadgroupSizeMatchesTileSize()
ResourceStateCommandEncoder_moveTextureMappingsFromTexture ¶
ResourceStateCommandEncoder_moveTextureMappingsFromTexture :: proc "c" ( self: ^ResourceStateCommandEncoder, sourceTexture: ^Texture, sourceSlice, sourceLevel: NS.UInteger, sourceOrigin: Origin, sourceSize: Size, destinationTexture: ^Texture, destinationSlice, destinationLevel: NS.UInteger, destinationOrigin: Origin, ) {…}
resourceStateCommandEncoder->moveTextureMappingsFromTexture( sourceTexture, sourceSlice, sourceLevel, sourceOrigin, sourceSize, destinationTexture, destinationSlice, destinationLevel, destinationOrigin, )
ResourceStateCommandEncoder_updateFence ¶
ResourceStateCommandEncoder_updateFence :: proc "c" ( self: ^ResourceStateCommandEncoder, fence: ^Fence, ) {…}
resourceStateCommandEncoder->updateFence(fence)
ResourceStateCommandEncoder_updateTextureMapping ¶
ResourceStateCommandEncoder_updateTextureMapping :: proc "c" ( self: ^ResourceStateCommandEncoder, texture: ^Texture, mode: SparseTextureMappingMode, region: Region, mipLevel: NS.UInteger, slice: NS.UInteger, ) {…}
resourceStateCommandEncoder->updateTextureMapping(texture, mode, region, mipLevel, slice)
ResourceStateCommandEncoder_updateTextureMappingIndirect ¶
ResourceStateCommandEncoder_updateTextureMappingIndirect :: proc "c" ( self: ^ResourceStateCommandEncoder, texture: ^Texture, mode: SparseTextureMappingMode, indirectBuffer: ^Buffer, indirectBufferOffset: NS.UInteger, ) {…}
resourceStateCommandEncoder->updateTextureMappingIndirect( texture, mode, indirectBuffer, indirectBufferOffset, )
ResourceStateCommandEncoder_updateTextureMappings ¶
ResourceStateCommandEncoder_updateTextureMappings :: proc "c" ( self: ^ResourceStateCommandEncoder, texture: ^Texture, mode: SparseTextureMappingMode, regions: []Region, mipLevels: []NS.UInteger, slices: NS.UInteger, ) {…}
resourceStateCommandEncoder->updateTextureMappings(texture, mode, regions, mipLevels, slices)
ResourceStateCommandEncoder_waitForFence ¶
ResourceStateCommandEncoder_waitForFence :: proc "c" ( self: ^ResourceStateCommandEncoder, fence: ^Fence, ) {…}
resourceStateCommandEncoder->waitForFence(fence)
ResourceStatePassDescriptor_alloc ¶ class method owned
ResourceStatePassDescriptor_alloc :: proc "c" () -> ^ResourceStatePassDescriptor {…}
resourceStatePassDescriptor := ResourceStatePassDescriptor.alloc()
ResourceStatePassDescriptor_init ¶
ResourceStatePassDescriptor_init :: proc "c" (self: ^ResourceStatePassDescriptor) -> ^ResourceStatePassDescriptor {…}
res := resourceStatePassDescriptor->init()
ResourceStatePassDescriptor_resourceStatePassDescriptor ¶ class method
ResourceStatePassDescriptor_resourceStatePassDescriptor :: proc "c" () -> ^ResourceStatePassDescriptor {…}
resourceStatePassDescriptor := ResourceStatePassDescriptor.resourceStatePassDescriptor()
ResourceStatePassDescriptor_sampleBufferAttachments ¶
ResourceStatePassDescriptor_sampleBufferAttachments :: proc "c" (self: ^ResourceStatePassDescriptor) -> ^ResourceStatePassSampleBufferAttachmentDescriptorArray {…}
sampleBufferAttachments := resourceStatePassDescriptor->sampleBufferAttachments()
ResourceStatePassSampleBufferAttachmentDescriptorArray_alloc ¶ class method owned
ResourceStatePassSampleBufferAttachmentDescriptorArray_alloc :: proc "c" () -> ^ResourceStatePassSampleBufferAttachmentDescriptorArray {…}
resourceStatePassSampleBufferAttachmentDescriptorArray := ResourceStatePassSampleBufferAttachmentDescriptorArray.alloc()
ResourceStatePassSampleBufferAttachmentDescriptorArray_init ¶
ResourceStatePassSampleBufferAttachmentDescriptorArray_init :: proc "c" (self: ^ResourceStatePassSampleBufferAttachmentDescriptorArray) -> ^ResourceStatePassSampleBufferAttachmentDescriptorArray {…}
res := resourceStatePassSampleBufferAttachmentDescriptorArray->init()
ResourceStatePassSampleBufferAttachmentDescriptorArray_object ¶
ResourceStatePassSampleBufferAttachmentDescriptorArray_object :: proc "c" ( self: ^ResourceStatePassSampleBufferAttachmentDescriptorArray, attachmentIndex: NS.UInteger, ) -> ^ResourceStatePassSampleBufferAttachmentDescriptor {…}
resourceStatePassSampleBufferAttachmentDescriptor := resourceStatePassSampleBufferAttachmentDescriptorArray->object(attachmentIndex)
ResourceStatePassSampleBufferAttachmentDescriptorArray_setObject ¶
ResourceStatePassSampleBufferAttachmentDescriptorArray_setObject :: proc "c" ( self: ^ResourceStatePassSampleBufferAttachmentDescriptorArray, attachment: ^ResourceStatePassSampleBufferAttachmentDescriptor, attachmentIndex: NS.UInteger, ) {…}
resourceStatePassSampleBufferAttachmentDescriptorArray->setObject(attachment, attachmentIndex)
ResourceStatePassSampleBufferAttachmentDescriptor_alloc ¶ class method owned
ResourceStatePassSampleBufferAttachmentDescriptor_alloc :: proc "c" () -> ^ResourceStatePassSampleBufferAttachmentDescriptor {…}
resourceStatePassSampleBufferAttachmentDescriptor := ResourceStatePassSampleBufferAttachmentDescriptor.alloc()
ResourceStatePassSampleBufferAttachmentDescriptor_endOfEncoderSampleIndex ¶
ResourceStatePassSampleBufferAttachmentDescriptor_endOfEncoderSampleIndex :: proc "c" (self: ^ResourceStatePassSampleBufferAttachmentDescriptor) -> NS.UInteger {…}
endOfEncoderSampleIndex := resourceStatePassSampleBufferAttachmentDescriptor->endOfEncoderSampleIndex()
ResourceStatePassSampleBufferAttachmentDescriptor_init ¶
ResourceStatePassSampleBufferAttachmentDescriptor_init :: proc "c" (self: ^ResourceStatePassSampleBufferAttachmentDescriptor) -> ^ResourceStatePassSampleBufferAttachmentDescriptor {…}
res := resourceStatePassSampleBufferAttachmentDescriptor->init()
ResourceStatePassSampleBufferAttachmentDescriptor_sampleBuffer ¶
ResourceStatePassSampleBufferAttachmentDescriptor_sampleBuffer :: proc "c" (self: ^ResourceStatePassSampleBufferAttachmentDescriptor) -> ^CounterSampleBuffer {…}
sampleBuffer := resourceStatePassSampleBufferAttachmentDescriptor->sampleBuffer()
ResourceStatePassSampleBufferAttachmentDescriptor_setEndOfEncoderSampleIndex ¶
ResourceStatePassSampleBufferAttachmentDescriptor_setEndOfEncoderSampleIndex :: proc "c" ( self: ^ResourceStatePassSampleBufferAttachmentDescriptor, endOfEncoderSampleIndex: NS.UInteger, ) {…}
resourceStatePassSampleBufferAttachmentDescriptor->setEndOfEncoderSampleIndex(endOfEncoderSampleIndex)
ResourceStatePassSampleBufferAttachmentDescriptor_setSampleBuffer ¶
ResourceStatePassSampleBufferAttachmentDescriptor_setSampleBuffer :: proc "c" ( self: ^ResourceStatePassSampleBufferAttachmentDescriptor, sampleBuffer: ^CounterSampleBuffer, ) {…}
resourceStatePassSampleBufferAttachmentDescriptor->setSampleBuffer(sampleBuffer)
ResourceStatePassSampleBufferAttachmentDescriptor_setStartOfEncoderSampleIndex ¶
ResourceStatePassSampleBufferAttachmentDescriptor_setStartOfEncoderSampleIndex :: proc "c" ( self: ^ResourceStatePassSampleBufferAttachmentDescriptor, startOfEncoderSampleIndex: NS.UInteger, ) {…}
resourceStatePassSampleBufferAttachmentDescriptor->setStartOfEncoderSampleIndex(startOfEncoderSampleIndex)
ResourceStatePassSampleBufferAttachmentDescriptor_startOfEncoderSampleIndex ¶
ResourceStatePassSampleBufferAttachmentDescriptor_startOfEncoderSampleIndex :: proc "c" (self: ^ResourceStatePassSampleBufferAttachmentDescriptor) -> NS.UInteger {…}
startOfEncoderSampleIndex := resourceStatePassSampleBufferAttachmentDescriptor->startOfEncoderSampleIndex()
Resource_allocatedSize ¶
Resource_allocatedSize :: proc "c" (self: ^Resource) -> NS.UInteger {…}
allocatedSize := resource->allocatedSize()
Resource_cpuCacheMode ¶
Resource_cpuCacheMode :: proc "c" (self: ^Resource) -> CPUCacheMode {…}
cpuCacheMode := resource->cpuCacheMode()
Resource_hazardTrackingMode ¶
Resource_hazardTrackingMode :: proc "c" (self: ^Resource) -> HazardTrackingMode {…}
hazardTrackingMode := resource->hazardTrackingMode()
Resource_heapOffset ¶
Resource_heapOffset :: proc "c" (self: ^Resource) -> NS.UInteger {…}
heapOffset := resource->heapOffset()
Resource_isAliasable ¶
Resource_isAliasable :: proc "c" (self: ^Resource) -> bool {…}
isAliasable := resource->isAliasable()
Resource_makeAliasable ¶
Resource_makeAliasable :: proc "c" (self: ^Resource) {…}
resource->makeAliasable()
Resource_resourceOptions ¶
Resource_resourceOptions :: proc "c" (self: ^Resource) -> ResourceOptions {…}
resourceOptions := resource->resourceOptions()
Resource_setPurgeableState ¶
Resource_setPurgeableState :: proc "c" ( self: ^Resource, state: PurgeableState, ) -> PurgeableState {…}
purgeableState := resource->setPurgeableState(state)
Resource_storageMode ¶
Resource_storageMode :: proc "c" (self: ^Resource) -> StorageMode {…}
storageMode := resource->storageMode()
SamplerDescriptor_alloc ¶ class method owned
SamplerDescriptor_alloc :: proc "c" () -> ^SamplerDescriptor {…}
samplerDescriptor := SamplerDescriptor.alloc()
SamplerDescriptor_borderColor ¶
SamplerDescriptor_borderColor :: proc "c" (self: ^SamplerDescriptor) -> SamplerBorderColor {…}
borderColor := samplerDescriptor->borderColor()
SamplerDescriptor_compareFunction ¶
SamplerDescriptor_compareFunction :: proc "c" (self: ^SamplerDescriptor) -> CompareFunction {…}
compareFunction := samplerDescriptor->compareFunction()
SamplerDescriptor_init ¶
SamplerDescriptor_init :: proc "c" (self: ^SamplerDescriptor) -> ^SamplerDescriptor {…}
res := samplerDescriptor->init()
SamplerDescriptor_label ¶
SamplerDescriptor_label :: proc "c" (self: ^SamplerDescriptor) -> ^NS.String {…}
label := samplerDescriptor->label()
SamplerDescriptor_lodAverage ¶
SamplerDescriptor_lodAverage :: proc "c" (self: ^SamplerDescriptor) -> bool {…}
lodAverage := samplerDescriptor->lodAverage()
SamplerDescriptor_lodMaxClamp ¶
SamplerDescriptor_lodMaxClamp :: proc "c" (self: ^SamplerDescriptor) -> f32 {…}
lodMaxClamp := samplerDescriptor->lodMaxClamp()
SamplerDescriptor_lodMinClamp ¶
SamplerDescriptor_lodMinClamp :: proc "c" (self: ^SamplerDescriptor) -> f32 {…}
lodMinClamp := samplerDescriptor->lodMinClamp()
SamplerDescriptor_magFilter ¶
SamplerDescriptor_magFilter :: proc "c" (self: ^SamplerDescriptor) -> SamplerMinMagFilter {…}
magFilter := samplerDescriptor->magFilter()
SamplerDescriptor_maxAnisotropy ¶
SamplerDescriptor_maxAnisotropy :: proc "c" (self: ^SamplerDescriptor) -> NS.UInteger {…}
maxAnisotropy := samplerDescriptor->maxAnisotropy()
SamplerDescriptor_minFilter ¶
SamplerDescriptor_minFilter :: proc "c" (self: ^SamplerDescriptor) -> SamplerMinMagFilter {…}
minFilter := samplerDescriptor->minFilter()
SamplerDescriptor_mipFilter ¶
SamplerDescriptor_mipFilter :: proc "c" (self: ^SamplerDescriptor) -> SamplerMipFilter {…}
mipFilter := samplerDescriptor->mipFilter()
SamplerDescriptor_normalizedCoordinates ¶
SamplerDescriptor_normalizedCoordinates :: proc "c" (self: ^SamplerDescriptor) -> bool {…}
normalizedCoordinates := samplerDescriptor->normalizedCoordinates()
SamplerDescriptor_rAddressMode ¶
SamplerDescriptor_rAddressMode :: proc "c" (self: ^SamplerDescriptor) -> SamplerAddressMode {…}
rAddressMode := samplerDescriptor->rAddressMode()
SamplerDescriptor_sAddressMode ¶
SamplerDescriptor_sAddressMode :: proc "c" (self: ^SamplerDescriptor) -> SamplerAddressMode {…}
sAddressMode := samplerDescriptor->sAddressMode()
SamplerDescriptor_setBorderColor ¶
SamplerDescriptor_setBorderColor :: proc "c" ( self: ^SamplerDescriptor, borderColor: SamplerBorderColor, ) {…}
samplerDescriptor->setBorderColor(borderColor)
SamplerDescriptor_setCompareFunction ¶
SamplerDescriptor_setCompareFunction :: proc "c" ( self: ^SamplerDescriptor, compareFunction: CompareFunction, ) {…}
samplerDescriptor->setCompareFunction(compareFunction)
SamplerDescriptor_setLabel ¶
SamplerDescriptor_setLabel :: proc "c" (self: ^SamplerDescriptor, label: ^NS.String) {…}
samplerDescriptor->setLabel(label)
SamplerDescriptor_setLodAverage ¶
SamplerDescriptor_setLodAverage :: proc "c" (self: ^SamplerDescriptor, lodAverage: bool) {…}
samplerDescriptor->setLodAverage(lodAverage)
SamplerDescriptor_setLodMaxClamp ¶
SamplerDescriptor_setLodMaxClamp :: proc "c" (self: ^SamplerDescriptor, lodMaxClamp: f32) {…}
samplerDescriptor->setLodMaxClamp(lodMaxClamp)
SamplerDescriptor_setLodMinClamp ¶
SamplerDescriptor_setLodMinClamp :: proc "c" (self: ^SamplerDescriptor, lodMinClamp: f32) {…}
samplerDescriptor->setLodMinClamp(lodMinClamp)
SamplerDescriptor_setMagFilter ¶
SamplerDescriptor_setMagFilter :: proc "c" ( self: ^SamplerDescriptor, magFilter: SamplerMinMagFilter, ) {…}
samplerDescriptor->setMagFilter(magFilter)
SamplerDescriptor_setMaxAnisotropy ¶
SamplerDescriptor_setMaxAnisotropy :: proc "c" ( self: ^SamplerDescriptor, maxAnisotropy: NS.UInteger, ) {…}
samplerDescriptor->setMaxAnisotropy(maxAnisotropy)
SamplerDescriptor_setMinFilter ¶
SamplerDescriptor_setMinFilter :: proc "c" ( self: ^SamplerDescriptor, minFilter: SamplerMinMagFilter, ) {…}
samplerDescriptor->setMinFilter(minFilter)
SamplerDescriptor_setMipFilter ¶
SamplerDescriptor_setMipFilter :: proc "c" ( self: ^SamplerDescriptor, mipFilter: SamplerMipFilter, ) {…}
samplerDescriptor->setMipFilter(mipFilter)
SamplerDescriptor_setNormalizedCoordinates ¶
SamplerDescriptor_setNormalizedCoordinates :: proc "c" ( self: ^SamplerDescriptor, normalizedCoordinates: bool, ) {…}
samplerDescriptor->setNormalizedCoordinates(normalizedCoordinates)
SamplerDescriptor_setRAddressMode ¶
SamplerDescriptor_setRAddressMode :: proc "c" ( self: ^SamplerDescriptor, rAddressMode: SamplerAddressMode, ) {…}
samplerDescriptor->setRAddressMode(rAddressMode)
SamplerDescriptor_setSAddressMode ¶
SamplerDescriptor_setSAddressMode :: proc "c" ( self: ^SamplerDescriptor, sAddressMode: SamplerAddressMode, ) {…}
samplerDescriptor->setSAddressMode(sAddressMode)
SamplerDescriptor_setSupportArgumentBuffers ¶
SamplerDescriptor_setSupportArgumentBuffers :: proc "c" ( self: ^SamplerDescriptor, supportArgumentBuffers: bool, ) {…}
samplerDescriptor->setSupportArgumentBuffers(supportArgumentBuffers)
SamplerDescriptor_setTAddressMode ¶
SamplerDescriptor_setTAddressMode :: proc "c" ( self: ^SamplerDescriptor, tAddressMode: SamplerAddressMode, ) {…}
samplerDescriptor->setTAddressMode(tAddressMode)
SamplerDescriptor_supportArgumentBuffers ¶
SamplerDescriptor_supportArgumentBuffers :: proc "c" (self: ^SamplerDescriptor) -> bool {…}
supportArgumentBuffers := samplerDescriptor->supportArgumentBuffers()
SamplerDescriptor_tAddressMode ¶
SamplerDescriptor_tAddressMode :: proc "c" (self: ^SamplerDescriptor) -> SamplerAddressMode {…}
tAddressMode := samplerDescriptor->tAddressMode()
SamplerState_device ¶
SamplerState_device :: proc "c" (self: ^SamplerState) -> ^Device {…}
device := samplerState->device()
SamplerState_gpuResourceID ¶
SamplerState_gpuResourceID :: proc "c" (self: ^SamplerState) -> ResourceID {…}
gpuResourceID := samplerState->gpuResourceID()
SamplerState_label ¶
SamplerState_label :: proc "c" (self: ^SamplerState) -> ^NS.String {…}
label := samplerState->label()
SharedEventHandle_alloc ¶ class method owned
SharedEventHandle_alloc :: proc "c" () -> ^SharedEventHandle {…}
sharedEventHandle := SharedEventHandle.alloc()
SharedEventHandle_init ¶
SharedEventHandle_init :: proc "c" (self: ^SharedEventHandle) -> ^SharedEventHandle {…}
res := sharedEventHandle->init()
SharedEventHandle_label ¶
SharedEventHandle_label :: proc "c" (self: ^SharedEventHandle) -> ^NS.String {…}
label := sharedEventHandle->label()
SharedEventListener_alloc ¶ class method owned
SharedEventListener_alloc :: proc "c" () -> ^SharedEventListener {…}
sharedEventListener := SharedEventListener.alloc()
SharedEventListener_dispatchQueue ¶
SharedEventListener_dispatchQueue :: proc "c" (self: ^SharedEventListener) -> ^NS.Object {…}
dispatchQueue := sharedEventListener->dispatchQueue()
SharedEventListener_init ¶
SharedEventListener_init :: proc "c" (self: ^SharedEventListener) -> ^SharedEventListener {…}
res := sharedEventListener->init()
SharedEventListener_initWithDispatchQueue ¶
SharedEventListener_initWithDispatchQueue :: proc "c" ( self: ^SharedEventListener, dispatchQueue: ^NS.Object, ) -> ^SharedEventListener {…}
res := sharedEventListener->initWithDispatchQueue(dispatchQueue)
SharedEvent_newSharedEventHandle ¶ owned
SharedEvent_newSharedEventHandle :: proc "c" (self: ^SharedEvent) -> ^SharedEventHandle {…}
sharedEventHandle := sharedEvent->newSharedEventHandle()
SharedEvent_notifyListener ¶
SharedEvent_notifyListener :: proc "c" ( self: ^SharedEvent, listener: ^SharedEventListener, value: u64, block: ^NS.Block, ) {…}
sharedEvent->notifyListener(listener, value, block)
SharedEvent_setSignaledValue ¶
SharedEvent_setSignaledValue :: proc "c" (self: ^SharedEvent, signaledValue: u64) {…}
sharedEvent->setSignaledValue(signaledValue)
SharedEvent_signaledValue ¶
SharedEvent_signaledValue :: proc "c" (self: ^SharedEvent) -> u64 {…}
signaledValue := sharedEvent->signaledValue()
SharedTextureHandle_alloc ¶ class method owned
SharedTextureHandle_alloc :: proc "c" () -> ^SharedTextureHandle {…}
sharedTextureHandle := SharedTextureHandle.alloc()
SharedTextureHandle_device ¶
SharedTextureHandle_device :: proc "c" (self: ^SharedTextureHandle) -> ^Device {…}
device := sharedTextureHandle->device()
SharedTextureHandle_init ¶
SharedTextureHandle_init :: proc "c" (self: ^SharedTextureHandle) -> ^SharedTextureHandle {…}
res := sharedTextureHandle->init()
SharedTextureHandle_label ¶
SharedTextureHandle_label :: proc "c" (self: ^SharedTextureHandle) -> ^NS.String {…}
label := sharedTextureHandle->label()
StageInputOutputDescriptor_alloc ¶ class method owned
StageInputOutputDescriptor_alloc :: proc "c" () -> ^StageInputOutputDescriptor {…}
stageInputOutputDescriptor := StageInputOutputDescriptor.alloc()
StageInputOutputDescriptor_attributes ¶
StageInputOutputDescriptor_attributes :: proc "c" (self: ^StageInputOutputDescriptor) -> ^AttributeDescriptorArray {…}
attributes := stageInputOutputDescriptor->attributes()
StageInputOutputDescriptor_indexBufferIndex ¶
StageInputOutputDescriptor_indexBufferIndex :: proc "c" (self: ^StageInputOutputDescriptor) -> NS.UInteger {…}
indexBufferIndex := stageInputOutputDescriptor->indexBufferIndex()
StageInputOutputDescriptor_indexType ¶
StageInputOutputDescriptor_indexType :: proc "c" (self: ^StageInputOutputDescriptor) -> IndexType {…}
indexType := stageInputOutputDescriptor->indexType()
StageInputOutputDescriptor_init ¶
StageInputOutputDescriptor_init :: proc "c" (self: ^StageInputOutputDescriptor) -> ^StageInputOutputDescriptor {…}
res := stageInputOutputDescriptor->init()
StageInputOutputDescriptor_layouts ¶
StageInputOutputDescriptor_layouts :: proc "c" (self: ^StageInputOutputDescriptor) -> ^BufferLayoutDescriptorArray {…}
layouts := stageInputOutputDescriptor->layouts()
StageInputOutputDescriptor_reset ¶
StageInputOutputDescriptor_reset :: proc "c" (self: ^StageInputOutputDescriptor) {…}
stageInputOutputDescriptor->reset()
StageInputOutputDescriptor_setIndexBufferIndex ¶
StageInputOutputDescriptor_setIndexBufferIndex :: proc "c" ( self: ^StageInputOutputDescriptor, indexBufferIndex: NS.UInteger, ) {…}
stageInputOutputDescriptor->setIndexBufferIndex(indexBufferIndex)
StageInputOutputDescriptor_setIndexType ¶
StageInputOutputDescriptor_setIndexType :: proc "c" ( self: ^StageInputOutputDescriptor, indexType: IndexType, ) {…}
stageInputOutputDescriptor->setIndexType(indexType)
StageInputOutputDescriptor_stageInputOutputDescriptor ¶ class method
StageInputOutputDescriptor_stageInputOutputDescriptor :: proc "c" () -> ^StageInputOutputDescriptor {…}
stageInputOutputDescriptor := StageInputOutputDescriptor.stageInputOutputDescriptor()
StencilDescriptor_alloc ¶ class method owned
StencilDescriptor_alloc :: proc "c" () -> ^StencilDescriptor {…}
stencilDescriptor := StencilDescriptor.alloc()
StencilDescriptor_depthFailureOperation ¶
StencilDescriptor_depthFailureOperation :: proc "c" (self: ^StencilDescriptor) -> StencilOperation {…}
depthFailureOperation := stencilDescriptor->depthFailureOperation()
StencilDescriptor_depthStencilPassOperation ¶
StencilDescriptor_depthStencilPassOperation :: proc "c" (self: ^StencilDescriptor) -> StencilOperation {…}
depthStencilPassOperation := stencilDescriptor->depthStencilPassOperation()
StencilDescriptor_init ¶
StencilDescriptor_init :: proc "c" (self: ^StencilDescriptor) -> ^StencilDescriptor {…}
res := stencilDescriptor->init()
StencilDescriptor_readMask ¶
StencilDescriptor_readMask :: proc "c" (self: ^StencilDescriptor) -> u32 {…}
readMask := stencilDescriptor->readMask()
StencilDescriptor_setDepthFailureOperation ¶
StencilDescriptor_setDepthFailureOperation :: proc "c" ( self: ^StencilDescriptor, depthFailureOperation: StencilOperation, ) {…}
stencilDescriptor->setDepthFailureOperation(depthFailureOperation)
StencilDescriptor_setDepthStencilPassOperation ¶
StencilDescriptor_setDepthStencilPassOperation :: proc "c" ( self: ^StencilDescriptor, depthStencilPassOperation: StencilOperation, ) {…}
stencilDescriptor->setDepthStencilPassOperation(depthStencilPassOperation)
StencilDescriptor_setReadMask ¶
StencilDescriptor_setReadMask :: proc "c" (self: ^StencilDescriptor, readMask: u32) {…}
stencilDescriptor->setReadMask(readMask)
StencilDescriptor_setStencilCompareFunction ¶
StencilDescriptor_setStencilCompareFunction :: proc "c" ( self: ^StencilDescriptor, stencilCompareFunction: CompareFunction, ) {…}
stencilDescriptor->setStencilCompareFunction(stencilCompareFunction)
StencilDescriptor_setStencilFailureOperation ¶
StencilDescriptor_setStencilFailureOperation :: proc "c" ( self: ^StencilDescriptor, stencilFailureOperation: StencilOperation, ) {…}
stencilDescriptor->setStencilFailureOperation(stencilFailureOperation)
StencilDescriptor_setWriteMask ¶
StencilDescriptor_setWriteMask :: proc "c" (self: ^StencilDescriptor, writeMask: u32) {…}
stencilDescriptor->setWriteMask(writeMask)
StencilDescriptor_stencilCompareFunction ¶
StencilDescriptor_stencilCompareFunction :: proc "c" (self: ^StencilDescriptor) -> CompareFunction {…}
stencilCompareFunction := stencilDescriptor->stencilCompareFunction()
StencilDescriptor_stencilFailureOperation ¶
StencilDescriptor_stencilFailureOperation :: proc "c" (self: ^StencilDescriptor) -> StencilOperation {…}
stencilFailureOperation := stencilDescriptor->stencilFailureOperation()
StencilDescriptor_writeMask ¶
StencilDescriptor_writeMask :: proc "c" (self: ^StencilDescriptor) -> u32 {…}
writeMask := stencilDescriptor->writeMask()
StructMember_alloc ¶ class method owned
StructMember_alloc :: proc "c" () -> ^StructMember {…}
structMember := StructMember.alloc()
StructMember_argumentIndex ¶
StructMember_argumentIndex :: proc "c" (self: ^StructMember) -> NS.UInteger {…}
argumentIndex := structMember->argumentIndex()
StructMember_arrayType ¶
StructMember_arrayType :: proc "c" (self: ^StructMember) -> ^ArrayType {…}
arrayType := structMember->arrayType()
StructMember_dataType ¶
StructMember_dataType :: proc "c" (self: ^StructMember) -> DataType {…}
dataType := structMember->dataType()
StructMember_init ¶
StructMember_init :: proc "c" (self: ^StructMember) -> ^StructMember {…}
res := structMember->init()
StructMember_name ¶
StructMember_name :: proc "c" (self: ^StructMember) -> ^NS.String {…}
name := structMember->name()
StructMember_offset ¶
StructMember_offset :: proc "c" (self: ^StructMember) -> NS.UInteger {…}
offset := structMember->offset()
StructMember_pointerType ¶
StructMember_pointerType :: proc "c" (self: ^StructMember) -> ^PointerType {…}
pointerType := structMember->pointerType()
StructMember_structType ¶
StructMember_structType :: proc "c" (self: ^StructMember) -> ^StructType {…}
structType := structMember->structType()
StructMember_textureReferenceType ¶
StructMember_textureReferenceType :: proc "c" (self: ^StructMember) -> ^TextureReferenceType {…}
textureReferenceType := structMember->textureReferenceType()
StructType_alloc ¶ class method owned
StructType_alloc :: proc "c" () -> ^StructType {…}
structType := StructType.alloc()
StructType_init ¶
StructType_init :: proc "c" (self: ^StructType) -> ^StructType {…}
res := structType->init()
StructType_memberByName ¶
StructType_memberByName :: proc "c" (self: ^StructType, name: ^NS.String) -> ^StructMember {…}
structMember := structType->memberByName(name)
StructType_members ¶
StructType_members :: proc "c" (self: ^StructType) -> ^NS.Array {…}
members := structType->members()
TextureBinding_arrayLength ¶
TextureBinding_arrayLength :: proc "c" (self: ^TextureBinding) -> NS.UInteger {…}
arrayLength := textureBinding->arrayLength()
TextureBinding_isDepthTexture ¶
TextureBinding_isDepthTexture :: proc "c" (self: ^TextureBinding) -> bool {…}
isDepthTexture := textureBinding->isDepthTexture()
TextureBinding_textureDataType ¶
TextureBinding_textureDataType :: proc "c" (self: ^TextureBinding) -> DataType {…}
textureDataType := textureBinding->textureDataType()
TextureBinding_textureType ¶
TextureBinding_textureType :: proc "c" (self: ^TextureBinding) -> TextureType {…}
textureType := textureBinding->textureType()
TextureDescriptor_alloc ¶ class method owned
TextureDescriptor_alloc :: proc "c" () -> ^TextureDescriptor {…}
textureDescriptor := TextureDescriptor.alloc()
TextureDescriptor_allowGPUOptimizedContents ¶
TextureDescriptor_allowGPUOptimizedContents :: proc "c" (self: ^TextureDescriptor) -> bool {…}
allowGPUOptimizedContents := textureDescriptor->allowGPUOptimizedContents()
TextureDescriptor_arrayLength ¶
TextureDescriptor_arrayLength :: proc "c" (self: ^TextureDescriptor) -> NS.UInteger {…}
arrayLength := textureDescriptor->arrayLength()
TextureDescriptor_compressionType ¶
TextureDescriptor_compressionType :: proc "c" (self: ^TextureDescriptor) -> TextureCompressionType {…}
compressionType := textureDescriptor->compressionType()
TextureDescriptor_cpuCacheMode ¶
TextureDescriptor_cpuCacheMode :: proc "c" (self: ^TextureDescriptor) -> CPUCacheMode {…}
cpuCacheMode := textureDescriptor->cpuCacheMode()
TextureDescriptor_depth ¶
TextureDescriptor_depth :: proc "c" (self: ^TextureDescriptor) -> NS.UInteger {…}
depth := textureDescriptor->depth()
TextureDescriptor_hazardTrackingMode ¶
TextureDescriptor_hazardTrackingMode :: proc "c" (self: ^TextureDescriptor) -> HazardTrackingMode {…}
hazardTrackingMode := textureDescriptor->hazardTrackingMode()
TextureDescriptor_height ¶
TextureDescriptor_height :: proc "c" (self: ^TextureDescriptor) -> NS.UInteger {…}
height := textureDescriptor->height()
TextureDescriptor_init ¶
TextureDescriptor_init :: proc "c" (self: ^TextureDescriptor) -> ^TextureDescriptor {…}
res := textureDescriptor->init()
TextureDescriptor_mipmapLevelCount ¶
TextureDescriptor_mipmapLevelCount :: proc "c" (self: ^TextureDescriptor) -> NS.UInteger {…}
mipmapLevelCount := textureDescriptor->mipmapLevelCount()
TextureDescriptor_pixelFormat ¶
TextureDescriptor_pixelFormat :: proc "c" (self: ^TextureDescriptor) -> PixelFormat {…}
pixelFormat := textureDescriptor->pixelFormat()
TextureDescriptor_resourceOptions ¶
TextureDescriptor_resourceOptions :: proc "c" (self: ^TextureDescriptor) -> ResourceOptions {…}
resourceOptions := textureDescriptor->resourceOptions()
TextureDescriptor_sampleCount ¶
TextureDescriptor_sampleCount :: proc "c" (self: ^TextureDescriptor) -> NS.UInteger {…}
sampleCount := textureDescriptor->sampleCount()
TextureDescriptor_setAllowGPUOptimizedContents ¶
TextureDescriptor_setAllowGPUOptimizedContents :: proc "c" ( self: ^TextureDescriptor, allowGPUOptimizedContents: bool, ) {…}
textureDescriptor->setAllowGPUOptimizedContents(allowGPUOptimizedContents)
TextureDescriptor_setArrayLength ¶
TextureDescriptor_setArrayLength :: proc "c" ( self: ^TextureDescriptor, arrayLength: NS.UInteger, ) {…}
textureDescriptor->setArrayLength(arrayLength)
TextureDescriptor_setCompressionType ¶
TextureDescriptor_setCompressionType :: proc "c" ( self: ^TextureDescriptor, compressionType: TextureCompressionType, ) {…}
textureDescriptor->setCompressionType(compressionType)
TextureDescriptor_setCpuCacheMode ¶
TextureDescriptor_setCpuCacheMode :: proc "c" ( self: ^TextureDescriptor, cpuCacheMode: CPUCacheMode, ) {…}
textureDescriptor->setCpuCacheMode(cpuCacheMode)
TextureDescriptor_setDepth ¶
TextureDescriptor_setDepth :: proc "c" (self: ^TextureDescriptor, depth: NS.UInteger) {…}
textureDescriptor->setDepth(depth)
TextureDescriptor_setHazardTrackingMode ¶
TextureDescriptor_setHazardTrackingMode :: proc "c" ( self: ^TextureDescriptor, hazardTrackingMode: HazardTrackingMode, ) {…}
textureDescriptor->setHazardTrackingMode(hazardTrackingMode)
TextureDescriptor_setHeight ¶
TextureDescriptor_setHeight :: proc "c" (self: ^TextureDescriptor, height: NS.UInteger) {…}
textureDescriptor->setHeight(height)
TextureDescriptor_setMipmapLevelCount ¶
TextureDescriptor_setMipmapLevelCount :: proc "c" ( self: ^TextureDescriptor, mipmapLevelCount: NS.UInteger, ) {…}
textureDescriptor->setMipmapLevelCount(mipmapLevelCount)
TextureDescriptor_setPixelFormat ¶
TextureDescriptor_setPixelFormat :: proc "c" ( self: ^TextureDescriptor, pixelFormat: PixelFormat, ) {…}
textureDescriptor->setPixelFormat(pixelFormat)
TextureDescriptor_setResourceOptions ¶
TextureDescriptor_setResourceOptions :: proc "c" ( self: ^TextureDescriptor, resourceOptions: ResourceOptions, ) {…}
textureDescriptor->setResourceOptions(resourceOptions)
TextureDescriptor_setSampleCount ¶
TextureDescriptor_setSampleCount :: proc "c" ( self: ^TextureDescriptor, sampleCount: NS.UInteger, ) {…}
textureDescriptor->setSampleCount(sampleCount)
TextureDescriptor_setStorageMode ¶
TextureDescriptor_setStorageMode :: proc "c" ( self: ^TextureDescriptor, storageMode: StorageMode, ) {…}
textureDescriptor->setStorageMode(storageMode)
TextureDescriptor_setSwizzle ¶
TextureDescriptor_setSwizzle :: proc "c" ( self: ^TextureDescriptor, swizzle: TextureSwizzleChannels, ) {…}
textureDescriptor->setSwizzle(swizzle)
TextureDescriptor_setTextureType ¶
TextureDescriptor_setTextureType :: proc "c" ( self: ^TextureDescriptor, textureType: TextureType, ) {…}
textureDescriptor->setTextureType(textureType)
TextureDescriptor_setUsage ¶
TextureDescriptor_setUsage :: proc "c" (self: ^TextureDescriptor, usage: TextureUsage) {…}
textureDescriptor->setUsage(usage)
TextureDescriptor_setWidth ¶
TextureDescriptor_setWidth :: proc "c" (self: ^TextureDescriptor, width: NS.UInteger) {…}
textureDescriptor->setWidth(width)
TextureDescriptor_storageMode ¶
TextureDescriptor_storageMode :: proc "c" (self: ^TextureDescriptor) -> StorageMode {…}
storageMode := textureDescriptor->storageMode()
TextureDescriptor_swizzle ¶
TextureDescriptor_swizzle :: proc "c" (self: ^TextureDescriptor) -> TextureSwizzleChannels {…}
swizzle := textureDescriptor->swizzle()
TextureDescriptor_texture2DDescriptorWithPixelFormat ¶ class method
TextureDescriptor_texture2DDescriptorWithPixelFormat :: proc "c" ( pixelFormat: PixelFormat, width: NS.UInteger, height: NS.UInteger, mipmapped: bool, ) -> ^TextureDescriptor {…}
textureDescriptor := TextureDescriptor.texture2DDescriptorWithPixelFormat( pixelFormat, width, height, mipmapped, )
TextureDescriptor_textureBufferDescriptorWithPixelFormat ¶ class method
TextureDescriptor_textureBufferDescriptorWithPixelFormat :: proc "c" ( pixelFormat: PixelFormat, width: NS.UInteger, resourceOptions: ResourceOptions, usage: TextureUsage, ) -> ^TextureDescriptor {…}
textureDescriptor := TextureDescriptor.textureBufferDescriptorWithPixelFormat( pixelFormat, width, resourceOptions, usage, )
TextureDescriptor_textureCubeDescriptorWithPixelFormat ¶ class method
TextureDescriptor_textureCubeDescriptorWithPixelFormat :: proc "c" ( pixelFormat: PixelFormat, size: NS.UInteger, mipmapped: bool, ) -> ^TextureDescriptor {…}
textureDescriptor := TextureDescriptor.textureCubeDescriptorWithPixelFormat( pixelFormat, size, mipmapped, )
TextureDescriptor_textureType ¶
TextureDescriptor_textureType :: proc "c" (self: ^TextureDescriptor) -> TextureType {…}
textureType := textureDescriptor->textureType()
TextureDescriptor_usage ¶
TextureDescriptor_usage :: proc "c" (self: ^TextureDescriptor) -> TextureUsage {…}
usage := textureDescriptor->usage()
TextureDescriptor_width ¶
TextureDescriptor_width :: proc "c" (self: ^TextureDescriptor) -> NS.UInteger {…}
width := textureDescriptor->width()
TextureReferenceType_access ¶
TextureReferenceType_access :: proc "c" (self: ^TextureReferenceType) -> ArgumentAccess {…}
access := textureReferenceType->access()
TextureReferenceType_alloc ¶ class method owned
TextureReferenceType_alloc :: proc "c" () -> ^TextureReferenceType {…}
textureReferenceType := TextureReferenceType.alloc()
TextureReferenceType_init ¶
TextureReferenceType_init :: proc "c" (self: ^TextureReferenceType) -> ^TextureReferenceType {…}
res := textureReferenceType->init()
TextureReferenceType_isDepthTexture ¶
TextureReferenceType_isDepthTexture :: proc "c" (self: ^TextureReferenceType) -> bool {…}
isDepthTexture := textureReferenceType->isDepthTexture()
TextureReferenceType_textureDataType ¶
TextureReferenceType_textureDataType :: proc "c" (self: ^TextureReferenceType) -> DataType {…}
textureDataType := textureReferenceType->textureDataType()
TextureReferenceType_textureType ¶
TextureReferenceType_textureType :: proc "c" (self: ^TextureReferenceType) -> TextureType {…}
textureType := textureReferenceType->textureType()
Texture_allowGPUOptimizedContents ¶
Texture_allowGPUOptimizedContents :: proc "c" (self: ^Texture) -> bool {…}
allowGPUOptimizedContents := texture->allowGPUOptimizedContents()
Texture_arrayLength ¶
Texture_arrayLength :: proc "c" (self: ^Texture) -> NS.UInteger {…}
arrayLength := texture->arrayLength()
Texture_bufferBytesPerRow ¶
Texture_bufferBytesPerRow :: proc "c" (self: ^Texture) -> NS.UInteger {…}
bufferBytesPerRow := texture->bufferBytesPerRow()
Texture_bufferOffset ¶
Texture_bufferOffset :: proc "c" (self: ^Texture) -> NS.UInteger {…}
bufferOffset := texture->bufferOffset()
Texture_compressionType ¶
Texture_compressionType :: proc "c" (self: ^Texture) -> TextureCompressionType {…}
compressionType := texture->compressionType()
Texture_firstMipmapInTail ¶
Texture_firstMipmapInTail :: proc "c" (self: ^Texture) -> NS.UInteger {…}
firstMipmapInTail := texture->firstMipmapInTail()
Texture_gpuResourceID ¶
Texture_gpuResourceID :: proc "c" (self: ^Texture) -> ResourceID {…}
gpuResourceID := texture->gpuResourceID()
Texture_iosurface ¶
Texture_iosurface :: proc "c" (self: ^Texture) -> IOSurfaceRef {…}
iosurface := texture->iosurface()
Texture_iosurfacePlane ¶
Texture_iosurfacePlane :: proc "c" (self: ^Texture) -> NS.UInteger {…}
iosurfacePlane := texture->iosurfacePlane()
Texture_isFramebufferOnly ¶
Texture_isFramebufferOnly :: proc "c" (self: ^Texture) -> bool {…}
isFramebufferOnly := texture->isFramebufferOnly()
Texture_isShareable ¶
Texture_isShareable :: proc "c" (self: ^Texture) -> bool {…}
isShareable := texture->isShareable()
Texture_mipmapLevelCount ¶
Texture_mipmapLevelCount :: proc "c" (self: ^Texture) -> NS.UInteger {…}
mipmapLevelCount := texture->mipmapLevelCount()
Texture_newRemoteTextureViewForDevice ¶ owned
Texture_newRemoteTextureViewForDevice :: proc "c" ( self: ^Texture, device: ^Device, ) -> ^Texture {…}
res := texture->newRemoteTextureViewForDevice(device)
Texture_newSharedTextureHandle ¶ owned
Texture_newSharedTextureHandle :: proc "c" (self: ^Texture) -> ^SharedTextureHandle {…}
sharedTextureHandle := texture->newSharedTextureHandle()
Texture_newTextureViewWithLevels ¶ owned
Texture_newTextureViewWithLevels :: proc "c" ( self: ^Texture, pixelFormat: PixelFormat, textureType: TextureType, levelRange: NS.Range, sliceRange: NS.Range, ) -> ^Texture {…}
res := texture->newTextureViewWithLevels(pixelFormat, textureType, levelRange, sliceRange)
Texture_newTextureViewWithLevelsAndSwizzle ¶ owned
Texture_newTextureViewWithLevelsAndSwizzle :: proc "c" ( self: ^Texture, pixelFormat: PixelFormat, textureType: TextureType, levelRange: NS.Range, sliceRange: NS.Range, swizzle: TextureSwizzleChannels, ) -> ^Texture {…}
res := texture->newTextureViewWithLevelsAndSwizzle( pixelFormat, textureType, levelRange, sliceRange, swizzle, )
Texture_newTextureViewWithPixelFormat ¶ owned
Texture_newTextureViewWithPixelFormat :: proc "c" ( self: ^Texture, pixelFormat: PixelFormat, ) -> ^Texture {…}
res := texture->newTextureViewWithPixelFormat(pixelFormat)
Texture_parentRelativeLevel ¶
Texture_parentRelativeLevel :: proc "c" (self: ^Texture) -> NS.UInteger {…}
parentRelativeLevel := texture->parentRelativeLevel()
Texture_parentRelativeSlice ¶
Texture_parentRelativeSlice :: proc "c" (self: ^Texture) -> NS.UInteger {…}
parentRelativeSlice := texture->parentRelativeSlice()
Texture_parentTexture ¶
Texture_parentTexture :: proc "c" (self: ^Texture) -> ^Texture {…}
parentTexture := texture->parentTexture()
Texture_pixelFormat ¶
Texture_pixelFormat :: proc "c" (self: ^Texture) -> PixelFormat {…}
pixelFormat := texture->pixelFormat()
Texture_remoteStorageTexture ¶
Texture_remoteStorageTexture :: proc "c" (self: ^Texture) -> ^Texture {…}
remoteStorageTexture := texture->remoteStorageTexture()
Texture_rootResource ¶
Texture_rootResource :: proc "c" (self: ^Texture) -> ^Resource {…}
rootResource := texture->rootResource()
Texture_sampleCount ¶
Texture_sampleCount :: proc "c" (self: ^Texture) -> NS.UInteger {…}
sampleCount := texture->sampleCount()
Texture_swizzle ¶
Texture_swizzle :: proc "c" (self: ^Texture) -> TextureSwizzleChannels {…}
swizzle := texture->swizzle()
Texture_tailSizeInBytes ¶
Texture_tailSizeInBytes :: proc "c" (self: ^Texture) -> NS.UInteger {…}
tailSizeInBytes := texture->tailSizeInBytes()
Texture_textureType ¶
Texture_textureType :: proc "c" (self: ^Texture) -> TextureType {…}
textureType := texture->textureType()
Texture_usage ¶
Texture_usage :: proc "c" (self: ^Texture) -> TextureUsage {…}
usage := texture->usage()
ThreadgroupBinding_threadgroupMemoryAlignment ¶
ThreadgroupBinding_threadgroupMemoryAlignment :: proc "c" (self: ^ThreadgroupBinding) -> NS.UInteger {…}
threadgroupMemoryAlignment := threadgroupBinding->threadgroupMemoryAlignment()
ThreadgroupBinding_threadgroupMemoryDataSize ¶
ThreadgroupBinding_threadgroupMemoryDataSize :: proc "c" (self: ^ThreadgroupBinding) -> NS.UInteger {…}
threadgroupMemoryDataSize := threadgroupBinding->threadgroupMemoryDataSize()
TileRenderPipelineColorAttachmentDescriptorArray_alloc ¶ class method owned
TileRenderPipelineColorAttachmentDescriptorArray_alloc :: proc "c" () -> ^TileRenderPipelineColorAttachmentDescriptorArray {…}
tileRenderPipelineColorAttachmentDescriptorArray := TileRenderPipelineColorAttachmentDescriptorArray.alloc()
TileRenderPipelineColorAttachmentDescriptorArray_init ¶
TileRenderPipelineColorAttachmentDescriptorArray_init :: proc "c" (self: ^TileRenderPipelineColorAttachmentDescriptorArray) -> ^TileRenderPipelineColorAttachmentDescriptorArray {…}
res := tileRenderPipelineColorAttachmentDescriptorArray->init()
TileRenderPipelineColorAttachmentDescriptorArray_object ¶
TileRenderPipelineColorAttachmentDescriptorArray_object :: proc "c" ( self: ^TileRenderPipelineColorAttachmentDescriptorArray, attachmentIndex: NS.UInteger, ) -> ^TileRenderPipelineColorAttachmentDescriptor {…}
tileRenderPipelineColorAttachmentDescriptor := tileRenderPipelineColorAttachmentDescriptorArray->object(attachmentIndex)
TileRenderPipelineColorAttachmentDescriptorArray_setObject ¶
TileRenderPipelineColorAttachmentDescriptorArray_setObject :: proc "c" ( self: ^TileRenderPipelineColorAttachmentDescriptorArray, attachment: ^TileRenderPipelineColorAttachmentDescriptor, attachmentIndex: NS.UInteger, ) {…}
tileRenderPipelineColorAttachmentDescriptorArray->setObject(attachment, attachmentIndex)
TileRenderPipelineColorAttachmentDescriptor_alloc ¶ class method owned
TileRenderPipelineColorAttachmentDescriptor_alloc :: proc "c" () -> ^TileRenderPipelineColorAttachmentDescriptor {…}
tileRenderPipelineColorAttachmentDescriptor := TileRenderPipelineColorAttachmentDescriptor.alloc()
TileRenderPipelineColorAttachmentDescriptor_init ¶
TileRenderPipelineColorAttachmentDescriptor_init :: proc "c" (self: ^TileRenderPipelineColorAttachmentDescriptor) -> ^TileRenderPipelineColorAttachmentDescriptor {…}
res := tileRenderPipelineColorAttachmentDescriptor->init()
TileRenderPipelineColorAttachmentDescriptor_pixelFormat ¶
TileRenderPipelineColorAttachmentDescriptor_pixelFormat :: proc "c" (self: ^TileRenderPipelineColorAttachmentDescriptor) -> PixelFormat {…}
pixelFormat := tileRenderPipelineColorAttachmentDescriptor->pixelFormat()
TileRenderPipelineColorAttachmentDescriptor_setPixelFormat ¶
TileRenderPipelineColorAttachmentDescriptor_setPixelFormat :: proc "c" ( self: ^TileRenderPipelineColorAttachmentDescriptor, pixelFormat: PixelFormat, ) {…}
tileRenderPipelineColorAttachmentDescriptor->setPixelFormat(pixelFormat)
TileRenderPipelineDescriptor_alloc ¶ class method owned
TileRenderPipelineDescriptor_alloc :: proc "c" () -> ^TileRenderPipelineDescriptor {…}
tileRenderPipelineDescriptor := TileRenderPipelineDescriptor.alloc()
TileRenderPipelineDescriptor_binaryArchives ¶
TileRenderPipelineDescriptor_binaryArchives :: proc "c" (self: ^TileRenderPipelineDescriptor) -> ^NS.Array {…}
binaryArchives := tileRenderPipelineDescriptor->binaryArchives()
TileRenderPipelineDescriptor_colorAttachments ¶
TileRenderPipelineDescriptor_colorAttachments :: proc "c" (self: ^TileRenderPipelineDescriptor) -> ^TileRenderPipelineColorAttachmentDescriptorArray {…}
colorAttachments := tileRenderPipelineDescriptor->colorAttachments()
TileRenderPipelineDescriptor_init ¶
TileRenderPipelineDescriptor_init :: proc "c" (self: ^TileRenderPipelineDescriptor) -> ^TileRenderPipelineDescriptor {…}
res := tileRenderPipelineDescriptor->init()
TileRenderPipelineDescriptor_label ¶
TileRenderPipelineDescriptor_label :: proc "c" (self: ^TileRenderPipelineDescriptor) -> ^NS.String {…}
label := tileRenderPipelineDescriptor->label()
TileRenderPipelineDescriptor_maxTotalThreadsPerThreadgroup ¶
TileRenderPipelineDescriptor_maxTotalThreadsPerThreadgroup :: proc "c" (self: ^TileRenderPipelineDescriptor) -> NS.UInteger {…}
maxTotalThreadsPerThreadgroup := tileRenderPipelineDescriptor->maxTotalThreadsPerThreadgroup()
TileRenderPipelineDescriptor_rasterSampleCount ¶
TileRenderPipelineDescriptor_rasterSampleCount :: proc "c" (self: ^TileRenderPipelineDescriptor) -> NS.UInteger {…}
rasterSampleCount := tileRenderPipelineDescriptor->rasterSampleCount()
TileRenderPipelineDescriptor_reset ¶
TileRenderPipelineDescriptor_reset :: proc "c" (self: ^TileRenderPipelineDescriptor) {…}
tileRenderPipelineDescriptor->reset()
TileRenderPipelineDescriptor_setBinaryArchives ¶
TileRenderPipelineDescriptor_setBinaryArchives :: proc "c" ( self: ^TileRenderPipelineDescriptor, binaryArchives: ^NS.Array, ) {…}
tileRenderPipelineDescriptor->setBinaryArchives(binaryArchives)
TileRenderPipelineDescriptor_setLabel ¶
TileRenderPipelineDescriptor_setLabel :: proc "c" ( self: ^TileRenderPipelineDescriptor, label: ^NS.String, ) {…}
tileRenderPipelineDescriptor->setLabel(label)
TileRenderPipelineDescriptor_setMaxTotalThreadsPerThreadgroup ¶
TileRenderPipelineDescriptor_setMaxTotalThreadsPerThreadgroup :: proc "c" ( self: ^TileRenderPipelineDescriptor, maxTotalThreadsPerThreadgroup: NS.UInteger, ) {…}
tileRenderPipelineDescriptor->setMaxTotalThreadsPerThreadgroup(maxTotalThreadsPerThreadgroup)
TileRenderPipelineDescriptor_setRasterSampleCount ¶
TileRenderPipelineDescriptor_setRasterSampleCount :: proc "c" ( self: ^TileRenderPipelineDescriptor, rasterSampleCount: NS.UInteger, ) {…}
tileRenderPipelineDescriptor->setRasterSampleCount(rasterSampleCount)
TileRenderPipelineDescriptor_setThreadgroupSizeMatchesTileSize ¶
TileRenderPipelineDescriptor_setThreadgroupSizeMatchesTileSize :: proc "c" ( self: ^TileRenderPipelineDescriptor, threadgroupSizeMatchesTileSize: bool, ) {…}
tileRenderPipelineDescriptor->setThreadgroupSizeMatchesTileSize(threadgroupSizeMatchesTileSize)
TileRenderPipelineDescriptor_setTileFunction ¶
TileRenderPipelineDescriptor_setTileFunction :: proc "c" ( self: ^TileRenderPipelineDescriptor, tileFunction: ^Function, ) {…}
tileRenderPipelineDescriptor->setTileFunction(tileFunction)
TileRenderPipelineDescriptor_threadgroupSizeMatchesTileSize ¶
TileRenderPipelineDescriptor_threadgroupSizeMatchesTileSize :: proc "c" (self: ^TileRenderPipelineDescriptor) -> bool {…}
threadgroupSizeMatchesTileSize := tileRenderPipelineDescriptor->threadgroupSizeMatchesTileSize()
TileRenderPipelineDescriptor_tileBuffers ¶
TileRenderPipelineDescriptor_tileBuffers :: proc "c" (self: ^TileRenderPipelineDescriptor) -> ^PipelineBufferDescriptorArray {…}
tileBuffers := tileRenderPipelineDescriptor->tileBuffers()
TileRenderPipelineDescriptor_tileFunction ¶
TileRenderPipelineDescriptor_tileFunction :: proc "c" (self: ^TileRenderPipelineDescriptor) -> ^Function {…}
tileFunction := tileRenderPipelineDescriptor->tileFunction()
Type_alloc ¶ class method owned
VertexAttributeDescriptorArray_alloc ¶ class method owned
VertexAttributeDescriptorArray_alloc :: proc "c" () -> ^VertexAttributeDescriptorArray {…}
vertexAttributeDescriptorArray := VertexAttributeDescriptorArray.alloc()
VertexAttributeDescriptorArray_init ¶
VertexAttributeDescriptorArray_init :: proc "c" (self: ^VertexAttributeDescriptorArray) -> ^VertexAttributeDescriptorArray {…}
res := vertexAttributeDescriptorArray->init()
VertexAttributeDescriptorArray_object ¶
VertexAttributeDescriptorArray_object :: proc "c" ( self: ^VertexAttributeDescriptorArray, index: NS.UInteger, ) -> ^VertexAttributeDescriptor {…}
vertexAttributeDescriptor := vertexAttributeDescriptorArray->object(index)
VertexAttributeDescriptorArray_setObject ¶
VertexAttributeDescriptorArray_setObject :: proc "c" ( self: ^VertexAttributeDescriptorArray, attributeDesc: ^VertexAttributeDescriptor, index: NS.UInteger, ) {…}
vertexAttributeDescriptorArray->setObject(attributeDesc, index)
VertexAttributeDescriptor_alloc ¶ class method owned
VertexAttributeDescriptor_alloc :: proc "c" () -> ^VertexAttributeDescriptor {…}
vertexAttributeDescriptor := VertexAttributeDescriptor.alloc()
VertexAttributeDescriptor_bufferIndex ¶
VertexAttributeDescriptor_bufferIndex :: proc "c" (self: ^VertexAttributeDescriptor) -> NS.UInteger {…}
bufferIndex := vertexAttributeDescriptor->bufferIndex()
VertexAttributeDescriptor_format ¶
VertexAttributeDescriptor_format :: proc "c" (self: ^VertexAttributeDescriptor) -> VertexFormat {…}
format := vertexAttributeDescriptor->format()
VertexAttributeDescriptor_init ¶
VertexAttributeDescriptor_init :: proc "c" (self: ^VertexAttributeDescriptor) -> ^VertexAttributeDescriptor {…}
res := vertexAttributeDescriptor->init()
VertexAttributeDescriptor_offset ¶
VertexAttributeDescriptor_offset :: proc "c" (self: ^VertexAttributeDescriptor) -> NS.UInteger {…}
offset := vertexAttributeDescriptor->offset()
VertexAttributeDescriptor_setBufferIndex ¶
VertexAttributeDescriptor_setBufferIndex :: proc "c" ( self: ^VertexAttributeDescriptor, bufferIndex: NS.UInteger, ) {…}
vertexAttributeDescriptor->setBufferIndex(bufferIndex)
VertexAttributeDescriptor_setFormat ¶
VertexAttributeDescriptor_setFormat :: proc "c" ( self: ^VertexAttributeDescriptor, format: VertexFormat, ) {…}
vertexAttributeDescriptor->setFormat(format)
VertexAttributeDescriptor_setOffset ¶
VertexAttributeDescriptor_setOffset :: proc "c" ( self: ^VertexAttributeDescriptor, offset: NS.UInteger, ) {…}
vertexAttributeDescriptor->setOffset(offset)
VertexAttribute_alloc ¶ class method owned
VertexAttribute_alloc :: proc "c" () -> ^VertexAttribute {…}
vertexAttribute := VertexAttribute.alloc()
VertexAttribute_attributeIndex ¶
VertexAttribute_attributeIndex :: proc "c" (self: ^VertexAttribute) -> NS.UInteger {…}
attributeIndex := vertexAttribute->attributeIndex()
VertexAttribute_attributeType ¶
VertexAttribute_attributeType :: proc "c" (self: ^VertexAttribute) -> DataType {…}
attributeType := vertexAttribute->attributeType()
VertexAttribute_init ¶
VertexAttribute_init :: proc "c" (self: ^VertexAttribute) -> ^VertexAttribute {…}
res := vertexAttribute->init()
VertexAttribute_isActive ¶
VertexAttribute_isActive :: proc "c" (self: ^VertexAttribute) -> bool {…}
isActive := vertexAttribute->isActive()
VertexAttribute_isPatchControlPointData ¶
VertexAttribute_isPatchControlPointData :: proc "c" (self: ^VertexAttribute) -> bool {…}
isPatchControlPointData := vertexAttribute->isPatchControlPointData()
VertexAttribute_isPatchData ¶
VertexAttribute_isPatchData :: proc "c" (self: ^VertexAttribute) -> bool {…}
isPatchData := vertexAttribute->isPatchData()
VertexAttribute_name ¶
VertexAttribute_name :: proc "c" (self: ^VertexAttribute) -> ^NS.String {…}
name := vertexAttribute->name()
VertexBufferLayoutDescriptorArray_alloc ¶ class method owned
VertexBufferLayoutDescriptorArray_alloc :: proc "c" () -> ^VertexBufferLayoutDescriptorArray {…}
vertexBufferLayoutDescriptorArray := VertexBufferLayoutDescriptorArray.alloc()
VertexBufferLayoutDescriptorArray_init ¶
VertexBufferLayoutDescriptorArray_init :: proc "c" (self: ^VertexBufferLayoutDescriptorArray) -> ^VertexBufferLayoutDescriptorArray {…}
res := vertexBufferLayoutDescriptorArray->init()
VertexBufferLayoutDescriptorArray_object ¶
VertexBufferLayoutDescriptorArray_object :: proc "c" ( self: ^VertexBufferLayoutDescriptorArray, index: NS.UInteger, ) -> ^VertexBufferLayoutDescriptor {…}
vertexBufferLayoutDescriptor := vertexBufferLayoutDescriptorArray->object(index)
VertexBufferLayoutDescriptorArray_setObject ¶
VertexBufferLayoutDescriptorArray_setObject :: proc "c" ( self: ^VertexBufferLayoutDescriptorArray, bufferDesc: ^VertexBufferLayoutDescriptor, index: NS.UInteger, ) {…}
vertexBufferLayoutDescriptorArray->setObject(bufferDesc, index)
VertexBufferLayoutDescriptor_alloc ¶ class method owned
VertexBufferLayoutDescriptor_alloc :: proc "c" () -> ^VertexBufferLayoutDescriptor {…}
vertexBufferLayoutDescriptor := VertexBufferLayoutDescriptor.alloc()
VertexBufferLayoutDescriptor_init ¶
VertexBufferLayoutDescriptor_init :: proc "c" (self: ^VertexBufferLayoutDescriptor) -> ^VertexBufferLayoutDescriptor {…}
res := vertexBufferLayoutDescriptor->init()
VertexBufferLayoutDescriptor_setStepFunction ¶
VertexBufferLayoutDescriptor_setStepFunction :: proc "c" ( self: ^VertexBufferLayoutDescriptor, stepFunction: VertexStepFunction, ) {…}
vertexBufferLayoutDescriptor->setStepFunction(stepFunction)
VertexBufferLayoutDescriptor_setStepRate ¶
VertexBufferLayoutDescriptor_setStepRate :: proc "c" ( self: ^VertexBufferLayoutDescriptor, stepRate: NS.UInteger, ) {…}
vertexBufferLayoutDescriptor->setStepRate(stepRate)
VertexBufferLayoutDescriptor_setStride ¶
VertexBufferLayoutDescriptor_setStride :: proc "c" ( self: ^VertexBufferLayoutDescriptor, stride: NS.UInteger, ) {…}
vertexBufferLayoutDescriptor->setStride(stride)
VertexBufferLayoutDescriptor_stepFunction ¶
VertexBufferLayoutDescriptor_stepFunction :: proc "c" (self: ^VertexBufferLayoutDescriptor) -> VertexStepFunction {…}
stepFunction := vertexBufferLayoutDescriptor->stepFunction()
VertexBufferLayoutDescriptor_stepRate ¶
VertexBufferLayoutDescriptor_stepRate :: proc "c" (self: ^VertexBufferLayoutDescriptor) -> NS.UInteger {…}
stepRate := vertexBufferLayoutDescriptor->stepRate()
VertexBufferLayoutDescriptor_stride ¶
VertexBufferLayoutDescriptor_stride :: proc "c" (self: ^VertexBufferLayoutDescriptor) -> NS.UInteger {…}
stride := vertexBufferLayoutDescriptor->stride()
VertexDescriptor_alloc ¶ class method owned
VertexDescriptor_alloc :: proc "c" () -> ^VertexDescriptor {…}
vertexDescriptor := VertexDescriptor.alloc()
VertexDescriptor_attributes ¶
VertexDescriptor_attributes :: proc "c" (self: ^VertexDescriptor) -> ^VertexAttributeDescriptorArray {…}
attributes := vertexDescriptor->attributes()
VertexDescriptor_init ¶
VertexDescriptor_init :: proc "c" (self: ^VertexDescriptor) -> ^VertexDescriptor {…}
res := vertexDescriptor->init()
VertexDescriptor_layouts ¶
VertexDescriptor_layouts :: proc "c" (self: ^VertexDescriptor) -> ^VertexBufferLayoutDescriptorArray {…}
layouts := vertexDescriptor->layouts()
VertexDescriptor_reset ¶
VertexDescriptor_reset :: proc "c" (self: ^VertexDescriptor) {…}
vertexDescriptor->reset()
VertexDescriptor_vertexDescriptor ¶ class method
VertexDescriptor_vertexDescriptor :: proc "c" () -> ^VertexDescriptor {…}
vertexDescriptor := VertexDescriptor.vertexDescriptor()
VisibleFunctionTableDescriptor_alloc ¶ class method owned
VisibleFunctionTableDescriptor_alloc :: proc "c" () -> ^VisibleFunctionTableDescriptor {…}
visibleFunctionTableDescriptor := VisibleFunctionTableDescriptor.alloc()
VisibleFunctionTableDescriptor_functionCount ¶
VisibleFunctionTableDescriptor_functionCount :: proc "c" (self: ^VisibleFunctionTableDescriptor) -> NS.UInteger {…}
functionCount := visibleFunctionTableDescriptor->functionCount()
VisibleFunctionTableDescriptor_init ¶
VisibleFunctionTableDescriptor_init :: proc "c" (self: ^VisibleFunctionTableDescriptor) -> ^VisibleFunctionTableDescriptor {…}
res := visibleFunctionTableDescriptor->init()
VisibleFunctionTableDescriptor_setFunctionCount ¶
VisibleFunctionTableDescriptor_setFunctionCount :: proc "c" ( self: ^VisibleFunctionTableDescriptor, functionCount: NS.UInteger, ) {…}
visibleFunctionTableDescriptor->setFunctionCount(functionCount)
VisibleFunctionTableDescriptor_visibleFunctionTableDescriptor ¶ class method
VisibleFunctionTableDescriptor_visibleFunctionTableDescriptor :: proc "c" () -> ^VisibleFunctionTableDescriptor {…}
visibleFunctionTableDescriptor := VisibleFunctionTableDescriptor.visibleFunctionTableDescriptor()
VisibleFunctionTable_gpuResourceID ¶
VisibleFunctionTable_gpuResourceID :: proc "c" (self: ^VisibleFunctionTable) -> ResourceID {…}
gpuResourceID := visibleFunctionTable->gpuResourceID()
VisibleFunctionTable_setFunction ¶
VisibleFunctionTable_setFunction :: proc "c" ( self: ^VisibleFunctionTable, function: ^FunctionHandle, index: NS.UInteger, ) {…}
visibleFunctionTable->setFunction(function, index)
VisibleFunctionTable_setFunctions ¶
VisibleFunctionTable_setFunctions :: proc "c" ( self: ^VisibleFunctionTable, functions: []^FunctionHandle, range: NS.Range, ) {…}
visibleFunctionTable->setFunctions(functions, range)
new ¶
new :: proc($T: typeid) -> ^T {…}
Procedure Groups
CaptureManager_newCaptureScope ¶ owned overloaded
CaptureManager_newCaptureScope :: proc{ CaptureManager_newCaptureScopeWithCommandQueue, CaptureManager_newCaptureScopeWithDevice, }
captureScope := captureManager->newCaptureScope(commandQueue) captureScope := captureManager->newCaptureScope(device)
Device_newBuffer ¶ owned overloaded
Device_newBuffer :: proc{ Device_newBufferWithBytes, Device_newBufferWithBytesNoCopy, Device_newBufferWithSlice, Device_newBufferWithSliceNoCopy, Device_newBufferWithLength, }
buffer := device->newBuffer(bytes, options) buffer := device->newBuffer(bytes, options, deallocator) buffer := device->newBuffer(slice, options) buffer := device->newBuffer(slice, options, deallocator) buffer := device->newBuffer(length, options)
Device_newComputePipelineState ¶ owned overloaded
Device_newComputePipelineState :: proc{ Device_newComputePipelineStateWithDescriptorWithCompletionHandler, Device_newComputePipelineStateWithDescriptorWithReflection, Device_newComputePipelineStateWithFunctionWithCompletionHandler, Device_newComputePipelineStateWithFunction, Device_newComputePipelineStateWithFunctionWithOptionsAndCompletionHandler, Device_newComputePipelineStateWithFunctionWithReflection, }
computePipelineState := device->newComputePipelineState(descriptor, options, completionHandler) res, error := device->newComputePipelineState(descriptor, options, reflection) computePipelineState := device->newComputePipelineState(computeFunction, completionHandler) res, error := device->newComputePipelineState(computeFunction) res := device->newComputePipelineState(computeFunction, options, completionHandler) res, error := device->newComputePipelineState(computeFunction, options, reflection)
Device_newLibrary ¶ overloaded
Device_newLibrary :: proc{ Device_newLibraryWithData, Device_newLibraryWithFile, Device_newLibraryWithSourceWithCompletionHandler, Device_newLibraryWithSource, Device_newLibraryWithURL, }
library, error := device->newLibrary(data) library, error := device->newLibrary(filepath) library := device->newLibrary(source, options, completionHandler) library, error := device->newLibrary(source, options) library, error := device->newLibrary(url)
Device_newRenderPipelineState ¶ owned overloaded
Device_newRenderPipelineState :: proc{ Device_newRenderPipelineStateWithDescriptorWithCompletionHandler, Device_newRenderPipelineStateWithDescriptor, Device_newRenderPipelineStateWithDescriptorWithOptionsAndCompletionHandler, Device_newRenderPipelineStateWithDescriptorWithReflection, Device_newRenderPipelineStateWithTileDescriptorWithCompletionHandler, Device_newRenderPipelineStateWithTileDescriptorWithReflection, }
renderPipelineState := device->newRenderPipelineState(descriptor, completionHandler) pipeline, error := device->newRenderPipelineState(descriptor) renderPipelineState := device->newRenderPipelineState(descriptor, options, completionHandler) pipeline, error := device->newRenderPipelineState(descriptor, options, reflection) renderPipelineState := device->newRenderPipelineState(descriptor, options, completionHandler) pipeline, error := device->newRenderPipelineState(descriptor, options, reflection)
Device_newSharedTexture ¶ owned overloaded
Device_newSharedTexture :: proc{ Device_newSharedTextureWithDescriptor, Device_newSharedTextureWithHandle, }
sharedEvent := device->newSharedTexture(descriptor) sharedEvent := device->newSharedTexture(sharedHandle)
Device_newTexture ¶ owned overloaded
Device_newTexture :: proc{ Device_newTextureWithDescriptor, Device_newTextureWithIOSurface, }
texture := device->newTexture(desc) texture := device->newTexture(descriptor, iosurface, plane)
Heap_newAccelerationStructure ¶ owned overloaded
Heap_newAccelerationStructure :: proc{ Heap_newAccelerationStructureWithSize, Heap_newAccelerationStructureWithDescriptor, Heap_newAccelerationStructureWithSizeAndOffset, Heap_newAccelerationStructureWithDescriptorAndOffset, }
accelerationStructure := heap->newAccelerationStructure(size) accelerationStructure := heap->newAccelerationStructure(descriptor) accelerationStructure := heap->newAccelerationStructure(size, offset) accelerationStructure := heap->newAccelerationStructure(descriptor, offset)
Heap_newBuffer ¶ owned overloaded
Heap_newBuffer :: proc{ Heap_newBufferWithLength, Heap_newBufferWithOptions, }
buffer := heap->newBuffer(length, options) buffer := heap->newBuffer(length, options, offset)
Heap_newTexture ¶ owned overloaded
Heap_newTexture :: proc{ Heap_newTextureWithDescriptor, Heap_newTextureWithDescriptorAndOffset, }
texture := heap->newTexture(desc) texture := heap->newTexture(descriptor, offset)
Library_newFunction ¶ owned overloaded
Library_newFunction :: proc{ Library_newFunctionWithCompletionHandler, Library_newFunctionWithDescriptor, Library_newFunctionWithName, Library_newFunctionWithConstantValuesAndCompletionHandler, Library_newFunctionWithConstantValues, }
function := library->newFunction(descriptor, completionHandler) function, error := library->newFunction(descriptor) function := library->newFunction(functionName) function := library->newFunction(name, constantValues, completionHandler) function, error := library->newFunction(name, constantValues)
Texture_newTextureView ¶ owned overloaded
Texture_newTextureView :: proc{ Texture_newTextureViewWithPixelFormat, Texture_newTextureViewWithLevels, Texture_newTextureViewWithLevelsAndSwizzle, }
res := texture->newTextureView(pixelFormat) res := texture->newTextureView(pixelFormat, textureType, levelRange, sliceRange) res := texture->newTextureView(pixelFormat, textureType, levelRange, sliceRange, swizzle)
Source Files
Generation Information
Generated with odin version dev-2026-10 (vendor "odin") Windows_amd64 @ 2026-10-14 23:35:37.403868600 +0000 UTC