Documentation ¶
Overview ¶
Render advanced 3D graphics and compute data in parallel with graphics processors.
Index ¶
- Variables
- type AccelerationStructureBoundingBoxGeometryDescriptor
- func AccelerationStructureBoundingBoxGeometryDescriptorFrom(ptr unsafe.Pointer) AccelerationStructureBoundingBoxGeometryDescriptor
- func AccelerationStructureBoundingBoxGeometryDescriptor_Descriptor() AccelerationStructureBoundingBoxGeometryDescriptor
- func NewAccelerationStructureBoundingBoxGeometryDescriptor() AccelerationStructureBoundingBoxGeometryDescriptor
- func (a_ AccelerationStructureBoundingBoxGeometryDescriptor) BoundingBoxBuffer() BufferObject
- func (a_ AccelerationStructureBoundingBoxGeometryDescriptor) BoundingBoxBufferOffset() uint
- func (a_ AccelerationStructureBoundingBoxGeometryDescriptor) BoundingBoxCount() uint
- func (a_ AccelerationStructureBoundingBoxGeometryDescriptor) BoundingBoxStride() uint
- func (a_ AccelerationStructureBoundingBoxGeometryDescriptor) Init() AccelerationStructureBoundingBoxGeometryDescriptor
- func (a_ AccelerationStructureBoundingBoxGeometryDescriptor) SetBoundingBoxBuffer(value PBuffer)
- func (a_ AccelerationStructureBoundingBoxGeometryDescriptor) SetBoundingBoxBufferObject(valueObject objc.IObject)
- func (a_ AccelerationStructureBoundingBoxGeometryDescriptor) SetBoundingBoxBufferOffset(value uint)
- func (a_ AccelerationStructureBoundingBoxGeometryDescriptor) SetBoundingBoxCount(value uint)
- func (a_ AccelerationStructureBoundingBoxGeometryDescriptor) SetBoundingBoxStride(value uint)
- type AccelerationStructureCommandEncoderObject
- func (a_ AccelerationStructureCommandEncoderObject) BuildAccelerationStructureDescriptorScratchBufferScratchBufferOffset(accelerationStructure AccelerationStructureObject, ...)
- func (a_ AccelerationStructureCommandEncoderObject) CopyAccelerationStructureToAccelerationStructure(sourceAccelerationStructure AccelerationStructureObject, ...)
- func (a_ AccelerationStructureCommandEncoderObject) CopyAndCompactAccelerationStructureToAccelerationStructure(sourceAccelerationStructure AccelerationStructureObject, ...)
- func (a_ AccelerationStructureCommandEncoderObject) HasBuildAccelerationStructureDescriptorScratchBufferScratchBufferOffset() bool
- func (a_ AccelerationStructureCommandEncoderObject) HasCopyAccelerationStructureToAccelerationStructure() bool
- func (a_ AccelerationStructureCommandEncoderObject) HasCopyAndCompactAccelerationStructureToAccelerationStructure() bool
- func (a_ AccelerationStructureCommandEncoderObject) HasRefitAccelerationStructureDescriptorDestinationScratchBufferScratchBufferOffset() bool
- func (a_ AccelerationStructureCommandEncoderObject) HasSampleCountersInBufferAtSampleIndexWithBarrier() bool
- func (a_ AccelerationStructureCommandEncoderObject) HasUpdateFence() bool
- func (a_ AccelerationStructureCommandEncoderObject) HasUseHeap() bool
- func (a_ AccelerationStructureCommandEncoderObject) HasUseHeapsCount() bool
- func (a_ AccelerationStructureCommandEncoderObject) HasUseResourceUsage() bool
- func (a_ AccelerationStructureCommandEncoderObject) HasUseResourcesCountUsage() bool
- func (a_ AccelerationStructureCommandEncoderObject) HasWaitForFence() bool
- func (a_ AccelerationStructureCommandEncoderObject) HasWriteCompactedAccelerationStructureSizeToBufferOffset() bool
- func (a_ AccelerationStructureCommandEncoderObject) HasWriteCompactedAccelerationStructureSizeToBufferOffsetSizeDataType() bool
- func (a_ AccelerationStructureCommandEncoderObject) RefitAccelerationStructureDescriptorDestinationScratchBufferScratchBufferOffset(sourceAccelerationStructure AccelerationStructureObject, ...)
- func (a_ AccelerationStructureCommandEncoderObject) SampleCountersInBufferAtSampleIndexWithBarrier(sampleBuffer CounterSampleBufferObject, sampleIndex uint, barrier bool)
- func (a_ AccelerationStructureCommandEncoderObject) UpdateFence(fence FenceObject)
- func (a_ AccelerationStructureCommandEncoderObject) UseHeap(heap HeapObject)
- func (a_ AccelerationStructureCommandEncoderObject) UseHeapsCount(heaps HeapObject, count uint)
- func (a_ AccelerationStructureCommandEncoderObject) UseResourceUsage(resource ResourceObject, usage ResourceUsage)
- func (a_ AccelerationStructureCommandEncoderObject) UseResourcesCountUsage(resources ResourceObject, count uint, usage ResourceUsage)
- func (a_ AccelerationStructureCommandEncoderObject) WaitForFence(fence FenceObject)
- func (a_ AccelerationStructureCommandEncoderObject) WriteCompactedAccelerationStructureSizeToBufferOffset(accelerationStructure AccelerationStructureObject, buffer BufferObject, ...)
- func (a_ AccelerationStructureCommandEncoderObject) WriteCompactedAccelerationStructureSizeToBufferOffsetSizeDataType(accelerationStructure AccelerationStructureObject, buffer BufferObject, ...)
- type AccelerationStructureDescriptor
- type AccelerationStructureGeometryDescriptor
- func (a_ AccelerationStructureGeometryDescriptor) AllowDuplicateIntersectionFunctionInvocation() bool
- func (a_ AccelerationStructureGeometryDescriptor) Init() AccelerationStructureGeometryDescriptor
- func (a_ AccelerationStructureGeometryDescriptor) IntersectionFunctionTableOffset() uint
- func (a_ AccelerationStructureGeometryDescriptor) Label() string
- func (a_ AccelerationStructureGeometryDescriptor) Opaque() bool
- func (a_ AccelerationStructureGeometryDescriptor) SetAllowDuplicateIntersectionFunctionInvocation(value bool)
- func (a_ AccelerationStructureGeometryDescriptor) SetIntersectionFunctionTableOffset(value uint)
- func (a_ AccelerationStructureGeometryDescriptor) SetLabel(value string)
- func (a_ AccelerationStructureGeometryDescriptor) SetOpaque(value bool)
- type AccelerationStructureInstanceDescriptor
- type AccelerationStructureInstanceDescriptorType
- type AccelerationStructureInstanceOptions
- type AccelerationStructureMotionBoundingBoxGeometryDescriptor
- func AccelerationStructureMotionBoundingBoxGeometryDescriptorFrom(ptr unsafe.Pointer) AccelerationStructureMotionBoundingBoxGeometryDescriptor
- func AccelerationStructureMotionBoundingBoxGeometryDescriptor_Descriptor() AccelerationStructureMotionBoundingBoxGeometryDescriptor
- func NewAccelerationStructureMotionBoundingBoxGeometryDescriptor() AccelerationStructureMotionBoundingBoxGeometryDescriptor
- func (a_ AccelerationStructureMotionBoundingBoxGeometryDescriptor) BoundingBoxBuffers() []MotionKeyframeData
- func (a_ AccelerationStructureMotionBoundingBoxGeometryDescriptor) BoundingBoxCount() uint
- func (a_ AccelerationStructureMotionBoundingBoxGeometryDescriptor) BoundingBoxStride() uint
- func (a_ AccelerationStructureMotionBoundingBoxGeometryDescriptor) Init() AccelerationStructureMotionBoundingBoxGeometryDescriptor
- func (a_ AccelerationStructureMotionBoundingBoxGeometryDescriptor) SetBoundingBoxBuffers(value []IMotionKeyframeData)
- func (a_ AccelerationStructureMotionBoundingBoxGeometryDescriptor) SetBoundingBoxCount(value uint)
- func (a_ AccelerationStructureMotionBoundingBoxGeometryDescriptor) SetBoundingBoxStride(value uint)
- type AccelerationStructureMotionInstanceDescriptor
- type AccelerationStructureMotionTriangleGeometryDescriptor
- func AccelerationStructureMotionTriangleGeometryDescriptorFrom(ptr unsafe.Pointer) AccelerationStructureMotionTriangleGeometryDescriptor
- func AccelerationStructureMotionTriangleGeometryDescriptor_Descriptor() AccelerationStructureMotionTriangleGeometryDescriptor
- func NewAccelerationStructureMotionTriangleGeometryDescriptor() AccelerationStructureMotionTriangleGeometryDescriptor
- func (a_ AccelerationStructureMotionTriangleGeometryDescriptor) IndexBuffer() BufferObject
- func (a_ AccelerationStructureMotionTriangleGeometryDescriptor) IndexBufferOffset() uint
- func (a_ AccelerationStructureMotionTriangleGeometryDescriptor) IndexType() IndexType
- func (a_ AccelerationStructureMotionTriangleGeometryDescriptor) Init() AccelerationStructureMotionTriangleGeometryDescriptor
- func (a_ AccelerationStructureMotionTriangleGeometryDescriptor) SetIndexBuffer(value PBuffer)
- func (a_ AccelerationStructureMotionTriangleGeometryDescriptor) SetIndexBufferObject(valueObject objc.IObject)
- func (a_ AccelerationStructureMotionTriangleGeometryDescriptor) SetIndexBufferOffset(value uint)
- func (a_ AccelerationStructureMotionTriangleGeometryDescriptor) SetIndexType(value IndexType)
- func (a_ AccelerationStructureMotionTriangleGeometryDescriptor) SetTriangleCount(value uint)
- func (a_ AccelerationStructureMotionTriangleGeometryDescriptor) SetVertexBuffers(value []IMotionKeyframeData)
- func (a_ AccelerationStructureMotionTriangleGeometryDescriptor) SetVertexStride(value uint)
- func (a_ AccelerationStructureMotionTriangleGeometryDescriptor) TriangleCount() uint
- func (a_ AccelerationStructureMotionTriangleGeometryDescriptor) VertexBuffers() []MotionKeyframeData
- func (a_ AccelerationStructureMotionTriangleGeometryDescriptor) VertexStride() uint
- type AccelerationStructureObject
- type AccelerationStructureSizes
- type AccelerationStructureTriangleGeometryDescriptor
- func AccelerationStructureTriangleGeometryDescriptorFrom(ptr unsafe.Pointer) AccelerationStructureTriangleGeometryDescriptor
- func AccelerationStructureTriangleGeometryDescriptor_Descriptor() AccelerationStructureTriangleGeometryDescriptor
- func NewAccelerationStructureTriangleGeometryDescriptor() AccelerationStructureTriangleGeometryDescriptor
- func (a_ AccelerationStructureTriangleGeometryDescriptor) IndexBuffer() BufferObject
- func (a_ AccelerationStructureTriangleGeometryDescriptor) IndexBufferOffset() uint
- func (a_ AccelerationStructureTriangleGeometryDescriptor) IndexType() IndexType
- func (a_ AccelerationStructureTriangleGeometryDescriptor) Init() AccelerationStructureTriangleGeometryDescriptor
- func (a_ AccelerationStructureTriangleGeometryDescriptor) SetIndexBuffer(value PBuffer)
- func (a_ AccelerationStructureTriangleGeometryDescriptor) SetIndexBufferObject(valueObject objc.IObject)
- func (a_ AccelerationStructureTriangleGeometryDescriptor) SetIndexBufferOffset(value uint)
- func (a_ AccelerationStructureTriangleGeometryDescriptor) SetIndexType(value IndexType)
- func (a_ AccelerationStructureTriangleGeometryDescriptor) SetTriangleCount(value uint)
- func (a_ AccelerationStructureTriangleGeometryDescriptor) SetVertexBuffer(value PBuffer)
- func (a_ AccelerationStructureTriangleGeometryDescriptor) SetVertexBufferObject(valueObject objc.IObject)
- func (a_ AccelerationStructureTriangleGeometryDescriptor) SetVertexBufferOffset(value uint)
- func (a_ AccelerationStructureTriangleGeometryDescriptor) SetVertexStride(value uint)
- func (a_ AccelerationStructureTriangleGeometryDescriptor) TriangleCount() uint
- func (a_ AccelerationStructureTriangleGeometryDescriptor) VertexBuffer() BufferObject
- func (a_ AccelerationStructureTriangleGeometryDescriptor) VertexBufferOffset() uint
- func (a_ AccelerationStructureTriangleGeometryDescriptor) VertexStride() uint
- type AccelerationStructureUsage
- type AccelerationStructureUserIDInstanceDescriptor
- type Argument
- type ArgumentBuffersTier
- type ArgumentDescriptor
- func (a_ ArgumentDescriptor) Access() objc.Object
- func (a_ ArgumentDescriptor) ArrayLength() uint
- func (a_ ArgumentDescriptor) ConstantBlockAlignment() uint
- func (a_ ArgumentDescriptor) DataType() DataType
- func (a_ ArgumentDescriptor) Index() uint
- func (a_ ArgumentDescriptor) Init() ArgumentDescriptor
- func (a_ ArgumentDescriptor) SetAccess(value objc.IObject)
- func (a_ ArgumentDescriptor) SetArrayLength(value uint)
- func (a_ ArgumentDescriptor) SetConstantBlockAlignment(value uint)
- func (a_ ArgumentDescriptor) SetDataType(value DataType)
- func (a_ ArgumentDescriptor) SetIndex(value uint)
- func (a_ ArgumentDescriptor) SetTextureType(value TextureType)
- func (a_ ArgumentDescriptor) TextureType() TextureType
- type ArgumentEncoderObject
- func (a_ ArgumentEncoderObject) Alignment() uint
- func (a_ ArgumentEncoderObject) ConstantDataAtIndex(index uint) unsafe.Pointer
- func (a_ ArgumentEncoderObject) Device() DeviceObject
- func (a_ ArgumentEncoderObject) EncodedLength() uint
- func (a_ ArgumentEncoderObject) HasAlignment() bool
- func (a_ ArgumentEncoderObject) HasConstantDataAtIndex() bool
- func (a_ ArgumentEncoderObject) HasDevice() bool
- func (a_ ArgumentEncoderObject) HasEncodedLength() bool
- func (a_ ArgumentEncoderObject) HasLabel() bool
- func (a_ ArgumentEncoderObject) HasNewArgumentEncoderForBufferAtIndex() bool
- func (a_ ArgumentEncoderObject) HasSetAccelerationStructureAtIndex() bool
- func (a_ ArgumentEncoderObject) HasSetArgumentBufferOffset() bool
- func (a_ ArgumentEncoderObject) HasSetArgumentBufferStartOffsetArrayElement() bool
- func (a_ ArgumentEncoderObject) HasSetBufferOffsetAtIndex() bool
- func (a_ ArgumentEncoderObject) HasSetBuffersOffsetsWithRange() bool
- func (a_ ArgumentEncoderObject) HasSetComputePipelineStateAtIndex() bool
- func (a_ ArgumentEncoderObject) HasSetComputePipelineStatesWithRange() bool
- func (a_ ArgumentEncoderObject) HasSetIndirectCommandBufferAtIndex() bool
- func (a_ ArgumentEncoderObject) HasSetIndirectCommandBuffersWithRange() bool
- func (a_ ArgumentEncoderObject) HasSetIntersectionFunctionTableAtIndex() bool
- func (a_ ArgumentEncoderObject) HasSetIntersectionFunctionTablesWithRange() bool
- func (a_ ArgumentEncoderObject) HasSetLabel() bool
- func (a_ ArgumentEncoderObject) HasSetRenderPipelineStateAtIndex() bool
- func (a_ ArgumentEncoderObject) HasSetRenderPipelineStatesWithRange() bool
- func (a_ ArgumentEncoderObject) HasSetSamplerStateAtIndex() bool
- func (a_ ArgumentEncoderObject) HasSetSamplerStatesWithRange() bool
- func (a_ ArgumentEncoderObject) HasSetTextureAtIndex() bool
- func (a_ ArgumentEncoderObject) HasSetTexturesWithRange() bool
- func (a_ ArgumentEncoderObject) HasSetVisibleFunctionTableAtIndex() bool
- func (a_ ArgumentEncoderObject) HasSetVisibleFunctionTablesWithRange() bool
- func (a_ ArgumentEncoderObject) Label() string
- func (a_ ArgumentEncoderObject) NewArgumentEncoderForBufferAtIndex(index uint) ArgumentEncoderObject
- func (a_ ArgumentEncoderObject) SetAccelerationStructureAtIndex(accelerationStructure AccelerationStructureObject, index uint)
- func (a_ ArgumentEncoderObject) SetArgumentBufferOffset(argumentBuffer BufferObject, offset uint)
- func (a_ ArgumentEncoderObject) SetArgumentBufferStartOffsetArrayElement(argumentBuffer BufferObject, startOffset uint, arrayElement uint)
- func (a_ ArgumentEncoderObject) SetBufferOffsetAtIndex(buffer BufferObject, offset uint, index uint)
- func (a_ ArgumentEncoderObject) SetBuffersOffsetsWithRange(buffers BufferObject, offsets *uint, range_ foundation.Range)
- func (a_ ArgumentEncoderObject) SetComputePipelineStateAtIndex(pipeline ComputePipelineStateObject, index uint)
- func (a_ ArgumentEncoderObject) SetComputePipelineStatesWithRange(pipelines ComputePipelineStateObject, range_ foundation.Range)
- func (a_ ArgumentEncoderObject) SetIndirectCommandBufferAtIndex(indirectCommandBuffer IndirectCommandBufferObject, index uint)
- func (a_ ArgumentEncoderObject) SetIndirectCommandBuffersWithRange(buffers IndirectCommandBufferObject, range_ foundation.Range)
- func (a_ ArgumentEncoderObject) SetIntersectionFunctionTableAtIndex(intersectionFunctionTable IntersectionFunctionTableObject, index uint)
- func (a_ ArgumentEncoderObject) SetIntersectionFunctionTablesWithRange(intersectionFunctionTables IntersectionFunctionTableObject, ...)
- func (a_ ArgumentEncoderObject) SetLabel(value string)
- func (a_ ArgumentEncoderObject) SetRenderPipelineStateAtIndex(pipeline RenderPipelineStateObject, index uint)
- func (a_ ArgumentEncoderObject) SetRenderPipelineStatesWithRange(pipelines RenderPipelineStateObject, range_ foundation.Range)
- func (a_ ArgumentEncoderObject) SetSamplerStateAtIndex(sampler SamplerStateObject, index uint)
- func (a_ ArgumentEncoderObject) SetSamplerStatesWithRange(samplers SamplerStateObject, range_ foundation.Range)
- func (a_ ArgumentEncoderObject) SetTextureAtIndex(texture TextureObject, index uint)
- func (a_ ArgumentEncoderObject) SetTexturesWithRange(textures TextureObject, range_ foundation.Range)
- func (a_ ArgumentEncoderObject) SetVisibleFunctionTableAtIndex(visibleFunctionTable VisibleFunctionTableObject, index uint)
- func (a_ ArgumentEncoderObject) SetVisibleFunctionTablesWithRange(visibleFunctionTables VisibleFunctionTableObject, range_ foundation.Range)
- type ArgumentType
- type ArrayType
- func (a_ ArrayType) ArgumentIndexStride() uint
- func (a_ ArrayType) ArrayLength() uint
- func (a_ ArrayType) ElementArrayType() ArrayType
- func (a_ ArrayType) ElementPointerType() PointerType
- func (a_ ArrayType) ElementStructType() StructType
- func (a_ ArrayType) ElementTextureReferenceType() TextureReferenceType
- func (a_ ArrayType) ElementType() DataType
- func (a_ ArrayType) Init() ArrayType
- func (a_ ArrayType) Stride() uint
- type Attribute
- type AttributeDescriptor
- func (a_ AttributeDescriptor) BufferIndex() uint
- func (a_ AttributeDescriptor) Format() AttributeFormat
- func (a_ AttributeDescriptor) Init() AttributeDescriptor
- func (a_ AttributeDescriptor) Offset() uint
- func (a_ AttributeDescriptor) SetBufferIndex(value uint)
- func (a_ AttributeDescriptor) SetFormat(value AttributeFormat)
- func (a_ AttributeDescriptor) SetOffset(value uint)
- type AttributeDescriptorArray
- type AttributeFormat
- type AutoreleasedComputePipelineReflection
- type AutoreleasedRenderPipelineReflection
- type AxisAlignedBoundingBox
- type BarrierScope
- type BinaryArchiveDescriptor
- type BinaryArchiveError
- type BinaryArchiveObject
- func (b_ BinaryArchiveObject) AddComputePipelineFunctionsWithDescriptorError(descriptor ComputePipelineDescriptor, error foundation.Error) bool
- func (b_ BinaryArchiveObject) AddFunctionWithDescriptorLibraryError(descriptor FunctionDescriptor, library LibraryObject, error foundation.Error) bool
- func (b_ BinaryArchiveObject) AddRenderPipelineFunctionsWithDescriptorError(descriptor RenderPipelineDescriptor, error foundation.Error) bool
- func (b_ BinaryArchiveObject) AddTileRenderPipelineFunctionsWithDescriptorError(descriptor TileRenderPipelineDescriptor, error foundation.Error) bool
- func (b_ BinaryArchiveObject) Device() DeviceObject
- func (b_ BinaryArchiveObject) HasAddComputePipelineFunctionsWithDescriptorError() bool
- func (b_ BinaryArchiveObject) HasAddFunctionWithDescriptorLibraryError() bool
- func (b_ BinaryArchiveObject) HasAddRenderPipelineFunctionsWithDescriptorError() bool
- func (b_ BinaryArchiveObject) HasAddTileRenderPipelineFunctionsWithDescriptorError() bool
- func (b_ BinaryArchiveObject) HasDevice() bool
- func (b_ BinaryArchiveObject) HasLabel() bool
- func (b_ BinaryArchiveObject) HasSerializeToURLError() bool
- func (b_ BinaryArchiveObject) HasSetLabel() bool
- func (b_ BinaryArchiveObject) Label() string
- func (b_ BinaryArchiveObject) SerializeToURLError(url foundation.URL, error foundation.Error) bool
- func (b_ BinaryArchiveObject) SetLabel(value string)
- type BlendFactor
- type BlendOperation
- type BlitCommandEncoderObject
- func (b_ BlitCommandEncoderObject) CopyFromBufferSourceOffsetSourceBytesPerRowSourceBytesPerImageSourceSizeToTextureDestinationSliceDestinationLevelDestinationOrigin(sourceBuffer BufferObject, sourceOffset uint, sourceBytesPerRow uint, ...)
- func (b_ BlitCommandEncoderObject) CopyFromBufferSourceOffsetSourceBytesPerRowSourceBytesPerImageSourceSizeToTextureDestinationSliceDestinationLevelDestinationOriginOptions(sourceBuffer BufferObject, sourceOffset uint, sourceBytesPerRow uint, ...)
- func (b_ BlitCommandEncoderObject) CopyFromBufferSourceOffsetToBufferDestinationOffsetSize(sourceBuffer BufferObject, sourceOffset uint, destinationBuffer BufferObject, ...)
- func (b_ BlitCommandEncoderObject) CopyFromTextureSourceSliceSourceLevelSourceOriginSourceSizeToBufferDestinationOffsetDestinationBytesPerRowDestinationBytesPerImage(sourceTexture TextureObject, sourceSlice uint, sourceLevel uint, ...)
- func (b_ BlitCommandEncoderObject) CopyFromTextureSourceSliceSourceLevelSourceOriginSourceSizeToBufferDestinationOffsetDestinationBytesPerRowDestinationBytesPerImageOptions(sourceTexture TextureObject, sourceSlice uint, sourceLevel uint, ...)
- func (b_ BlitCommandEncoderObject) CopyFromTextureSourceSliceSourceLevelSourceOriginSourceSizeToTextureDestinationSliceDestinationLevelDestinationOrigin(sourceTexture TextureObject, sourceSlice uint, sourceLevel uint, ...)
- func (b_ BlitCommandEncoderObject) CopyFromTextureSourceSliceSourceLevelToTextureDestinationSliceDestinationLevelSliceCountLevelCount(sourceTexture TextureObject, sourceSlice uint, sourceLevel uint, ...)
- func (b_ BlitCommandEncoderObject) CopyFromTextureToTexture(sourceTexture TextureObject, destinationTexture TextureObject)
- func (b_ BlitCommandEncoderObject) CopyIndirectCommandBufferSourceRangeDestinationDestinationIndex(source IndirectCommandBufferObject, sourceRange foundation.Range, ...)
- func (b_ BlitCommandEncoderObject) FillBufferRangeValue(buffer BufferObject, range_ foundation.Range, value uint8)
- func (b_ BlitCommandEncoderObject) GenerateMipmapsForTexture(texture TextureObject)
- func (b_ BlitCommandEncoderObject) GetTextureAccessCountersRegionMipLevelSliceResetCountersCountersBufferCountersBufferOffset(texture TextureObject, region Region, mipLevel uint, slice uint, ...)
- func (b_ BlitCommandEncoderObject) HasCopyFromBufferSourceOffsetSourceBytesPerRowSourceBytesPerImageSourceSizeToTextureDestinationSliceDestinationLevelDestinationOrigin() bool
- func (b_ BlitCommandEncoderObject) HasCopyFromBufferSourceOffsetSourceBytesPerRowSourceBytesPerImageSourceSizeToTextureDestinationSliceDestinationLevelDestinationOriginOptions() bool
- func (b_ BlitCommandEncoderObject) HasCopyFromBufferSourceOffsetToBufferDestinationOffsetSize() bool
- func (b_ BlitCommandEncoderObject) HasCopyFromTextureSourceSliceSourceLevelSourceOriginSourceSizeToBufferDestinationOffsetDestinationBytesPerRowDestinationBytesPerImage() bool
- func (b_ BlitCommandEncoderObject) HasCopyFromTextureSourceSliceSourceLevelSourceOriginSourceSizeToBufferDestinationOffsetDestinationBytesPerRowDestinationBytesPerImageOptions() bool
- func (b_ BlitCommandEncoderObject) HasCopyFromTextureSourceSliceSourceLevelSourceOriginSourceSizeToTextureDestinationSliceDestinationLevelDestinationOrigin() bool
- func (b_ BlitCommandEncoderObject) HasCopyFromTextureSourceSliceSourceLevelToTextureDestinationSliceDestinationLevelSliceCountLevelCount() bool
- func (b_ BlitCommandEncoderObject) HasCopyFromTextureToTexture() bool
- func (b_ BlitCommandEncoderObject) HasCopyIndirectCommandBufferSourceRangeDestinationDestinationIndex() bool
- func (b_ BlitCommandEncoderObject) HasFillBufferRangeValue() bool
- func (b_ BlitCommandEncoderObject) HasGenerateMipmapsForTexture() bool
- func (b_ BlitCommandEncoderObject) HasGetTextureAccessCountersRegionMipLevelSliceResetCountersCountersBufferCountersBufferOffset() bool
- func (b_ BlitCommandEncoderObject) HasOptimizeContentsForCPUAccess() bool
- func (b_ BlitCommandEncoderObject) HasOptimizeContentsForCPUAccessSliceLevel() bool
- func (b_ BlitCommandEncoderObject) HasOptimizeContentsForGPUAccess() bool
- func (b_ BlitCommandEncoderObject) HasOptimizeContentsForGPUAccessSliceLevel() bool
- func (b_ BlitCommandEncoderObject) HasOptimizeIndirectCommandBufferWithRange() bool
- func (b_ BlitCommandEncoderObject) HasResetCommandsInBufferWithRange() bool
- func (b_ BlitCommandEncoderObject) HasResetTextureAccessCountersRegionMipLevelSlice() bool
- func (b_ BlitCommandEncoderObject) HasResolveCountersInRangeDestinationBufferDestinationOffset() bool
- func (b_ BlitCommandEncoderObject) HasSampleCountersInBufferAtSampleIndexWithBarrier() bool
- func (b_ BlitCommandEncoderObject) HasSynchronizeResource() bool
- func (b_ BlitCommandEncoderObject) HasSynchronizeTextureSliceLevel() bool
- func (b_ BlitCommandEncoderObject) HasUpdateFence() bool
- func (b_ BlitCommandEncoderObject) HasWaitForFence() bool
- func (b_ BlitCommandEncoderObject) OptimizeContentsForCPUAccess(texture TextureObject)
- func (b_ BlitCommandEncoderObject) OptimizeContentsForCPUAccessSliceLevel(texture TextureObject, slice uint, level uint)
- func (b_ BlitCommandEncoderObject) OptimizeContentsForGPUAccess(texture TextureObject)
- func (b_ BlitCommandEncoderObject) OptimizeContentsForGPUAccessSliceLevel(texture TextureObject, slice uint, level uint)
- func (b_ BlitCommandEncoderObject) OptimizeIndirectCommandBufferWithRange(indirectCommandBuffer IndirectCommandBufferObject, range_ foundation.Range)
- func (b_ BlitCommandEncoderObject) ResetCommandsInBufferWithRange(buffer IndirectCommandBufferObject, range_ foundation.Range)
- func (b_ BlitCommandEncoderObject) ResetTextureAccessCountersRegionMipLevelSlice(texture TextureObject, region Region, mipLevel uint, slice uint)
- func (b_ BlitCommandEncoderObject) ResolveCountersInRangeDestinationBufferDestinationOffset(sampleBuffer CounterSampleBufferObject, range_ foundation.Range, ...)
- func (b_ BlitCommandEncoderObject) SampleCountersInBufferAtSampleIndexWithBarrier(sampleBuffer CounterSampleBufferObject, sampleIndex uint, barrier bool)
- func (b_ BlitCommandEncoderObject) SynchronizeResource(resource ResourceObject)
- func (b_ BlitCommandEncoderObject) SynchronizeTextureSliceLevel(texture TextureObject, slice uint, level uint)
- func (b_ BlitCommandEncoderObject) UpdateFence(fence FenceObject)
- func (b_ BlitCommandEncoderObject) WaitForFence(fence FenceObject)
- type BlitOption
- type BlitPassDescriptor
- type BlitPassSampleBufferAttachmentDescriptor
- func (b_ BlitPassSampleBufferAttachmentDescriptor) EndOfEncoderSampleIndex() uint
- func (b_ BlitPassSampleBufferAttachmentDescriptor) Init() BlitPassSampleBufferAttachmentDescriptor
- func (b_ BlitPassSampleBufferAttachmentDescriptor) SampleBuffer() CounterSampleBufferObject
- func (b_ BlitPassSampleBufferAttachmentDescriptor) SetEndOfEncoderSampleIndex(value uint)
- func (b_ BlitPassSampleBufferAttachmentDescriptor) SetSampleBuffer(value PCounterSampleBuffer)
- func (b_ BlitPassSampleBufferAttachmentDescriptor) SetSampleBufferObject(valueObject objc.IObject)
- func (b_ BlitPassSampleBufferAttachmentDescriptor) SetStartOfEncoderSampleIndex(value uint)
- func (b_ BlitPassSampleBufferAttachmentDescriptor) StartOfEncoderSampleIndex() uint
- type BlitPassSampleBufferAttachmentDescriptorArray
- func (b_ BlitPassSampleBufferAttachmentDescriptorArray) Init() BlitPassSampleBufferAttachmentDescriptorArray
- func (b_ BlitPassSampleBufferAttachmentDescriptorArray) ObjectAtIndexedSubscript(attachmentIndex uint) BlitPassSampleBufferAttachmentDescriptor
- func (b_ BlitPassSampleBufferAttachmentDescriptorArray) SetObjectAtIndexedSubscript(attachment IBlitPassSampleBufferAttachmentDescriptor, attachmentIndex uint)
- type BufferLayoutDescriptor
- func (b_ BufferLayoutDescriptor) Init() BufferLayoutDescriptor
- func (b_ BufferLayoutDescriptor) SetStepFunction(value StepFunction)
- func (b_ BufferLayoutDescriptor) SetStepRate(value uint)
- func (b_ BufferLayoutDescriptor) SetStride(value uint)
- func (b_ BufferLayoutDescriptor) StepFunction() StepFunction
- func (b_ BufferLayoutDescriptor) StepRate() uint
- func (b_ BufferLayoutDescriptor) Stride() uint
- type BufferLayoutDescriptorArray
- type BufferObject
- func (b_ BufferObject) AddDebugMarkerRange(marker string, range_ foundation.Range)
- func (b_ BufferObject) Contents() unsafe.Pointer
- func (b_ BufferObject) DidModifyRange(range_ foundation.Range)
- func (b_ BufferObject) HasAddDebugMarkerRange() bool
- func (b_ BufferObject) HasContents() bool
- func (b_ BufferObject) HasDidModifyRange() bool
- func (b_ BufferObject) HasLength() bool
- func (b_ BufferObject) HasNewRemoteBufferViewForDevice() bool
- func (b_ BufferObject) HasNewTextureWithDescriptorOffsetBytesPerRow() bool
- func (b_ BufferObject) HasRemoteStorageBuffer() bool
- func (b_ BufferObject) HasRemoveAllDebugMarkers() bool
- func (b_ BufferObject) Length() uint
- func (b_ BufferObject) NewRemoteBufferViewForDevice(device DeviceObject) BufferObject
- func (b_ BufferObject) NewTextureWithDescriptorOffsetBytesPerRow(descriptor TextureDescriptor, offset uint, bytesPerRow uint) TextureObject
- func (b_ BufferObject) RemoteStorageBuffer() BufferObject
- func (b_ BufferObject) RemoveAllDebugMarkers()
- type CPUCacheMode
- type CaptureDescriptor
- func (c_ CaptureDescriptor) CaptureObject() objc.Object
- func (c_ CaptureDescriptor) Destination() CaptureDestination
- func (c_ CaptureDescriptor) Init() CaptureDescriptor
- func (c_ CaptureDescriptor) OutputURL() foundation.URL
- func (c_ CaptureDescriptor) SetCaptureObject(value objc.IObject)
- func (c_ CaptureDescriptor) SetDestination(value CaptureDestination)
- func (c_ CaptureDescriptor) SetOutputURL(value foundation.IURL)
- type CaptureDestination
- type CaptureError
- type CaptureManager
- func (c_ CaptureManager) DefaultCaptureScope() CaptureScopeObject
- func (c_ CaptureManager) Init() CaptureManager
- func (c_ CaptureManager) IsCapturing() bool
- func (c_ CaptureManager) NewCaptureScopeWithCommandQueue(commandQueue PCommandQueue) CaptureScopeObject
- func (c_ CaptureManager) NewCaptureScopeWithCommandQueueObject(commandQueueObject objc.IObject) CaptureScopeObject
- func (c_ CaptureManager) NewCaptureScopeWithDevice(device PDevice) CaptureScopeObject
- func (c_ CaptureManager) NewCaptureScopeWithDeviceObject(deviceObject objc.IObject) CaptureScopeObject
- func (c_ CaptureManager) SetDefaultCaptureScope(value PCaptureScope)
- func (c_ CaptureManager) SetDefaultCaptureScopeObject(valueObject objc.IObject)
- func (c_ CaptureManager) StartCaptureWithDescriptorError(descriptor ICaptureDescriptor, error foundation.IError) bool
- func (c_ CaptureManager) StopCapture()
- func (c_ CaptureManager) SupportsDestination(destination CaptureDestination) bool
- type CaptureScopeObject
- func (c_ CaptureScopeObject) BeginScope()
- func (c_ CaptureScopeObject) CommandQueue() CommandQueueObject
- func (c_ CaptureScopeObject) Device() DeviceObject
- func (c_ CaptureScopeObject) EndScope()
- func (c_ CaptureScopeObject) HasBeginScope() bool
- func (c_ CaptureScopeObject) HasCommandQueue() bool
- func (c_ CaptureScopeObject) HasDevice() bool
- func (c_ CaptureScopeObject) HasEndScope() bool
- func (c_ CaptureScopeObject) HasLabel() bool
- func (c_ CaptureScopeObject) HasSetLabel() bool
- func (c_ CaptureScopeObject) Label() string
- func (c_ CaptureScopeObject) SetLabel(value string)
- type ClearColor
- type ColorWriteMask
- type CommandBufferDescriptor
- func (c_ CommandBufferDescriptor) ErrorOptions() CommandBufferErrorOption
- func (c_ CommandBufferDescriptor) Init() CommandBufferDescriptor
- func (c_ CommandBufferDescriptor) RetainedReferences() bool
- func (c_ CommandBufferDescriptor) SetErrorOptions(value CommandBufferErrorOption)
- func (c_ CommandBufferDescriptor) SetRetainedReferences(value bool)
- type CommandBufferEncoderInfoObject
- func (c_ CommandBufferEncoderInfoObject) DebugSignposts() []string
- func (c_ CommandBufferEncoderInfoObject) ErrorState() CommandEncoderErrorState
- func (c_ CommandBufferEncoderInfoObject) HasDebugSignposts() bool
- func (c_ CommandBufferEncoderInfoObject) HasErrorState() bool
- func (c_ CommandBufferEncoderInfoObject) HasLabel() bool
- func (c_ CommandBufferEncoderInfoObject) Label() string
- type CommandBufferError
- type CommandBufferErrorOption
- type CommandBufferHandler
- type CommandBufferObject
- func (c_ CommandBufferObject) AccelerationStructureCommandEncoder() AccelerationStructureCommandEncoderObject
- func (c_ CommandBufferObject) AddCompletedHandler(block CommandBufferHandler)
- func (c_ CommandBufferObject) AddScheduledHandler(block CommandBufferHandler)
- func (c_ CommandBufferObject) BlitCommandEncoder() BlitCommandEncoderObject
- func (c_ CommandBufferObject) BlitCommandEncoderWithDescriptor(blitPassDescriptor BlitPassDescriptor) BlitCommandEncoderObject
- func (c_ CommandBufferObject) CommandQueue() CommandQueueObject
- func (c_ CommandBufferObject) Commit()
- func (c_ CommandBufferObject) ComputeCommandEncoder() ComputeCommandEncoderObject
- func (c_ CommandBufferObject) ComputeCommandEncoderWithDescriptor(computePassDescriptor ComputePassDescriptor) ComputeCommandEncoderObject
- func (c_ CommandBufferObject) ComputeCommandEncoderWithDispatchType(dispatchType DispatchType) ComputeCommandEncoderObject
- func (c_ CommandBufferObject) Device() DeviceObject
- func (c_ CommandBufferObject) EncodeSignalEventValue(event EventObject, value uint64)
- func (c_ CommandBufferObject) EncodeWaitForEventValue(event EventObject, value uint64)
- func (c_ CommandBufferObject) Enqueue()
- func (c_ CommandBufferObject) Error() foundation.Error
- func (c_ CommandBufferObject) ErrorOptions() CommandBufferErrorOption
- func (c_ CommandBufferObject) GPUEndTime() corefoundation.TimeInterval
- func (c_ CommandBufferObject) GPUStartTime() corefoundation.TimeInterval
- func (c_ CommandBufferObject) HasAccelerationStructureCommandEncoder() bool
- func (c_ CommandBufferObject) HasAddCompletedHandler() bool
- func (c_ CommandBufferObject) HasAddScheduledHandler() bool
- func (c_ CommandBufferObject) HasBlitCommandEncoder() bool
- func (c_ CommandBufferObject) HasBlitCommandEncoderWithDescriptor() bool
- func (c_ CommandBufferObject) HasCommandQueue() bool
- func (c_ CommandBufferObject) HasCommit() bool
- func (c_ CommandBufferObject) HasComputeCommandEncoder() bool
- func (c_ CommandBufferObject) HasComputeCommandEncoderWithDescriptor() bool
- func (c_ CommandBufferObject) HasComputeCommandEncoderWithDispatchType() bool
- func (c_ CommandBufferObject) HasDevice() bool
- func (c_ CommandBufferObject) HasEncodeSignalEventValue() bool
- func (c_ CommandBufferObject) HasEncodeWaitForEventValue() bool
- func (c_ CommandBufferObject) HasEnqueue() bool
- func (c_ CommandBufferObject) HasError() bool
- func (c_ CommandBufferObject) HasErrorOptions() bool
- func (c_ CommandBufferObject) HasGPUEndTime() bool
- func (c_ CommandBufferObject) HasGPUStartTime() bool
- func (c_ CommandBufferObject) HasKernelEndTime() bool
- func (c_ CommandBufferObject) HasKernelStartTime() bool
- func (c_ CommandBufferObject) HasLabel() bool
- func (c_ CommandBufferObject) HasLogs() bool
- func (c_ CommandBufferObject) HasParallelRenderCommandEncoderWithDescriptor() bool
- func (c_ CommandBufferObject) HasPopDebugGroup() bool
- func (c_ CommandBufferObject) HasPresentDrawable() bool
- func (c_ CommandBufferObject) HasPresentDrawableAfterMinimumDuration() bool
- func (c_ CommandBufferObject) HasPresentDrawableAtTime() bool
- func (c_ CommandBufferObject) HasPushDebugGroup() bool
- func (c_ CommandBufferObject) HasRenderCommandEncoderWithDescriptor() bool
- func (c_ CommandBufferObject) HasResourceStateCommandEncoder() bool
- func (c_ CommandBufferObject) HasResourceStateCommandEncoderWithDescriptor() bool
- func (c_ CommandBufferObject) HasRetainedReferences() bool
- func (c_ CommandBufferObject) HasSetLabel() bool
- func (c_ CommandBufferObject) HasStatus() bool
- func (c_ CommandBufferObject) HasWaitUntilCompleted() bool
- func (c_ CommandBufferObject) HasWaitUntilScheduled() bool
- func (c_ CommandBufferObject) KernelEndTime() corefoundation.TimeInterval
- func (c_ CommandBufferObject) KernelStartTime() corefoundation.TimeInterval
- func (c_ CommandBufferObject) Label() string
- func (c_ CommandBufferObject) Logs() LogContainerObject
- func (c_ CommandBufferObject) ParallelRenderCommandEncoderWithDescriptor(renderPassDescriptor RenderPassDescriptor) ParallelRenderCommandEncoderObject
- func (c_ CommandBufferObject) PopDebugGroup()
- func (c_ CommandBufferObject) PresentDrawable(drawable DrawableObject)
- func (c_ CommandBufferObject) PresentDrawableAfterMinimumDuration(drawable DrawableObject, duration corefoundation.TimeInterval)
- func (c_ CommandBufferObject) PresentDrawableAtTime(drawable DrawableObject, presentationTime corefoundation.TimeInterval)
- func (c_ CommandBufferObject) PushDebugGroup(string_ string)
- func (c_ CommandBufferObject) RenderCommandEncoderWithDescriptor(renderPassDescriptor RenderPassDescriptor) RenderCommandEncoderObject
- func (c_ CommandBufferObject) ResourceStateCommandEncoder() ResourceStateCommandEncoderObject
- func (c_ CommandBufferObject) ResourceStateCommandEncoderWithDescriptor(resourceStatePassDescriptor ResourceStatePassDescriptor) ResourceStateCommandEncoderObject
- func (c_ CommandBufferObject) RetainedReferences() bool
- func (c_ CommandBufferObject) SetLabel(value string)
- func (c_ CommandBufferObject) Status() CommandBufferStatus
- func (c_ CommandBufferObject) WaitUntilCompleted()
- func (c_ CommandBufferObject) WaitUntilScheduled()
- type CommandBufferStatus
- type CommandEncoderErrorState
- type CommandEncoderObject
- func (c_ CommandEncoderObject) Device() DeviceObject
- func (c_ CommandEncoderObject) EndEncoding()
- func (c_ CommandEncoderObject) HasDevice() bool
- func (c_ CommandEncoderObject) HasEndEncoding() bool
- func (c_ CommandEncoderObject) HasInsertDebugSignpost() bool
- func (c_ CommandEncoderObject) HasLabel() bool
- func (c_ CommandEncoderObject) HasPopDebugGroup() bool
- func (c_ CommandEncoderObject) HasPushDebugGroup() bool
- func (c_ CommandEncoderObject) HasSetLabel() bool
- func (c_ CommandEncoderObject) InsertDebugSignpost(string_ string)
- func (c_ CommandEncoderObject) Label() string
- func (c_ CommandEncoderObject) PopDebugGroup()
- func (c_ CommandEncoderObject) PushDebugGroup(string_ string)
- func (c_ CommandEncoderObject) SetLabel(value string)
- type CommandQueueObject
- func (c_ CommandQueueObject) CommandBuffer() CommandBufferObject
- func (c_ CommandQueueObject) CommandBufferWithDescriptor(descriptor CommandBufferDescriptor) CommandBufferObject
- func (c_ CommandQueueObject) CommandBufferWithUnretainedReferences() CommandBufferObject
- func (c_ CommandQueueObject) Device() DeviceObject
- func (c_ CommandQueueObject) HasCommandBuffer() bool
- func (c_ CommandQueueObject) HasCommandBufferWithDescriptor() bool
- func (c_ CommandQueueObject) HasCommandBufferWithUnretainedReferences() bool
- func (c_ CommandQueueObject) HasDevice() bool
- func (c_ CommandQueueObject) HasLabel() bool
- func (c_ CommandQueueObject) HasSetLabel() bool
- func (c_ CommandQueueObject) Label() string
- func (c_ CommandQueueObject) SetLabel(value string)
- type CommonCounter
- type CommonCounterSet
- type CompareFunction
- type CompileOptions
- func (c_ CompileOptions) FastMathEnabled() bool
- func (c_ CompileOptions) Init() CompileOptions
- func (c_ CompileOptions) InstallName() string
- func (c_ CompileOptions) LanguageVersion() LanguageVersion
- func (c_ CompileOptions) Libraries() []DynamicLibraryObject
- func (c_ CompileOptions) LibraryType() LibraryType
- func (c_ CompileOptions) PreprocessorMacros() map[string]objc.Object
- func (c_ CompileOptions) PreserveInvariance() bool
- func (c_ CompileOptions) SetFastMathEnabled(value bool)
- func (c_ CompileOptions) SetInstallName(value string)
- func (c_ CompileOptions) SetLanguageVersion(value LanguageVersion)
- func (c_ CompileOptions) SetLibraries(value []PDynamicLibrary)
- func (c_ CompileOptions) SetLibraryType(value LibraryType)
- func (c_ CompileOptions) SetPreprocessorMacros(value map[string]objc.IObject)
- func (c_ CompileOptions) SetPreserveInvariance(value bool)
- type ComputeCommandEncoderObject
- func (c_ ComputeCommandEncoderObject) DispatchThreadgroupsThreadsPerThreadgroup(threadgroupsPerGrid Size, threadsPerThreadgroup Size)
- func (c_ ComputeCommandEncoderObject) DispatchThreadgroupsWithIndirectBufferIndirectBufferOffsetThreadsPerThreadgroup(indirectBuffer BufferObject, indirectBufferOffset uint, ...)
- func (c_ ComputeCommandEncoderObject) DispatchThreadsThreadsPerThreadgroup(threadsPerGrid Size, threadsPerThreadgroup Size)
- func (c_ ComputeCommandEncoderObject) DispatchType() DispatchType
- func (c_ ComputeCommandEncoderObject) ExecuteCommandsInBufferIndirectBufferIndirectBufferOffset(indirectCommandbuffer IndirectCommandBufferObject, ...)
- func (c_ ComputeCommandEncoderObject) ExecuteCommandsInBufferWithRange(indirectCommandBuffer IndirectCommandBufferObject, ...)
- func (c_ ComputeCommandEncoderObject) HasDispatchThreadgroupsThreadsPerThreadgroup() bool
- func (c_ ComputeCommandEncoderObject) HasDispatchThreadgroupsWithIndirectBufferIndirectBufferOffsetThreadsPerThreadgroup() bool
- func (c_ ComputeCommandEncoderObject) HasDispatchThreadsThreadsPerThreadgroup() bool
- func (c_ ComputeCommandEncoderObject) HasDispatchType() bool
- func (c_ ComputeCommandEncoderObject) HasExecuteCommandsInBufferIndirectBufferIndirectBufferOffset() bool
- func (c_ ComputeCommandEncoderObject) HasExecuteCommandsInBufferWithRange() bool
- func (c_ ComputeCommandEncoderObject) HasMemoryBarrierWithResourcesCount() bool
- func (c_ ComputeCommandEncoderObject) HasMemoryBarrierWithScope() bool
- func (c_ ComputeCommandEncoderObject) HasSampleCountersInBufferAtSampleIndexWithBarrier() bool
- func (c_ ComputeCommandEncoderObject) HasSetAccelerationStructureAtBufferIndex() bool
- func (c_ ComputeCommandEncoderObject) HasSetBufferOffsetAtIndex() bool
- func (c_ ComputeCommandEncoderObject) HasSetBufferOffsetAtIndex_() bool
- func (c_ ComputeCommandEncoderObject) HasSetBuffersOffsetsWithRange() bool
- func (c_ ComputeCommandEncoderObject) HasSetBytesLengthAtIndex() bool
- func (c_ ComputeCommandEncoderObject) HasSetComputePipelineState() bool
- func (c_ ComputeCommandEncoderObject) HasSetImageblockWidthHeight() bool
- func (c_ ComputeCommandEncoderObject) HasSetIntersectionFunctionTableAtBufferIndex() bool
- func (c_ ComputeCommandEncoderObject) HasSetIntersectionFunctionTablesWithBufferRange() bool
- func (c_ ComputeCommandEncoderObject) HasSetSamplerStateAtIndex() bool
- func (c_ ComputeCommandEncoderObject) HasSetSamplerStateLodMinClampLodMaxClampAtIndex() bool
- func (c_ ComputeCommandEncoderObject) HasSetSamplerStatesLodMinClampsLodMaxClampsWithRange() bool
- func (c_ ComputeCommandEncoderObject) HasSetSamplerStatesWithRange() bool
- func (c_ ComputeCommandEncoderObject) HasSetStageInRegion() bool
- func (c_ ComputeCommandEncoderObject) HasSetStageInRegionWithIndirectBufferIndirectBufferOffset() bool
- func (c_ ComputeCommandEncoderObject) HasSetTextureAtIndex() bool
- func (c_ ComputeCommandEncoderObject) HasSetTexturesWithRange() bool
- func (c_ ComputeCommandEncoderObject) HasSetThreadgroupMemoryLengthAtIndex() bool
- func (c_ ComputeCommandEncoderObject) HasSetVisibleFunctionTableAtBufferIndex() bool
- func (c_ ComputeCommandEncoderObject) HasSetVisibleFunctionTablesWithBufferRange() bool
- func (c_ ComputeCommandEncoderObject) HasUpdateFence() bool
- func (c_ ComputeCommandEncoderObject) HasUseHeap() bool
- func (c_ ComputeCommandEncoderObject) HasUseHeapsCount() bool
- func (c_ ComputeCommandEncoderObject) HasUseResourceUsage() bool
- func (c_ ComputeCommandEncoderObject) HasUseResourcesCountUsage() bool
- func (c_ ComputeCommandEncoderObject) HasWaitForFence() bool
- func (c_ ComputeCommandEncoderObject) MemoryBarrierWithResourcesCount(resources ResourceObject, count uint)
- func (c_ ComputeCommandEncoderObject) MemoryBarrierWithScope(scope BarrierScope)
- func (c_ ComputeCommandEncoderObject) SampleCountersInBufferAtSampleIndexWithBarrier(sampleBuffer CounterSampleBufferObject, sampleIndex uint, barrier bool)
- func (c_ ComputeCommandEncoderObject) SetAccelerationStructureAtBufferIndex(accelerationStructure AccelerationStructureObject, bufferIndex uint)
- func (c_ ComputeCommandEncoderObject) SetBufferOffsetAtIndex(offset uint, index uint)
- func (c_ ComputeCommandEncoderObject) SetBufferOffsetAtIndex_(buffer BufferObject, offset uint, index uint)
- func (c_ ComputeCommandEncoderObject) SetBuffersOffsetsWithRange(buffers BufferObject, offsets *uint, range_ foundation.Range)
- func (c_ ComputeCommandEncoderObject) SetBytesLengthAtIndex(bytes unsafe.Pointer, length uint, index uint)
- func (c_ ComputeCommandEncoderObject) SetComputePipelineState(state ComputePipelineStateObject)
- func (c_ ComputeCommandEncoderObject) SetImageblockWidthHeight(width uint, height uint)
- func (c_ ComputeCommandEncoderObject) SetIntersectionFunctionTableAtBufferIndex(intersectionFunctionTable IntersectionFunctionTableObject, bufferIndex uint)
- func (c_ ComputeCommandEncoderObject) SetIntersectionFunctionTablesWithBufferRange(intersectionFunctionTables IntersectionFunctionTableObject, ...)
- func (c_ ComputeCommandEncoderObject) SetSamplerStateAtIndex(sampler SamplerStateObject, index uint)
- func (c_ ComputeCommandEncoderObject) SetSamplerStateLodMinClampLodMaxClampAtIndex(sampler SamplerStateObject, lodMinClamp float64, lodMaxClamp float64, ...)
- func (c_ ComputeCommandEncoderObject) SetSamplerStatesLodMinClampsLodMaxClampsWithRange(samplers SamplerStateObject, lodMinClamps *float64, lodMaxClamps *float64, ...)
- func (c_ ComputeCommandEncoderObject) SetSamplerStatesWithRange(samplers SamplerStateObject, range_ foundation.Range)
- func (c_ ComputeCommandEncoderObject) SetStageInRegion(region Region)
- func (c_ ComputeCommandEncoderObject) SetStageInRegionWithIndirectBufferIndirectBufferOffset(indirectBuffer BufferObject, indirectBufferOffset uint)
- func (c_ ComputeCommandEncoderObject) SetTextureAtIndex(texture TextureObject, index uint)
- func (c_ ComputeCommandEncoderObject) SetTexturesWithRange(textures TextureObject, range_ foundation.Range)
- func (c_ ComputeCommandEncoderObject) SetThreadgroupMemoryLengthAtIndex(length uint, index uint)
- func (c_ ComputeCommandEncoderObject) SetVisibleFunctionTableAtBufferIndex(visibleFunctionTable VisibleFunctionTableObject, bufferIndex uint)
- func (c_ ComputeCommandEncoderObject) SetVisibleFunctionTablesWithBufferRange(visibleFunctionTables VisibleFunctionTableObject, range_ foundation.Range)
- func (c_ ComputeCommandEncoderObject) UpdateFence(fence FenceObject)
- func (c_ ComputeCommandEncoderObject) UseHeap(heap HeapObject)
- func (c_ ComputeCommandEncoderObject) UseHeapsCount(heaps HeapObject, count uint)
- func (c_ ComputeCommandEncoderObject) UseResourceUsage(resource ResourceObject, usage ResourceUsage)
- func (c_ ComputeCommandEncoderObject) UseResourcesCountUsage(resources ResourceObject, count uint, usage ResourceUsage)
- func (c_ ComputeCommandEncoderObject) WaitForFence(fence FenceObject)
- type ComputePassDescriptor
- type ComputePassSampleBufferAttachmentDescriptor
- func (c_ ComputePassSampleBufferAttachmentDescriptor) EndOfEncoderSampleIndex() uint
- func (c_ ComputePassSampleBufferAttachmentDescriptor) Init() ComputePassSampleBufferAttachmentDescriptor
- func (c_ ComputePassSampleBufferAttachmentDescriptor) SampleBuffer() CounterSampleBufferObject
- func (c_ ComputePassSampleBufferAttachmentDescriptor) SetEndOfEncoderSampleIndex(value uint)
- func (c_ ComputePassSampleBufferAttachmentDescriptor) SetSampleBuffer(value PCounterSampleBuffer)
- func (c_ ComputePassSampleBufferAttachmentDescriptor) SetSampleBufferObject(valueObject objc.IObject)
- func (c_ ComputePassSampleBufferAttachmentDescriptor) SetStartOfEncoderSampleIndex(value uint)
- func (c_ ComputePassSampleBufferAttachmentDescriptor) StartOfEncoderSampleIndex() uint
- type ComputePassSampleBufferAttachmentDescriptorArray
- func (c_ ComputePassSampleBufferAttachmentDescriptorArray) Init() ComputePassSampleBufferAttachmentDescriptorArray
- func (c_ ComputePassSampleBufferAttachmentDescriptorArray) ObjectAtIndexedSubscript(attachmentIndex uint) ComputePassSampleBufferAttachmentDescriptor
- func (c_ ComputePassSampleBufferAttachmentDescriptorArray) SetObjectAtIndexedSubscript(attachment IComputePassSampleBufferAttachmentDescriptor, attachmentIndex uint)
- type ComputePipelineDescriptor
- func (c_ ComputePipelineDescriptor) BinaryArchives() []BinaryArchiveObject
- func (c_ ComputePipelineDescriptor) Buffers() PipelineBufferDescriptorArray
- func (c_ ComputePipelineDescriptor) ComputeFunction() FunctionObject
- func (c_ ComputePipelineDescriptor) Init() ComputePipelineDescriptor
- func (c_ ComputePipelineDescriptor) Label() string
- func (c_ ComputePipelineDescriptor) LinkedFunctions() LinkedFunctions
- func (c_ ComputePipelineDescriptor) MaxCallStackDepth() uint
- func (c_ ComputePipelineDescriptor) MaxTotalThreadsPerThreadgroup() uint
- func (c_ ComputePipelineDescriptor) PreloadedLibraries() []DynamicLibraryObject
- func (c_ ComputePipelineDescriptor) Reset()
- func (c_ ComputePipelineDescriptor) SetBinaryArchives(value []PBinaryArchive)
- func (c_ ComputePipelineDescriptor) SetComputeFunction(value PFunction)
- func (c_ ComputePipelineDescriptor) SetComputeFunctionObject(valueObject objc.IObject)
- func (c_ ComputePipelineDescriptor) SetLabel(value string)
- func (c_ ComputePipelineDescriptor) SetLinkedFunctions(value ILinkedFunctions)
- func (c_ ComputePipelineDescriptor) SetMaxCallStackDepth(value uint)
- func (c_ ComputePipelineDescriptor) SetMaxTotalThreadsPerThreadgroup(value uint)
- func (c_ ComputePipelineDescriptor) SetPreloadedLibraries(value []PDynamicLibrary)
- func (c_ ComputePipelineDescriptor) SetStageInputDescriptor(value IStageInputOutputDescriptor)
- func (c_ ComputePipelineDescriptor) SetSupportAddingBinaryFunctions(value bool)
- func (c_ ComputePipelineDescriptor) SetSupportIndirectCommandBuffers(value bool)
- func (c_ ComputePipelineDescriptor) SetThreadGroupSizeIsMultipleOfThreadExecutionWidth(value bool)
- func (c_ ComputePipelineDescriptor) StageInputDescriptor() StageInputOutputDescriptor
- func (c_ ComputePipelineDescriptor) SupportAddingBinaryFunctions() bool
- func (c_ ComputePipelineDescriptor) SupportIndirectCommandBuffers() bool
- func (c_ ComputePipelineDescriptor) ThreadGroupSizeIsMultipleOfThreadExecutionWidth() bool
- type ComputePipelineReflection
- type ComputePipelineStateObject
- func (c_ ComputePipelineStateObject) Device() DeviceObject
- func (c_ ComputePipelineStateObject) FunctionHandleWithFunction(function FunctionObject) FunctionHandleObject
- func (c_ ComputePipelineStateObject) HasDevice() bool
- func (c_ ComputePipelineStateObject) HasFunctionHandleWithFunction() bool
- func (c_ ComputePipelineStateObject) HasImageblockMemoryLengthForDimensions() bool
- func (c_ ComputePipelineStateObject) HasLabel() bool
- func (c_ ComputePipelineStateObject) HasMaxTotalThreadsPerThreadgroup() bool
- func (c_ ComputePipelineStateObject) HasNewComputePipelineStateWithAdditionalBinaryFunctionsError() bool
- func (c_ ComputePipelineStateObject) HasNewIntersectionFunctionTableWithDescriptor() bool
- func (c_ ComputePipelineStateObject) HasNewVisibleFunctionTableWithDescriptor() bool
- func (c_ ComputePipelineStateObject) HasStaticThreadgroupMemoryLength() bool
- func (c_ ComputePipelineStateObject) HasSupportIndirectCommandBuffers() bool
- func (c_ ComputePipelineStateObject) HasThreadExecutionWidth() bool
- func (c_ ComputePipelineStateObject) ImageblockMemoryLengthForDimensions(imageblockDimensions Size) uint
- func (c_ ComputePipelineStateObject) Label() string
- func (c_ ComputePipelineStateObject) MaxTotalThreadsPerThreadgroup() uint
- func (c_ ComputePipelineStateObject) NewComputePipelineStateWithAdditionalBinaryFunctionsError(functions []FunctionObject, error foundation.Error) ComputePipelineStateObject
- func (c_ ComputePipelineStateObject) NewIntersectionFunctionTableWithDescriptor(descriptor IntersectionFunctionTableDescriptor) IntersectionFunctionTableObject
- func (c_ ComputePipelineStateObject) NewVisibleFunctionTableWithDescriptor(descriptor VisibleFunctionTableDescriptor) VisibleFunctionTableObject
- func (c_ ComputePipelineStateObject) StaticThreadgroupMemoryLength() uint
- func (c_ ComputePipelineStateObject) SupportIndirectCommandBuffers() bool
- func (c_ ComputePipelineStateObject) ThreadExecutionWidth() uint
- type Coordinate2D
- type CounterObject
- type CounterResultStageUtilization
- type CounterResultStatistic
- type CounterResultTimestamp
- type CounterSampleBufferDescriptor
- func (c_ CounterSampleBufferDescriptor) CounterSet() CounterSetObject
- func (c_ CounterSampleBufferDescriptor) Init() CounterSampleBufferDescriptor
- func (c_ CounterSampleBufferDescriptor) Label() string
- func (c_ CounterSampleBufferDescriptor) SampleCount() uint
- func (c_ CounterSampleBufferDescriptor) SetCounterSet(value PCounterSet)
- func (c_ CounterSampleBufferDescriptor) SetCounterSetObject(valueObject objc.IObject)
- func (c_ CounterSampleBufferDescriptor) SetLabel(value string)
- func (c_ CounterSampleBufferDescriptor) SetSampleCount(value uint)
- func (c_ CounterSampleBufferDescriptor) SetStorageMode(value StorageMode)
- func (c_ CounterSampleBufferDescriptor) StorageMode() StorageMode
- type CounterSampleBufferError
- type CounterSampleBufferObject
- func (c_ CounterSampleBufferObject) Device() DeviceObject
- func (c_ CounterSampleBufferObject) HasDevice() bool
- func (c_ CounterSampleBufferObject) HasLabel() bool
- func (c_ CounterSampleBufferObject) HasResolveCounterRange() bool
- func (c_ CounterSampleBufferObject) HasSampleCount() bool
- func (c_ CounterSampleBufferObject) Label() string
- func (c_ CounterSampleBufferObject) ResolveCounterRange(range_ foundation.Range) []byte
- func (c_ CounterSampleBufferObject) SampleCount() uint
- type CounterSamplingPoint
- type CounterSetObject
- type CullMode
- type DataType
- type DepthClipMode
- type DepthStencilDescriptor
- func (d_ DepthStencilDescriptor) BackFaceStencil() StencilDescriptor
- func (d_ DepthStencilDescriptor) DepthCompareFunction() CompareFunction
- func (d_ DepthStencilDescriptor) FrontFaceStencil() StencilDescriptor
- func (d_ DepthStencilDescriptor) Init() DepthStencilDescriptor
- func (d_ DepthStencilDescriptor) IsDepthWriteEnabled() bool
- func (d_ DepthStencilDescriptor) Label() string
- func (d_ DepthStencilDescriptor) SetBackFaceStencil(value IStencilDescriptor)
- func (d_ DepthStencilDescriptor) SetDepthCompareFunction(value CompareFunction)
- func (d_ DepthStencilDescriptor) SetDepthWriteEnabled(value bool)
- func (d_ DepthStencilDescriptor) SetFrontFaceStencil(value IStencilDescriptor)
- func (d_ DepthStencilDescriptor) SetLabel(value string)
- type DepthStencilStateObject
- type DeviceLocation
- type DeviceNotificationHandler
- type DeviceNotificationName
- type DeviceObject
- func (d_ DeviceObject) AccelerationStructureSizesWithDescriptor(descriptor AccelerationStructureDescriptor) AccelerationStructureSizes
- func (d_ DeviceObject) AreProgrammableSamplePositionsSupported() bool
- func (d_ DeviceObject) AreRasterOrderGroupsSupported() bool
- func (d_ DeviceObject) ArgumentBuffersSupport() ArgumentBuffersTier
- func (d_ DeviceObject) ConvertSparsePixelRegionsToTileRegionsWithTileSizeAlignmentModeNumRegions(pixelRegions *Region, tileRegions *Region, tileSize Size, ...)
- func (d_ DeviceObject) ConvertSparseTileRegionsToPixelRegionsWithTileSizeNumRegions(tileRegions *Region, pixelRegions *Region, tileSize Size, numRegions uint)
- func (d_ DeviceObject) CounterSets() []CounterSetObject
- func (d_ DeviceObject) CurrentAllocatedSize() uint
- func (d_ DeviceObject) GetDefaultSamplePositionsCount(positions *SamplePosition, count uint)
- func (d_ DeviceObject) HasAccelerationStructureSizesWithDescriptor() bool
- func (d_ DeviceObject) HasAreProgrammableSamplePositionsSupported() bool
- func (d_ DeviceObject) HasAreRasterOrderGroupsSupported() bool
- func (d_ DeviceObject) HasArgumentBuffersSupport() bool
- func (d_ DeviceObject) HasConvertSparsePixelRegionsToTileRegionsWithTileSizeAlignmentModeNumRegions() bool
- func (d_ DeviceObject) HasConvertSparseTileRegionsToPixelRegionsWithTileSizeNumRegions() bool
- func (d_ DeviceObject) HasCounterSets() bool
- func (d_ DeviceObject) HasCurrentAllocatedSize() bool
- func (d_ DeviceObject) HasGetDefaultSamplePositionsCount() bool
- func (d_ DeviceObject) HasHasUnifiedMemory() bool
- func (d_ DeviceObject) HasHeapBufferSizeAndAlignWithLengthOptions() bool
- func (d_ DeviceObject) HasHeapTextureSizeAndAlignWithDescriptor() bool
- func (d_ DeviceObject) HasIsDepth24Stencil8PixelFormatSupported() bool
- func (d_ DeviceObject) HasIsHeadless() bool
- func (d_ DeviceObject) HasIsLowPower() bool
- func (d_ DeviceObject) HasIsRemovable() bool
- func (d_ DeviceObject) HasLocation() bool
- func (d_ DeviceObject) HasLocationNumber() bool
- func (d_ DeviceObject) HasMaxArgumentBufferSamplerCount() bool
- func (d_ DeviceObject) HasMaxBufferLength() bool
- func (d_ DeviceObject) HasMaxThreadgroupMemoryLength() bool
- func (d_ DeviceObject) HasMaxThreadsPerThreadgroup() bool
- func (d_ DeviceObject) HasMaxTransferRate() bool
- func (d_ DeviceObject) HasMinimumLinearTextureAlignmentForPixelFormat() bool
- func (d_ DeviceObject) HasMinimumTextureBufferAlignmentForPixelFormat() bool
- func (d_ DeviceObject) HasName() bool
- func (d_ DeviceObject) HasNewAccelerationStructureWithDescriptor() bool
- func (d_ DeviceObject) HasNewAccelerationStructureWithSize() bool
- func (d_ DeviceObject) HasNewArgumentEncoderWithArguments() bool
- func (d_ DeviceObject) HasNewBinaryArchiveWithDescriptorError() bool
- func (d_ DeviceObject) HasNewBufferWithBytesLengthOptions() bool
- func (d_ DeviceObject) HasNewBufferWithBytesNoCopyLengthOptionsDeallocator() bool
- func (d_ DeviceObject) HasNewBufferWithLengthOptions() bool
- func (d_ DeviceObject) HasNewCommandQueue() bool
- func (d_ DeviceObject) HasNewCommandQueueWithMaxCommandBufferCount() bool
- func (d_ DeviceObject) HasNewComputePipelineStateWithDescriptorOptionsCompletionHandler() bool
- func (d_ DeviceObject) HasNewComputePipelineStateWithDescriptorOptionsReflectionError() bool
- func (d_ DeviceObject) HasNewComputePipelineStateWithFunctionCompletionHandler() bool
- func (d_ DeviceObject) HasNewComputePipelineStateWithFunctionError() bool
- func (d_ DeviceObject) HasNewComputePipelineStateWithFunctionOptionsCompletionHandler() bool
- func (d_ DeviceObject) HasNewComputePipelineStateWithFunctionOptionsReflectionError() bool
- func (d_ DeviceObject) HasNewCounterSampleBufferWithDescriptorError() bool
- func (d_ DeviceObject) HasNewDefaultLibrary() bool
- func (d_ DeviceObject) HasNewDefaultLibraryWithBundleError() bool
- func (d_ DeviceObject) HasNewDepthStencilStateWithDescriptor() bool
- func (d_ DeviceObject) HasNewDynamicLibraryError() bool
- func (d_ DeviceObject) HasNewDynamicLibraryWithURLError() bool
- func (d_ DeviceObject) HasNewEvent() bool
- func (d_ DeviceObject) HasNewFence() bool
- func (d_ DeviceObject) HasNewHeapWithDescriptor() bool
- func (d_ DeviceObject) HasNewIndirectCommandBufferWithDescriptorMaxCommandCountOptions() bool
- func (d_ DeviceObject) HasNewLibraryWithDataError() bool
- func (d_ DeviceObject) HasNewLibraryWithSourceOptionsCompletionHandler() bool
- func (d_ DeviceObject) HasNewLibraryWithSourceOptionsError() bool
- func (d_ DeviceObject) HasNewLibraryWithStitchedDescriptorCompletionHandler() bool
- func (d_ DeviceObject) HasNewLibraryWithStitchedDescriptorError() bool
- func (d_ DeviceObject) HasNewLibraryWithURLError() bool
- func (d_ DeviceObject) HasNewRasterizationRateMapWithDescriptor() bool
- func (d_ DeviceObject) HasNewRenderPipelineStateWithDescriptorCompletionHandler() bool
- func (d_ DeviceObject) HasNewRenderPipelineStateWithDescriptorError() bool
- func (d_ DeviceObject) HasNewRenderPipelineStateWithDescriptorOptionsCompletionHandler() bool
- func (d_ DeviceObject) HasNewRenderPipelineStateWithDescriptorOptionsReflectionError() bool
- func (d_ DeviceObject) HasNewRenderPipelineStateWithTileDescriptorOptionsCompletionHandler() bool
- func (d_ DeviceObject) HasNewRenderPipelineStateWithTileDescriptorOptionsReflectionError() bool
- func (d_ DeviceObject) HasNewSamplerStateWithDescriptor() bool
- func (d_ DeviceObject) HasNewSharedEvent() bool
- func (d_ DeviceObject) HasNewSharedEventWithHandle() bool
- func (d_ DeviceObject) HasNewSharedTextureWithDescriptor() bool
- func (d_ DeviceObject) HasNewSharedTextureWithHandle() bool
- func (d_ DeviceObject) HasNewTextureWithDescriptor() bool
- func (d_ DeviceObject) HasNewTextureWithDescriptorIosurfacePlane() bool
- func (d_ DeviceObject) HasPeerCount() bool
- func (d_ DeviceObject) HasPeerGroupID() bool
- func (d_ DeviceObject) HasPeerIndex() bool
- func (d_ DeviceObject) HasReadWriteTextureSupport() bool
- func (d_ DeviceObject) HasRecommendedMaxWorkingSetSize() bool
- func (d_ DeviceObject) HasRegistryID() bool
- func (d_ DeviceObject) HasSampleTimestampsGpuTimestamp() bool
- func (d_ DeviceObject) HasSparseTileSizeInBytes() bool
- func (d_ DeviceObject) HasSparseTileSizeWithTextureTypePixelFormatSampleCount() bool
- func (d_ DeviceObject) HasSupports32BitFloatFiltering() bool
- func (d_ DeviceObject) HasSupports32BitMSAA() bool
- func (d_ DeviceObject) HasSupportsBCTextureCompression() bool
- func (d_ DeviceObject) HasSupportsCounterSampling() bool
- func (d_ DeviceObject) HasSupportsDynamicLibraries() bool
- func (d_ DeviceObject) HasSupportsFamily() bool
- func (d_ DeviceObject) HasSupportsFunctionPointers() bool
- func (d_ DeviceObject) HasSupportsFunctionPointersFromRender() bool
- func (d_ DeviceObject) HasSupportsPrimitiveMotionBlur() bool
- func (d_ DeviceObject) HasSupportsPullModelInterpolation() bool
- func (d_ DeviceObject) HasSupportsQueryTextureLOD() bool
- func (d_ DeviceObject) HasSupportsRasterizationRateMapWithLayerCount() bool
- func (d_ DeviceObject) HasSupportsRaytracing() bool
- func (d_ DeviceObject) HasSupportsRaytracingFromRender() bool
- func (d_ DeviceObject) HasSupportsRenderDynamicLibraries() bool
- func (d_ DeviceObject) HasSupportsShaderBarycentricCoordinates() bool
- func (d_ DeviceObject) HasSupportsTextureSampleCount() bool
- func (d_ DeviceObject) HasSupportsVertexAmplificationCount() bool
- func (d_ DeviceObject) HasUnifiedMemory() bool
- func (d_ DeviceObject) HeapBufferSizeAndAlignWithLengthOptions(length uint, options ResourceOptions) SizeAndAlign
- func (d_ DeviceObject) HeapTextureSizeAndAlignWithDescriptor(desc TextureDescriptor) SizeAndAlign
- func (d_ DeviceObject) IsDepth24Stencil8PixelFormatSupported() bool
- func (d_ DeviceObject) IsHeadless() bool
- func (d_ DeviceObject) IsLowPower() bool
- func (d_ DeviceObject) IsRemovable() bool
- func (d_ DeviceObject) Location() DeviceLocation
- func (d_ DeviceObject) LocationNumber() uint
- func (d_ DeviceObject) MaxArgumentBufferSamplerCount() uint
- func (d_ DeviceObject) MaxBufferLength() uint
- func (d_ DeviceObject) MaxThreadgroupMemoryLength() uint
- func (d_ DeviceObject) MaxThreadsPerThreadgroup() Size
- func (d_ DeviceObject) MaxTransferRate() uint64
- func (d_ DeviceObject) MinimumLinearTextureAlignmentForPixelFormat(format PixelFormat) uint
- func (d_ DeviceObject) MinimumTextureBufferAlignmentForPixelFormat(format PixelFormat) uint
- func (d_ DeviceObject) Name() string
- func (d_ DeviceObject) NewAccelerationStructureWithDescriptor(descriptor AccelerationStructureDescriptor) AccelerationStructureObject
- func (d_ DeviceObject) NewAccelerationStructureWithSize(size uint) AccelerationStructureObject
- func (d_ DeviceObject) NewArgumentEncoderWithArguments(arguments []ArgumentDescriptor) ArgumentEncoderObject
- func (d_ DeviceObject) NewBinaryArchiveWithDescriptorError(descriptor BinaryArchiveDescriptor, error foundation.Error) BinaryArchiveObject
- func (d_ DeviceObject) NewBufferWithBytesLengthOptions(pointer unsafe.Pointer, length uint, options ResourceOptions) BufferObject
- func (d_ DeviceObject) NewBufferWithBytesNoCopyLengthOptionsDeallocator(pointer unsafe.Pointer, length uint, options ResourceOptions, ...) BufferObject
- func (d_ DeviceObject) NewBufferWithLengthOptions(length uint, options ResourceOptions) BufferObject
- func (d_ DeviceObject) NewCommandQueue() CommandQueueObject
- func (d_ DeviceObject) NewCommandQueueWithMaxCommandBufferCount(maxCommandBufferCount uint) CommandQueueObject
- func (d_ DeviceObject) NewComputePipelineStateWithDescriptorOptionsCompletionHandler(descriptor ComputePipelineDescriptor, options PipelineOption, ...)
- func (d_ DeviceObject) NewComputePipelineStateWithDescriptorOptionsReflectionError(descriptor ComputePipelineDescriptor, options PipelineOption, ...) ComputePipelineStateObject
- func (d_ DeviceObject) NewComputePipelineStateWithFunctionCompletionHandler(computeFunction FunctionObject, ...)
- func (d_ DeviceObject) NewComputePipelineStateWithFunctionError(computeFunction FunctionObject, error foundation.Error) ComputePipelineStateObject
- func (d_ DeviceObject) NewComputePipelineStateWithFunctionOptionsCompletionHandler(computeFunction FunctionObject, options PipelineOption, ...)
- func (d_ DeviceObject) NewComputePipelineStateWithFunctionOptionsReflectionError(computeFunction FunctionObject, options PipelineOption, ...) ComputePipelineStateObject
- func (d_ DeviceObject) NewCounterSampleBufferWithDescriptorError(descriptor CounterSampleBufferDescriptor, error foundation.Error) CounterSampleBufferObject
- func (d_ DeviceObject) NewDefaultLibrary() LibraryObject
- func (d_ DeviceObject) NewDefaultLibraryWithBundleError(bundle foundation.Bundle, error foundation.Error) LibraryObject
- func (d_ DeviceObject) NewDepthStencilStateWithDescriptor(descriptor DepthStencilDescriptor) DepthStencilStateObject
- func (d_ DeviceObject) NewDynamicLibraryError(library LibraryObject, error foundation.Error) DynamicLibraryObject
- func (d_ DeviceObject) NewDynamicLibraryWithURLError(url foundation.URL, error foundation.Error) DynamicLibraryObject
- func (d_ DeviceObject) NewEvent() EventObject
- func (d_ DeviceObject) NewFence() FenceObject
- func (d_ DeviceObject) NewHeapWithDescriptor(descriptor HeapDescriptor) HeapObject
- func (d_ DeviceObject) NewIndirectCommandBufferWithDescriptorMaxCommandCountOptions(descriptor IndirectCommandBufferDescriptor, maxCount uint, ...) IndirectCommandBufferObject
- func (d_ DeviceObject) NewLibraryWithDataError(data dispatch.Data, error foundation.Error) LibraryObject
- func (d_ DeviceObject) NewLibraryWithSourceOptionsCompletionHandler(source string, options CompileOptions, ...)
- func (d_ DeviceObject) NewLibraryWithSourceOptionsError(source string, options CompileOptions, error foundation.Error) LibraryObject
- func (d_ DeviceObject) NewLibraryWithStitchedDescriptorCompletionHandler(descriptor StitchedLibraryDescriptor, ...)
- func (d_ DeviceObject) NewLibraryWithStitchedDescriptorError(descriptor StitchedLibraryDescriptor, error foundation.Error) LibraryObject
- func (d_ DeviceObject) NewLibraryWithURLError(url foundation.URL, error foundation.Error) LibraryObject
- func (d_ DeviceObject) NewRasterizationRateMapWithDescriptor(descriptor RasterizationRateMapDescriptor) RasterizationRateMapObject
- func (d_ DeviceObject) NewRenderPipelineStateWithDescriptorCompletionHandler(descriptor RenderPipelineDescriptor, ...)
- func (d_ DeviceObject) NewRenderPipelineStateWithDescriptorError(descriptor RenderPipelineDescriptor, error foundation.Error) RenderPipelineStateObject
- func (d_ DeviceObject) NewRenderPipelineStateWithDescriptorOptionsCompletionHandler(descriptor RenderPipelineDescriptor, options PipelineOption, ...)
- func (d_ DeviceObject) NewRenderPipelineStateWithDescriptorOptionsReflectionError(descriptor RenderPipelineDescriptor, options PipelineOption, ...) RenderPipelineStateObject
- func (d_ DeviceObject) NewRenderPipelineStateWithTileDescriptorOptionsCompletionHandler(descriptor TileRenderPipelineDescriptor, options PipelineOption, ...)
- func (d_ DeviceObject) NewRenderPipelineStateWithTileDescriptorOptionsReflectionError(descriptor TileRenderPipelineDescriptor, options PipelineOption, ...) RenderPipelineStateObject
- func (d_ DeviceObject) NewSamplerStateWithDescriptor(descriptor SamplerDescriptor) SamplerStateObject
- func (d_ DeviceObject) NewSharedEvent() SharedEventObject
- func (d_ DeviceObject) NewSharedEventWithHandle(sharedEventHandle SharedEventHandle) SharedEventObject
- func (d_ DeviceObject) NewSharedTextureWithDescriptor(descriptor TextureDescriptor) TextureObject
- func (d_ DeviceObject) NewSharedTextureWithHandle(sharedHandle SharedTextureHandle) TextureObject
- func (d_ DeviceObject) NewTextureWithDescriptor(descriptor TextureDescriptor) TextureObject
- func (d_ DeviceObject) NewTextureWithDescriptorIosurfacePlane(descriptor TextureDescriptor, iosurface iosurface.Ref, plane uint) TextureObject
- func (d_ DeviceObject) PeerCount() uint32
- func (d_ DeviceObject) PeerGroupID() uint64
- func (d_ DeviceObject) PeerIndex() uint32
- func (d_ DeviceObject) ReadWriteTextureSupport() ReadWriteTextureTier
- func (d_ DeviceObject) RecommendedMaxWorkingSetSize() uint64
- func (d_ DeviceObject) RegistryID() uint64
- func (d_ DeviceObject) SampleTimestampsGpuTimestamp(cpuTimestamp *Timestamp, gpuTimestamp *Timestamp)
- func (d_ DeviceObject) SparseTileSizeInBytes() uint
- func (d_ DeviceObject) SparseTileSizeWithTextureTypePixelFormatSampleCount(textureType TextureType, pixelFormat PixelFormat, sampleCount uint) Size
- func (d_ DeviceObject) Supports32BitFloatFiltering() bool
- func (d_ DeviceObject) Supports32BitMSAA() bool
- func (d_ DeviceObject) SupportsBCTextureCompression() bool
- func (d_ DeviceObject) SupportsCounterSampling(samplingPoint CounterSamplingPoint) bool
- func (d_ DeviceObject) SupportsDynamicLibraries() bool
- func (d_ DeviceObject) SupportsFamily(gpuFamily GPUFamily) bool
- func (d_ DeviceObject) SupportsFunctionPointers() bool
- func (d_ DeviceObject) SupportsFunctionPointersFromRender() bool
- func (d_ DeviceObject) SupportsPrimitiveMotionBlur() bool
- func (d_ DeviceObject) SupportsPullModelInterpolation() bool
- func (d_ DeviceObject) SupportsQueryTextureLOD() bool
- func (d_ DeviceObject) SupportsRasterizationRateMapWithLayerCount(layerCount uint) bool
- func (d_ DeviceObject) SupportsRaytracing() bool
- func (d_ DeviceObject) SupportsRaytracingFromRender() bool
- func (d_ DeviceObject) SupportsRenderDynamicLibraries() bool
- func (d_ DeviceObject) SupportsShaderBarycentricCoordinates() bool
- func (d_ DeviceObject) SupportsTextureSampleCount(sampleCount uint) bool
- func (d_ DeviceObject) SupportsVertexAmplificationCount(count uint) bool
- type DispatchThreadgroupsIndirectArguments
- type DispatchType
- type DrawIndexedPrimitivesIndirectArguments
- type DrawPatchIndirectArguments
- type DrawPrimitivesIndirectArguments
- type DrawableObject
- func (d_ DrawableObject) AddPresentedHandler(block DrawablePresentedHandler)
- func (d_ DrawableObject) DrawableID() uint
- func (d_ DrawableObject) HasAddPresentedHandler() bool
- func (d_ DrawableObject) HasDrawableID() bool
- func (d_ DrawableObject) HasPresent() bool
- func (d_ DrawableObject) HasPresentAfterMinimumDuration() bool
- func (d_ DrawableObject) HasPresentAtTime() bool
- func (d_ DrawableObject) HasPresentedTime() bool
- func (d_ DrawableObject) Present()
- func (d_ DrawableObject) PresentAfterMinimumDuration(duration corefoundation.TimeInterval)
- func (d_ DrawableObject) PresentAtTime(presentationTime corefoundation.TimeInterval)
- func (d_ DrawableObject) PresentedTime() corefoundation.TimeInterval
- type DrawablePresentedHandler
- type DynamicLibraryError
- type DynamicLibraryObject
- func (d_ DynamicLibraryObject) Device() DeviceObject
- func (d_ DynamicLibraryObject) HasDevice() bool
- func (d_ DynamicLibraryObject) HasInstallName() bool
- func (d_ DynamicLibraryObject) HasLabel() bool
- func (d_ DynamicLibraryObject) HasSerializeToURLError() bool
- func (d_ DynamicLibraryObject) HasSetLabel() bool
- func (d_ DynamicLibraryObject) InstallName() string
- func (d_ DynamicLibraryObject) Label() string
- func (d_ DynamicLibraryObject) SerializeToURLError(url foundation.URL, error foundation.Error) bool
- func (d_ DynamicLibraryObject) SetLabel(value string)
- type EventObject
- type FeatureSet
- type FenceObject
- type FunctionConstant
- type FunctionConstantValues
- func (f_ FunctionConstantValues) Init() FunctionConstantValues
- func (f_ FunctionConstantValues) Reset()
- func (f_ FunctionConstantValues) SetConstantValueTypeAtIndex(value unsafe.Pointer, type_ DataType, index uint)
- func (f_ FunctionConstantValues) SetConstantValueTypeWithName(value unsafe.Pointer, type_ DataType, name string)
- func (f_ FunctionConstantValues) SetConstantValuesTypeWithRange(values unsafe.Pointer, type_ DataType, range_ foundation.Range)
- type FunctionDescriptor
- func (f_ FunctionDescriptor) BinaryArchives() []BinaryArchiveObject
- func (f_ FunctionDescriptor) ConstantValues() FunctionConstantValues
- func (f_ FunctionDescriptor) Init() FunctionDescriptor
- func (f_ FunctionDescriptor) Name() string
- func (f_ FunctionDescriptor) Options() FunctionOptions
- func (f_ FunctionDescriptor) SetBinaryArchives(value []PBinaryArchive)
- func (f_ FunctionDescriptor) SetConstantValues(value IFunctionConstantValues)
- func (f_ FunctionDescriptor) SetName(value string)
- func (f_ FunctionDescriptor) SetOptions(value FunctionOptions)
- func (f_ FunctionDescriptor) SetSpecializedName(value string)
- func (f_ FunctionDescriptor) SpecializedName() string
- type FunctionHandleObject
- func (f_ FunctionHandleObject) Device() DeviceObject
- func (f_ FunctionHandleObject) FunctionType() FunctionType
- func (f_ FunctionHandleObject) HasDevice() bool
- func (f_ FunctionHandleObject) HasFunctionType() bool
- func (f_ FunctionHandleObject) HasName() bool
- func (f_ FunctionHandleObject) Name() string
- type FunctionLogDebugLocationObject
- func (f_ FunctionLogDebugLocationObject) Column() uint
- func (f_ FunctionLogDebugLocationObject) FunctionName() string
- func (f_ FunctionLogDebugLocationObject) HasColumn() bool
- func (f_ FunctionLogDebugLocationObject) HasFunctionName() bool
- func (f_ FunctionLogDebugLocationObject) HasLine() bool
- func (f_ FunctionLogDebugLocationObject) HasURL() bool
- func (f_ FunctionLogDebugLocationObject) Line() uint
- func (f_ FunctionLogDebugLocationObject) URL() foundation.URL
- type FunctionLogObject
- func (f_ FunctionLogObject) DebugLocation() FunctionLogDebugLocationObject
- func (f_ FunctionLogObject) EncoderLabel() string
- func (f_ FunctionLogObject) Function() FunctionObject
- func (f_ FunctionLogObject) HasDebugLocation() bool
- func (f_ FunctionLogObject) HasEncoderLabel() bool
- func (f_ FunctionLogObject) HasFunction() bool
- func (f_ FunctionLogObject) HasType() bool
- func (f_ FunctionLogObject) Type() FunctionLogType
- type FunctionLogType
- type FunctionObject
- func (f_ FunctionObject) Device() DeviceObject
- func (f_ FunctionObject) FunctionConstantsDictionary() map[string]FunctionConstant
- func (f_ FunctionObject) FunctionType() FunctionType
- func (f_ FunctionObject) HasDevice() bool
- func (f_ FunctionObject) HasFunctionConstantsDictionary() bool
- func (f_ FunctionObject) HasFunctionType() bool
- func (f_ FunctionObject) HasLabel() bool
- func (f_ FunctionObject) HasName() bool
- func (f_ FunctionObject) HasNewArgumentEncoderWithBufferIndex() bool
- func (f_ FunctionObject) HasOptions() bool
- func (f_ FunctionObject) HasPatchControlPointCount() bool
- func (f_ FunctionObject) HasPatchType() bool
- func (f_ FunctionObject) HasSetLabel() bool
- func (f_ FunctionObject) HasStageInputAttributes() bool
- func (f_ FunctionObject) HasVertexAttributes() bool
- func (f_ FunctionObject) Label() string
- func (f_ FunctionObject) Name() string
- func (f_ FunctionObject) NewArgumentEncoderWithBufferIndex(bufferIndex uint) ArgumentEncoderObject
- func (f_ FunctionObject) Options() FunctionOptions
- func (f_ FunctionObject) PatchControlPointCount() int
- func (f_ FunctionObject) PatchType() PatchType
- func (f_ FunctionObject) SetLabel(value string)
- func (f_ FunctionObject) StageInputAttributes() []Attribute
- func (f_ FunctionObject) VertexAttributes() []VertexAttribute
- type FunctionOptions
- type FunctionStitchingAttributeAlwaysInline
- type FunctionStitchingAttributeObject
- type FunctionStitchingFunctionNode
- func FunctionStitchingFunctionNodeFrom(ptr unsafe.Pointer) FunctionStitchingFunctionNode
- func NewFunctionStitchingFunctionNode() FunctionStitchingFunctionNode
- func NewFunctionStitchingFunctionNodeWithNameArgumentsControlDependencies(name string, arguments []PFunctionStitchingNode, ...) FunctionStitchingFunctionNode
- func (f_ FunctionStitchingFunctionNode) Arguments() []FunctionStitchingNodeObject
- func (f_ FunctionStitchingFunctionNode) ControlDependencies() []FunctionStitchingFunctionNode
- func (f_ FunctionStitchingFunctionNode) Init() FunctionStitchingFunctionNode
- func (f_ FunctionStitchingFunctionNode) InitWithNameArgumentsControlDependencies(name string, arguments []PFunctionStitchingNode, ...) FunctionStitchingFunctionNode
- func (f_ FunctionStitchingFunctionNode) Name() string
- func (f_ FunctionStitchingFunctionNode) SetArguments(value []PFunctionStitchingNode)
- func (f_ FunctionStitchingFunctionNode) SetControlDependencies(value []IFunctionStitchingFunctionNode)
- func (f_ FunctionStitchingFunctionNode) SetName(value string)
- type FunctionStitchingGraph
- func (f_ FunctionStitchingGraph) Attributes() []FunctionStitchingAttributeObject
- func (f_ FunctionStitchingGraph) FunctionName() string
- func (f_ FunctionStitchingGraph) Init() FunctionStitchingGraph
- func (f_ FunctionStitchingGraph) InitWithFunctionNameNodesOutputNodeAttributes(functionName string, nodes []IFunctionStitchingFunctionNode, ...) FunctionStitchingGraph
- func (f_ FunctionStitchingGraph) Nodes() []FunctionStitchingFunctionNode
- func (f_ FunctionStitchingGraph) OutputNode() FunctionStitchingFunctionNode
- func (f_ FunctionStitchingGraph) SetAttributes(value []PFunctionStitchingAttribute)
- func (f_ FunctionStitchingGraph) SetFunctionName(value string)
- func (f_ FunctionStitchingGraph) SetNodes(value []IFunctionStitchingFunctionNode)
- func (f_ FunctionStitchingGraph) SetOutputNode(value IFunctionStitchingFunctionNode)
- type FunctionStitchingInputNode
- type FunctionStitchingNodeObject
- type FunctionType
- type GPUFamily
- type HazardTrackingMode
- type HeapDescriptor
- func (h_ HeapDescriptor) CpuCacheMode() CPUCacheMode
- func (h_ HeapDescriptor) HazardTrackingMode() HazardTrackingMode
- func (h_ HeapDescriptor) Init() HeapDescriptor
- func (h_ HeapDescriptor) ResourceOptions() ResourceOptions
- func (h_ HeapDescriptor) SetCpuCacheMode(value CPUCacheMode)
- func (h_ HeapDescriptor) SetHazardTrackingMode(value HazardTrackingMode)
- func (h_ HeapDescriptor) SetResourceOptions(value ResourceOptions)
- func (h_ HeapDescriptor) SetSize(value uint)
- func (h_ HeapDescriptor) SetStorageMode(value StorageMode)
- func (h_ HeapDescriptor) SetType(value HeapType)
- func (h_ HeapDescriptor) Size() uint
- func (h_ HeapDescriptor) StorageMode() StorageMode
- func (h_ HeapDescriptor) Type() HeapType
- type HeapObject
- func (h_ HeapObject) CpuCacheMode() CPUCacheMode
- func (h_ HeapObject) CurrentAllocatedSize() uint
- func (h_ HeapObject) Device() DeviceObject
- func (h_ HeapObject) HasCpuCacheMode() bool
- func (h_ HeapObject) HasCurrentAllocatedSize() bool
- func (h_ HeapObject) HasDevice() bool
- func (h_ HeapObject) HasHazardTrackingMode() bool
- func (h_ HeapObject) HasLabel() bool
- func (h_ HeapObject) HasMaxAvailableSizeWithAlignment() bool
- func (h_ HeapObject) HasNewBufferWithLengthOptions() bool
- func (h_ HeapObject) HasNewBufferWithLengthOptionsOffset() bool
- func (h_ HeapObject) HasNewTextureWithDescriptor() bool
- func (h_ HeapObject) HasNewTextureWithDescriptorOffset() bool
- func (h_ HeapObject) HasResourceOptions() bool
- func (h_ HeapObject) HasSetLabel() bool
- func (h_ HeapObject) HasSetPurgeableState() bool
- func (h_ HeapObject) HasSize() bool
- func (h_ HeapObject) HasStorageMode() bool
- func (h_ HeapObject) HasType() bool
- func (h_ HeapObject) HasUsedSize() bool
- func (h_ HeapObject) HazardTrackingMode() HazardTrackingMode
- func (h_ HeapObject) Label() string
- func (h_ HeapObject) MaxAvailableSizeWithAlignment(alignment uint) uint
- func (h_ HeapObject) NewBufferWithLengthOptions(length uint, options ResourceOptions) BufferObject
- func (h_ HeapObject) NewBufferWithLengthOptionsOffset(length uint, options ResourceOptions, offset uint) BufferObject
- func (h_ HeapObject) NewTextureWithDescriptor(descriptor TextureDescriptor) TextureObject
- func (h_ HeapObject) NewTextureWithDescriptorOffset(descriptor TextureDescriptor, offset uint) TextureObject
- func (h_ HeapObject) ResourceOptions() ResourceOptions
- func (h_ HeapObject) SetLabel(value string)
- func (h_ HeapObject) SetPurgeableState(state PurgeableState) PurgeableState
- func (h_ HeapObject) Size() uint
- func (h_ HeapObject) StorageMode() StorageMode
- func (h_ HeapObject) Type() HeapType
- func (h_ HeapObject) UsedSize() uint
- type HeapType
- type IAccelerationStructureBoundingBoxGeometryDescriptor
- type IAccelerationStructureDescriptor
- type IAccelerationStructureGeometryDescriptor
- type IAccelerationStructureMotionBoundingBoxGeometryDescriptor
- type IAccelerationStructureMotionTriangleGeometryDescriptor
- type IAccelerationStructureTriangleGeometryDescriptor
- type IArgument
- type IArgumentDescriptor
- type IArrayType
- type IAttribute
- type IAttributeDescriptor
- type IAttributeDescriptorArray
- type IBinaryArchiveDescriptor
- type IBlitPassDescriptor
- type IBlitPassSampleBufferAttachmentDescriptor
- type IBlitPassSampleBufferAttachmentDescriptorArray
- type IBufferLayoutDescriptor
- type IBufferLayoutDescriptorArray
- type ICaptureDescriptor
- type ICaptureManager
- type ICommandBufferDescriptor
- type ICompileOptions
- type IComputePassDescriptor
- type IComputePassSampleBufferAttachmentDescriptor
- type IComputePassSampleBufferAttachmentDescriptorArray
- type IComputePipelineDescriptor
- type IComputePipelineReflection
- type ICounterSampleBufferDescriptor
- type IDepthStencilDescriptor
- type IFunctionConstant
- type IFunctionConstantValues
- type IFunctionDescriptor
- type IFunctionStitchingAttributeAlwaysInline
- type IFunctionStitchingFunctionNode
- type IFunctionStitchingGraph
- type IFunctionStitchingInputNode
- type IHeapDescriptor
- type IIndirectCommandBufferDescriptor
- type IInstanceAccelerationStructureDescriptor
- type IIntersectionFunctionDescriptor
- type IIntersectionFunctionTableDescriptor
- type ILinkedFunctions
- type IMotionKeyframeData
- type IPipelineBufferDescriptor
- type IPipelineBufferDescriptorArray
- type IPointerType
- type IPrimitiveAccelerationStructureDescriptor
- type IRasterizationRateLayerArray
- type IRasterizationRateLayerDescriptor
- type IRasterizationRateMapDescriptor
- type IRasterizationRateSampleArray
- type IRenderPassAttachmentDescriptor
- type IRenderPassColorAttachmentDescriptor
- type IRenderPassColorAttachmentDescriptorArray
- type IRenderPassDepthAttachmentDescriptor
- type IRenderPassDescriptor
- type IRenderPassSampleBufferAttachmentDescriptor
- type IRenderPassSampleBufferAttachmentDescriptorArray
- type IRenderPassStencilAttachmentDescriptor
- type IRenderPipelineColorAttachmentDescriptor
- type IRenderPipelineColorAttachmentDescriptorArray
- type IRenderPipelineDescriptor
- type IRenderPipelineFunctionsDescriptor
- type IRenderPipelineReflection
- type IResourceStatePassDescriptor
- type IResourceStatePassSampleBufferAttachmentDescriptor
- type IResourceStatePassSampleBufferAttachmentDescriptorArray
- type ISamplerDescriptor
- type ISharedEventHandle
- type ISharedEventListener
- type ISharedTextureHandle
- type IStageInputOutputDescriptor
- type IStencilDescriptor
- type IStitchedLibraryDescriptor
- type IStructMember
- type IStructType
- type ITextureDescriptor
- type ITextureReferenceType
- type ITileRenderPipelineColorAttachmentDescriptor
- type ITileRenderPipelineColorAttachmentDescriptorArray
- type ITileRenderPipelineDescriptor
- type IType
- type IVertexAttribute
- type IVertexAttributeDescriptor
- type IVertexAttributeDescriptorArray
- type IVertexBufferLayoutDescriptor
- type IVertexBufferLayoutDescriptorArray
- type IVertexDescriptor
- type IVisibleFunctionTableDescriptor
- type IndexType
- type IndirectCommandBufferDescriptor
- func (i_ IndirectCommandBufferDescriptor) CommandTypes() IndirectCommandType
- func (i_ IndirectCommandBufferDescriptor) InheritBuffers() bool
- func (i_ IndirectCommandBufferDescriptor) InheritPipelineState() bool
- func (i_ IndirectCommandBufferDescriptor) Init() IndirectCommandBufferDescriptor
- func (i_ IndirectCommandBufferDescriptor) MaxFragmentBufferBindCount() uint
- func (i_ IndirectCommandBufferDescriptor) MaxKernelBufferBindCount() uint
- func (i_ IndirectCommandBufferDescriptor) MaxVertexBufferBindCount() uint
- func (i_ IndirectCommandBufferDescriptor) SetCommandTypes(value IndirectCommandType)
- func (i_ IndirectCommandBufferDescriptor) SetInheritBuffers(value bool)
- func (i_ IndirectCommandBufferDescriptor) SetInheritPipelineState(value bool)
- func (i_ IndirectCommandBufferDescriptor) SetMaxFragmentBufferBindCount(value uint)
- func (i_ IndirectCommandBufferDescriptor) SetMaxKernelBufferBindCount(value uint)
- func (i_ IndirectCommandBufferDescriptor) SetMaxVertexBufferBindCount(value uint)
- type IndirectCommandBufferExecutionRange
- type IndirectCommandBufferObject
- func (i_ IndirectCommandBufferObject) HasIndirectComputeCommandAtIndex() bool
- func (i_ IndirectCommandBufferObject) HasIndirectRenderCommandAtIndex() bool
- func (i_ IndirectCommandBufferObject) HasResetWithRange() bool
- func (i_ IndirectCommandBufferObject) HasSize() bool
- func (i_ IndirectCommandBufferObject) IndirectComputeCommandAtIndex(commandIndex uint) IndirectComputeCommandObject
- func (i_ IndirectCommandBufferObject) IndirectRenderCommandAtIndex(commandIndex uint) IndirectRenderCommandObject
- func (i_ IndirectCommandBufferObject) ResetWithRange(range_ foundation.Range)
- func (i_ IndirectCommandBufferObject) Size() uint
- type IndirectCommandType
- type IndirectComputeCommandObject
- func (i_ IndirectComputeCommandObject) ClearBarrier()
- func (i_ IndirectComputeCommandObject) ConcurrentDispatchThreadgroupsThreadsPerThreadgroup(threadgroupsPerGrid Size, threadsPerThreadgroup Size)
- func (i_ IndirectComputeCommandObject) ConcurrentDispatchThreadsThreadsPerThreadgroup(threadsPerGrid Size, threadsPerThreadgroup Size)
- func (i_ IndirectComputeCommandObject) HasClearBarrier() bool
- func (i_ IndirectComputeCommandObject) HasConcurrentDispatchThreadgroupsThreadsPerThreadgroup() bool
- func (i_ IndirectComputeCommandObject) HasConcurrentDispatchThreadsThreadsPerThreadgroup() bool
- func (i_ IndirectComputeCommandObject) HasReset() bool
- func (i_ IndirectComputeCommandObject) HasSetBarrier() bool
- func (i_ IndirectComputeCommandObject) HasSetComputePipelineState() bool
- func (i_ IndirectComputeCommandObject) HasSetImageblockWidthHeight() bool
- func (i_ IndirectComputeCommandObject) HasSetKernelBufferOffsetAtIndex() bool
- func (i_ IndirectComputeCommandObject) HasSetStageInRegion() bool
- func (i_ IndirectComputeCommandObject) HasSetThreadgroupMemoryLengthAtIndex() bool
- func (i_ IndirectComputeCommandObject) Reset()
- func (i_ IndirectComputeCommandObject) SetBarrier()
- func (i_ IndirectComputeCommandObject) SetComputePipelineState(pipelineState ComputePipelineStateObject)
- func (i_ IndirectComputeCommandObject) SetImageblockWidthHeight(width uint, height uint)
- func (i_ IndirectComputeCommandObject) SetKernelBufferOffsetAtIndex(buffer BufferObject, offset uint, index uint)
- func (i_ IndirectComputeCommandObject) SetStageInRegion(region Region)
- func (i_ IndirectComputeCommandObject) SetThreadgroupMemoryLengthAtIndex(length uint, index uint)
- type IndirectRenderCommandObject
- func (i_ IndirectRenderCommandObject) DrawIndexedPatchesPatchStartPatchCountPatchIndexBufferPatchIndexBufferOffsetControlPointIndexBufferControlPointIndexBufferOffsetInstanceCountBaseInstanceTessellationFactorBufferTessellationFactorBufferOffsetTessellationFactorBufferInstanceStride(numberOfPatchControlPoints uint, patchStart uint, patchCount uint, ...)
- func (i_ IndirectRenderCommandObject) DrawIndexedPrimitivesIndexCountIndexTypeIndexBufferIndexBufferOffsetInstanceCountBaseVertexBaseInstance(primitiveType PrimitiveType, indexCount uint, indexType IndexType, ...)
- func (i_ IndirectRenderCommandObject) DrawPatchesPatchStartPatchCountPatchIndexBufferPatchIndexBufferOffsetInstanceCountBaseInstanceTessellationFactorBufferTessellationFactorBufferOffsetTessellationFactorBufferInstanceStride(numberOfPatchControlPoints uint, patchStart uint, patchCount uint, ...)
- func (i_ IndirectRenderCommandObject) DrawPrimitivesVertexStartVertexCountInstanceCountBaseInstance(primitiveType PrimitiveType, vertexStart uint, vertexCount uint, ...)
- func (i_ IndirectRenderCommandObject) HasDrawIndexedPatchesPatchStartPatchCountPatchIndexBufferPatchIndexBufferOffsetControlPointIndexBufferControlPointIndexBufferOffsetInstanceCountBaseInstanceTessellationFactorBufferTessellationFactorBufferOffsetTessellationFactorBufferInstanceStride() bool
- func (i_ IndirectRenderCommandObject) HasDrawIndexedPrimitivesIndexCountIndexTypeIndexBufferIndexBufferOffsetInstanceCountBaseVertexBaseInstance() bool
- func (i_ IndirectRenderCommandObject) HasDrawPatchesPatchStartPatchCountPatchIndexBufferPatchIndexBufferOffsetInstanceCountBaseInstanceTessellationFactorBufferTessellationFactorBufferOffsetTessellationFactorBufferInstanceStride() bool
- func (i_ IndirectRenderCommandObject) HasDrawPrimitivesVertexStartVertexCountInstanceCountBaseInstance() bool
- func (i_ IndirectRenderCommandObject) HasReset() bool
- func (i_ IndirectRenderCommandObject) HasSetFragmentBufferOffsetAtIndex() bool
- func (i_ IndirectRenderCommandObject) HasSetRenderPipelineState() bool
- func (i_ IndirectRenderCommandObject) HasSetVertexBufferOffsetAtIndex() bool
- func (i_ IndirectRenderCommandObject) Reset()
- func (i_ IndirectRenderCommandObject) SetFragmentBufferOffsetAtIndex(buffer BufferObject, offset uint, index uint)
- func (i_ IndirectRenderCommandObject) SetRenderPipelineState(pipelineState RenderPipelineStateObject)
- func (i_ IndirectRenderCommandObject) SetVertexBufferOffsetAtIndex(buffer BufferObject, offset uint, index uint)
- type InstanceAccelerationStructureDescriptor
- func (i_ InstanceAccelerationStructureDescriptor) Init() InstanceAccelerationStructureDescriptor
- func (i_ InstanceAccelerationStructureDescriptor) InstanceCount() uint
- func (i_ InstanceAccelerationStructureDescriptor) InstanceDescriptorBuffer() BufferObject
- func (i_ InstanceAccelerationStructureDescriptor) InstanceDescriptorBufferOffset() uint
- func (i_ InstanceAccelerationStructureDescriptor) InstanceDescriptorStride() uint
- func (i_ InstanceAccelerationStructureDescriptor) InstanceDescriptorType() AccelerationStructureInstanceDescriptorType
- func (i_ InstanceAccelerationStructureDescriptor) InstancedAccelerationStructures() []AccelerationStructureObject
- func (i_ InstanceAccelerationStructureDescriptor) MotionTransformBuffer() BufferObject
- func (i_ InstanceAccelerationStructureDescriptor) MotionTransformBufferOffset() uint
- func (i_ InstanceAccelerationStructureDescriptor) MotionTransformCount() uint
- func (i_ InstanceAccelerationStructureDescriptor) SetInstanceCount(value uint)
- func (i_ InstanceAccelerationStructureDescriptor) SetInstanceDescriptorBuffer(value PBuffer)
- func (i_ InstanceAccelerationStructureDescriptor) SetInstanceDescriptorBufferObject(valueObject objc.IObject)
- func (i_ InstanceAccelerationStructureDescriptor) SetInstanceDescriptorBufferOffset(value uint)
- func (i_ InstanceAccelerationStructureDescriptor) SetInstanceDescriptorStride(value uint)
- func (i_ InstanceAccelerationStructureDescriptor) SetInstanceDescriptorType(value AccelerationStructureInstanceDescriptorType)
- func (i_ InstanceAccelerationStructureDescriptor) SetInstancedAccelerationStructures(value []PAccelerationStructure)
- func (i_ InstanceAccelerationStructureDescriptor) SetMotionTransformBuffer(value PBuffer)
- func (i_ InstanceAccelerationStructureDescriptor) SetMotionTransformBufferObject(valueObject objc.IObject)
- func (i_ InstanceAccelerationStructureDescriptor) SetMotionTransformBufferOffset(value uint)
- func (i_ InstanceAccelerationStructureDescriptor) SetMotionTransformCount(value uint)
- type IntersectionFunctionDescriptor
- type IntersectionFunctionSignature
- type IntersectionFunctionTableDescriptor
- type IntersectionFunctionTableObject
- func (i_ IntersectionFunctionTableObject) HasSetBufferOffsetAtIndex() bool
- func (i_ IntersectionFunctionTableObject) HasSetBuffersOffsetsWithRange() bool
- func (i_ IntersectionFunctionTableObject) HasSetFunctionAtIndex() bool
- func (i_ IntersectionFunctionTableObject) HasSetFunctionsWithRange() bool
- func (i_ IntersectionFunctionTableObject) HasSetOpaqueTriangleIntersectionFunctionWithSignatureAtIndex() bool
- func (i_ IntersectionFunctionTableObject) HasSetOpaqueTriangleIntersectionFunctionWithSignatureWithRange() bool
- func (i_ IntersectionFunctionTableObject) HasSetVisibleFunctionTableAtBufferIndex() bool
- func (i_ IntersectionFunctionTableObject) HasSetVisibleFunctionTablesWithBufferRange() bool
- func (i_ IntersectionFunctionTableObject) SetBufferOffsetAtIndex(buffer BufferObject, offset uint, index uint)
- func (i_ IntersectionFunctionTableObject) SetBuffersOffsetsWithRange(buffers BufferObject, offsets *uint, range_ foundation.Range)
- func (i_ IntersectionFunctionTableObject) SetFunctionAtIndex(function FunctionHandleObject, index uint)
- func (i_ IntersectionFunctionTableObject) SetFunctionsWithRange(functions FunctionHandleObject, range_ foundation.Range)
- func (i_ IntersectionFunctionTableObject) SetOpaqueTriangleIntersectionFunctionWithSignatureAtIndex(signature IntersectionFunctionSignature, index uint)
- func (i_ IntersectionFunctionTableObject) SetOpaqueTriangleIntersectionFunctionWithSignatureWithRange(signature IntersectionFunctionSignature, range_ foundation.Range)
- func (i_ IntersectionFunctionTableObject) SetVisibleFunctionTableAtBufferIndex(functionTable VisibleFunctionTableObject, bufferIndex uint)
- func (i_ IntersectionFunctionTableObject) SetVisibleFunctionTablesWithBufferRange(functionTables VisibleFunctionTableObject, bufferRange foundation.Range)
- type LanguageVersion
- type LibraryError
- type LibraryObject
- func (l_ LibraryObject) Device() DeviceObject
- func (l_ LibraryObject) FunctionNames() []string
- func (l_ LibraryObject) HasDevice() bool
- func (l_ LibraryObject) HasFunctionNames() bool
- func (l_ LibraryObject) HasInstallName() bool
- func (l_ LibraryObject) HasLabel() bool
- func (l_ LibraryObject) HasNewFunctionWithDescriptorCompletionHandler() bool
- func (l_ LibraryObject) HasNewFunctionWithDescriptorError() bool
- func (l_ LibraryObject) HasNewFunctionWithName() bool
- func (l_ LibraryObject) HasNewFunctionWithNameConstantValuesCompletionHandler() bool
- func (l_ LibraryObject) HasNewFunctionWithNameConstantValuesError() bool
- func (l_ LibraryObject) HasNewIntersectionFunctionWithDescriptorCompletionHandler() bool
- func (l_ LibraryObject) HasNewIntersectionFunctionWithDescriptorError() bool
- func (l_ LibraryObject) HasSetLabel() bool
- func (l_ LibraryObject) HasType() bool
- func (l_ LibraryObject) InstallName() string
- func (l_ LibraryObject) Label() string
- func (l_ LibraryObject) NewFunctionWithDescriptorCompletionHandler(descriptor FunctionDescriptor, ...)
- func (l_ LibraryObject) NewFunctionWithDescriptorError(descriptor FunctionDescriptor, error foundation.Error) FunctionObject
- func (l_ LibraryObject) NewFunctionWithName(functionName string) FunctionObject
- func (l_ LibraryObject) NewFunctionWithNameConstantValuesCompletionHandler(name string, constantValues FunctionConstantValues, ...)
- func (l_ LibraryObject) NewFunctionWithNameConstantValuesError(name string, constantValues FunctionConstantValues, error foundation.Error) FunctionObject
- func (l_ LibraryObject) NewIntersectionFunctionWithDescriptorCompletionHandler(descriptor IntersectionFunctionDescriptor, ...)
- func (l_ LibraryObject) NewIntersectionFunctionWithDescriptorError(descriptor IntersectionFunctionDescriptor, error foundation.Error) FunctionObject
- func (l_ LibraryObject) SetLabel(value string)
- func (l_ LibraryObject) Type() LibraryType
- type LibraryType
- type LinkedFunctions
- func (l_ LinkedFunctions) BinaryFunctions() []FunctionObject
- func (l_ LinkedFunctions) Functions() []FunctionObject
- func (l_ LinkedFunctions) Groups() map[string][]FunctionObject
- func (l_ LinkedFunctions) Init() LinkedFunctions
- func (l_ LinkedFunctions) PrivateFunctions() []FunctionObject
- func (l_ LinkedFunctions) SetBinaryFunctions(value []PFunction)
- func (l_ LinkedFunctions) SetFunctions(value []PFunction)
- func (l_ LinkedFunctions) SetGroups(value map[string][]PFunction)
- func (l_ LinkedFunctions) SetPrivateFunctions(value []PFunction)
- type LoadAction
- type LogContainerObject
- type MapIndirectArguments
- type MotionBorderMode
- type MotionKeyframeData
- func (m_ MotionKeyframeData) Buffer() BufferObject
- func (m_ MotionKeyframeData) Init() MotionKeyframeData
- func (m_ MotionKeyframeData) Offset() uint
- func (m_ MotionKeyframeData) SetBuffer(value PBuffer)
- func (m_ MotionKeyframeData) SetBufferObject(valueObject objc.IObject)
- func (m_ MotionKeyframeData) SetOffset(value uint)
- type MultisampleDepthResolveFilter
- type MultisampleStencilResolveFilter
- type Mutability
- type NewComputePipelineStateCompletionHandler
- type NewComputePipelineStateWithReflectionCompletionHandler
- type NewLibraryCompletionHandler
- type NewRenderPipelineStateCompletionHandler
- type NewRenderPipelineStateWithReflectionCompletionHandler
- type Origin
- type PAccelerationStructure
- type PAccelerationStructureCommandEncoder
- type PArgumentEncoder
- type PBinaryArchive
- type PBlitCommandEncoder
- type PBuffer
- type PCaptureScope
- type PCommandBuffer
- type PCommandBufferEncoderInfo
- type PCommandEncoder
- type PCommandQueue
- type PComputeCommandEncoder
- type PComputePipelineState
- type PCounter
- type PCounterSampleBuffer
- type PCounterSet
- type PDepthStencilState
- type PDevice
- type PDrawable
- type PDynamicLibrary
- type PEvent
- type PFence
- type PFunction
- type PFunctionHandle
- type PFunctionLog
- type PFunctionLogDebugLocation
- type PFunctionStitchingAttribute
- type PFunctionStitchingNode
- type PHeap
- type PIndirectCommandBuffer
- type PIndirectComputeCommand
- type PIndirectRenderCommand
- type PIntersectionFunctionTable
- type PLibrary
- type PLogContainer
- type PParallelRenderCommandEncoder
- type PRasterizationRateMap
- type PRenderCommandEncoder
- type PRenderPipelineState
- type PResource
- type PResourceStateCommandEncoder
- type PSamplerState
- type PSharedEvent
- type PTexture
- type PVisibleFunctionTable
- type PackedFloat3
- type PackedFloat4x3
- type ParallelRenderCommandEncoderObject
- func (p_ ParallelRenderCommandEncoderObject) HasRenderCommandEncoder() bool
- func (p_ ParallelRenderCommandEncoderObject) HasSetColorStoreActionAtIndex() bool
- func (p_ ParallelRenderCommandEncoderObject) HasSetColorStoreActionOptionsAtIndex() bool
- func (p_ ParallelRenderCommandEncoderObject) HasSetDepthStoreAction() bool
- func (p_ ParallelRenderCommandEncoderObject) HasSetDepthStoreActionOptions() bool
- func (p_ ParallelRenderCommandEncoderObject) HasSetStencilStoreAction() bool
- func (p_ ParallelRenderCommandEncoderObject) HasSetStencilStoreActionOptions() bool
- func (p_ ParallelRenderCommandEncoderObject) RenderCommandEncoder() RenderCommandEncoderObject
- func (p_ ParallelRenderCommandEncoderObject) SetColorStoreActionAtIndex(storeAction StoreAction, colorAttachmentIndex uint)
- func (p_ ParallelRenderCommandEncoderObject) SetColorStoreActionOptionsAtIndex(storeActionOptions StoreActionOptions, colorAttachmentIndex uint)
- func (p_ ParallelRenderCommandEncoderObject) SetDepthStoreAction(storeAction StoreAction)
- func (p_ ParallelRenderCommandEncoderObject) SetDepthStoreActionOptions(storeActionOptions StoreActionOptions)
- func (p_ ParallelRenderCommandEncoderObject) SetStencilStoreAction(storeAction StoreAction)
- func (p_ ParallelRenderCommandEncoderObject) SetStencilStoreActionOptions(storeActionOptions StoreActionOptions)
- type PatchType
- type PipelineBufferDescriptor
- type PipelineBufferDescriptorArray
- func (p_ PipelineBufferDescriptorArray) Init() PipelineBufferDescriptorArray
- func (p_ PipelineBufferDescriptorArray) ObjectAtIndexedSubscript(bufferIndex uint) PipelineBufferDescriptor
- func (p_ PipelineBufferDescriptorArray) SetObjectAtIndexedSubscript(buffer IPipelineBufferDescriptor, bufferIndex uint)
- type PipelineOption
- type PixelFormat
- type PointerType
- func (p_ PointerType) Access() objc.Object
- func (p_ PointerType) Alignment() uint
- func (p_ PointerType) DataSize() uint
- func (p_ PointerType) ElementArrayType() ArrayType
- func (p_ PointerType) ElementIsArgumentBuffer() bool
- func (p_ PointerType) ElementStructType() StructType
- func (p_ PointerType) ElementType() DataType
- func (p_ PointerType) Init() PointerType
- type PrimitiveAccelerationStructureDescriptor
- func NewPrimitiveAccelerationStructureDescriptor() PrimitiveAccelerationStructureDescriptor
- func PrimitiveAccelerationStructureDescriptorFrom(ptr unsafe.Pointer) PrimitiveAccelerationStructureDescriptor
- func PrimitiveAccelerationStructureDescriptor_Descriptor() PrimitiveAccelerationStructureDescriptor
- func (p_ PrimitiveAccelerationStructureDescriptor) GeometryDescriptors() []AccelerationStructureGeometryDescriptor
- func (p_ PrimitiveAccelerationStructureDescriptor) Init() PrimitiveAccelerationStructureDescriptor
- func (p_ PrimitiveAccelerationStructureDescriptor) MotionEndBorderMode() MotionBorderMode
- func (p_ PrimitiveAccelerationStructureDescriptor) MotionEndTime() float64
- func (p_ PrimitiveAccelerationStructureDescriptor) MotionKeyframeCount() uint
- func (p_ PrimitiveAccelerationStructureDescriptor) MotionStartBorderMode() MotionBorderMode
- func (p_ PrimitiveAccelerationStructureDescriptor) MotionStartTime() float64
- func (p_ PrimitiveAccelerationStructureDescriptor) SetGeometryDescriptors(value []IAccelerationStructureGeometryDescriptor)
- func (p_ PrimitiveAccelerationStructureDescriptor) SetMotionEndBorderMode(value MotionBorderMode)
- func (p_ PrimitiveAccelerationStructureDescriptor) SetMotionEndTime(value float64)
- func (p_ PrimitiveAccelerationStructureDescriptor) SetMotionKeyframeCount(value uint)
- func (p_ PrimitiveAccelerationStructureDescriptor) SetMotionStartBorderMode(value MotionBorderMode)
- func (p_ PrimitiveAccelerationStructureDescriptor) SetMotionStartTime(value float64)
- type PrimitiveTopologyClass
- type PrimitiveType
- type PurgeableState
- type QuadTessellationFactorsHalf
- type RasterizationRateLayerArray
- func (r_ RasterizationRateLayerArray) Init() RasterizationRateLayerArray
- func (r_ RasterizationRateLayerArray) ObjectAtIndexedSubscript(layerIndex uint) RasterizationRateLayerDescriptor
- func (r_ RasterizationRateLayerArray) SetObjectAtIndexedSubscript(layer IRasterizationRateLayerDescriptor, layerIndex uint)
- type RasterizationRateLayerDescriptor
- func NewRasterizationRateLayerDescriptor() RasterizationRateLayerDescriptor
- func NewRasterizationRateLayerDescriptorWithSampleCount(sampleCount Size) RasterizationRateLayerDescriptor
- func NewRasterizationRateLayerDescriptorWithSampleCountHorizontalVertical(sampleCount Size, horizontal *float64, vertical *float64) RasterizationRateLayerDescriptor
- func RasterizationRateLayerDescriptorFrom(ptr unsafe.Pointer) RasterizationRateLayerDescriptor
- func (r_ RasterizationRateLayerDescriptor) Horizontal() RasterizationRateSampleArray
- func (r_ RasterizationRateLayerDescriptor) HorizontalSampleStorage() *float64
- func (r_ RasterizationRateLayerDescriptor) Init() RasterizationRateLayerDescriptor
- func (r_ RasterizationRateLayerDescriptor) InitWithSampleCount(sampleCount Size) RasterizationRateLayerDescriptor
- func (r_ RasterizationRateLayerDescriptor) InitWithSampleCountHorizontalVertical(sampleCount Size, horizontal *float64, vertical *float64) RasterizationRateLayerDescriptor
- func (r_ RasterizationRateLayerDescriptor) MaxSampleCount() Size
- func (r_ RasterizationRateLayerDescriptor) SampleCount() Size
- func (r_ RasterizationRateLayerDescriptor) Vertical() RasterizationRateSampleArray
- func (r_ RasterizationRateLayerDescriptor) VerticalSampleStorage() *float64
- type RasterizationRateMapDescriptor
- func NewRasterizationRateMapDescriptor() RasterizationRateMapDescriptor
- func RasterizationRateMapDescriptorFrom(ptr unsafe.Pointer) RasterizationRateMapDescriptor
- func RasterizationRateMapDescriptor_RasterizationRateMapDescriptorWithScreenSize(screenSize Size) RasterizationRateMapDescriptor
- func RasterizationRateMapDescriptor_RasterizationRateMapDescriptorWithScreenSizeLayer(screenSize Size, layer IRasterizationRateLayerDescriptor) RasterizationRateMapDescriptor
- func RasterizationRateMapDescriptor_RasterizationRateMapDescriptorWithScreenSizeLayerCountLayers(screenSize Size, layerCount uint, layers IRasterizationRateLayerDescriptor) RasterizationRateMapDescriptor
- func (r_ RasterizationRateMapDescriptor) Init() RasterizationRateMapDescriptor
- func (r_ RasterizationRateMapDescriptor) Label() string
- func (r_ RasterizationRateMapDescriptor) LayerAtIndex(layerIndex uint) RasterizationRateLayerDescriptor
- func (r_ RasterizationRateMapDescriptor) LayerCount() uint
- func (r_ RasterizationRateMapDescriptor) Layers() RasterizationRateLayerArray
- func (r_ RasterizationRateMapDescriptor) ScreenSize() Size
- func (r_ RasterizationRateMapDescriptor) SetLabel(value string)
- func (r_ RasterizationRateMapDescriptor) SetLayerAtIndex(layer IRasterizationRateLayerDescriptor, layerIndex uint)
- func (r_ RasterizationRateMapDescriptor) SetScreenSize(value Size)
- type RasterizationRateMapObject
- func (r_ RasterizationRateMapObject) CopyParameterDataToBufferOffset(buffer BufferObject, offset uint)
- func (r_ RasterizationRateMapObject) Device() DeviceObject
- func (r_ RasterizationRateMapObject) HasCopyParameterDataToBufferOffset() bool
- func (r_ RasterizationRateMapObject) HasDevice() bool
- func (r_ RasterizationRateMapObject) HasLabel() bool
- func (r_ RasterizationRateMapObject) HasLayerCount() bool
- func (r_ RasterizationRateMapObject) HasMapPhysicalToScreenCoordinatesForLayer() bool
- func (r_ RasterizationRateMapObject) HasMapScreenToPhysicalCoordinatesForLayer() bool
- func (r_ RasterizationRateMapObject) HasParameterBufferSizeAndAlign() bool
- func (r_ RasterizationRateMapObject) HasPhysicalGranularity() bool
- func (r_ RasterizationRateMapObject) HasPhysicalSizeForLayer() bool
- func (r_ RasterizationRateMapObject) HasScreenSize() bool
- func (r_ RasterizationRateMapObject) Label() string
- func (r_ RasterizationRateMapObject) LayerCount() uint
- func (r_ RasterizationRateMapObject) MapPhysicalToScreenCoordinatesForLayer(physicalCoordinates Coordinate2D, layerIndex uint) Coordinate2D
- func (r_ RasterizationRateMapObject) MapScreenToPhysicalCoordinatesForLayer(screenCoordinates Coordinate2D, layerIndex uint) Coordinate2D
- func (r_ RasterizationRateMapObject) ParameterBufferSizeAndAlign() SizeAndAlign
- func (r_ RasterizationRateMapObject) PhysicalGranularity() Size
- func (r_ RasterizationRateMapObject) PhysicalSizeForLayer(layerIndex uint) Size
- func (r_ RasterizationRateMapObject) ScreenSize() Size
- type RasterizationRateSampleArray
- type ReadWriteTextureTier
- type Region
- type RenderCommandEncoderObject
- func (r_ RenderCommandEncoderObject) DispatchThreadsPerTile(threadsPerTile Size)
- func (r_ RenderCommandEncoderObject) DrawIndexedPatchesPatchIndexBufferPatchIndexBufferOffsetControlPointIndexBufferControlPointIndexBufferOffsetIndirectBufferIndirectBufferOffset(numberOfPatchControlPoints uint, patchIndexBuffer BufferObject, ...)
- func (r_ RenderCommandEncoderObject) DrawIndexedPatchesPatchStartPatchCountPatchIndexBufferPatchIndexBufferOffsetControlPointIndexBufferControlPointIndexBufferOffsetInstanceCountBaseInstance(numberOfPatchControlPoints uint, patchStart uint, patchCount uint, ...)
- func (r_ RenderCommandEncoderObject) DrawIndexedPrimitivesIndexCountIndexTypeIndexBufferIndexBufferOffset(primitiveType PrimitiveType, indexCount uint, indexType IndexType, ...)
- func (r_ RenderCommandEncoderObject) DrawIndexedPrimitivesIndexCountIndexTypeIndexBufferIndexBufferOffsetInstanceCount(primitiveType PrimitiveType, indexCount uint, indexType IndexType, ...)
- func (r_ RenderCommandEncoderObject) DrawIndexedPrimitivesIndexCountIndexTypeIndexBufferIndexBufferOffsetInstanceCountBaseVertexBaseInstance(primitiveType PrimitiveType, indexCount uint, indexType IndexType, ...)
- func (r_ RenderCommandEncoderObject) DrawIndexedPrimitivesIndexTypeIndexBufferIndexBufferOffsetIndirectBufferIndirectBufferOffset(primitiveType PrimitiveType, indexType IndexType, indexBuffer BufferObject, ...)
- func (r_ RenderCommandEncoderObject) DrawPatchesPatchIndexBufferPatchIndexBufferOffsetIndirectBufferIndirectBufferOffset(numberOfPatchControlPoints uint, patchIndexBuffer BufferObject, ...)
- func (r_ RenderCommandEncoderObject) DrawPatchesPatchStartPatchCountPatchIndexBufferPatchIndexBufferOffsetInstanceCountBaseInstance(numberOfPatchControlPoints uint, patchStart uint, patchCount uint, ...)
- func (r_ RenderCommandEncoderObject) DrawPrimitivesIndirectBufferIndirectBufferOffset(primitiveType PrimitiveType, indirectBuffer BufferObject, ...)
- func (r_ RenderCommandEncoderObject) DrawPrimitivesVertexStartVertexCount(primitiveType PrimitiveType, vertexStart uint, vertexCount uint)
- func (r_ RenderCommandEncoderObject) DrawPrimitivesVertexStartVertexCountInstanceCount(primitiveType PrimitiveType, vertexStart uint, vertexCount uint, ...)
- func (r_ RenderCommandEncoderObject) DrawPrimitivesVertexStartVertexCountInstanceCountBaseInstance(primitiveType PrimitiveType, vertexStart uint, vertexCount uint, ...)
- func (r_ RenderCommandEncoderObject) ExecuteCommandsInBufferIndirectBufferIndirectBufferOffset(indirectCommandbuffer IndirectCommandBufferObject, ...)
- func (r_ RenderCommandEncoderObject) ExecuteCommandsInBufferWithRange(indirectCommandBuffer IndirectCommandBufferObject, ...)
- func (r_ RenderCommandEncoderObject) HasDispatchThreadsPerTile() bool
- func (r_ RenderCommandEncoderObject) HasDrawIndexedPatchesPatchIndexBufferPatchIndexBufferOffsetControlPointIndexBufferControlPointIndexBufferOffsetIndirectBufferIndirectBufferOffset() bool
- func (r_ RenderCommandEncoderObject) HasDrawIndexedPatchesPatchStartPatchCountPatchIndexBufferPatchIndexBufferOffsetControlPointIndexBufferControlPointIndexBufferOffsetInstanceCountBaseInstance() bool
- func (r_ RenderCommandEncoderObject) HasDrawIndexedPrimitivesIndexCountIndexTypeIndexBufferIndexBufferOffset() bool
- func (r_ RenderCommandEncoderObject) HasDrawIndexedPrimitivesIndexCountIndexTypeIndexBufferIndexBufferOffsetInstanceCount() bool
- func (r_ RenderCommandEncoderObject) HasDrawIndexedPrimitivesIndexCountIndexTypeIndexBufferIndexBufferOffsetInstanceCountBaseVertexBaseInstance() bool
- func (r_ RenderCommandEncoderObject) HasDrawIndexedPrimitivesIndexTypeIndexBufferIndexBufferOffsetIndirectBufferIndirectBufferOffset() bool
- func (r_ RenderCommandEncoderObject) HasDrawPatchesPatchIndexBufferPatchIndexBufferOffsetIndirectBufferIndirectBufferOffset() bool
- func (r_ RenderCommandEncoderObject) HasDrawPatchesPatchStartPatchCountPatchIndexBufferPatchIndexBufferOffsetInstanceCountBaseInstance() bool
- func (r_ RenderCommandEncoderObject) HasDrawPrimitivesIndirectBufferIndirectBufferOffset() bool
- func (r_ RenderCommandEncoderObject) HasDrawPrimitivesVertexStartVertexCount() bool
- func (r_ RenderCommandEncoderObject) HasDrawPrimitivesVertexStartVertexCountInstanceCount() bool
- func (r_ RenderCommandEncoderObject) HasDrawPrimitivesVertexStartVertexCountInstanceCountBaseInstance() bool
- func (r_ RenderCommandEncoderObject) HasExecuteCommandsInBufferIndirectBufferIndirectBufferOffset() bool
- func (r_ RenderCommandEncoderObject) HasExecuteCommandsInBufferWithRange() bool
- func (r_ RenderCommandEncoderObject) HasMemoryBarrierWithResourcesCountAfterStagesBeforeStages() bool
- func (r_ RenderCommandEncoderObject) HasMemoryBarrierWithScopeAfterStagesBeforeStages() bool
- func (r_ RenderCommandEncoderObject) HasSampleCountersInBufferAtSampleIndexWithBarrier() bool
- func (r_ RenderCommandEncoderObject) HasSetBlendColorRedGreenBlueAlpha() bool
- func (r_ RenderCommandEncoderObject) HasSetColorStoreActionAtIndex() bool
- func (r_ RenderCommandEncoderObject) HasSetColorStoreActionOptionsAtIndex() bool
- func (r_ RenderCommandEncoderObject) HasSetCullMode() bool
- func (r_ RenderCommandEncoderObject) HasSetDepthBiasSlopeScaleClamp() bool
- func (r_ RenderCommandEncoderObject) HasSetDepthClipMode() bool
- func (r_ RenderCommandEncoderObject) HasSetDepthStencilState() bool
- func (r_ RenderCommandEncoderObject) HasSetDepthStoreAction() bool
- func (r_ RenderCommandEncoderObject) HasSetDepthStoreActionOptions() bool
- func (r_ RenderCommandEncoderObject) HasSetFragmentAccelerationStructureAtBufferIndex() bool
- func (r_ RenderCommandEncoderObject) HasSetFragmentBufferOffsetAtIndex() bool
- func (r_ RenderCommandEncoderObject) HasSetFragmentBufferOffsetAtIndex_() bool
- func (r_ RenderCommandEncoderObject) HasSetFragmentBuffersOffsetsWithRange() bool
- func (r_ RenderCommandEncoderObject) HasSetFragmentBytesLengthAtIndex() bool
- func (r_ RenderCommandEncoderObject) HasSetFragmentIntersectionFunctionTableAtBufferIndex() bool
- func (r_ RenderCommandEncoderObject) HasSetFragmentIntersectionFunctionTablesWithBufferRange() bool
- func (r_ RenderCommandEncoderObject) HasSetFragmentSamplerStateAtIndex() bool
- func (r_ RenderCommandEncoderObject) HasSetFragmentSamplerStateLodMinClampLodMaxClampAtIndex() bool
- func (r_ RenderCommandEncoderObject) HasSetFragmentSamplerStatesLodMinClampsLodMaxClampsWithRange() bool
- func (r_ RenderCommandEncoderObject) HasSetFragmentSamplerStatesWithRange() bool
- func (r_ RenderCommandEncoderObject) HasSetFragmentTextureAtIndex() bool
- func (r_ RenderCommandEncoderObject) HasSetFragmentTexturesWithRange() bool
- func (r_ RenderCommandEncoderObject) HasSetFragmentVisibleFunctionTableAtBufferIndex() bool
- func (r_ RenderCommandEncoderObject) HasSetFragmentVisibleFunctionTablesWithBufferRange() bool
- func (r_ RenderCommandEncoderObject) HasSetFrontFacingWinding() bool
- func (r_ RenderCommandEncoderObject) HasSetRenderPipelineState() bool
- func (r_ RenderCommandEncoderObject) HasSetScissorRect() bool
- func (r_ RenderCommandEncoderObject) HasSetScissorRectsCount() bool
- func (r_ RenderCommandEncoderObject) HasSetStencilFrontReferenceValueBackReferenceValue() bool
- func (r_ RenderCommandEncoderObject) HasSetStencilReferenceValue() bool
- func (r_ RenderCommandEncoderObject) HasSetStencilStoreAction() bool
- func (r_ RenderCommandEncoderObject) HasSetStencilStoreActionOptions() bool
- func (r_ RenderCommandEncoderObject) HasSetTessellationFactorBufferOffsetInstanceStride() bool
- func (r_ RenderCommandEncoderObject) HasSetTessellationFactorScale() bool
- func (r_ RenderCommandEncoderObject) HasSetThreadgroupMemoryLengthOffsetAtIndex() bool
- func (r_ RenderCommandEncoderObject) HasSetTileAccelerationStructureAtBufferIndex() bool
- func (r_ RenderCommandEncoderObject) HasSetTileBufferOffsetAtIndex() bool
- func (r_ RenderCommandEncoderObject) HasSetTileBufferOffsetAtIndex_() bool
- func (r_ RenderCommandEncoderObject) HasSetTileBuffersOffsetsWithRange() bool
- func (r_ RenderCommandEncoderObject) HasSetTileBytesLengthAtIndex() bool
- func (r_ RenderCommandEncoderObject) HasSetTileIntersectionFunctionTableAtBufferIndex() bool
- func (r_ RenderCommandEncoderObject) HasSetTileIntersectionFunctionTablesWithBufferRange() bool
- func (r_ RenderCommandEncoderObject) HasSetTileSamplerStateAtIndex() bool
- func (r_ RenderCommandEncoderObject) HasSetTileSamplerStateLodMinClampLodMaxClampAtIndex() bool
- func (r_ RenderCommandEncoderObject) HasSetTileSamplerStatesLodMinClampsLodMaxClampsWithRange() bool
- func (r_ RenderCommandEncoderObject) HasSetTileSamplerStatesWithRange() bool
- func (r_ RenderCommandEncoderObject) HasSetTileTextureAtIndex() bool
- func (r_ RenderCommandEncoderObject) HasSetTileTexturesWithRange() bool
- func (r_ RenderCommandEncoderObject) HasSetTileVisibleFunctionTableAtBufferIndex() bool
- func (r_ RenderCommandEncoderObject) HasSetTileVisibleFunctionTablesWithBufferRange() bool
- func (r_ RenderCommandEncoderObject) HasSetTriangleFillMode() bool
- func (r_ RenderCommandEncoderObject) HasSetVertexAccelerationStructureAtBufferIndex() bool
- func (r_ RenderCommandEncoderObject) HasSetVertexAmplificationCountViewMappings() bool
- func (r_ RenderCommandEncoderObject) HasSetVertexBufferOffsetAtIndex() bool
- func (r_ RenderCommandEncoderObject) HasSetVertexBufferOffsetAtIndex_() bool
- func (r_ RenderCommandEncoderObject) HasSetVertexBuffersOffsetsWithRange() bool
- func (r_ RenderCommandEncoderObject) HasSetVertexBytesLengthAtIndex() bool
- func (r_ RenderCommandEncoderObject) HasSetVertexIntersectionFunctionTableAtBufferIndex() bool
- func (r_ RenderCommandEncoderObject) HasSetVertexIntersectionFunctionTablesWithBufferRange() bool
- func (r_ RenderCommandEncoderObject) HasSetVertexSamplerStateAtIndex() bool
- func (r_ RenderCommandEncoderObject) HasSetVertexSamplerStateLodMinClampLodMaxClampAtIndex() bool
- func (r_ RenderCommandEncoderObject) HasSetVertexSamplerStatesLodMinClampsLodMaxClampsWithRange() bool
- func (r_ RenderCommandEncoderObject) HasSetVertexSamplerStatesWithRange() bool
- func (r_ RenderCommandEncoderObject) HasSetVertexTextureAtIndex() bool
- func (r_ RenderCommandEncoderObject) HasSetVertexTexturesWithRange() bool
- func (r_ RenderCommandEncoderObject) HasSetVertexVisibleFunctionTableAtBufferIndex() bool
- func (r_ RenderCommandEncoderObject) HasSetVertexVisibleFunctionTablesWithBufferRange() bool
- func (r_ RenderCommandEncoderObject) HasSetViewport() bool
- func (r_ RenderCommandEncoderObject) HasSetViewportsCount() bool
- func (r_ RenderCommandEncoderObject) HasSetVisibilityResultModeOffset() bool
- func (r_ RenderCommandEncoderObject) HasTileHeight() bool
- func (r_ RenderCommandEncoderObject) HasTileWidth() bool
- func (r_ RenderCommandEncoderObject) HasUpdateFenceAfterStages() bool
- func (r_ RenderCommandEncoderObject) HasUseHeapStages() bool
- func (r_ RenderCommandEncoderObject) HasUseHeapsCountStages() bool
- func (r_ RenderCommandEncoderObject) HasUseResourceUsageStages() bool
- func (r_ RenderCommandEncoderObject) HasUseResourcesCountUsageStages() bool
- func (r_ RenderCommandEncoderObject) HasWaitForFenceBeforeStages() bool
- func (r_ RenderCommandEncoderObject) MemoryBarrierWithResourcesCountAfterStagesBeforeStages(resources ResourceObject, count uint, after RenderStages, before RenderStages)
- func (r_ RenderCommandEncoderObject) MemoryBarrierWithScopeAfterStagesBeforeStages(scope BarrierScope, after RenderStages, before RenderStages)
- func (r_ RenderCommandEncoderObject) SampleCountersInBufferAtSampleIndexWithBarrier(sampleBuffer CounterSampleBufferObject, sampleIndex uint, barrier bool)
- func (r_ RenderCommandEncoderObject) SetBlendColorRedGreenBlueAlpha(red float64, green float64, blue float64, alpha float64)
- func (r_ RenderCommandEncoderObject) SetColorStoreActionAtIndex(storeAction StoreAction, colorAttachmentIndex uint)
- func (r_ RenderCommandEncoderObject) SetColorStoreActionOptionsAtIndex(storeActionOptions StoreActionOptions, colorAttachmentIndex uint)
- func (r_ RenderCommandEncoderObject) SetCullMode(cullMode CullMode)
- func (r_ RenderCommandEncoderObject) SetDepthBiasSlopeScaleClamp(depthBias float64, slopeScale float64, clamp float64)
- func (r_ RenderCommandEncoderObject) SetDepthClipMode(depthClipMode DepthClipMode)
- func (r_ RenderCommandEncoderObject) SetDepthStencilState(depthStencilState DepthStencilStateObject)
- func (r_ RenderCommandEncoderObject) SetDepthStoreAction(storeAction StoreAction)
- func (r_ RenderCommandEncoderObject) SetDepthStoreActionOptions(storeActionOptions StoreActionOptions)
- func (r_ RenderCommandEncoderObject) SetFragmentAccelerationStructureAtBufferIndex(accelerationStructure AccelerationStructureObject, bufferIndex uint)
- func (r_ RenderCommandEncoderObject) SetFragmentBufferOffsetAtIndex(offset uint, index uint)
- func (r_ RenderCommandEncoderObject) SetFragmentBufferOffsetAtIndex_(buffer BufferObject, offset uint, index uint)
- func (r_ RenderCommandEncoderObject) SetFragmentBuffersOffsetsWithRange(buffers BufferObject, offsets *uint, range_ foundation.Range)
- func (r_ RenderCommandEncoderObject) SetFragmentBytesLengthAtIndex(bytes unsafe.Pointer, length uint, index uint)
- func (r_ RenderCommandEncoderObject) SetFragmentIntersectionFunctionTableAtBufferIndex(intersectionFunctionTable IntersectionFunctionTableObject, bufferIndex uint)
- func (r_ RenderCommandEncoderObject) SetFragmentIntersectionFunctionTablesWithBufferRange(intersectionFunctionTables IntersectionFunctionTableObject, ...)
- func (r_ RenderCommandEncoderObject) SetFragmentSamplerStateAtIndex(sampler SamplerStateObject, index uint)
- func (r_ RenderCommandEncoderObject) SetFragmentSamplerStateLodMinClampLodMaxClampAtIndex(sampler SamplerStateObject, lodMinClamp float64, lodMaxClamp float64, ...)
- func (r_ RenderCommandEncoderObject) SetFragmentSamplerStatesLodMinClampsLodMaxClampsWithRange(samplers SamplerStateObject, lodMinClamps *float64, lodMaxClamps *float64, ...)
- func (r_ RenderCommandEncoderObject) SetFragmentSamplerStatesWithRange(samplers SamplerStateObject, range_ foundation.Range)
- func (r_ RenderCommandEncoderObject) SetFragmentTextureAtIndex(texture TextureObject, index uint)
- func (r_ RenderCommandEncoderObject) SetFragmentTexturesWithRange(textures TextureObject, range_ foundation.Range)
- func (r_ RenderCommandEncoderObject) SetFragmentVisibleFunctionTableAtBufferIndex(functionTable VisibleFunctionTableObject, bufferIndex uint)
- func (r_ RenderCommandEncoderObject) SetFragmentVisibleFunctionTablesWithBufferRange(functionTables VisibleFunctionTableObject, range_ foundation.Range)
- func (r_ RenderCommandEncoderObject) SetFrontFacingWinding(frontFacingWinding Winding)
- func (r_ RenderCommandEncoderObject) SetRenderPipelineState(pipelineState RenderPipelineStateObject)
- func (r_ RenderCommandEncoderObject) SetScissorRect(rect ScissorRect)
- func (r_ RenderCommandEncoderObject) SetScissorRectsCount(scissorRects *ScissorRect, count uint)
- func (r_ RenderCommandEncoderObject) SetStencilFrontReferenceValueBackReferenceValue(frontReferenceValue uint32, backReferenceValue uint32)
- func (r_ RenderCommandEncoderObject) SetStencilReferenceValue(referenceValue uint32)
- func (r_ RenderCommandEncoderObject) SetStencilStoreAction(storeAction StoreAction)
- func (r_ RenderCommandEncoderObject) SetStencilStoreActionOptions(storeActionOptions StoreActionOptions)
- func (r_ RenderCommandEncoderObject) SetTessellationFactorBufferOffsetInstanceStride(buffer BufferObject, offset uint, instanceStride uint)
- func (r_ RenderCommandEncoderObject) SetTessellationFactorScale(scale float64)
- func (r_ RenderCommandEncoderObject) SetThreadgroupMemoryLengthOffsetAtIndex(length uint, offset uint, index uint)
- func (r_ RenderCommandEncoderObject) SetTileAccelerationStructureAtBufferIndex(accelerationStructure AccelerationStructureObject, bufferIndex uint)
- func (r_ RenderCommandEncoderObject) SetTileBufferOffsetAtIndex(offset uint, index uint)
- func (r_ RenderCommandEncoderObject) SetTileBufferOffsetAtIndex_(buffer BufferObject, offset uint, index uint)
- func (r_ RenderCommandEncoderObject) SetTileBuffersOffsetsWithRange(buffers BufferObject, offsets *uint, range_ foundation.Range)
- func (r_ RenderCommandEncoderObject) SetTileBytesLengthAtIndex(bytes unsafe.Pointer, length uint, index uint)
- func (r_ RenderCommandEncoderObject) SetTileIntersectionFunctionTableAtBufferIndex(intersectionFunctionTable IntersectionFunctionTableObject, bufferIndex uint)
- func (r_ RenderCommandEncoderObject) SetTileIntersectionFunctionTablesWithBufferRange(intersectionFunctionTables IntersectionFunctionTableObject, ...)
- func (r_ RenderCommandEncoderObject) SetTileSamplerStateAtIndex(sampler SamplerStateObject, index uint)
- func (r_ RenderCommandEncoderObject) SetTileSamplerStateLodMinClampLodMaxClampAtIndex(sampler SamplerStateObject, lodMinClamp float64, lodMaxClamp float64, ...)
- func (r_ RenderCommandEncoderObject) SetTileSamplerStatesLodMinClampsLodMaxClampsWithRange(samplers SamplerStateObject, lodMinClamps *float64, lodMaxClamps *float64, ...)
- func (r_ RenderCommandEncoderObject) SetTileSamplerStatesWithRange(samplers SamplerStateObject, range_ foundation.Range)
- func (r_ RenderCommandEncoderObject) SetTileTextureAtIndex(texture TextureObject, index uint)
- func (r_ RenderCommandEncoderObject) SetTileTexturesWithRange(textures TextureObject, range_ foundation.Range)
- func (r_ RenderCommandEncoderObject) SetTileVisibleFunctionTableAtBufferIndex(functionTable VisibleFunctionTableObject, bufferIndex uint)
- func (r_ RenderCommandEncoderObject) SetTileVisibleFunctionTablesWithBufferRange(functionTables VisibleFunctionTableObject, range_ foundation.Range)
- func (r_ RenderCommandEncoderObject) SetTriangleFillMode(fillMode TriangleFillMode)
- func (r_ RenderCommandEncoderObject) SetVertexAccelerationStructureAtBufferIndex(accelerationStructure AccelerationStructureObject, bufferIndex uint)
- func (r_ RenderCommandEncoderObject) SetVertexAmplificationCountViewMappings(count uint, viewMappings *VertexAmplificationViewMapping)
- func (r_ RenderCommandEncoderObject) SetVertexBufferOffsetAtIndex(offset uint, index uint)
- func (r_ RenderCommandEncoderObject) SetVertexBufferOffsetAtIndex_(buffer BufferObject, offset uint, index uint)
- func (r_ RenderCommandEncoderObject) SetVertexBuffersOffsetsWithRange(buffers BufferObject, offsets *uint, range_ foundation.Range)
- func (r_ RenderCommandEncoderObject) SetVertexBytesLengthAtIndex(bytes unsafe.Pointer, length uint, index uint)
- func (r_ RenderCommandEncoderObject) SetVertexIntersectionFunctionTableAtBufferIndex(intersectionFunctionTable IntersectionFunctionTableObject, bufferIndex uint)
- func (r_ RenderCommandEncoderObject) SetVertexIntersectionFunctionTablesWithBufferRange(intersectionFunctionTables IntersectionFunctionTableObject, ...)
- func (r_ RenderCommandEncoderObject) SetVertexSamplerStateAtIndex(sampler SamplerStateObject, index uint)
- func (r_ RenderCommandEncoderObject) SetVertexSamplerStateLodMinClampLodMaxClampAtIndex(sampler SamplerStateObject, lodMinClamp float64, lodMaxClamp float64, ...)
- func (r_ RenderCommandEncoderObject) SetVertexSamplerStatesLodMinClampsLodMaxClampsWithRange(samplers SamplerStateObject, lodMinClamps *float64, lodMaxClamps *float64, ...)
- func (r_ RenderCommandEncoderObject) SetVertexSamplerStatesWithRange(samplers SamplerStateObject, range_ foundation.Range)
- func (r_ RenderCommandEncoderObject) SetVertexTextureAtIndex(texture TextureObject, index uint)
- func (r_ RenderCommandEncoderObject) SetVertexTexturesWithRange(textures TextureObject, range_ foundation.Range)
- func (r_ RenderCommandEncoderObject) SetVertexVisibleFunctionTableAtBufferIndex(functionTable VisibleFunctionTableObject, bufferIndex uint)
- func (r_ RenderCommandEncoderObject) SetVertexVisibleFunctionTablesWithBufferRange(functionTables VisibleFunctionTableObject, range_ foundation.Range)
- func (r_ RenderCommandEncoderObject) SetViewport(viewport Viewport)
- func (r_ RenderCommandEncoderObject) SetViewportsCount(viewports *Viewport, count uint)
- func (r_ RenderCommandEncoderObject) SetVisibilityResultModeOffset(mode VisibilityResultMode, offset uint)
- func (r_ RenderCommandEncoderObject) TileHeight() uint
- func (r_ RenderCommandEncoderObject) TileWidth() uint
- func (r_ RenderCommandEncoderObject) UpdateFenceAfterStages(fence FenceObject, stages RenderStages)
- func (r_ RenderCommandEncoderObject) UseHeapStages(heap HeapObject, stages RenderStages)
- func (r_ RenderCommandEncoderObject) UseHeapsCountStages(heaps HeapObject, count uint, stages RenderStages)
- func (r_ RenderCommandEncoderObject) UseResourceUsageStages(resource ResourceObject, usage ResourceUsage, stages RenderStages)
- func (r_ RenderCommandEncoderObject) UseResourcesCountUsageStages(resources ResourceObject, count uint, usage ResourceUsage, stages RenderStages)
- func (r_ RenderCommandEncoderObject) WaitForFenceBeforeStages(fence FenceObject, stages RenderStages)
- type RenderPassAttachmentDescriptor
- func (r_ RenderPassAttachmentDescriptor) DepthPlane() uint
- func (r_ RenderPassAttachmentDescriptor) Init() RenderPassAttachmentDescriptor
- func (r_ RenderPassAttachmentDescriptor) Level() uint
- func (r_ RenderPassAttachmentDescriptor) LoadAction() LoadAction
- func (r_ RenderPassAttachmentDescriptor) ResolveDepthPlane() uint
- func (r_ RenderPassAttachmentDescriptor) ResolveLevel() uint
- func (r_ RenderPassAttachmentDescriptor) ResolveSlice() uint
- func (r_ RenderPassAttachmentDescriptor) ResolveTexture() TextureObject
- func (r_ RenderPassAttachmentDescriptor) SetDepthPlane(value uint)
- func (r_ RenderPassAttachmentDescriptor) SetLevel(value uint)
- func (r_ RenderPassAttachmentDescriptor) SetLoadAction(value LoadAction)
- func (r_ RenderPassAttachmentDescriptor) SetResolveDepthPlane(value uint)
- func (r_ RenderPassAttachmentDescriptor) SetResolveLevel(value uint)
- func (r_ RenderPassAttachmentDescriptor) SetResolveSlice(value uint)
- func (r_ RenderPassAttachmentDescriptor) SetResolveTexture(value PTexture)
- func (r_ RenderPassAttachmentDescriptor) SetResolveTextureObject(valueObject objc.IObject)
- func (r_ RenderPassAttachmentDescriptor) SetSlice(value uint)
- func (r_ RenderPassAttachmentDescriptor) SetStoreAction(value StoreAction)
- func (r_ RenderPassAttachmentDescriptor) SetStoreActionOptions(value StoreActionOptions)
- func (r_ RenderPassAttachmentDescriptor) SetTexture(value PTexture)
- func (r_ RenderPassAttachmentDescriptor) SetTextureObject(valueObject objc.IObject)
- func (r_ RenderPassAttachmentDescriptor) Slice() uint
- func (r_ RenderPassAttachmentDescriptor) StoreAction() StoreAction
- func (r_ RenderPassAttachmentDescriptor) StoreActionOptions() StoreActionOptions
- func (r_ RenderPassAttachmentDescriptor) Texture() TextureObject
- type RenderPassColorAttachmentDescriptor
- type RenderPassColorAttachmentDescriptorArray
- func (r_ RenderPassColorAttachmentDescriptorArray) Init() RenderPassColorAttachmentDescriptorArray
- func (r_ RenderPassColorAttachmentDescriptorArray) ObjectAtIndexedSubscript(attachmentIndex uint) RenderPassColorAttachmentDescriptor
- func (r_ RenderPassColorAttachmentDescriptorArray) SetObjectAtIndexedSubscript(attachment IRenderPassColorAttachmentDescriptor, attachmentIndex uint)
- type RenderPassDepthAttachmentDescriptor
- func (r_ RenderPassDepthAttachmentDescriptor) ClearDepth() float64
- func (r_ RenderPassDepthAttachmentDescriptor) DepthResolveFilter() MultisampleDepthResolveFilter
- func (r_ RenderPassDepthAttachmentDescriptor) Init() RenderPassDepthAttachmentDescriptor
- func (r_ RenderPassDepthAttachmentDescriptor) SetClearDepth(value float64)
- func (r_ RenderPassDepthAttachmentDescriptor) SetDepthResolveFilter(value MultisampleDepthResolveFilter)
- type RenderPassDescriptor
- func (r_ RenderPassDescriptor) ColorAttachments() RenderPassColorAttachmentDescriptorArray
- func (r_ RenderPassDescriptor) DefaultRasterSampleCount() uint
- func (r_ RenderPassDescriptor) DepthAttachment() RenderPassDepthAttachmentDescriptor
- func (r_ RenderPassDescriptor) GetSamplePositionsCount(positions *SamplePosition, count uint) uint
- func (r_ RenderPassDescriptor) ImageblockSampleLength() uint
- func (r_ RenderPassDescriptor) Init() RenderPassDescriptor
- func (r_ RenderPassDescriptor) RasterizationRateMap() RasterizationRateMapObject
- func (r_ RenderPassDescriptor) RenderTargetArrayLength() uint
- func (r_ RenderPassDescriptor) RenderTargetHeight() uint
- func (r_ RenderPassDescriptor) RenderTargetWidth() uint
- func (r_ RenderPassDescriptor) SampleBufferAttachments() RenderPassSampleBufferAttachmentDescriptorArray
- func (r_ RenderPassDescriptor) SetDefaultRasterSampleCount(value uint)
- func (r_ RenderPassDescriptor) SetDepthAttachment(value IRenderPassDepthAttachmentDescriptor)
- func (r_ RenderPassDescriptor) SetImageblockSampleLength(value uint)
- func (r_ RenderPassDescriptor) SetRasterizationRateMap(value PRasterizationRateMap)
- func (r_ RenderPassDescriptor) SetRasterizationRateMapObject(valueObject objc.IObject)
- func (r_ RenderPassDescriptor) SetRenderTargetArrayLength(value uint)
- func (r_ RenderPassDescriptor) SetRenderTargetHeight(value uint)
- func (r_ RenderPassDescriptor) SetRenderTargetWidth(value uint)
- func (r_ RenderPassDescriptor) SetSamplePositionsCount(positions *SamplePosition, count uint)
- func (r_ RenderPassDescriptor) SetStencilAttachment(value IRenderPassStencilAttachmentDescriptor)
- func (r_ RenderPassDescriptor) SetThreadgroupMemoryLength(value uint)
- func (r_ RenderPassDescriptor) SetTileHeight(value uint)
- func (r_ RenderPassDescriptor) SetTileWidth(value uint)
- func (r_ RenderPassDescriptor) SetVisibilityResultBuffer(value PBuffer)
- func (r_ RenderPassDescriptor) SetVisibilityResultBufferObject(valueObject objc.IObject)
- func (r_ RenderPassDescriptor) StencilAttachment() RenderPassStencilAttachmentDescriptor
- func (r_ RenderPassDescriptor) ThreadgroupMemoryLength() uint
- func (r_ RenderPassDescriptor) TileHeight() uint
- func (r_ RenderPassDescriptor) TileWidth() uint
- func (r_ RenderPassDescriptor) VisibilityResultBuffer() BufferObject
- type RenderPassSampleBufferAttachmentDescriptor
- func (r_ RenderPassSampleBufferAttachmentDescriptor) EndOfFragmentSampleIndex() uint
- func (r_ RenderPassSampleBufferAttachmentDescriptor) EndOfVertexSampleIndex() uint
- func (r_ RenderPassSampleBufferAttachmentDescriptor) Init() RenderPassSampleBufferAttachmentDescriptor
- func (r_ RenderPassSampleBufferAttachmentDescriptor) SampleBuffer() CounterSampleBufferObject
- func (r_ RenderPassSampleBufferAttachmentDescriptor) SetEndOfFragmentSampleIndex(value uint)
- func (r_ RenderPassSampleBufferAttachmentDescriptor) SetEndOfVertexSampleIndex(value uint)
- func (r_ RenderPassSampleBufferAttachmentDescriptor) SetSampleBuffer(value PCounterSampleBuffer)
- func (r_ RenderPassSampleBufferAttachmentDescriptor) SetSampleBufferObject(valueObject objc.IObject)
- func (r_ RenderPassSampleBufferAttachmentDescriptor) SetStartOfFragmentSampleIndex(value uint)
- func (r_ RenderPassSampleBufferAttachmentDescriptor) SetStartOfVertexSampleIndex(value uint)
- func (r_ RenderPassSampleBufferAttachmentDescriptor) StartOfFragmentSampleIndex() uint
- func (r_ RenderPassSampleBufferAttachmentDescriptor) StartOfVertexSampleIndex() uint
- type RenderPassSampleBufferAttachmentDescriptorArray
- func (r_ RenderPassSampleBufferAttachmentDescriptorArray) Init() RenderPassSampleBufferAttachmentDescriptorArray
- func (r_ RenderPassSampleBufferAttachmentDescriptorArray) ObjectAtIndexedSubscript(attachmentIndex uint) RenderPassSampleBufferAttachmentDescriptor
- func (r_ RenderPassSampleBufferAttachmentDescriptorArray) SetObjectAtIndexedSubscript(attachment IRenderPassSampleBufferAttachmentDescriptor, attachmentIndex uint)
- type RenderPassStencilAttachmentDescriptor
- func (r_ RenderPassStencilAttachmentDescriptor) ClearStencil() uint32
- func (r_ RenderPassStencilAttachmentDescriptor) Init() RenderPassStencilAttachmentDescriptor
- func (r_ RenderPassStencilAttachmentDescriptor) SetClearStencil(value uint32)
- func (r_ RenderPassStencilAttachmentDescriptor) SetStencilResolveFilter(value MultisampleStencilResolveFilter)
- func (r_ RenderPassStencilAttachmentDescriptor) StencilResolveFilter() MultisampleStencilResolveFilter
- type RenderPipelineColorAttachmentDescriptor
- func (r_ RenderPipelineColorAttachmentDescriptor) AlphaBlendOperation() BlendOperation
- func (r_ RenderPipelineColorAttachmentDescriptor) DestinationAlphaBlendFactor() BlendFactor
- func (r_ RenderPipelineColorAttachmentDescriptor) DestinationRGBBlendFactor() BlendFactor
- func (r_ RenderPipelineColorAttachmentDescriptor) Init() RenderPipelineColorAttachmentDescriptor
- func (r_ RenderPipelineColorAttachmentDescriptor) IsBlendingEnabled() bool
- func (r_ RenderPipelineColorAttachmentDescriptor) PixelFormat() PixelFormat
- func (r_ RenderPipelineColorAttachmentDescriptor) RgbBlendOperation() BlendOperation
- func (r_ RenderPipelineColorAttachmentDescriptor) SetAlphaBlendOperation(value BlendOperation)
- func (r_ RenderPipelineColorAttachmentDescriptor) SetBlendingEnabled(value bool)
- func (r_ RenderPipelineColorAttachmentDescriptor) SetDestinationAlphaBlendFactor(value BlendFactor)
- func (r_ RenderPipelineColorAttachmentDescriptor) SetDestinationRGBBlendFactor(value BlendFactor)
- func (r_ RenderPipelineColorAttachmentDescriptor) SetPixelFormat(value PixelFormat)
- func (r_ RenderPipelineColorAttachmentDescriptor) SetRgbBlendOperation(value BlendOperation)
- func (r_ RenderPipelineColorAttachmentDescriptor) SetSourceAlphaBlendFactor(value BlendFactor)
- func (r_ RenderPipelineColorAttachmentDescriptor) SetSourceRGBBlendFactor(value BlendFactor)
- func (r_ RenderPipelineColorAttachmentDescriptor) SetWriteMask(value ColorWriteMask)
- func (r_ RenderPipelineColorAttachmentDescriptor) SourceAlphaBlendFactor() BlendFactor
- func (r_ RenderPipelineColorAttachmentDescriptor) SourceRGBBlendFactor() BlendFactor
- func (r_ RenderPipelineColorAttachmentDescriptor) WriteMask() ColorWriteMask
- type RenderPipelineColorAttachmentDescriptorArray
- func (r_ RenderPipelineColorAttachmentDescriptorArray) Init() RenderPipelineColorAttachmentDescriptorArray
- func (r_ RenderPipelineColorAttachmentDescriptorArray) ObjectAtIndexedSubscript(attachmentIndex uint) RenderPipelineColorAttachmentDescriptor
- func (r_ RenderPipelineColorAttachmentDescriptorArray) SetObjectAtIndexedSubscript(attachment IRenderPipelineColorAttachmentDescriptor, attachmentIndex uint)
- type RenderPipelineDescriptor
- func (r_ RenderPipelineDescriptor) BinaryArchives() []BinaryArchiveObject
- func (r_ RenderPipelineDescriptor) ColorAttachments() RenderPipelineColorAttachmentDescriptorArray
- func (r_ RenderPipelineDescriptor) DepthAttachmentPixelFormat() PixelFormat
- func (r_ RenderPipelineDescriptor) FragmentBuffers() PipelineBufferDescriptorArray
- func (r_ RenderPipelineDescriptor) FragmentFunction() FunctionObject
- func (r_ RenderPipelineDescriptor) FragmentLinkedFunctions() LinkedFunctions
- func (r_ RenderPipelineDescriptor) FragmentPreloadedLibraries() []DynamicLibraryObject
- func (r_ RenderPipelineDescriptor) Init() RenderPipelineDescriptor
- func (r_ RenderPipelineDescriptor) InputPrimitiveTopology() PrimitiveTopologyClass
- func (r_ RenderPipelineDescriptor) IsAlphaToCoverageEnabled() bool
- func (r_ RenderPipelineDescriptor) IsAlphaToOneEnabled() bool
- func (r_ RenderPipelineDescriptor) IsRasterizationEnabled() bool
- func (r_ RenderPipelineDescriptor) IsTessellationFactorScaleEnabled() bool
- func (r_ RenderPipelineDescriptor) Label() string
- func (r_ RenderPipelineDescriptor) MaxFragmentCallStackDepth() uint
- func (r_ RenderPipelineDescriptor) MaxTessellationFactor() uint
- func (r_ RenderPipelineDescriptor) MaxVertexAmplificationCount() uint
- func (r_ RenderPipelineDescriptor) MaxVertexCallStackDepth() uint
- func (r_ RenderPipelineDescriptor) RasterSampleCount() uint
- func (r_ RenderPipelineDescriptor) Reset()
- func (r_ RenderPipelineDescriptor) SetAlphaToCoverageEnabled(value bool)
- func (r_ RenderPipelineDescriptor) SetAlphaToOneEnabled(value bool)
- func (r_ RenderPipelineDescriptor) SetBinaryArchives(value []PBinaryArchive)
- func (r_ RenderPipelineDescriptor) SetDepthAttachmentPixelFormat(value PixelFormat)
- func (r_ RenderPipelineDescriptor) SetFragmentFunction(value PFunction)
- func (r_ RenderPipelineDescriptor) SetFragmentFunctionObject(valueObject objc.IObject)
- func (r_ RenderPipelineDescriptor) SetFragmentLinkedFunctions(value ILinkedFunctions)
- func (r_ RenderPipelineDescriptor) SetFragmentPreloadedLibraries(value []PDynamicLibrary)
- func (r_ RenderPipelineDescriptor) SetInputPrimitiveTopology(value PrimitiveTopologyClass)
- func (r_ RenderPipelineDescriptor) SetLabel(value string)
- func (r_ RenderPipelineDescriptor) SetMaxFragmentCallStackDepth(value uint)
- func (r_ RenderPipelineDescriptor) SetMaxTessellationFactor(value uint)
- func (r_ RenderPipelineDescriptor) SetMaxVertexAmplificationCount(value uint)
- func (r_ RenderPipelineDescriptor) SetMaxVertexCallStackDepth(value uint)
- func (r_ RenderPipelineDescriptor) SetRasterSampleCount(value uint)
- func (r_ RenderPipelineDescriptor) SetRasterizationEnabled(value bool)
- func (r_ RenderPipelineDescriptor) SetStencilAttachmentPixelFormat(value PixelFormat)
- func (r_ RenderPipelineDescriptor) SetSupportAddingFragmentBinaryFunctions(value bool)
- func (r_ RenderPipelineDescriptor) SetSupportAddingVertexBinaryFunctions(value bool)
- func (r_ RenderPipelineDescriptor) SetSupportIndirectCommandBuffers(value bool)
- func (r_ RenderPipelineDescriptor) SetTessellationControlPointIndexType(value TessellationControlPointIndexType)
- func (r_ RenderPipelineDescriptor) SetTessellationFactorFormat(value TessellationFactorFormat)
- func (r_ RenderPipelineDescriptor) SetTessellationFactorScaleEnabled(value bool)
- func (r_ RenderPipelineDescriptor) SetTessellationFactorStepFunction(value TessellationFactorStepFunction)
- func (r_ RenderPipelineDescriptor) SetTessellationOutputWindingOrder(value Winding)
- func (r_ RenderPipelineDescriptor) SetTessellationPartitionMode(value TessellationPartitionMode)
- func (r_ RenderPipelineDescriptor) SetVertexDescriptor(value IVertexDescriptor)
- func (r_ RenderPipelineDescriptor) SetVertexFunction(value PFunction)
- func (r_ RenderPipelineDescriptor) SetVertexFunctionObject(valueObject objc.IObject)
- func (r_ RenderPipelineDescriptor) SetVertexLinkedFunctions(value ILinkedFunctions)
- func (r_ RenderPipelineDescriptor) SetVertexPreloadedLibraries(value []PDynamicLibrary)
- func (r_ RenderPipelineDescriptor) StencilAttachmentPixelFormat() PixelFormat
- func (r_ RenderPipelineDescriptor) SupportAddingFragmentBinaryFunctions() bool
- func (r_ RenderPipelineDescriptor) SupportAddingVertexBinaryFunctions() bool
- func (r_ RenderPipelineDescriptor) SupportIndirectCommandBuffers() bool
- func (r_ RenderPipelineDescriptor) TessellationControlPointIndexType() TessellationControlPointIndexType
- func (r_ RenderPipelineDescriptor) TessellationFactorFormat() TessellationFactorFormat
- func (r_ RenderPipelineDescriptor) TessellationFactorStepFunction() TessellationFactorStepFunction
- func (r_ RenderPipelineDescriptor) TessellationOutputWindingOrder() Winding
- func (r_ RenderPipelineDescriptor) TessellationPartitionMode() TessellationPartitionMode
- func (r_ RenderPipelineDescriptor) VertexBuffers() PipelineBufferDescriptorArray
- func (r_ RenderPipelineDescriptor) VertexDescriptor() VertexDescriptor
- func (r_ RenderPipelineDescriptor) VertexFunction() FunctionObject
- func (r_ RenderPipelineDescriptor) VertexLinkedFunctions() LinkedFunctions
- func (r_ RenderPipelineDescriptor) VertexPreloadedLibraries() []DynamicLibraryObject
- type RenderPipelineFunctionsDescriptor
- func (r_ RenderPipelineFunctionsDescriptor) FragmentAdditionalBinaryFunctions() []FunctionObject
- func (r_ RenderPipelineFunctionsDescriptor) Init() RenderPipelineFunctionsDescriptor
- func (r_ RenderPipelineFunctionsDescriptor) SetFragmentAdditionalBinaryFunctions(value []PFunction)
- func (r_ RenderPipelineFunctionsDescriptor) SetTileAdditionalBinaryFunctions(value []PFunction)
- func (r_ RenderPipelineFunctionsDescriptor) SetVertexAdditionalBinaryFunctions(value []PFunction)
- func (r_ RenderPipelineFunctionsDescriptor) TileAdditionalBinaryFunctions() []FunctionObject
- func (r_ RenderPipelineFunctionsDescriptor) VertexAdditionalBinaryFunctions() []FunctionObject
- type RenderPipelineReflection
- type RenderPipelineStateObject
- func (r_ RenderPipelineStateObject) Device() DeviceObject
- func (r_ RenderPipelineStateObject) FunctionHandleWithFunctionStage(function FunctionObject, stage RenderStages) FunctionHandleObject
- func (r_ RenderPipelineStateObject) HasDevice() bool
- func (r_ RenderPipelineStateObject) HasFunctionHandleWithFunctionStage() bool
- func (r_ RenderPipelineStateObject) HasImageblockMemoryLengthForDimensions() bool
- func (r_ RenderPipelineStateObject) HasImageblockSampleLength() bool
- func (r_ RenderPipelineStateObject) HasLabel() bool
- func (r_ RenderPipelineStateObject) HasMaxTotalThreadsPerThreadgroup() bool
- func (r_ RenderPipelineStateObject) HasNewIntersectionFunctionTableWithDescriptorStage() bool
- func (r_ RenderPipelineStateObject) HasNewRenderPipelineStateWithAdditionalBinaryFunctionsError() bool
- func (r_ RenderPipelineStateObject) HasNewVisibleFunctionTableWithDescriptorStage() bool
- func (r_ RenderPipelineStateObject) HasSupportIndirectCommandBuffers() bool
- func (r_ RenderPipelineStateObject) HasThreadgroupSizeMatchesTileSize() bool
- func (r_ RenderPipelineStateObject) ImageblockMemoryLengthForDimensions(imageblockDimensions Size) uint
- func (r_ RenderPipelineStateObject) ImageblockSampleLength() uint
- func (r_ RenderPipelineStateObject) Label() string
- func (r_ RenderPipelineStateObject) MaxTotalThreadsPerThreadgroup() uint
- func (r_ RenderPipelineStateObject) NewIntersectionFunctionTableWithDescriptorStage(descriptor IntersectionFunctionTableDescriptor, stage RenderStages) IntersectionFunctionTableObject
- func (r_ RenderPipelineStateObject) NewRenderPipelineStateWithAdditionalBinaryFunctionsError(additionalBinaryFunctions RenderPipelineFunctionsDescriptor, ...) RenderPipelineStateObject
- func (r_ RenderPipelineStateObject) NewVisibleFunctionTableWithDescriptorStage(descriptor VisibleFunctionTableDescriptor, stage RenderStages) VisibleFunctionTableObject
- func (r_ RenderPipelineStateObject) SupportIndirectCommandBuffers() bool
- func (r_ RenderPipelineStateObject) ThreadgroupSizeMatchesTileSize() bool
- type RenderStages
- type ResourceObject
- func (r_ ResourceObject) AllocatedSize() uint
- func (r_ ResourceObject) CpuCacheMode() CPUCacheMode
- func (r_ ResourceObject) Device() DeviceObject
- func (r_ ResourceObject) HasAllocatedSize() bool
- func (r_ ResourceObject) HasCpuCacheMode() bool
- func (r_ ResourceObject) HasDevice() bool
- func (r_ ResourceObject) HasHazardTrackingMode() bool
- func (r_ ResourceObject) HasHeap() bool
- func (r_ ResourceObject) HasHeapOffset() bool
- func (r_ ResourceObject) HasIsAliasable() bool
- func (r_ ResourceObject) HasLabel() bool
- func (r_ ResourceObject) HasMakeAliasable() bool
- func (r_ ResourceObject) HasResourceOptions() bool
- func (r_ ResourceObject) HasSetLabel() bool
- func (r_ ResourceObject) HasSetPurgeableState() bool
- func (r_ ResourceObject) HasStorageMode() bool
- func (r_ ResourceObject) HazardTrackingMode() HazardTrackingMode
- func (r_ ResourceObject) Heap() HeapObject
- func (r_ ResourceObject) HeapOffset() uint
- func (r_ ResourceObject) IsAliasable() bool
- func (r_ ResourceObject) Label() string
- func (r_ ResourceObject) MakeAliasable()
- func (r_ ResourceObject) ResourceOptions() ResourceOptions
- func (r_ ResourceObject) SetLabel(value string)
- func (r_ ResourceObject) SetPurgeableState(state PurgeableState) PurgeableState
- func (r_ ResourceObject) StorageMode() StorageMode
- type ResourceOptions
- type ResourceStateCommandEncoderObject
- func (r_ ResourceStateCommandEncoderObject) HasUpdateFence() bool
- func (r_ ResourceStateCommandEncoderObject) HasUpdateTextureMappingModeIndirectBufferIndirectBufferOffset() bool
- func (r_ ResourceStateCommandEncoderObject) HasUpdateTextureMappingModeRegionMipLevelSlice() bool
- func (r_ ResourceStateCommandEncoderObject) HasUpdateTextureMappingsModeRegionsMipLevelsSlicesNumRegions() bool
- func (r_ ResourceStateCommandEncoderObject) HasWaitForFence() bool
- func (r_ ResourceStateCommandEncoderObject) UpdateFence(fence FenceObject)
- func (r_ ResourceStateCommandEncoderObject) UpdateTextureMappingModeIndirectBufferIndirectBufferOffset(texture TextureObject, mode SparseTextureMappingMode, ...)
- func (r_ ResourceStateCommandEncoderObject) UpdateTextureMappingModeRegionMipLevelSlice(texture TextureObject, mode SparseTextureMappingMode, region Region, ...)
- func (r_ ResourceStateCommandEncoderObject) UpdateTextureMappingsModeRegionsMipLevelsSlicesNumRegions(texture TextureObject, mode SparseTextureMappingMode, regions *Region, ...)
- func (r_ ResourceStateCommandEncoderObject) WaitForFence(fence FenceObject)
- type ResourceStatePassDescriptor
- type ResourceStatePassSampleBufferAttachmentDescriptor
- func (r_ ResourceStatePassSampleBufferAttachmentDescriptor) EndOfEncoderSampleIndex() uint
- func (r_ ResourceStatePassSampleBufferAttachmentDescriptor) Init() ResourceStatePassSampleBufferAttachmentDescriptor
- func (r_ ResourceStatePassSampleBufferAttachmentDescriptor) SampleBuffer() CounterSampleBufferObject
- func (r_ ResourceStatePassSampleBufferAttachmentDescriptor) SetEndOfEncoderSampleIndex(value uint)
- func (r_ ResourceStatePassSampleBufferAttachmentDescriptor) SetSampleBuffer(value PCounterSampleBuffer)
- func (r_ ResourceStatePassSampleBufferAttachmentDescriptor) SetSampleBufferObject(valueObject objc.IObject)
- func (r_ ResourceStatePassSampleBufferAttachmentDescriptor) SetStartOfEncoderSampleIndex(value uint)
- func (r_ ResourceStatePassSampleBufferAttachmentDescriptor) StartOfEncoderSampleIndex() uint
- type ResourceStatePassSampleBufferAttachmentDescriptorArray
- func (r_ ResourceStatePassSampleBufferAttachmentDescriptorArray) Init() ResourceStatePassSampleBufferAttachmentDescriptorArray
- func (r_ ResourceStatePassSampleBufferAttachmentDescriptorArray) ObjectAtIndexedSubscript(attachmentIndex uint) ResourceStatePassSampleBufferAttachmentDescriptor
- func (r_ ResourceStatePassSampleBufferAttachmentDescriptorArray) SetObjectAtIndexedSubscript(attachment IResourceStatePassSampleBufferAttachmentDescriptor, ...)
- type ResourceUsage
- type SamplePosition
- type SamplerAddressMode
- type SamplerBorderColor
- type SamplerDescriptor
- func (s_ SamplerDescriptor) BorderColor() SamplerBorderColor
- func (s_ SamplerDescriptor) CompareFunction() CompareFunction
- func (s_ SamplerDescriptor) Init() SamplerDescriptor
- func (s_ SamplerDescriptor) Label() string
- func (s_ SamplerDescriptor) LodAverage() bool
- func (s_ SamplerDescriptor) LodMaxClamp() float64
- func (s_ SamplerDescriptor) LodMinClamp() float64
- func (s_ SamplerDescriptor) MagFilter() SamplerMinMagFilter
- func (s_ SamplerDescriptor) MaxAnisotropy() uint
- func (s_ SamplerDescriptor) MinFilter() SamplerMinMagFilter
- func (s_ SamplerDescriptor) MipFilter() SamplerMipFilter
- func (s_ SamplerDescriptor) NormalizedCoordinates() bool
- func (s_ SamplerDescriptor) RAddressMode() SamplerAddressMode
- func (s_ SamplerDescriptor) SAddressMode() SamplerAddressMode
- func (s_ SamplerDescriptor) SetBorderColor(value SamplerBorderColor)
- func (s_ SamplerDescriptor) SetCompareFunction(value CompareFunction)
- func (s_ SamplerDescriptor) SetLabel(value string)
- func (s_ SamplerDescriptor) SetLodAverage(value bool)
- func (s_ SamplerDescriptor) SetLodMaxClamp(value float64)
- func (s_ SamplerDescriptor) SetLodMinClamp(value float64)
- func (s_ SamplerDescriptor) SetMagFilter(value SamplerMinMagFilter)
- func (s_ SamplerDescriptor) SetMaxAnisotropy(value uint)
- func (s_ SamplerDescriptor) SetMinFilter(value SamplerMinMagFilter)
- func (s_ SamplerDescriptor) SetMipFilter(value SamplerMipFilter)
- func (s_ SamplerDescriptor) SetNormalizedCoordinates(value bool)
- func (s_ SamplerDescriptor) SetRAddressMode(value SamplerAddressMode)
- func (s_ SamplerDescriptor) SetSAddressMode(value SamplerAddressMode)
- func (s_ SamplerDescriptor) SetSupportArgumentBuffers(value bool)
- func (s_ SamplerDescriptor) SetTAddressMode(value SamplerAddressMode)
- func (s_ SamplerDescriptor) SupportArgumentBuffers() bool
- func (s_ SamplerDescriptor) TAddressMode() SamplerAddressMode
- type SamplerMinMagFilter
- type SamplerMipFilter
- type SamplerStateObject
- type ScissorRect
- type SharedEventHandle
- type SharedEventListener
- type SharedEventNotificationBlock
- type SharedEventObject
- func (s_ SharedEventObject) HasNewSharedEventHandle() bool
- func (s_ SharedEventObject) HasNotifyListenerAtValueBlock() bool
- func (s_ SharedEventObject) HasSetSignaledValue() bool
- func (s_ SharedEventObject) HasSignaledValue() bool
- func (s_ SharedEventObject) NewSharedEventHandle() SharedEventHandle
- func (s_ SharedEventObject) NotifyListenerAtValueBlock(listener SharedEventListener, value uint64, block SharedEventNotificationBlock)
- func (s_ SharedEventObject) SetSignaledValue(value uint64)
- func (s_ SharedEventObject) SignaledValue() uint64
- type SharedTextureHandle
- type Size
- type SizeAndAlign
- type SparseTextureMappingMode
- type SparseTextureRegionAlignmentMode
- type StageInRegionIndirectArguments
- type StageInputOutputDescriptor
- func (s_ StageInputOutputDescriptor) Attributes() AttributeDescriptorArray
- func (s_ StageInputOutputDescriptor) IndexBufferIndex() uint
- func (s_ StageInputOutputDescriptor) IndexType() IndexType
- func (s_ StageInputOutputDescriptor) Init() StageInputOutputDescriptor
- func (s_ StageInputOutputDescriptor) Layouts() BufferLayoutDescriptorArray
- func (s_ StageInputOutputDescriptor) Reset()
- func (s_ StageInputOutputDescriptor) SetIndexBufferIndex(value uint)
- func (s_ StageInputOutputDescriptor) SetIndexType(value IndexType)
- type StencilDescriptor
- func (s_ StencilDescriptor) DepthFailureOperation() StencilOperation
- func (s_ StencilDescriptor) DepthStencilPassOperation() StencilOperation
- func (s_ StencilDescriptor) Init() StencilDescriptor
- func (s_ StencilDescriptor) ReadMask() uint32
- func (s_ StencilDescriptor) SetDepthFailureOperation(value StencilOperation)
- func (s_ StencilDescriptor) SetDepthStencilPassOperation(value StencilOperation)
- func (s_ StencilDescriptor) SetReadMask(value uint32)
- func (s_ StencilDescriptor) SetStencilCompareFunction(value CompareFunction)
- func (s_ StencilDescriptor) SetStencilFailureOperation(value StencilOperation)
- func (s_ StencilDescriptor) SetWriteMask(value uint32)
- func (s_ StencilDescriptor) StencilCompareFunction() CompareFunction
- func (s_ StencilDescriptor) StencilFailureOperation() StencilOperation
- func (s_ StencilDescriptor) WriteMask() uint32
- type StencilOperation
- type StepFunction
- type StitchedLibraryDescriptor
- func (s_ StitchedLibraryDescriptor) FunctionGraphs() []FunctionStitchingGraph
- func (s_ StitchedLibraryDescriptor) Functions() []FunctionObject
- func (s_ StitchedLibraryDescriptor) Init() StitchedLibraryDescriptor
- func (s_ StitchedLibraryDescriptor) SetFunctionGraphs(value []IFunctionStitchingGraph)
- func (s_ StitchedLibraryDescriptor) SetFunctions(value []PFunction)
- type StorageMode
- type StoreAction
- type StoreActionOptions
- type StructMember
- func (s_ StructMember) ArgumentIndex() uint
- func (s_ StructMember) ArrayType() ArrayType
- func (s_ StructMember) DataType() DataType
- func (s_ StructMember) Init() StructMember
- func (s_ StructMember) Name() string
- func (s_ StructMember) Offset() uint
- func (s_ StructMember) PointerType() PointerType
- func (s_ StructMember) StructType() StructType
- func (s_ StructMember) TextureReferenceType() TextureReferenceType
- type StructType
- type TessellationControlPointIndexType
- type TessellationFactorFormat
- type TessellationFactorStepFunction
- type TessellationPartitionMode
- type TextureCompressionType
- type TextureDescriptor
- func NewTextureDescriptor() TextureDescriptor
- func TextureDescriptorFrom(ptr unsafe.Pointer) TextureDescriptor
- func TextureDescriptor_Texture2DDescriptorWithPixelFormatWidthHeightMipmapped(pixelFormat PixelFormat, width uint, height uint, mipmapped bool) TextureDescriptor
- func TextureDescriptor_TextureBufferDescriptorWithPixelFormatWidthResourceOptionsUsage(pixelFormat PixelFormat, width uint, resourceOptions ResourceOptions, ...) TextureDescriptor
- func TextureDescriptor_TextureCubeDescriptorWithPixelFormatSizeMipmapped(pixelFormat PixelFormat, size uint, mipmapped bool) TextureDescriptor
- func (t_ TextureDescriptor) AllowGPUOptimizedContents() bool
- func (t_ TextureDescriptor) ArrayLength() uint
- func (t_ TextureDescriptor) CompressionType() TextureCompressionType
- func (t_ TextureDescriptor) CpuCacheMode() CPUCacheMode
- func (t_ TextureDescriptor) Depth() uint
- func (t_ TextureDescriptor) HazardTrackingMode() HazardTrackingMode
- func (t_ TextureDescriptor) Height() uint
- func (t_ TextureDescriptor) Init() TextureDescriptor
- func (t_ TextureDescriptor) MipmapLevelCount() uint
- func (t_ TextureDescriptor) PixelFormat() PixelFormat
- func (t_ TextureDescriptor) ResourceOptions() ResourceOptions
- func (t_ TextureDescriptor) SampleCount() uint
- func (t_ TextureDescriptor) SetAllowGPUOptimizedContents(value bool)
- func (t_ TextureDescriptor) SetArrayLength(value uint)
- func (t_ TextureDescriptor) SetCompressionType(value TextureCompressionType)
- func (t_ TextureDescriptor) SetCpuCacheMode(value CPUCacheMode)
- func (t_ TextureDescriptor) SetDepth(value uint)
- func (t_ TextureDescriptor) SetHazardTrackingMode(value HazardTrackingMode)
- func (t_ TextureDescriptor) SetHeight(value uint)
- func (t_ TextureDescriptor) SetMipmapLevelCount(value uint)
- func (t_ TextureDescriptor) SetPixelFormat(value PixelFormat)
- func (t_ TextureDescriptor) SetResourceOptions(value ResourceOptions)
- func (t_ TextureDescriptor) SetSampleCount(value uint)
- func (t_ TextureDescriptor) SetStorageMode(value StorageMode)
- func (t_ TextureDescriptor) SetSwizzle(value TextureSwizzleChannels)
- func (t_ TextureDescriptor) SetTextureType(value TextureType)
- func (t_ TextureDescriptor) SetUsage(value TextureUsage)
- func (t_ TextureDescriptor) SetWidth(value uint)
- func (t_ TextureDescriptor) StorageMode() StorageMode
- func (t_ TextureDescriptor) Swizzle() TextureSwizzleChannels
- func (t_ TextureDescriptor) TextureType() TextureType
- func (t_ TextureDescriptor) Usage() TextureUsage
- func (t_ TextureDescriptor) Width() uint
- type TextureObject
- func (t_ TextureObject) AllowGPUOptimizedContents() bool
- func (t_ TextureObject) ArrayLength() uint
- func (t_ TextureObject) Buffer() BufferObject
- func (t_ TextureObject) BufferBytesPerRow() uint
- func (t_ TextureObject) BufferOffset() uint
- func (t_ TextureObject) CompressionType() TextureCompressionType
- func (t_ TextureObject) Depth() uint
- func (t_ TextureObject) FirstMipmapInTail() uint
- func (t_ TextureObject) GetBytesBytesPerRowBytesPerImageFromRegionMipmapLevelSlice(pixelBytes unsafe.Pointer, bytesPerRow uint, bytesPerImage uint, region Region, ...)
- func (t_ TextureObject) GetBytesBytesPerRowFromRegionMipmapLevel(pixelBytes unsafe.Pointer, bytesPerRow uint, region Region, level uint)
- func (t_ TextureObject) HasAllowGPUOptimizedContents() bool
- func (t_ TextureObject) HasArrayLength() bool
- func (t_ TextureObject) HasBuffer() bool
- func (t_ TextureObject) HasBufferBytesPerRow() bool
- func (t_ TextureObject) HasBufferOffset() bool
- func (t_ TextureObject) HasCompressionType() bool
- func (t_ TextureObject) HasDepth() bool
- func (t_ TextureObject) HasFirstMipmapInTail() bool
- func (t_ TextureObject) HasGetBytesBytesPerRowBytesPerImageFromRegionMipmapLevelSlice() bool
- func (t_ TextureObject) HasGetBytesBytesPerRowFromRegionMipmapLevel() bool
- func (t_ TextureObject) HasHeight() bool
- func (t_ TextureObject) HasIosurface() bool
- func (t_ TextureObject) HasIosurfacePlane() bool
- func (t_ TextureObject) HasIsFramebufferOnly() bool
- func (t_ TextureObject) HasIsShareable() bool
- func (t_ TextureObject) HasIsSparse() bool
- func (t_ TextureObject) HasMipmapLevelCount() bool
- func (t_ TextureObject) HasNewRemoteTextureViewForDevice() bool
- func (t_ TextureObject) HasNewSharedTextureHandle() bool
- func (t_ TextureObject) HasNewTextureViewWithPixelFormat() bool
- func (t_ TextureObject) HasNewTextureViewWithPixelFormatTextureTypeLevelsSlices() bool
- func (t_ TextureObject) HasNewTextureViewWithPixelFormatTextureTypeLevelsSlicesSwizzle() bool
- func (t_ TextureObject) HasParentRelativeLevel() bool
- func (t_ TextureObject) HasParentRelativeSlice() bool
- func (t_ TextureObject) HasParentTexture() bool
- func (t_ TextureObject) HasPixelFormat() bool
- func (t_ TextureObject) HasRemoteStorageTexture() bool
- func (t_ TextureObject) HasReplaceRegionMipmapLevelSliceWithBytesBytesPerRowBytesPerImage() bool
- func (t_ TextureObject) HasReplaceRegionMipmapLevelWithBytesBytesPerRow() bool
- func (t_ TextureObject) HasSampleCount() bool
- func (t_ TextureObject) HasSwizzle() bool
- func (t_ TextureObject) HasTailSizeInBytes() bool
- func (t_ TextureObject) HasTextureType() bool
- func (t_ TextureObject) HasUsage() bool
- func (t_ TextureObject) HasWidth() bool
- func (t_ TextureObject) Height() uint
- func (t_ TextureObject) Iosurface() iosurface.Ref
- func (t_ TextureObject) IosurfacePlane() uint
- func (t_ TextureObject) IsFramebufferOnly() bool
- func (t_ TextureObject) IsShareable() bool
- func (t_ TextureObject) IsSparse() bool
- func (t_ TextureObject) MipmapLevelCount() uint
- func (t_ TextureObject) NewRemoteTextureViewForDevice(device DeviceObject) TextureObject
- func (t_ TextureObject) NewSharedTextureHandle() SharedTextureHandle
- func (t_ TextureObject) NewTextureViewWithPixelFormat(pixelFormat PixelFormat) TextureObject
- func (t_ TextureObject) NewTextureViewWithPixelFormatTextureTypeLevelsSlices(pixelFormat PixelFormat, textureType TextureType, levelRange foundation.Range, ...) TextureObject
- func (t_ TextureObject) NewTextureViewWithPixelFormatTextureTypeLevelsSlicesSwizzle(pixelFormat PixelFormat, textureType TextureType, levelRange foundation.Range, ...) TextureObject
- func (t_ TextureObject) ParentRelativeLevel() uint
- func (t_ TextureObject) ParentRelativeSlice() uint
- func (t_ TextureObject) ParentTexture() TextureObject
- func (t_ TextureObject) PixelFormat() PixelFormat
- func (t_ TextureObject) RemoteStorageTexture() TextureObject
- func (t_ TextureObject) ReplaceRegionMipmapLevelSliceWithBytesBytesPerRowBytesPerImage(region Region, level uint, slice uint, pixelBytes unsafe.Pointer, ...)
- func (t_ TextureObject) ReplaceRegionMipmapLevelWithBytesBytesPerRow(region Region, level uint, pixelBytes unsafe.Pointer, bytesPerRow uint)
- func (t_ TextureObject) SampleCount() uint
- func (t_ TextureObject) Swizzle() TextureSwizzleChannels
- func (t_ TextureObject) TailSizeInBytes() uint
- func (t_ TextureObject) TextureType() TextureType
- func (t_ TextureObject) Usage() TextureUsage
- func (t_ TextureObject) Width() uint
- type TextureReferenceType
- type TextureSwizzle
- type TextureSwizzleChannels
- type TextureType
- type TextureUsage
- type TileRenderPipelineColorAttachmentDescriptor
- type TileRenderPipelineColorAttachmentDescriptorArray
- func (t_ TileRenderPipelineColorAttachmentDescriptorArray) Init() TileRenderPipelineColorAttachmentDescriptorArray
- func (t_ TileRenderPipelineColorAttachmentDescriptorArray) ObjectAtIndexedSubscript(attachmentIndex uint) TileRenderPipelineColorAttachmentDescriptor
- func (t_ TileRenderPipelineColorAttachmentDescriptorArray) SetObjectAtIndexedSubscript(attachment ITileRenderPipelineColorAttachmentDescriptor, attachmentIndex uint)
- type TileRenderPipelineDescriptor
- func (t_ TileRenderPipelineDescriptor) BinaryArchives() []BinaryArchiveObject
- func (t_ TileRenderPipelineDescriptor) ColorAttachments() TileRenderPipelineColorAttachmentDescriptorArray
- func (t_ TileRenderPipelineDescriptor) Init() TileRenderPipelineDescriptor
- func (t_ TileRenderPipelineDescriptor) Label() string
- func (t_ TileRenderPipelineDescriptor) LinkedFunctions() LinkedFunctions
- func (t_ TileRenderPipelineDescriptor) MaxCallStackDepth() uint
- func (t_ TileRenderPipelineDescriptor) MaxTotalThreadsPerThreadgroup() uint
- func (t_ TileRenderPipelineDescriptor) PreloadedLibraries() []DynamicLibraryObject
- func (t_ TileRenderPipelineDescriptor) RasterSampleCount() uint
- func (t_ TileRenderPipelineDescriptor) Reset()
- func (t_ TileRenderPipelineDescriptor) SetBinaryArchives(value []PBinaryArchive)
- func (t_ TileRenderPipelineDescriptor) SetLabel(value string)
- func (t_ TileRenderPipelineDescriptor) SetLinkedFunctions(value ILinkedFunctions)
- func (t_ TileRenderPipelineDescriptor) SetMaxCallStackDepth(value uint)
- func (t_ TileRenderPipelineDescriptor) SetMaxTotalThreadsPerThreadgroup(value uint)
- func (t_ TileRenderPipelineDescriptor) SetPreloadedLibraries(value []PDynamicLibrary)
- func (t_ TileRenderPipelineDescriptor) SetRasterSampleCount(value uint)
- func (t_ TileRenderPipelineDescriptor) SetSupportAddingBinaryFunctions(value bool)
- func (t_ TileRenderPipelineDescriptor) SetThreadgroupSizeMatchesTileSize(value bool)
- func (t_ TileRenderPipelineDescriptor) SetTileFunction(value PFunction)
- func (t_ TileRenderPipelineDescriptor) SetTileFunctionObject(valueObject objc.IObject)
- func (t_ TileRenderPipelineDescriptor) SupportAddingBinaryFunctions() bool
- func (t_ TileRenderPipelineDescriptor) ThreadgroupSizeMatchesTileSize() bool
- func (t_ TileRenderPipelineDescriptor) TileBuffers() PipelineBufferDescriptorArray
- func (t_ TileRenderPipelineDescriptor) TileFunction() FunctionObject
- type Timestamp
- type TriangleFillMode
- type TriangleTessellationFactorsHalf
- type Type
- type VertexAmplificationViewMapping
- type VertexAttribute
- func (v_ VertexAttribute) AttributeIndex() uint
- func (v_ VertexAttribute) AttributeType() DataType
- func (v_ VertexAttribute) Init() VertexAttribute
- func (v_ VertexAttribute) IsActive() bool
- func (v_ VertexAttribute) IsPatchControlPointData() bool
- func (v_ VertexAttribute) IsPatchData() bool
- func (v_ VertexAttribute) Name() string
- type VertexAttributeDescriptor
- func (v_ VertexAttributeDescriptor) BufferIndex() uint
- func (v_ VertexAttributeDescriptor) Format() VertexFormat
- func (v_ VertexAttributeDescriptor) Init() VertexAttributeDescriptor
- func (v_ VertexAttributeDescriptor) Offset() uint
- func (v_ VertexAttributeDescriptor) SetBufferIndex(value uint)
- func (v_ VertexAttributeDescriptor) SetFormat(value VertexFormat)
- func (v_ VertexAttributeDescriptor) SetOffset(value uint)
- type VertexAttributeDescriptorArray
- func (v_ VertexAttributeDescriptorArray) Init() VertexAttributeDescriptorArray
- func (v_ VertexAttributeDescriptorArray) ObjectAtIndexedSubscript(index uint) VertexAttributeDescriptor
- func (v_ VertexAttributeDescriptorArray) SetObjectAtIndexedSubscript(attributeDesc IVertexAttributeDescriptor, index uint)
- type VertexBufferLayoutDescriptor
- func (v_ VertexBufferLayoutDescriptor) Init() VertexBufferLayoutDescriptor
- func (v_ VertexBufferLayoutDescriptor) SetStepFunction(value VertexStepFunction)
- func (v_ VertexBufferLayoutDescriptor) SetStepRate(value uint)
- func (v_ VertexBufferLayoutDescriptor) SetStride(value uint)
- func (v_ VertexBufferLayoutDescriptor) StepFunction() VertexStepFunction
- func (v_ VertexBufferLayoutDescriptor) StepRate() uint
- func (v_ VertexBufferLayoutDescriptor) Stride() uint
- type VertexBufferLayoutDescriptorArray
- func (v_ VertexBufferLayoutDescriptorArray) Init() VertexBufferLayoutDescriptorArray
- func (v_ VertexBufferLayoutDescriptorArray) ObjectAtIndexedSubscript(index uint) VertexBufferLayoutDescriptor
- func (v_ VertexBufferLayoutDescriptorArray) SetObjectAtIndexedSubscript(bufferDesc IVertexBufferLayoutDescriptor, index uint)
- type VertexDescriptor
- type VertexFormat
- type VertexStepFunction
- type Viewport
- type VisibilityResultMode
- type VisibleFunctionTableDescriptor
- type VisibleFunctionTableObject
- func (v_ VisibleFunctionTableObject) HasSetFunctionAtIndex() bool
- func (v_ VisibleFunctionTableObject) HasSetFunctionsWithRange() bool
- func (v_ VisibleFunctionTableObject) SetFunctionAtIndex(function FunctionHandleObject, index uint)
- func (v_ VisibleFunctionTableObject) SetFunctionsWithRange(functions FunctionHandleObject, range_ foundation.Range)
- type Winding
Constants ¶
This section is empty.
Variables ¶
var AccelerationStructureBoundingBoxGeometryDescriptorClass = _AccelerationStructureBoundingBoxGeometryDescriptorClass{objc.GetClass("MTLAccelerationStructureBoundingBoxGeometryDescriptor")}
The class instance for the AccelerationStructureBoundingBoxGeometryDescriptor class.
var AccelerationStructureDescriptorClass = _AccelerationStructureDescriptorClass{objc.GetClass("MTLAccelerationStructureDescriptor")}
The class instance for the AccelerationStructureDescriptor class.
var AccelerationStructureGeometryDescriptorClass = _AccelerationStructureGeometryDescriptorClass{objc.GetClass("MTLAccelerationStructureGeometryDescriptor")}
The class instance for the AccelerationStructureGeometryDescriptor class.
var AccelerationStructureMotionBoundingBoxGeometryDescriptorClass = _AccelerationStructureMotionBoundingBoxGeometryDescriptorClass{objc.GetClass("MTLAccelerationStructureMotionBoundingBoxGeometryDescriptor")}
The class instance for the AccelerationStructureMotionBoundingBoxGeometryDescriptor class.
var AccelerationStructureMotionTriangleGeometryDescriptorClass = _AccelerationStructureMotionTriangleGeometryDescriptorClass{objc.GetClass("MTLAccelerationStructureMotionTriangleGeometryDescriptor")}
The class instance for the AccelerationStructureMotionTriangleGeometryDescriptor class.
var AccelerationStructureTriangleGeometryDescriptorClass = _AccelerationStructureTriangleGeometryDescriptorClass{objc.GetClass("MTLAccelerationStructureTriangleGeometryDescriptor")}
The class instance for the AccelerationStructureTriangleGeometryDescriptor class.
var ArgumentClass = _ArgumentClass{objc.GetClass("MTLArgument")}
The class instance for the Argument class.
var ArgumentDescriptorClass = _ArgumentDescriptorClass{objc.GetClass("MTLArgumentDescriptor")}
The class instance for the ArgumentDescriptor class.
var ArrayTypeClass = _ArrayTypeClass{objc.GetClass("MTLArrayType")}
The class instance for the ArrayType class.
var AttributeClass = _AttributeClass{objc.GetClass("MTLAttribute")}
The class instance for the Attribute class.
var AttributeDescriptorArrayClass = _AttributeDescriptorArrayClass{objc.GetClass("MTLAttributeDescriptorArray")}
The class instance for the AttributeDescriptorArray class.
var AttributeDescriptorClass = _AttributeDescriptorClass{objc.GetClass("MTLAttributeDescriptor")}
The class instance for the AttributeDescriptor class.
var BinaryArchiveDescriptorClass = _BinaryArchiveDescriptorClass{objc.GetClass("MTLBinaryArchiveDescriptor")}
The class instance for the BinaryArchiveDescriptor class.
var BlitPassDescriptorClass = _BlitPassDescriptorClass{objc.GetClass("MTLBlitPassDescriptor")}
The class instance for the BlitPassDescriptor class.
var BlitPassSampleBufferAttachmentDescriptorArrayClass = _BlitPassSampleBufferAttachmentDescriptorArrayClass{objc.GetClass("MTLBlitPassSampleBufferAttachmentDescriptorArray")}
The class instance for the BlitPassSampleBufferAttachmentDescriptorArray class.
var BlitPassSampleBufferAttachmentDescriptorClass = _BlitPassSampleBufferAttachmentDescriptorClass{objc.GetClass("MTLBlitPassSampleBufferAttachmentDescriptor")}
The class instance for the BlitPassSampleBufferAttachmentDescriptor class.
var BufferLayoutDescriptorArrayClass = _BufferLayoutDescriptorArrayClass{objc.GetClass("MTLBufferLayoutDescriptorArray")}
The class instance for the BufferLayoutDescriptorArray class.
var BufferLayoutDescriptorClass = _BufferLayoutDescriptorClass{objc.GetClass("MTLBufferLayoutDescriptor")}
The class instance for the BufferLayoutDescriptor class.
var CaptureDescriptorClass = _CaptureDescriptorClass{objc.GetClass("MTLCaptureDescriptor")}
The class instance for the CaptureDescriptor class.
var CaptureManagerClass = _CaptureManagerClass{objc.GetClass("MTLCaptureManager")}
The class instance for the CaptureManager class.
var CommandBufferDescriptorClass = _CommandBufferDescriptorClass{objc.GetClass("MTLCommandBufferDescriptor")}
The class instance for the CommandBufferDescriptor class.
var CompileOptionsClass = _CompileOptionsClass{objc.GetClass("MTLCompileOptions")}
The class instance for the CompileOptions class.
var ComputePassDescriptorClass = _ComputePassDescriptorClass{objc.GetClass("MTLComputePassDescriptor")}
The class instance for the ComputePassDescriptor class.
var ComputePassSampleBufferAttachmentDescriptorArrayClass = _ComputePassSampleBufferAttachmentDescriptorArrayClass{objc.GetClass("MTLComputePassSampleBufferAttachmentDescriptorArray")}
The class instance for the ComputePassSampleBufferAttachmentDescriptorArray class.
var ComputePassSampleBufferAttachmentDescriptorClass = _ComputePassSampleBufferAttachmentDescriptorClass{objc.GetClass("MTLComputePassSampleBufferAttachmentDescriptor")}
The class instance for the ComputePassSampleBufferAttachmentDescriptor class.
var ComputePipelineDescriptorClass = _ComputePipelineDescriptorClass{objc.GetClass("MTLComputePipelineDescriptor")}
The class instance for the ComputePipelineDescriptor class.
var ComputePipelineReflectionClass = _ComputePipelineReflectionClass{objc.GetClass("MTLComputePipelineReflection")}
The class instance for the ComputePipelineReflection class.
var CounterSampleBufferDescriptorClass = _CounterSampleBufferDescriptorClass{objc.GetClass("MTLCounterSampleBufferDescriptor")}
The class instance for the CounterSampleBufferDescriptor class.
var DepthStencilDescriptorClass = _DepthStencilDescriptorClass{objc.GetClass("MTLDepthStencilDescriptor")}
The class instance for the DepthStencilDescriptor class.
var FunctionConstantClass = _FunctionConstantClass{objc.GetClass("MTLFunctionConstant")}
The class instance for the FunctionConstant class.
var FunctionConstantValuesClass = _FunctionConstantValuesClass{objc.GetClass("MTLFunctionConstantValues")}
The class instance for the FunctionConstantValues class.
var FunctionDescriptorClass = _FunctionDescriptorClass{objc.GetClass("MTLFunctionDescriptor")}
The class instance for the FunctionDescriptor class.
var FunctionStitchingAttributeAlwaysInlineClass = _FunctionStitchingAttributeAlwaysInlineClass{objc.GetClass("MTLFunctionStitchingAttributeAlwaysInline")}
The class instance for the FunctionStitchingAttributeAlwaysInline class.
var FunctionStitchingFunctionNodeClass = _FunctionStitchingFunctionNodeClass{objc.GetClass("MTLFunctionStitchingFunctionNode")}
The class instance for the FunctionStitchingFunctionNode class.
var FunctionStitchingGraphClass = _FunctionStitchingGraphClass{objc.GetClass("MTLFunctionStitchingGraph")}
The class instance for the FunctionStitchingGraph class.
var FunctionStitchingInputNodeClass = _FunctionStitchingInputNodeClass{objc.GetClass("MTLFunctionStitchingInputNode")}
The class instance for the FunctionStitchingInputNode class.
var HeapDescriptorClass = _HeapDescriptorClass{objc.GetClass("MTLHeapDescriptor")}
The class instance for the HeapDescriptor class.
var IndirectCommandBufferDescriptorClass = _IndirectCommandBufferDescriptorClass{objc.GetClass("MTLIndirectCommandBufferDescriptor")}
The class instance for the IndirectCommandBufferDescriptor class.
var InstanceAccelerationStructureDescriptorClass = _InstanceAccelerationStructureDescriptorClass{objc.GetClass("MTLInstanceAccelerationStructureDescriptor")}
The class instance for the InstanceAccelerationStructureDescriptor class.
var IntersectionFunctionDescriptorClass = _IntersectionFunctionDescriptorClass{objc.GetClass("MTLIntersectionFunctionDescriptor")}
The class instance for the IntersectionFunctionDescriptor class.
var IntersectionFunctionTableDescriptorClass = _IntersectionFunctionTableDescriptorClass{objc.GetClass("MTLIntersectionFunctionTableDescriptor")}
The class instance for the IntersectionFunctionTableDescriptor class.
var LinkedFunctionsClass = _LinkedFunctionsClass{objc.GetClass("MTLLinkedFunctions")}
The class instance for the LinkedFunctions class.
var MotionKeyframeDataClass = _MotionKeyframeDataClass{objc.GetClass("MTLMotionKeyframeData")}
The class instance for the MotionKeyframeData class.
var PipelineBufferDescriptorArrayClass = _PipelineBufferDescriptorArrayClass{objc.GetClass("MTLPipelineBufferDescriptorArray")}
The class instance for the PipelineBufferDescriptorArray class.
var PipelineBufferDescriptorClass = _PipelineBufferDescriptorClass{objc.GetClass("MTLPipelineBufferDescriptor")}
The class instance for the PipelineBufferDescriptor class.
var PointerTypeClass = _PointerTypeClass{objc.GetClass("MTLPointerType")}
The class instance for the PointerType class.
var PrimitiveAccelerationStructureDescriptorClass = _PrimitiveAccelerationStructureDescriptorClass{objc.GetClass("MTLPrimitiveAccelerationStructureDescriptor")}
The class instance for the PrimitiveAccelerationStructureDescriptor class.
var RasterizationRateLayerArrayClass = _RasterizationRateLayerArrayClass{objc.GetClass("MTLRasterizationRateLayerArray")}
The class instance for the RasterizationRateLayerArray class.
var RasterizationRateLayerDescriptorClass = _RasterizationRateLayerDescriptorClass{objc.GetClass("MTLRasterizationRateLayerDescriptor")}
The class instance for the RasterizationRateLayerDescriptor class.
var RasterizationRateMapDescriptorClass = _RasterizationRateMapDescriptorClass{objc.GetClass("MTLRasterizationRateMapDescriptor")}
The class instance for the RasterizationRateMapDescriptor class.
var RasterizationRateSampleArrayClass = _RasterizationRateSampleArrayClass{objc.GetClass("MTLRasterizationRateSampleArray")}
The class instance for the RasterizationRateSampleArray class.
var RenderPassAttachmentDescriptorClass = _RenderPassAttachmentDescriptorClass{objc.GetClass("MTLRenderPassAttachmentDescriptor")}
The class instance for the RenderPassAttachmentDescriptor class.
var RenderPassColorAttachmentDescriptorArrayClass = _RenderPassColorAttachmentDescriptorArrayClass{objc.GetClass("MTLRenderPassColorAttachmentDescriptorArray")}
The class instance for the RenderPassColorAttachmentDescriptorArray class.
var RenderPassColorAttachmentDescriptorClass = _RenderPassColorAttachmentDescriptorClass{objc.GetClass("MTLRenderPassColorAttachmentDescriptor")}
The class instance for the RenderPassColorAttachmentDescriptor class.
var RenderPassDepthAttachmentDescriptorClass = _RenderPassDepthAttachmentDescriptorClass{objc.GetClass("MTLRenderPassDepthAttachmentDescriptor")}
The class instance for the RenderPassDepthAttachmentDescriptor class.
var RenderPassDescriptorClass = _RenderPassDescriptorClass{objc.GetClass("MTLRenderPassDescriptor")}
The class instance for the RenderPassDescriptor class.
var RenderPassSampleBufferAttachmentDescriptorArrayClass = _RenderPassSampleBufferAttachmentDescriptorArrayClass{objc.GetClass("MTLRenderPassSampleBufferAttachmentDescriptorArray")}
The class instance for the RenderPassSampleBufferAttachmentDescriptorArray class.
var RenderPassSampleBufferAttachmentDescriptorClass = _RenderPassSampleBufferAttachmentDescriptorClass{objc.GetClass("MTLRenderPassSampleBufferAttachmentDescriptor")}
The class instance for the RenderPassSampleBufferAttachmentDescriptor class.
var RenderPassStencilAttachmentDescriptorClass = _RenderPassStencilAttachmentDescriptorClass{objc.GetClass("MTLRenderPassStencilAttachmentDescriptor")}
The class instance for the RenderPassStencilAttachmentDescriptor class.
var RenderPipelineColorAttachmentDescriptorArrayClass = _RenderPipelineColorAttachmentDescriptorArrayClass{objc.GetClass("MTLRenderPipelineColorAttachmentDescriptorArray")}
The class instance for the RenderPipelineColorAttachmentDescriptorArray class.
var RenderPipelineColorAttachmentDescriptorClass = _RenderPipelineColorAttachmentDescriptorClass{objc.GetClass("MTLRenderPipelineColorAttachmentDescriptor")}
The class instance for the RenderPipelineColorAttachmentDescriptor class.
var RenderPipelineDescriptorClass = _RenderPipelineDescriptorClass{objc.GetClass("MTLRenderPipelineDescriptor")}
The class instance for the RenderPipelineDescriptor class.
var RenderPipelineFunctionsDescriptorClass = _RenderPipelineFunctionsDescriptorClass{objc.GetClass("MTLRenderPipelineFunctionsDescriptor")}
The class instance for the RenderPipelineFunctionsDescriptor class.
var RenderPipelineReflectionClass = _RenderPipelineReflectionClass{objc.GetClass("MTLRenderPipelineReflection")}
The class instance for the RenderPipelineReflection class.
var ResourceStatePassDescriptorClass = _ResourceStatePassDescriptorClass{objc.GetClass("MTLResourceStatePassDescriptor")}
The class instance for the ResourceStatePassDescriptor class.
var ResourceStatePassSampleBufferAttachmentDescriptorArrayClass = _ResourceStatePassSampleBufferAttachmentDescriptorArrayClass{objc.GetClass("MTLResourceStatePassSampleBufferAttachmentDescriptorArray")}
The class instance for the ResourceStatePassSampleBufferAttachmentDescriptorArray class.
var ResourceStatePassSampleBufferAttachmentDescriptorClass = _ResourceStatePassSampleBufferAttachmentDescriptorClass{objc.GetClass("MTLResourceStatePassSampleBufferAttachmentDescriptor")}
The class instance for the ResourceStatePassSampleBufferAttachmentDescriptor class.
var SamplerDescriptorClass = _SamplerDescriptorClass{objc.GetClass("MTLSamplerDescriptor")}
The class instance for the SamplerDescriptor class.
The class instance for the SharedEventHandle class.
The class instance for the SharedEventListener class.
The class instance for the SharedTextureHandle class.
var StageInputOutputDescriptorClass = _StageInputOutputDescriptorClass{objc.GetClass("MTLStageInputOutputDescriptor")}
The class instance for the StageInputOutputDescriptor class.
var StencilDescriptorClass = _StencilDescriptorClass{objc.GetClass("MTLStencilDescriptor")}
The class instance for the StencilDescriptor class.
var StitchedLibraryDescriptorClass = _StitchedLibraryDescriptorClass{objc.GetClass("MTLStitchedLibraryDescriptor")}
The class instance for the StitchedLibraryDescriptor class.
var StructMemberClass = _StructMemberClass{objc.GetClass("MTLStructMember")}
The class instance for the StructMember class.
var StructTypeClass = _StructTypeClass{objc.GetClass("MTLStructType")}
The class instance for the StructType class.
var TextureDescriptorClass = _TextureDescriptorClass{objc.GetClass("MTLTextureDescriptor")}
The class instance for the TextureDescriptor class.
var TextureReferenceTypeClass = _TextureReferenceTypeClass{objc.GetClass("MTLTextureReferenceType")}
The class instance for the TextureReferenceType class.
var TileRenderPipelineColorAttachmentDescriptorArrayClass = _TileRenderPipelineColorAttachmentDescriptorArrayClass{objc.GetClass("MTLTileRenderPipelineColorAttachmentDescriptorArray")}
The class instance for the TileRenderPipelineColorAttachmentDescriptorArray class.
var TileRenderPipelineColorAttachmentDescriptorClass = _TileRenderPipelineColorAttachmentDescriptorClass{objc.GetClass("MTLTileRenderPipelineColorAttachmentDescriptor")}
The class instance for the TileRenderPipelineColorAttachmentDescriptor class.
var TileRenderPipelineDescriptorClass = _TileRenderPipelineDescriptorClass{objc.GetClass("MTLTileRenderPipelineDescriptor")}
The class instance for the TileRenderPipelineDescriptor class.
var TypeClass = _TypeClass{objc.GetClass("MTLType")}
The class instance for the Type class.
var VertexAttributeClass = _VertexAttributeClass{objc.GetClass("MTLVertexAttribute")}
The class instance for the VertexAttribute class.
var VertexAttributeDescriptorArrayClass = _VertexAttributeDescriptorArrayClass{objc.GetClass("MTLVertexAttributeDescriptorArray")}
The class instance for the VertexAttributeDescriptorArray class.
var VertexAttributeDescriptorClass = _VertexAttributeDescriptorClass{objc.GetClass("MTLVertexAttributeDescriptor")}
The class instance for the VertexAttributeDescriptor class.
var VertexBufferLayoutDescriptorArrayClass = _VertexBufferLayoutDescriptorArrayClass{objc.GetClass("MTLVertexBufferLayoutDescriptorArray")}
The class instance for the VertexBufferLayoutDescriptorArray class.
var VertexBufferLayoutDescriptorClass = _VertexBufferLayoutDescriptorClass{objc.GetClass("MTLVertexBufferLayoutDescriptor")}
The class instance for the VertexBufferLayoutDescriptor class.
var VertexDescriptorClass = _VertexDescriptorClass{objc.GetClass("MTLVertexDescriptor")}
The class instance for the VertexDescriptor class.
var VisibleFunctionTableDescriptorClass = _VisibleFunctionTableDescriptorClass{objc.GetClass("MTLVisibleFunctionTableDescriptor")}
The class instance for the VisibleFunctionTableDescriptor class.
Functions ¶
This section is empty.
Types ¶
type AccelerationStructureBoundingBoxGeometryDescriptor ¶
type AccelerationStructureBoundingBoxGeometryDescriptor struct {
AccelerationStructureGeometryDescriptor
}
A description of a list of bounding boxes to turn into an acceleration structure. Full Topic
func AccelerationStructureBoundingBoxGeometryDescriptorFrom ¶
func AccelerationStructureBoundingBoxGeometryDescriptorFrom(ptr unsafe.Pointer) AccelerationStructureBoundingBoxGeometryDescriptor
func AccelerationStructureBoundingBoxGeometryDescriptor_Descriptor ¶
func AccelerationStructureBoundingBoxGeometryDescriptor_Descriptor() AccelerationStructureBoundingBoxGeometryDescriptor
Creates a new bounding box descriptor. Full Topic
func NewAccelerationStructureBoundingBoxGeometryDescriptor ¶
func NewAccelerationStructureBoundingBoxGeometryDescriptor() AccelerationStructureBoundingBoxGeometryDescriptor
func (AccelerationStructureBoundingBoxGeometryDescriptor) BoundingBoxBuffer ¶
func (a_ AccelerationStructureBoundingBoxGeometryDescriptor) BoundingBoxBuffer() BufferObject
A buffer that contains bounding box data. Full Topic
func (AccelerationStructureBoundingBoxGeometryDescriptor) BoundingBoxBufferOffset ¶
func (a_ AccelerationStructureBoundingBoxGeometryDescriptor) BoundingBoxBufferOffset() uint
The offset, in bytes, to the first bounding box in the buffer. Full Topic
func (AccelerationStructureBoundingBoxGeometryDescriptor) BoundingBoxCount ¶
func (a_ AccelerationStructureBoundingBoxGeometryDescriptor) BoundingBoxCount() uint
The number of bounding boxes in the bounding box buffer. Full Topic
func (AccelerationStructureBoundingBoxGeometryDescriptor) BoundingBoxStride ¶
func (a_ AccelerationStructureBoundingBoxGeometryDescriptor) BoundingBoxStride() uint
The stride, in bytes, between bounding boxes in the buffer. Full Topic
func (AccelerationStructureBoundingBoxGeometryDescriptor) SetBoundingBoxBuffer ¶
func (a_ AccelerationStructureBoundingBoxGeometryDescriptor) SetBoundingBoxBuffer(value PBuffer)
A buffer that contains bounding box data. Full Topic
func (AccelerationStructureBoundingBoxGeometryDescriptor) SetBoundingBoxBufferObject ¶
func (a_ AccelerationStructureBoundingBoxGeometryDescriptor) SetBoundingBoxBufferObject(valueObject objc.IObject)
A buffer that contains bounding box data. Full Topic
func (AccelerationStructureBoundingBoxGeometryDescriptor) SetBoundingBoxBufferOffset ¶
func (a_ AccelerationStructureBoundingBoxGeometryDescriptor) SetBoundingBoxBufferOffset(value uint)
The offset, in bytes, to the first bounding box in the buffer. Full Topic
func (AccelerationStructureBoundingBoxGeometryDescriptor) SetBoundingBoxCount ¶
func (a_ AccelerationStructureBoundingBoxGeometryDescriptor) SetBoundingBoxCount(value uint)
The number of bounding boxes in the bounding box buffer. Full Topic
func (AccelerationStructureBoundingBoxGeometryDescriptor) SetBoundingBoxStride ¶
func (a_ AccelerationStructureBoundingBoxGeometryDescriptor) SetBoundingBoxStride(value uint)
The stride, in bytes, between bounding boxes in the buffer. Full Topic
type AccelerationStructureCommandEncoderObject ¶
A concrete type for the PAccelerationStructureCommandEncoder protocol.
func (AccelerationStructureCommandEncoderObject) BuildAccelerationStructureDescriptorScratchBufferScratchBufferOffset ¶
func (a_ AccelerationStructureCommandEncoderObject) BuildAccelerationStructureDescriptorScratchBufferScratchBufferOffset(accelerationStructure AccelerationStructureObject, descriptor AccelerationStructureDescriptor, scratchBuffer BufferObject, scratchBufferOffset uint)
Encodes a command to build a new acceleration structure. Full Topic
func (AccelerationStructureCommandEncoderObject) CopyAccelerationStructureToAccelerationStructure ¶
func (a_ AccelerationStructureCommandEncoderObject) CopyAccelerationStructureToAccelerationStructure(sourceAccelerationStructure AccelerationStructureObject, destinationAccelerationStructure AccelerationStructureObject)
Encodes a command to copy the data from one acceleration structure to another. Full Topic
func (AccelerationStructureCommandEncoderObject) CopyAndCompactAccelerationStructureToAccelerationStructure ¶
func (a_ AccelerationStructureCommandEncoderObject) CopyAndCompactAccelerationStructureToAccelerationStructure(sourceAccelerationStructure AccelerationStructureObject, destinationAccelerationStructure AccelerationStructureObject)
Encodes a command to compact an acceleration structure’s data and copy it into a different acceleration structure. Full Topic
func (AccelerationStructureCommandEncoderObject) HasBuildAccelerationStructureDescriptorScratchBufferScratchBufferOffset ¶
func (a_ AccelerationStructureCommandEncoderObject) HasBuildAccelerationStructureDescriptorScratchBufferScratchBufferOffset() bool
func (AccelerationStructureCommandEncoderObject) HasCopyAccelerationStructureToAccelerationStructure ¶
func (a_ AccelerationStructureCommandEncoderObject) HasCopyAccelerationStructureToAccelerationStructure() bool
func (AccelerationStructureCommandEncoderObject) HasCopyAndCompactAccelerationStructureToAccelerationStructure ¶
func (a_ AccelerationStructureCommandEncoderObject) HasCopyAndCompactAccelerationStructureToAccelerationStructure() bool
func (AccelerationStructureCommandEncoderObject) HasRefitAccelerationStructureDescriptorDestinationScratchBufferScratchBufferOffset ¶
func (a_ AccelerationStructureCommandEncoderObject) HasRefitAccelerationStructureDescriptorDestinationScratchBufferScratchBufferOffset() bool
func (AccelerationStructureCommandEncoderObject) HasSampleCountersInBufferAtSampleIndexWithBarrier ¶
func (a_ AccelerationStructureCommandEncoderObject) HasSampleCountersInBufferAtSampleIndexWithBarrier() bool
func (AccelerationStructureCommandEncoderObject) HasUpdateFence ¶
func (a_ AccelerationStructureCommandEncoderObject) HasUpdateFence() bool
func (AccelerationStructureCommandEncoderObject) HasUseHeap ¶
func (a_ AccelerationStructureCommandEncoderObject) HasUseHeap() bool
func (AccelerationStructureCommandEncoderObject) HasUseHeapsCount ¶
func (a_ AccelerationStructureCommandEncoderObject) HasUseHeapsCount() bool
func (AccelerationStructureCommandEncoderObject) HasUseResourceUsage ¶
func (a_ AccelerationStructureCommandEncoderObject) HasUseResourceUsage() bool
func (AccelerationStructureCommandEncoderObject) HasUseResourcesCountUsage ¶
func (a_ AccelerationStructureCommandEncoderObject) HasUseResourcesCountUsage() bool
func (AccelerationStructureCommandEncoderObject) HasWaitForFence ¶
func (a_ AccelerationStructureCommandEncoderObject) HasWaitForFence() bool
func (AccelerationStructureCommandEncoderObject) HasWriteCompactedAccelerationStructureSizeToBufferOffset ¶
func (a_ AccelerationStructureCommandEncoderObject) HasWriteCompactedAccelerationStructureSizeToBufferOffset() bool
func (AccelerationStructureCommandEncoderObject) HasWriteCompactedAccelerationStructureSizeToBufferOffsetSizeDataType ¶
func (a_ AccelerationStructureCommandEncoderObject) HasWriteCompactedAccelerationStructureSizeToBufferOffsetSizeDataType() bool
func (AccelerationStructureCommandEncoderObject) RefitAccelerationStructureDescriptorDestinationScratchBufferScratchBufferOffset ¶
func (a_ AccelerationStructureCommandEncoderObject) RefitAccelerationStructureDescriptorDestinationScratchBufferScratchBufferOffset(sourceAccelerationStructure AccelerationStructureObject, descriptor AccelerationStructureDescriptor, destinationAccelerationStructure AccelerationStructureObject, scratchBuffer BufferObject, scratchBufferOffset uint)
Updates an acceleration structure with new geometry or instance data. Full Topic
func (AccelerationStructureCommandEncoderObject) SampleCountersInBufferAtSampleIndexWithBarrier ¶
func (a_ AccelerationStructureCommandEncoderObject) SampleCountersInBufferAtSampleIndexWithBarrier(sampleBuffer CounterSampleBufferObject, sampleIndex uint, barrier bool)
Encodes a command to sample hardware counters at this point in the acceleration structure pass and store the samples into a counter sample buffer. Full Topic
func (AccelerationStructureCommandEncoderObject) UpdateFence ¶
func (a_ AccelerationStructureCommandEncoderObject) UpdateFence(fence FenceObject)
Tells the GPU to update the fence after all commands encoded by the encoder have finished executing. Full Topic
func (AccelerationStructureCommandEncoderObject) UseHeap ¶
func (a_ AccelerationStructureCommandEncoderObject) UseHeap(heap HeapObject)
Makes the resources contained in the specified heap available to the acceleration structure pass. Full Topic
func (AccelerationStructureCommandEncoderObject) UseHeapsCount ¶
func (a_ AccelerationStructureCommandEncoderObject) UseHeapsCount(heaps HeapObject, count uint)
Specifies that an array of heaps containing resources in an argument buffer can be safely used by the acceleration structure pass. Full Topic
func (AccelerationStructureCommandEncoderObject) UseResourceUsage ¶
func (a_ AccelerationStructureCommandEncoderObject) UseResourceUsage(resource ResourceObject, usage ResourceUsage)
Makes a resource available to the acceleration structure pass. Full Topic
func (AccelerationStructureCommandEncoderObject) UseResourcesCountUsage ¶
func (a_ AccelerationStructureCommandEncoderObject) UseResourcesCountUsage(resources ResourceObject, count uint, usage ResourceUsage)
Specifies that an array of resources in an argument buffer can be safely used by the acceleration structure pass. Full Topic
func (AccelerationStructureCommandEncoderObject) WaitForFence ¶
func (a_ AccelerationStructureCommandEncoderObject) WaitForFence(fence FenceObject)
Tells the GPU to wait until the fence is updated before executing any commands encoded by the command encoder. Full Topic
func (AccelerationStructureCommandEncoderObject) WriteCompactedAccelerationStructureSizeToBufferOffset ¶
func (a_ AccelerationStructureCommandEncoderObject) WriteCompactedAccelerationStructureSizeToBufferOffset(accelerationStructure AccelerationStructureObject, buffer BufferObject, offset uint)
Encodes a command to calculate the compacted size of an acceleration structure. Full Topic
func (AccelerationStructureCommandEncoderObject) WriteCompactedAccelerationStructureSizeToBufferOffsetSizeDataType ¶
func (a_ AccelerationStructureCommandEncoderObject) WriteCompactedAccelerationStructureSizeToBufferOffsetSizeDataType(accelerationStructure AccelerationStructureObject, buffer BufferObject, offset uint, sizeDataType DataType)
Encodes a command to calculate the compacted size of an acceleration structure, taking into account the size of the output data. Full Topic
type AccelerationStructureDescriptor ¶
A base class for classes that define the configuration for a new acceleration structure. Full Topic
func AccelerationStructureDescriptorFrom ¶
func AccelerationStructureDescriptorFrom(ptr unsafe.Pointer) AccelerationStructureDescriptor
func NewAccelerationStructureDescriptor ¶
func NewAccelerationStructureDescriptor() AccelerationStructureDescriptor
func (AccelerationStructureDescriptor) Init ¶
func (a_ AccelerationStructureDescriptor) Init() AccelerationStructureDescriptor
func (AccelerationStructureDescriptor) SetUsage ¶
func (a_ AccelerationStructureDescriptor) SetUsage(value AccelerationStructureUsage)
The options that describe how you intend to use the acceleration structure. Full Topic
func (AccelerationStructureDescriptor) Usage ¶
func (a_ AccelerationStructureDescriptor) Usage() AccelerationStructureUsage
The options that describe how you intend to use the acceleration structure. Full Topic
type AccelerationStructureGeometryDescriptor ¶
A base class for descriptors that contain geometry data to convert into a ray-tracing acceleration structure. Full Topic
func AccelerationStructureGeometryDescriptorFrom ¶
func AccelerationStructureGeometryDescriptorFrom(ptr unsafe.Pointer) AccelerationStructureGeometryDescriptor
func NewAccelerationStructureGeometryDescriptor ¶
func NewAccelerationStructureGeometryDescriptor() AccelerationStructureGeometryDescriptor
func (AccelerationStructureGeometryDescriptor) AllowDuplicateIntersectionFunctionInvocation ¶
func (a_ AccelerationStructureGeometryDescriptor) AllowDuplicateIntersectionFunctionInvocation() bool
A Boolean value that indicates whether Metal calls the ray-intersection test more than once per primitive on the structure. Full Topic
func (AccelerationStructureGeometryDescriptor) IntersectionFunctionTableOffset ¶
func (a_ AccelerationStructureGeometryDescriptor) IntersectionFunctionTableOffset() uint
An index into the intersection table for determining which intersection function Metal calls when it intersects a ray with the acceleration structure. Full Topic
func (AccelerationStructureGeometryDescriptor) Label ¶
func (a_ AccelerationStructureGeometryDescriptor) Label() string
A label for the geometry structure, suitable for debugging. Full Topic
func (AccelerationStructureGeometryDescriptor) Opaque ¶
func (a_ AccelerationStructureGeometryDescriptor) Opaque() bool
A Boolean value that determines whether the geometry data in the acceleration structure needs to skip triangle-intersection tests. Full Topic
func (AccelerationStructureGeometryDescriptor) SetAllowDuplicateIntersectionFunctionInvocation ¶
func (a_ AccelerationStructureGeometryDescriptor) SetAllowDuplicateIntersectionFunctionInvocation(value bool)
A Boolean value that indicates whether Metal calls the ray-intersection test more than once per primitive on the structure. Full Topic
func (AccelerationStructureGeometryDescriptor) SetIntersectionFunctionTableOffset ¶
func (a_ AccelerationStructureGeometryDescriptor) SetIntersectionFunctionTableOffset(value uint)
An index into the intersection table for determining which intersection function Metal calls when it intersects a ray with the acceleration structure. Full Topic
func (AccelerationStructureGeometryDescriptor) SetLabel ¶
func (a_ AccelerationStructureGeometryDescriptor) SetLabel(value string)
A label for the geometry structure, suitable for debugging. Full Topic
func (AccelerationStructureGeometryDescriptor) SetOpaque ¶
func (a_ AccelerationStructureGeometryDescriptor) SetOpaque(value bool)
A Boolean value that determines whether the geometry data in the acceleration structure needs to skip triangle-intersection tests. Full Topic
type AccelerationStructureInstanceDescriptor ¶
type AccelerationStructureInstanceDescriptor struct { TransformationMatrix PackedFloat4x3 Options uint32 Mask uint32 IntersectionFunctionTableOffset uint32 AccelerationStructureIndex uint32 }
A description of an instance in an instanced geometry acceleration structure. Full Topic
type AccelerationStructureInstanceDescriptorType ¶
type AccelerationStructureInstanceDescriptorType uint
Options for specifying different kinds of instance types. Full Topic
const ( AccelerationStructureInstanceDescriptorTypeDefault AccelerationStructureInstanceDescriptorType = 0 AccelerationStructureInstanceDescriptorTypeMotion AccelerationStructureInstanceDescriptorType = 2 AccelerationStructureInstanceDescriptorTypeUserID AccelerationStructureInstanceDescriptorType = 1 )
type AccelerationStructureInstanceOptions ¶
type AccelerationStructureInstanceOptions uint32
Options for adjusting the behavior of an instanced acceleration structure. Full Topic
const ( AccelerationStructureInstanceOptionDisableTriangleCulling AccelerationStructureInstanceOptions = 1 AccelerationStructureInstanceOptionNonOpaque AccelerationStructureInstanceOptions = 8 AccelerationStructureInstanceOptionNone AccelerationStructureInstanceOptions = 0 AccelerationStructureInstanceOptionOpaque AccelerationStructureInstanceOptions = 4 AccelerationStructureInstanceOptionTriangleFrontFacingWindingCounterClockwise AccelerationStructureInstanceOptions = 2 )
type AccelerationStructureMotionBoundingBoxGeometryDescriptor ¶
type AccelerationStructureMotionBoundingBoxGeometryDescriptor struct {
AccelerationStructureGeometryDescriptor
}
A description of a list of bounding boxes, as motion keyframe data, to turn into an acceleration structure. Full Topic
func AccelerationStructureMotionBoundingBoxGeometryDescriptorFrom ¶
func AccelerationStructureMotionBoundingBoxGeometryDescriptorFrom(ptr unsafe.Pointer) AccelerationStructureMotionBoundingBoxGeometryDescriptor
func AccelerationStructureMotionBoundingBoxGeometryDescriptor_Descriptor ¶
func AccelerationStructureMotionBoundingBoxGeometryDescriptor_Descriptor() AccelerationStructureMotionBoundingBoxGeometryDescriptor
Creates a new bounding box descriptor. Full Topic
func NewAccelerationStructureMotionBoundingBoxGeometryDescriptor ¶
func NewAccelerationStructureMotionBoundingBoxGeometryDescriptor() AccelerationStructureMotionBoundingBoxGeometryDescriptor
func (AccelerationStructureMotionBoundingBoxGeometryDescriptor) BoundingBoxBuffers ¶
func (a_ AccelerationStructureMotionBoundingBoxGeometryDescriptor) BoundingBoxBuffers() []MotionKeyframeData
A array of motion keyframes, each containing bounding box data. Full Topic
func (AccelerationStructureMotionBoundingBoxGeometryDescriptor) BoundingBoxCount ¶
func (a_ AccelerationStructureMotionBoundingBoxGeometryDescriptor) BoundingBoxCount() uint
The number of bounding boxes in each bounding box buffer. Full Topic
func (AccelerationStructureMotionBoundingBoxGeometryDescriptor) BoundingBoxStride ¶
func (a_ AccelerationStructureMotionBoundingBoxGeometryDescriptor) BoundingBoxStride() uint
The stride, in bytes, between bounding boxes in each buffer. Full Topic
func (AccelerationStructureMotionBoundingBoxGeometryDescriptor) SetBoundingBoxBuffers ¶
func (a_ AccelerationStructureMotionBoundingBoxGeometryDescriptor) SetBoundingBoxBuffers(value []IMotionKeyframeData)
A array of motion keyframes, each containing bounding box data. Full Topic
func (AccelerationStructureMotionBoundingBoxGeometryDescriptor) SetBoundingBoxCount ¶
func (a_ AccelerationStructureMotionBoundingBoxGeometryDescriptor) SetBoundingBoxCount(value uint)
The number of bounding boxes in each bounding box buffer. Full Topic
func (AccelerationStructureMotionBoundingBoxGeometryDescriptor) SetBoundingBoxStride ¶
func (a_ AccelerationStructureMotionBoundingBoxGeometryDescriptor) SetBoundingBoxStride(value uint)
The stride, in bytes, between bounding boxes in each buffer. Full Topic
type AccelerationStructureMotionInstanceDescriptor ¶
type AccelerationStructureMotionInstanceDescriptor struct { Options uint32 Mask uint32 IntersectionFunctionTableOffset uint32 AccelerationStructureIndex uint32 UserID uint32 MotionTransformsStartIndex uint32 MotionTransformsCount uint32 MotionStartBorderMode uint32 MotionEndBorderMode uint32 MotionStartTime float32 MotionEndTime float32 }
A description of an instance in an instanced geometry acceleration structure, with the instance including a user identifier and motion data for the instance. Full Topic
type AccelerationStructureMotionTriangleGeometryDescriptor ¶
type AccelerationStructureMotionTriangleGeometryDescriptor struct {
AccelerationStructureGeometryDescriptor
}
A description of a list of triangle primitives, as motion keyframe data, to turn into an acceleration structure. Full Topic
func AccelerationStructureMotionTriangleGeometryDescriptorFrom ¶
func AccelerationStructureMotionTriangleGeometryDescriptorFrom(ptr unsafe.Pointer) AccelerationStructureMotionTriangleGeometryDescriptor
func AccelerationStructureMotionTriangleGeometryDescriptor_Descriptor ¶
func AccelerationStructureMotionTriangleGeometryDescriptor_Descriptor() AccelerationStructureMotionTriangleGeometryDescriptor
Creates a new triangle descriptor. Full Topic
func NewAccelerationStructureMotionTriangleGeometryDescriptor ¶
func NewAccelerationStructureMotionTriangleGeometryDescriptor() AccelerationStructureMotionTriangleGeometryDescriptor
func (AccelerationStructureMotionTriangleGeometryDescriptor) IndexBuffer ¶
func (a_ AccelerationStructureMotionTriangleGeometryDescriptor) IndexBuffer() BufferObject
A buffer that contains indices for the vertices that compose the triangle list. Full Topic
func (AccelerationStructureMotionTriangleGeometryDescriptor) IndexBufferOffset ¶
func (a_ AccelerationStructureMotionTriangleGeometryDescriptor) IndexBufferOffset() uint
The offset, in bytes, to the first index in the buffer. Full Topic
func (AccelerationStructureMotionTriangleGeometryDescriptor) IndexType ¶
func (a_ AccelerationStructureMotionTriangleGeometryDescriptor) IndexType() IndexType
The data type of indices in the index buffer. Full Topic
func (AccelerationStructureMotionTriangleGeometryDescriptor) SetIndexBuffer ¶
func (a_ AccelerationStructureMotionTriangleGeometryDescriptor) SetIndexBuffer(value PBuffer)
A buffer that contains indices for the vertices that compose the triangle list. Full Topic
func (AccelerationStructureMotionTriangleGeometryDescriptor) SetIndexBufferObject ¶
func (a_ AccelerationStructureMotionTriangleGeometryDescriptor) SetIndexBufferObject(valueObject objc.IObject)
A buffer that contains indices for the vertices that compose the triangle list. Full Topic
func (AccelerationStructureMotionTriangleGeometryDescriptor) SetIndexBufferOffset ¶
func (a_ AccelerationStructureMotionTriangleGeometryDescriptor) SetIndexBufferOffset(value uint)
The offset, in bytes, to the first index in the buffer. Full Topic
func (AccelerationStructureMotionTriangleGeometryDescriptor) SetIndexType ¶
func (a_ AccelerationStructureMotionTriangleGeometryDescriptor) SetIndexType(value IndexType)
The data type of indices in the index buffer. Full Topic
func (AccelerationStructureMotionTriangleGeometryDescriptor) SetTriangleCount ¶
func (a_ AccelerationStructureMotionTriangleGeometryDescriptor) SetTriangleCount(value uint)
The number of triangles in the buffers. Full Topic
func (AccelerationStructureMotionTriangleGeometryDescriptor) SetVertexBuffers ¶
func (a_ AccelerationStructureMotionTriangleGeometryDescriptor) SetVertexBuffers(value []IMotionKeyframeData)
An array of motion keyframes, each containing triangle data. Full Topic
func (AccelerationStructureMotionTriangleGeometryDescriptor) SetVertexStride ¶
func (a_ AccelerationStructureMotionTriangleGeometryDescriptor) SetVertexStride(value uint)
The stride, in bytes, between vertices in each vertex buffer. Full Topic
func (AccelerationStructureMotionTriangleGeometryDescriptor) TriangleCount ¶
func (a_ AccelerationStructureMotionTriangleGeometryDescriptor) TriangleCount() uint
The number of triangles in the buffers. Full Topic
func (AccelerationStructureMotionTriangleGeometryDescriptor) VertexBuffers ¶
func (a_ AccelerationStructureMotionTriangleGeometryDescriptor) VertexBuffers() []MotionKeyframeData
An array of motion keyframes, each containing triangle data. Full Topic
func (AccelerationStructureMotionTriangleGeometryDescriptor) VertexStride ¶
func (a_ AccelerationStructureMotionTriangleGeometryDescriptor) VertexStride() uint
The stride, in bytes, between vertices in each vertex buffer. Full Topic
type AccelerationStructureObject ¶
A concrete type for the PAccelerationStructure protocol.
func (AccelerationStructureObject) HasSize ¶
func (a_ AccelerationStructureObject) HasSize() bool
func (AccelerationStructureObject) Size ¶
func (a_ AccelerationStructureObject) Size() uint
The size of the acceleration structure’s memory allocation, in bytes. Full Topic
type AccelerationStructureSizes ¶
type AccelerationStructureSizes struct { AccelerationStructureSize uint64 BuildScratchBufferSize uint64 RefitScratchBufferSize uint64 }
The expected sizes for a ray-tracing acceleration structure. Full Topic
type AccelerationStructureTriangleGeometryDescriptor ¶
type AccelerationStructureTriangleGeometryDescriptor struct {
AccelerationStructureGeometryDescriptor
}
A description of a list of triangle primitives to turn into an acceleration structure. Full Topic
func AccelerationStructureTriangleGeometryDescriptorFrom ¶
func AccelerationStructureTriangleGeometryDescriptorFrom(ptr unsafe.Pointer) AccelerationStructureTriangleGeometryDescriptor
func AccelerationStructureTriangleGeometryDescriptor_Descriptor ¶
func AccelerationStructureTriangleGeometryDescriptor_Descriptor() AccelerationStructureTriangleGeometryDescriptor
Creates a new triangle descriptor. Full Topic
func NewAccelerationStructureTriangleGeometryDescriptor ¶
func NewAccelerationStructureTriangleGeometryDescriptor() AccelerationStructureTriangleGeometryDescriptor
func (AccelerationStructureTriangleGeometryDescriptor) IndexBuffer ¶
func (a_ AccelerationStructureTriangleGeometryDescriptor) IndexBuffer() BufferObject
A buffer that contains indices for the vertices that compose the triangle list. Full Topic
func (AccelerationStructureTriangleGeometryDescriptor) IndexBufferOffset ¶
func (a_ AccelerationStructureTriangleGeometryDescriptor) IndexBufferOffset() uint
The offset, in bytes, to the first index in the buffer. Full Topic
func (AccelerationStructureTriangleGeometryDescriptor) IndexType ¶
func (a_ AccelerationStructureTriangleGeometryDescriptor) IndexType() IndexType
The data type of indices in the index buffer. Full Topic
func (AccelerationStructureTriangleGeometryDescriptor) SetIndexBuffer ¶
func (a_ AccelerationStructureTriangleGeometryDescriptor) SetIndexBuffer(value PBuffer)
A buffer that contains indices for the vertices that compose the triangle list. Full Topic
func (AccelerationStructureTriangleGeometryDescriptor) SetIndexBufferObject ¶
func (a_ AccelerationStructureTriangleGeometryDescriptor) SetIndexBufferObject(valueObject objc.IObject)
A buffer that contains indices for the vertices that compose the triangle list. Full Topic
func (AccelerationStructureTriangleGeometryDescriptor) SetIndexBufferOffset ¶
func (a_ AccelerationStructureTriangleGeometryDescriptor) SetIndexBufferOffset(value uint)
The offset, in bytes, to the first index in the buffer. Full Topic
func (AccelerationStructureTriangleGeometryDescriptor) SetIndexType ¶
func (a_ AccelerationStructureTriangleGeometryDescriptor) SetIndexType(value IndexType)
The data type of indices in the index buffer. Full Topic
func (AccelerationStructureTriangleGeometryDescriptor) SetTriangleCount ¶
func (a_ AccelerationStructureTriangleGeometryDescriptor) SetTriangleCount(value uint)
The number of triangles in the buffers. Full Topic
func (AccelerationStructureTriangleGeometryDescriptor) SetVertexBuffer ¶
func (a_ AccelerationStructureTriangleGeometryDescriptor) SetVertexBuffer(value PBuffer)
A buffer that contains vertex data. Full Topic
func (AccelerationStructureTriangleGeometryDescriptor) SetVertexBufferObject ¶
func (a_ AccelerationStructureTriangleGeometryDescriptor) SetVertexBufferObject(valueObject objc.IObject)
A buffer that contains vertex data. Full Topic
func (AccelerationStructureTriangleGeometryDescriptor) SetVertexBufferOffset ¶
func (a_ AccelerationStructureTriangleGeometryDescriptor) SetVertexBufferOffset(value uint)
The offset, in bytes, for the first vertex in the vertex buffer. Full Topic
func (AccelerationStructureTriangleGeometryDescriptor) SetVertexStride ¶
func (a_ AccelerationStructureTriangleGeometryDescriptor) SetVertexStride(value uint)
The stride, in bytes, between vertices in the vertex buffer. Full Topic
func (AccelerationStructureTriangleGeometryDescriptor) TriangleCount ¶
func (a_ AccelerationStructureTriangleGeometryDescriptor) TriangleCount() uint
The number of triangles in the buffers. Full Topic
func (AccelerationStructureTriangleGeometryDescriptor) VertexBuffer ¶
func (a_ AccelerationStructureTriangleGeometryDescriptor) VertexBuffer() BufferObject
A buffer that contains vertex data. Full Topic
func (AccelerationStructureTriangleGeometryDescriptor) VertexBufferOffset ¶
func (a_ AccelerationStructureTriangleGeometryDescriptor) VertexBufferOffset() uint
The offset, in bytes, for the first vertex in the vertex buffer. Full Topic
func (AccelerationStructureTriangleGeometryDescriptor) VertexStride ¶
func (a_ AccelerationStructureTriangleGeometryDescriptor) VertexStride() uint
The stride, in bytes, between vertices in the vertex buffer. Full Topic
type AccelerationStructureUsage ¶
type AccelerationStructureUsage uint
Options that describe which tasks you can perform on an acceleration structure and how the system performs those tasks. Full Topic
const ( AccelerationStructureUsageExtendedLimits AccelerationStructureUsage = 4 AccelerationStructureUsageNone AccelerationStructureUsage = 0 AccelerationStructureUsagePreferFastBuild AccelerationStructureUsage = 2 AccelerationStructureUsageRefit AccelerationStructureUsage = 1 )
type AccelerationStructureUserIDInstanceDescriptor ¶
type AccelerationStructureUserIDInstanceDescriptor struct { TransformationMatrix PackedFloat4x3 Options uint32 Mask uint32 IntersectionFunctionTableOffset uint32 AccelerationStructureIndex uint32 UserID uint32 }
A description of an instance in an instanced geometry acceleration structure, with the instance including a user identifier for the instance. Full Topic
type Argument ¶
Information about an argument of a graphics or compute function. Full Topic
func ArgumentFrom ¶
func NewArgument ¶
func NewArgument() Argument
type ArgumentBuffersTier ¶
type ArgumentBuffersTier uint
The values that determine the limits and capabilities of argument buffers. Full Topic
const ( ArgumentBuffersTier1 ArgumentBuffersTier = 0 ArgumentBuffersTier2 ArgumentBuffersTier = 1 )
type ArgumentDescriptor ¶
A representation of an argument within an argument buffer. Full Topic
func ArgumentDescriptorFrom ¶
func ArgumentDescriptorFrom(ptr unsafe.Pointer) ArgumentDescriptor
func ArgumentDescriptor_ArgumentDescriptor ¶
func ArgumentDescriptor_ArgumentDescriptor() ArgumentDescriptor
Creates an empty argument descriptor. Full Topic
func NewArgumentDescriptor ¶
func NewArgumentDescriptor() ArgumentDescriptor
func (ArgumentDescriptor) Access ¶
func (a_ ArgumentDescriptor) Access() objc.Object
The access permissions of the argument. Full Topic
func (ArgumentDescriptor) ArrayLength ¶
func (a_ ArgumentDescriptor) ArrayLength() uint
The length of an array argument. Full Topic
func (ArgumentDescriptor) ConstantBlockAlignment ¶
func (a_ ArgumentDescriptor) ConstantBlockAlignment() uint
The alignment of the constant block. Full Topic
func (ArgumentDescriptor) DataType ¶
func (a_ ArgumentDescriptor) DataType() DataType
The data type of the argument. Full Topic
func (ArgumentDescriptor) Index ¶
func (a_ ArgumentDescriptor) Index() uint
The index ID of the argument. Full Topic
func (ArgumentDescriptor) Init ¶
func (a_ ArgumentDescriptor) Init() ArgumentDescriptor
func (ArgumentDescriptor) SetAccess ¶
func (a_ ArgumentDescriptor) SetAccess(value objc.IObject)
The access permissions of the argument. Full Topic
func (ArgumentDescriptor) SetArrayLength ¶
func (a_ ArgumentDescriptor) SetArrayLength(value uint)
The length of an array argument. Full Topic
func (ArgumentDescriptor) SetConstantBlockAlignment ¶
func (a_ ArgumentDescriptor) SetConstantBlockAlignment(value uint)
The alignment of the constant block. Full Topic
func (ArgumentDescriptor) SetDataType ¶
func (a_ ArgumentDescriptor) SetDataType(value DataType)
The data type of the argument. Full Topic
func (ArgumentDescriptor) SetIndex ¶
func (a_ ArgumentDescriptor) SetIndex(value uint)
The index ID of the argument. Full Topic
func (ArgumentDescriptor) SetTextureType ¶
func (a_ ArgumentDescriptor) SetTextureType(value TextureType)
The texture type of a texture argument. Full Topic
func (ArgumentDescriptor) TextureType ¶
func (a_ ArgumentDescriptor) TextureType() TextureType
The texture type of a texture argument. Full Topic
type ArgumentEncoderObject ¶
A concrete type for the PArgumentEncoder protocol.
func (ArgumentEncoderObject) Alignment ¶
func (a_ ArgumentEncoderObject) Alignment() uint
The alignment, in bytes, required for storing the encoded resources of an argument buffer. Full Topic
func (ArgumentEncoderObject) ConstantDataAtIndex ¶
func (a_ ArgumentEncoderObject) ConstantDataAtIndex(index uint) unsafe.Pointer
Returns a pointer for an inlined constant data argument in the argument buffer. Full Topic
func (ArgumentEncoderObject) Device ¶
func (a_ ArgumentEncoderObject) Device() DeviceObject
The device object that created the argument encoder. Full Topic
func (ArgumentEncoderObject) EncodedLength ¶
func (a_ ArgumentEncoderObject) EncodedLength() uint
The number of bytes required to store the encoded resources of an argument buffer. Full Topic
func (ArgumentEncoderObject) HasAlignment ¶
func (a_ ArgumentEncoderObject) HasAlignment() bool
func (ArgumentEncoderObject) HasConstantDataAtIndex ¶
func (a_ ArgumentEncoderObject) HasConstantDataAtIndex() bool
func (ArgumentEncoderObject) HasDevice ¶
func (a_ ArgumentEncoderObject) HasDevice() bool
func (ArgumentEncoderObject) HasEncodedLength ¶
func (a_ ArgumentEncoderObject) HasEncodedLength() bool
func (ArgumentEncoderObject) HasLabel ¶
func (a_ ArgumentEncoderObject) HasLabel() bool
func (ArgumentEncoderObject) HasNewArgumentEncoderForBufferAtIndex ¶
func (a_ ArgumentEncoderObject) HasNewArgumentEncoderForBufferAtIndex() bool
func (ArgumentEncoderObject) HasSetAccelerationStructureAtIndex ¶
func (a_ ArgumentEncoderObject) HasSetAccelerationStructureAtIndex() bool
func (ArgumentEncoderObject) HasSetArgumentBufferOffset ¶
func (a_ ArgumentEncoderObject) HasSetArgumentBufferOffset() bool
func (ArgumentEncoderObject) HasSetArgumentBufferStartOffsetArrayElement ¶
func (a_ ArgumentEncoderObject) HasSetArgumentBufferStartOffsetArrayElement() bool
func (ArgumentEncoderObject) HasSetBufferOffsetAtIndex ¶
func (a_ ArgumentEncoderObject) HasSetBufferOffsetAtIndex() bool
func (ArgumentEncoderObject) HasSetBuffersOffsetsWithRange ¶
func (a_ ArgumentEncoderObject) HasSetBuffersOffsetsWithRange() bool
func (ArgumentEncoderObject) HasSetComputePipelineStateAtIndex ¶
func (a_ ArgumentEncoderObject) HasSetComputePipelineStateAtIndex() bool
func (ArgumentEncoderObject) HasSetComputePipelineStatesWithRange ¶
func (a_ ArgumentEncoderObject) HasSetComputePipelineStatesWithRange() bool
func (ArgumentEncoderObject) HasSetIndirectCommandBufferAtIndex ¶
func (a_ ArgumentEncoderObject) HasSetIndirectCommandBufferAtIndex() bool
func (ArgumentEncoderObject) HasSetIndirectCommandBuffersWithRange ¶
func (a_ ArgumentEncoderObject) HasSetIndirectCommandBuffersWithRange() bool
func (ArgumentEncoderObject) HasSetIntersectionFunctionTableAtIndex ¶
func (a_ ArgumentEncoderObject) HasSetIntersectionFunctionTableAtIndex() bool
func (ArgumentEncoderObject) HasSetIntersectionFunctionTablesWithRange ¶
func (a_ ArgumentEncoderObject) HasSetIntersectionFunctionTablesWithRange() bool
func (ArgumentEncoderObject) HasSetLabel ¶
func (a_ ArgumentEncoderObject) HasSetLabel() bool
func (ArgumentEncoderObject) HasSetRenderPipelineStateAtIndex ¶
func (a_ ArgumentEncoderObject) HasSetRenderPipelineStateAtIndex() bool
func (ArgumentEncoderObject) HasSetRenderPipelineStatesWithRange ¶
func (a_ ArgumentEncoderObject) HasSetRenderPipelineStatesWithRange() bool
func (ArgumentEncoderObject) HasSetSamplerStateAtIndex ¶
func (a_ ArgumentEncoderObject) HasSetSamplerStateAtIndex() bool
func (ArgumentEncoderObject) HasSetSamplerStatesWithRange ¶
func (a_ ArgumentEncoderObject) HasSetSamplerStatesWithRange() bool
func (ArgumentEncoderObject) HasSetTextureAtIndex ¶
func (a_ ArgumentEncoderObject) HasSetTextureAtIndex() bool
func (ArgumentEncoderObject) HasSetTexturesWithRange ¶
func (a_ ArgumentEncoderObject) HasSetTexturesWithRange() bool
func (ArgumentEncoderObject) HasSetVisibleFunctionTableAtIndex ¶
func (a_ ArgumentEncoderObject) HasSetVisibleFunctionTableAtIndex() bool
func (ArgumentEncoderObject) HasSetVisibleFunctionTablesWithRange ¶
func (a_ ArgumentEncoderObject) HasSetVisibleFunctionTablesWithRange() bool
func (ArgumentEncoderObject) Label ¶
func (a_ ArgumentEncoderObject) Label() string
A string that identifies the argument buffer. Full Topic
func (ArgumentEncoderObject) NewArgumentEncoderForBufferAtIndex ¶
func (a_ ArgumentEncoderObject) NewArgumentEncoderForBufferAtIndex(index uint) ArgumentEncoderObject
Creates a new argument encoder for a nested argument buffer. Full Topic
func (ArgumentEncoderObject) SetAccelerationStructureAtIndex ¶
func (a_ ArgumentEncoderObject) SetAccelerationStructureAtIndex(accelerationStructure AccelerationStructureObject, index uint)
Encodes a reference to an acceleration structure into the argument buffer. Full Topic
func (ArgumentEncoderObject) SetArgumentBufferOffset ¶
func (a_ ArgumentEncoderObject) SetArgumentBufferOffset(argumentBuffer BufferObject, offset uint)
Specifies the position in a buffer where the encoder writes argument data. Full Topic
func (ArgumentEncoderObject) SetArgumentBufferStartOffsetArrayElement ¶
func (a_ ArgumentEncoderObject) SetArgumentBufferStartOffsetArrayElement(argumentBuffer BufferObject, startOffset uint, arrayElement uint)
Specifies an array element within a buffer where the encoder writes argument data. Full Topic
func (ArgumentEncoderObject) SetBufferOffsetAtIndex ¶
func (a_ ArgumentEncoderObject) SetBufferOffsetAtIndex(buffer BufferObject, offset uint, index uint)
Encodes a reference to a buffer into the argument buffer. Full Topic
func (ArgumentEncoderObject) SetBuffersOffsetsWithRange ¶
func (a_ ArgumentEncoderObject) SetBuffersOffsetsWithRange(buffers BufferObject, offsets *uint, range_ foundation.Range)
Encodes references to an array of buffers into the argument buffer. Full Topic
func (ArgumentEncoderObject) SetComputePipelineStateAtIndex ¶
func (a_ ArgumentEncoderObject) SetComputePipelineStateAtIndex(pipeline ComputePipelineStateObject, index uint)
Encodes a reference to a compute pipeline state into the argument buffer. Full Topic
func (ArgumentEncoderObject) SetComputePipelineStatesWithRange ¶
func (a_ ArgumentEncoderObject) SetComputePipelineStatesWithRange(pipelines ComputePipelineStateObject, range_ foundation.Range)
Encodes references to an array of compute pipeline states into the argument buffer. Full Topic
func (ArgumentEncoderObject) SetIndirectCommandBufferAtIndex ¶
func (a_ ArgumentEncoderObject) SetIndirectCommandBufferAtIndex(indirectCommandBuffer IndirectCommandBufferObject, index uint)
Encodes a reference to an indirect command buffer into the argument buffer. Full Topic
func (ArgumentEncoderObject) SetIndirectCommandBuffersWithRange ¶
func (a_ ArgumentEncoderObject) SetIndirectCommandBuffersWithRange(buffers IndirectCommandBufferObject, range_ foundation.Range)
Encodes an array of indirect command buffers into the argument buffer. Full Topic
func (ArgumentEncoderObject) SetIntersectionFunctionTableAtIndex ¶
func (a_ ArgumentEncoderObject) SetIntersectionFunctionTableAtIndex(intersectionFunctionTable IntersectionFunctionTableObject, index uint)
Encodes a reference to a ray-tracing intersection function table into the argument buffer. Full Topic
func (ArgumentEncoderObject) SetIntersectionFunctionTablesWithRange ¶
func (a_ ArgumentEncoderObject) SetIntersectionFunctionTablesWithRange(intersectionFunctionTables IntersectionFunctionTableObject, range_ foundation.Range)
Encodes references to an array of intersection function tables into the argument buffer. Full Topic
func (ArgumentEncoderObject) SetLabel ¶
func (a_ ArgumentEncoderObject) SetLabel(value string)
A string that identifies the argument buffer. Full Topic
func (ArgumentEncoderObject) SetRenderPipelineStateAtIndex ¶
func (a_ ArgumentEncoderObject) SetRenderPipelineStateAtIndex(pipeline RenderPipelineStateObject, index uint)
Encodes a reference to a render pipeline state into the argument buffer. Full Topic
func (ArgumentEncoderObject) SetRenderPipelineStatesWithRange ¶
func (a_ ArgumentEncoderObject) SetRenderPipelineStatesWithRange(pipelines RenderPipelineStateObject, range_ foundation.Range)
Encodes references to an array of render pipeline states into the argument buffer. Full Topic
func (ArgumentEncoderObject) SetSamplerStateAtIndex ¶
func (a_ ArgumentEncoderObject) SetSamplerStateAtIndex(sampler SamplerStateObject, index uint)
Encodes a sampler into the argument buffer. Full Topic
func (ArgumentEncoderObject) SetSamplerStatesWithRange ¶
func (a_ ArgumentEncoderObject) SetSamplerStatesWithRange(samplers SamplerStateObject, range_ foundation.Range)
Encodes an array of samplers into the argument buffer. Full Topic
func (ArgumentEncoderObject) SetTextureAtIndex ¶
func (a_ ArgumentEncoderObject) SetTextureAtIndex(texture TextureObject, index uint)
Encodes a reference to a texture into the argument buffer. Full Topic
func (ArgumentEncoderObject) SetTexturesWithRange ¶
func (a_ ArgumentEncoderObject) SetTexturesWithRange(textures TextureObject, range_ foundation.Range)
Encodes references to an array of textures into the argument buffer. Full Topic
func (ArgumentEncoderObject) SetVisibleFunctionTableAtIndex ¶
func (a_ ArgumentEncoderObject) SetVisibleFunctionTableAtIndex(visibleFunctionTable VisibleFunctionTableObject, index uint)
Encodes a reference to a function table into the argument buffer. Full Topic
func (ArgumentEncoderObject) SetVisibleFunctionTablesWithRange ¶
func (a_ ArgumentEncoderObject) SetVisibleFunctionTablesWithRange(visibleFunctionTables VisibleFunctionTableObject, range_ foundation.Range)
Encodes references to an array of visible function tables into the argument buffer. Full Topic
type ArgumentType ¶
type ArgumentType uint
The resource type for an argument of a function. Full Topic
const ( ArgumentTypeBuffer ArgumentType = 0 ArgumentTypeImageblock ArgumentType = 17 ArgumentTypeImageblockData ArgumentType = 16 ArgumentTypeInstanceAccelerationStructure ArgumentType = 26 ArgumentTypeIntersectionFunctionTable ArgumentType = 27 ArgumentTypePrimitiveAccelerationStructure ArgumentType = 25 ArgumentTypeSampler ArgumentType = 3 ArgumentTypeTexture ArgumentType = 2 ArgumentTypeThreadgroupMemory ArgumentType = 1 ArgumentTypeVisibleFunctionTable ArgumentType = 24 )
type ArrayType ¶
type ArrayType struct {
Type
}
A description of an array. Full Topic
func ArrayTypeFrom ¶
func NewArrayType ¶
func NewArrayType() ArrayType
func (ArrayType) ArgumentIndexStride ¶
The stride, in bytes, between argument indices. Full Topic
func (ArrayType) ArrayLength ¶
The number of elements in the array. Full Topic
func (ArrayType) ElementArrayType ¶
Provides a description of the underlying type when an array holds other arrays as its elements. Full Topic
func (ArrayType) ElementPointerType ¶
func (a_ ArrayType) ElementPointerType() PointerType
Provides a description of the underlying pointer type when an array holds pointers as its elements. Full Topic
func (ArrayType) ElementStructType ¶
func (a_ ArrayType) ElementStructType() StructType
Provides a description of the underlying struct type when an array holds structs as its elements. Full Topic
func (ArrayType) ElementTextureReferenceType ¶
func (a_ ArrayType) ElementTextureReferenceType() TextureReferenceType
Provides a description of the underlying texture type when an array holds textures as its elements. Full Topic
func (ArrayType) ElementType ¶
The data type of the array’s elements. Full Topic
func (ArrayType) Stride ¶
The stride between array elements, in bytes. Full Topic
type Attribute ¶
An object that describes an attribute defined in the stage-in argument for a shader. Full Topic
func AttributeFrom ¶
func NewAttribute ¶
func NewAttribute() Attribute
func (Attribute) AttributeIndex ¶
The index of the attribute, as declared in Metal shader source code. Full Topic
func (Attribute) AttributeType ¶
The data type for the attribute, as declared in Metal shader source code. Full Topic
func (Attribute) IsActive ¶
A Boolean value that indicates whether the attribute is active. Full Topic
func (Attribute) IsPatchControlPointData ¶
A Boolean value that indicates whether the attribute represents control point data. Full Topic
func (Attribute) IsPatchData ¶
A Boolean value that indicates whether the attribute represents tessellation patch data. Full Topic
type AttributeDescriptor ¶
An object that describes an argument's format and where its data is in memory. Full Topic
func AttributeDescriptorFrom ¶
func AttributeDescriptorFrom(ptr unsafe.Pointer) AttributeDescriptor
func NewAttributeDescriptor ¶
func NewAttributeDescriptor() AttributeDescriptor
func (AttributeDescriptor) BufferIndex ¶
func (a_ AttributeDescriptor) BufferIndex() uint
The index in the argument table for the buffer that contains the data for the attribute. Full Topic
func (AttributeDescriptor) Format ¶
func (a_ AttributeDescriptor) Format() AttributeFormat
The format of the attribute's data. Full Topic
func (AttributeDescriptor) Init ¶
func (a_ AttributeDescriptor) Init() AttributeDescriptor
func (AttributeDescriptor) Offset ¶
func (a_ AttributeDescriptor) Offset() uint
The offset of the data from the start of the buffer data. Full Topic
func (AttributeDescriptor) SetBufferIndex ¶
func (a_ AttributeDescriptor) SetBufferIndex(value uint)
The index in the argument table for the buffer that contains the data for the attribute. Full Topic
func (AttributeDescriptor) SetFormat ¶
func (a_ AttributeDescriptor) SetFormat(value AttributeFormat)
The format of the attribute's data. Full Topic
func (AttributeDescriptor) SetOffset ¶
func (a_ AttributeDescriptor) SetOffset(value uint)
The offset of the data from the start of the buffer data. Full Topic
type AttributeDescriptorArray ¶
An array of attribute descriptor objects. Full Topic
func AttributeDescriptorArrayFrom ¶
func AttributeDescriptorArrayFrom(ptr unsafe.Pointer) AttributeDescriptorArray
func NewAttributeDescriptorArray ¶
func NewAttributeDescriptorArray() AttributeDescriptorArray
func (AttributeDescriptorArray) Init ¶
func (a_ AttributeDescriptorArray) Init() AttributeDescriptorArray
func (AttributeDescriptorArray) ObjectAtIndexedSubscript ¶
func (a_ AttributeDescriptorArray) ObjectAtIndexedSubscript(index uint) AttributeDescriptor
Returns the state of the specified attribute. Full Topic
func (AttributeDescriptorArray) SetObjectAtIndexedSubscript ¶
func (a_ AttributeDescriptorArray) SetObjectAtIndexedSubscript(attributeDesc IAttributeDescriptor, index uint)
Sets state for the specified attribute. Full Topic
type AttributeFormat ¶
type AttributeFormat uint
Values that specify the organization of function attribute data. Full Topic
const ( AttributeFormatChar AttributeFormat = 46 AttributeFormatChar2 AttributeFormat = 4 AttributeFormatChar2Normalized AttributeFormat = 10 AttributeFormatChar3 AttributeFormat = 5 AttributeFormatChar3Normalized AttributeFormat = 11 AttributeFormatChar4 AttributeFormat = 6 AttributeFormatChar4Normalized AttributeFormat = 12 AttributeFormatCharNormalized AttributeFormat = 48 AttributeFormatFloat AttributeFormat = 28 AttributeFormatFloat2 AttributeFormat = 29 AttributeFormatFloat3 AttributeFormat = 30 AttributeFormatFloat4 AttributeFormat = 31 AttributeFormatHalf AttributeFormat = 53 AttributeFormatHalf2 AttributeFormat = 25 AttributeFormatHalf3 AttributeFormat = 26 AttributeFormatHalf4 AttributeFormat = 27 AttributeFormatInt AttributeFormat = 32 AttributeFormatInt1010102Normalized AttributeFormat = 40 AttributeFormatInt2 AttributeFormat = 33 AttributeFormatInt3 AttributeFormat = 34 AttributeFormatInt4 AttributeFormat = 35 AttributeFormatInvalid AttributeFormat = 0 AttributeFormatShort AttributeFormat = 50 AttributeFormatShort2 AttributeFormat = 16 AttributeFormatShort2Normalized AttributeFormat = 22 AttributeFormatShort3 AttributeFormat = 17 AttributeFormatShort3Normalized AttributeFormat = 23 AttributeFormatShort4 AttributeFormat = 18 AttributeFormatShort4Normalized AttributeFormat = 24 AttributeFormatShortNormalized AttributeFormat = 52 AttributeFormatUChar AttributeFormat = 45 AttributeFormatUChar2 AttributeFormat = 1 AttributeFormatUChar2Normalized AttributeFormat = 7 AttributeFormatUChar3 AttributeFormat = 2 AttributeFormatUChar3Normalized AttributeFormat = 8 AttributeFormatUChar4 AttributeFormat = 3 AttributeFormatUChar4Normalized AttributeFormat = 9 AttributeFormatUChar4Normalized_BGRA AttributeFormat = 42 AttributeFormatUCharNormalized AttributeFormat = 47 AttributeFormatUInt AttributeFormat = 36 AttributeFormatUInt1010102Normalized AttributeFormat = 41 AttributeFormatUInt2 AttributeFormat = 37 AttributeFormatUInt3 AttributeFormat = 38 AttributeFormatUInt4 AttributeFormat = 39 AttributeFormatUShort AttributeFormat = 49 AttributeFormatUShort2 AttributeFormat = 13 AttributeFormatUShort2Normalized AttributeFormat = 19 AttributeFormatUShort3 AttributeFormat = 14 AttributeFormatUShort3Normalized AttributeFormat = 20 AttributeFormatUShort4 AttributeFormat = 15 AttributeFormatUShort4Normalized AttributeFormat = 21 AttributeFormatUShortNormalized AttributeFormat = 51 )
type AxisAlignedBoundingBox ¶
type AxisAlignedBoundingBox struct { Min PackedFloat3 Max PackedFloat3 }
The bounds for an axis-aligned bounding box. Full Topic
type BarrierScope ¶
type BarrierScope uint
Describes the types of resources that a barrier operates on. Full Topic
const ( BarrierScopeBuffers BarrierScope = 1 BarrierScopeRenderTargets BarrierScope = 4 BarrierScopeTextures BarrierScope = 2 )
type BinaryArchiveDescriptor ¶
A description of a binary shader archive that you want to create. Full Topic
func BinaryArchiveDescriptorFrom ¶
func BinaryArchiveDescriptorFrom(ptr unsafe.Pointer) BinaryArchiveDescriptor
func NewBinaryArchiveDescriptor ¶
func NewBinaryArchiveDescriptor() BinaryArchiveDescriptor
func (BinaryArchiveDescriptor) Init ¶
func (b_ BinaryArchiveDescriptor) Init() BinaryArchiveDescriptor
func (BinaryArchiveDescriptor) SetUrl ¶
func (b_ BinaryArchiveDescriptor) SetUrl(value foundation.IURL)
A URL to a Metal binary archive file. Full Topic
func (BinaryArchiveDescriptor) Url ¶
func (b_ BinaryArchiveDescriptor) Url() foundation.URL
A URL to a Metal binary archive file. Full Topic
type BinaryArchiveError ¶
type BinaryArchiveError uint
Error codes when creating binary archives of compiled shader code. Full Topic
const ( BinaryArchiveErrorCompilationFailure BinaryArchiveError = 3 BinaryArchiveErrorInvalidFile BinaryArchiveError = 1 BinaryArchiveErrorNone BinaryArchiveError = 0 BinaryArchiveErrorUnexpectedElement BinaryArchiveError = 2 )
type BinaryArchiveObject ¶
A concrete type for the PBinaryArchive protocol.
func (BinaryArchiveObject) AddComputePipelineFunctionsWithDescriptorError ¶
func (b_ BinaryArchiveObject) AddComputePipelineFunctionsWithDescriptorError(descriptor ComputePipelineDescriptor, error foundation.Error) bool
Adds a description of a compute pipeline to the archive. Full Topic
func (BinaryArchiveObject) AddFunctionWithDescriptorLibraryError ¶
func (b_ BinaryArchiveObject) AddFunctionWithDescriptorLibraryError(descriptor FunctionDescriptor, library LibraryObject, error foundation.Error) bool
Adds a description of a function to the archive. Full Topic
func (BinaryArchiveObject) AddRenderPipelineFunctionsWithDescriptorError ¶
func (b_ BinaryArchiveObject) AddRenderPipelineFunctionsWithDescriptorError(descriptor RenderPipelineDescriptor, error foundation.Error) bool
Adds a description of a render pipeline to the archive. Full Topic
func (BinaryArchiveObject) AddTileRenderPipelineFunctionsWithDescriptorError ¶
func (b_ BinaryArchiveObject) AddTileRenderPipelineFunctionsWithDescriptorError(descriptor TileRenderPipelineDescriptor, error foundation.Error) bool
Adds a description of a tile renderer pipeline to the archive. Full Topic
func (BinaryArchiveObject) Device ¶
func (b_ BinaryArchiveObject) Device() DeviceObject
The Metal device object that created the binary archive. Full Topic
func (BinaryArchiveObject) HasAddComputePipelineFunctionsWithDescriptorError ¶
func (b_ BinaryArchiveObject) HasAddComputePipelineFunctionsWithDescriptorError() bool
func (BinaryArchiveObject) HasAddFunctionWithDescriptorLibraryError ¶
func (b_ BinaryArchiveObject) HasAddFunctionWithDescriptorLibraryError() bool
func (BinaryArchiveObject) HasAddRenderPipelineFunctionsWithDescriptorError ¶
func (b_ BinaryArchiveObject) HasAddRenderPipelineFunctionsWithDescriptorError() bool
func (BinaryArchiveObject) HasAddTileRenderPipelineFunctionsWithDescriptorError ¶
func (b_ BinaryArchiveObject) HasAddTileRenderPipelineFunctionsWithDescriptorError() bool
func (BinaryArchiveObject) HasDevice ¶
func (b_ BinaryArchiveObject) HasDevice() bool
func (BinaryArchiveObject) HasLabel ¶
func (b_ BinaryArchiveObject) HasLabel() bool
func (BinaryArchiveObject) HasSerializeToURLError ¶
func (b_ BinaryArchiveObject) HasSerializeToURLError() bool
func (BinaryArchiveObject) HasSetLabel ¶
func (b_ BinaryArchiveObject) HasSetLabel() bool
func (BinaryArchiveObject) Label ¶
func (b_ BinaryArchiveObject) Label() string
A string that identifies the library. Full Topic
func (BinaryArchiveObject) SerializeToURLError ¶
func (b_ BinaryArchiveObject) SerializeToURLError(url foundation.URL, error foundation.Error) bool
Writes the contents of the archive to a file. Full Topic
func (BinaryArchiveObject) SetLabel ¶
func (b_ BinaryArchiveObject) SetLabel(value string)
A string that identifies the library. Full Topic
type BlendFactor ¶
type BlendFactor uint
The source and destination blend factors are often needed to complete specification of a blend operation. In most cases, the blend factor for both RGB values (F(rgb)) and alpha values (F(a)) are similar to one another, but in some cases, such as MTLBlendFactorSourceAlphaSaturated, the blend factor is slightly different. Four blend factors (MTLBlendFactorBlendColor, MTLBlendFactorOneMinusBlendColor, MTLBlendFactorBlendAlpha, and MTLBlendFactorOneMinusBlendAlpha) refer to a constant blend color value that is set by the metal/mtlrendercommandencoder/setblendcolorred method of MTLRenderCommandEncoder. Full Topic
const ( BlendFactorBlendAlpha BlendFactor = 13 BlendFactorBlendColor BlendFactor = 11 BlendFactorDestinationAlpha BlendFactor = 8 BlendFactorDestinationColor BlendFactor = 6 BlendFactorOne BlendFactor = 1 BlendFactorOneMinusBlendAlpha BlendFactor = 14 BlendFactorOneMinusBlendColor BlendFactor = 12 BlendFactorOneMinusDestinationAlpha BlendFactor = 9 BlendFactorOneMinusDestinationColor BlendFactor = 7 BlendFactorOneMinusSource1Alpha BlendFactor = 18 BlendFactorOneMinusSource1Color BlendFactor = 16 BlendFactorOneMinusSourceAlpha BlendFactor = 5 BlendFactorOneMinusSourceColor BlendFactor = 3 BlendFactorSource1Alpha BlendFactor = 17 BlendFactorSource1Color BlendFactor = 15 BlendFactorSourceAlpha BlendFactor = 4 BlendFactorSourceAlphaSaturated BlendFactor = 10 BlendFactorSourceColor BlendFactor = 2 BlendFactorZero BlendFactor = 0 )
type BlendOperation ¶
type BlendOperation uint
For every pixel, MTLBlendOperation determines how to combine and weight the source fragment values with the destination values. Some blend operations multiply the source values by a source blend factor (SBF), multiply the destination values by a destination blend factor (DBF), and then combine the results using addition or subtraction. Other blend operations use either a minimum or maximum function to determine the result. Full Topic
const ( BlendOperationAdd BlendOperation = 0 BlendOperationMax BlendOperation = 4 BlendOperationMin BlendOperation = 3 BlendOperationReverseSubtract BlendOperation = 2 BlendOperationSubtract BlendOperation = 1 )
type BlitCommandEncoderObject ¶
A concrete type for the PBlitCommandEncoder protocol.
func (BlitCommandEncoderObject) CopyFromBufferSourceOffsetSourceBytesPerRowSourceBytesPerImageSourceSizeToTextureDestinationSliceDestinationLevelDestinationOrigin ¶
func (b_ BlitCommandEncoderObject) CopyFromBufferSourceOffsetSourceBytesPerRowSourceBytesPerImageSourceSizeToTextureDestinationSliceDestinationLevelDestinationOrigin(sourceBuffer BufferObject, sourceOffset uint, sourceBytesPerRow uint, sourceBytesPerImage uint, sourceSize Size, destinationTexture TextureObject, destinationSlice uint, destinationLevel uint, destinationOrigin Origin)
Encodes a command to copy image data from a source buffer into a destination texture. Full Topic
func (BlitCommandEncoderObject) CopyFromBufferSourceOffsetSourceBytesPerRowSourceBytesPerImageSourceSizeToTextureDestinationSliceDestinationLevelDestinationOriginOptions ¶
func (b_ BlitCommandEncoderObject) CopyFromBufferSourceOffsetSourceBytesPerRowSourceBytesPerImageSourceSizeToTextureDestinationSliceDestinationLevelDestinationOriginOptions(sourceBuffer BufferObject, sourceOffset uint, sourceBytesPerRow uint, sourceBytesPerImage uint, sourceSize Size, destinationTexture TextureObject, destinationSlice uint, destinationLevel uint, destinationOrigin Origin, options BlitOption)
Encodes a command to copy image data from a source buffer into a destination texture. Full Topic
func (BlitCommandEncoderObject) CopyFromBufferSourceOffsetToBufferDestinationOffsetSize ¶
func (b_ BlitCommandEncoderObject) CopyFromBufferSourceOffsetToBufferDestinationOffsetSize(sourceBuffer BufferObject, sourceOffset uint, destinationBuffer BufferObject, destinationOffset uint, size uint)
Encodes a command that copies data from one buffer into another. Full Topic
func (BlitCommandEncoderObject) CopyFromTextureSourceSliceSourceLevelSourceOriginSourceSizeToBufferDestinationOffsetDestinationBytesPerRowDestinationBytesPerImage ¶
func (b_ BlitCommandEncoderObject) CopyFromTextureSourceSliceSourceLevelSourceOriginSourceSizeToBufferDestinationOffsetDestinationBytesPerRowDestinationBytesPerImage(sourceTexture TextureObject, sourceSlice uint, sourceLevel uint, sourceOrigin Origin, sourceSize Size, destinationBuffer BufferObject, destinationOffset uint, destinationBytesPerRow uint, destinationBytesPerImage uint)
Encodes a command that copies image data from a texture slice to a buffer. Full Topic
func (BlitCommandEncoderObject) CopyFromTextureSourceSliceSourceLevelSourceOriginSourceSizeToBufferDestinationOffsetDestinationBytesPerRowDestinationBytesPerImageOptions ¶
func (b_ BlitCommandEncoderObject) CopyFromTextureSourceSliceSourceLevelSourceOriginSourceSizeToBufferDestinationOffsetDestinationBytesPerRowDestinationBytesPerImageOptions(sourceTexture TextureObject, sourceSlice uint, sourceLevel uint, sourceOrigin Origin, sourceSize Size, destinationBuffer BufferObject, destinationOffset uint, destinationBytesPerRow uint, destinationBytesPerImage uint, options BlitOption)
Encodes a command that copies image data from a texture slice to a buffer, and provides options for special texture formats. Full Topic
func (BlitCommandEncoderObject) CopyFromTextureSourceSliceSourceLevelSourceOriginSourceSizeToTextureDestinationSliceDestinationLevelDestinationOrigin ¶
func (b_ BlitCommandEncoderObject) CopyFromTextureSourceSliceSourceLevelSourceOriginSourceSizeToTextureDestinationSliceDestinationLevelDestinationOrigin(sourceTexture TextureObject, sourceSlice uint, sourceLevel uint, sourceOrigin Origin, sourceSize Size, destinationTexture TextureObject, destinationSlice uint, destinationLevel uint, destinationOrigin Origin)
Encodes a command that copies image data from a texture’s slice into another slice. Full Topic
func (BlitCommandEncoderObject) CopyFromTextureSourceSliceSourceLevelToTextureDestinationSliceDestinationLevelSliceCountLevelCount ¶
func (b_ BlitCommandEncoderObject) CopyFromTextureSourceSliceSourceLevelToTextureDestinationSliceDestinationLevelSliceCountLevelCount(sourceTexture TextureObject, sourceSlice uint, sourceLevel uint, destinationTexture TextureObject, destinationSlice uint, destinationLevel uint, sliceCount uint, levelCount uint)
Encodes a command that copies slices of a texture to another texture’s slices. Full Topic
func (BlitCommandEncoderObject) CopyFromTextureToTexture ¶
func (b_ BlitCommandEncoderObject) CopyFromTextureToTexture(sourceTexture TextureObject, destinationTexture TextureObject)
Encodes a command that copies data from one texture to another. Full Topic
func (BlitCommandEncoderObject) CopyIndirectCommandBufferSourceRangeDestinationDestinationIndex ¶
func (b_ BlitCommandEncoderObject) CopyIndirectCommandBufferSourceRangeDestinationDestinationIndex(source IndirectCommandBufferObject, sourceRange foundation.Range, destination IndirectCommandBufferObject, destinationIndex uint)
Encodes a command that copies commands from one indirect command buffer into another. Full Topic
func (BlitCommandEncoderObject) FillBufferRangeValue ¶
func (b_ BlitCommandEncoderObject) FillBufferRangeValue(buffer BufferObject, range_ foundation.Range, value uint8)
Encodes a command that fills a buffer with a constant value for each byte. Full Topic
func (BlitCommandEncoderObject) GenerateMipmapsForTexture ¶
func (b_ BlitCommandEncoderObject) GenerateMipmapsForTexture(texture TextureObject)
Encodes a command that generates mipmaps for a texture from the base mipmap level up to the highest mipmap level. Full Topic
func (BlitCommandEncoderObject) GetTextureAccessCountersRegionMipLevelSliceResetCountersCountersBufferCountersBufferOffset ¶
func (b_ BlitCommandEncoderObject) GetTextureAccessCountersRegionMipLevelSliceResetCountersCountersBufferCountersBufferOffset(texture TextureObject, region Region, mipLevel uint, slice uint, resetCounters bool, countersBuffer BufferObject, countersBufferOffset uint)
Encodes a command that retrieves a sparse texture’s access data for a specific region, mipmap level, and slice. Full Topic
func (BlitCommandEncoderObject) HasCopyFromBufferSourceOffsetSourceBytesPerRowSourceBytesPerImageSourceSizeToTextureDestinationSliceDestinationLevelDestinationOrigin ¶
func (b_ BlitCommandEncoderObject) HasCopyFromBufferSourceOffsetSourceBytesPerRowSourceBytesPerImageSourceSizeToTextureDestinationSliceDestinationLevelDestinationOrigin() bool
func (BlitCommandEncoderObject) HasCopyFromBufferSourceOffsetSourceBytesPerRowSourceBytesPerImageSourceSizeToTextureDestinationSliceDestinationLevelDestinationOriginOptions ¶
func (b_ BlitCommandEncoderObject) HasCopyFromBufferSourceOffsetSourceBytesPerRowSourceBytesPerImageSourceSizeToTextureDestinationSliceDestinationLevelDestinationOriginOptions() bool
func (BlitCommandEncoderObject) HasCopyFromBufferSourceOffsetToBufferDestinationOffsetSize ¶
func (b_ BlitCommandEncoderObject) HasCopyFromBufferSourceOffsetToBufferDestinationOffsetSize() bool
func (BlitCommandEncoderObject) HasCopyFromTextureSourceSliceSourceLevelSourceOriginSourceSizeToBufferDestinationOffsetDestinationBytesPerRowDestinationBytesPerImage ¶
func (b_ BlitCommandEncoderObject) HasCopyFromTextureSourceSliceSourceLevelSourceOriginSourceSizeToBufferDestinationOffsetDestinationBytesPerRowDestinationBytesPerImage() bool
func (BlitCommandEncoderObject) HasCopyFromTextureSourceSliceSourceLevelSourceOriginSourceSizeToBufferDestinationOffsetDestinationBytesPerRowDestinationBytesPerImageOptions ¶
func (b_ BlitCommandEncoderObject) HasCopyFromTextureSourceSliceSourceLevelSourceOriginSourceSizeToBufferDestinationOffsetDestinationBytesPerRowDestinationBytesPerImageOptions() bool
func (BlitCommandEncoderObject) HasCopyFromTextureSourceSliceSourceLevelSourceOriginSourceSizeToTextureDestinationSliceDestinationLevelDestinationOrigin ¶
func (b_ BlitCommandEncoderObject) HasCopyFromTextureSourceSliceSourceLevelSourceOriginSourceSizeToTextureDestinationSliceDestinationLevelDestinationOrigin() bool
func (BlitCommandEncoderObject) HasCopyFromTextureSourceSliceSourceLevelToTextureDestinationSliceDestinationLevelSliceCountLevelCount ¶
func (b_ BlitCommandEncoderObject) HasCopyFromTextureSourceSliceSourceLevelToTextureDestinationSliceDestinationLevelSliceCountLevelCount() bool
func (BlitCommandEncoderObject) HasCopyFromTextureToTexture ¶
func (b_ BlitCommandEncoderObject) HasCopyFromTextureToTexture() bool
func (BlitCommandEncoderObject) HasCopyIndirectCommandBufferSourceRangeDestinationDestinationIndex ¶
func (b_ BlitCommandEncoderObject) HasCopyIndirectCommandBufferSourceRangeDestinationDestinationIndex() bool
func (BlitCommandEncoderObject) HasFillBufferRangeValue ¶
func (b_ BlitCommandEncoderObject) HasFillBufferRangeValue() bool
func (BlitCommandEncoderObject) HasGenerateMipmapsForTexture ¶
func (b_ BlitCommandEncoderObject) HasGenerateMipmapsForTexture() bool
func (BlitCommandEncoderObject) HasGetTextureAccessCountersRegionMipLevelSliceResetCountersCountersBufferCountersBufferOffset ¶
func (b_ BlitCommandEncoderObject) HasGetTextureAccessCountersRegionMipLevelSliceResetCountersCountersBufferCountersBufferOffset() bool
func (BlitCommandEncoderObject) HasOptimizeContentsForCPUAccess ¶
func (b_ BlitCommandEncoderObject) HasOptimizeContentsForCPUAccess() bool
func (BlitCommandEncoderObject) HasOptimizeContentsForCPUAccessSliceLevel ¶
func (b_ BlitCommandEncoderObject) HasOptimizeContentsForCPUAccessSliceLevel() bool
func (BlitCommandEncoderObject) HasOptimizeContentsForGPUAccess ¶
func (b_ BlitCommandEncoderObject) HasOptimizeContentsForGPUAccess() bool
func (BlitCommandEncoderObject) HasOptimizeContentsForGPUAccessSliceLevel ¶
func (b_ BlitCommandEncoderObject) HasOptimizeContentsForGPUAccessSliceLevel() bool
func (BlitCommandEncoderObject) HasOptimizeIndirectCommandBufferWithRange ¶
func (b_ BlitCommandEncoderObject) HasOptimizeIndirectCommandBufferWithRange() bool
func (BlitCommandEncoderObject) HasResetCommandsInBufferWithRange ¶
func (b_ BlitCommandEncoderObject) HasResetCommandsInBufferWithRange() bool
func (BlitCommandEncoderObject) HasResetTextureAccessCountersRegionMipLevelSlice ¶
func (b_ BlitCommandEncoderObject) HasResetTextureAccessCountersRegionMipLevelSlice() bool
func (BlitCommandEncoderObject) HasResolveCountersInRangeDestinationBufferDestinationOffset ¶
func (b_ BlitCommandEncoderObject) HasResolveCountersInRangeDestinationBufferDestinationOffset() bool
func (BlitCommandEncoderObject) HasSampleCountersInBufferAtSampleIndexWithBarrier ¶
func (b_ BlitCommandEncoderObject) HasSampleCountersInBufferAtSampleIndexWithBarrier() bool
func (BlitCommandEncoderObject) HasSynchronizeResource ¶
func (b_ BlitCommandEncoderObject) HasSynchronizeResource() bool
func (BlitCommandEncoderObject) HasSynchronizeTextureSliceLevel ¶
func (b_ BlitCommandEncoderObject) HasSynchronizeTextureSliceLevel() bool
func (BlitCommandEncoderObject) HasUpdateFence ¶
func (b_ BlitCommandEncoderObject) HasUpdateFence() bool
func (BlitCommandEncoderObject) HasWaitForFence ¶
func (b_ BlitCommandEncoderObject) HasWaitForFence() bool
func (BlitCommandEncoderObject) OptimizeContentsForCPUAccess ¶
func (b_ BlitCommandEncoderObject) OptimizeContentsForCPUAccess(texture TextureObject)
Encodes a command that improves the performance of the CPU’s accesses to a texture. Full Topic
func (BlitCommandEncoderObject) OptimizeContentsForCPUAccessSliceLevel ¶
func (b_ BlitCommandEncoderObject) OptimizeContentsForCPUAccessSliceLevel(texture TextureObject, slice uint, level uint)
Encodes a command that improves the performance of the CPU’s accesses to a specific portion of a texture. Full Topic
func (BlitCommandEncoderObject) OptimizeContentsForGPUAccess ¶
func (b_ BlitCommandEncoderObject) OptimizeContentsForGPUAccess(texture TextureObject)
Encodes a command that improves the performance of the GPU’s accesses to a texture. Full Topic
func (BlitCommandEncoderObject) OptimizeContentsForGPUAccessSliceLevel ¶
func (b_ BlitCommandEncoderObject) OptimizeContentsForGPUAccessSliceLevel(texture TextureObject, slice uint, level uint)
Encodes a command that improves the performance of the GPU’s accesses to a specific portion of a texture. Full Topic
func (BlitCommandEncoderObject) OptimizeIndirectCommandBufferWithRange ¶
func (b_ BlitCommandEncoderObject) OptimizeIndirectCommandBufferWithRange(indirectCommandBuffer IndirectCommandBufferObject, range_ foundation.Range)
Encodes a command that can improve the performance of a range of commands within an indirect command buffer. Full Topic
func (BlitCommandEncoderObject) ResetCommandsInBufferWithRange ¶
func (b_ BlitCommandEncoderObject) ResetCommandsInBufferWithRange(buffer IndirectCommandBufferObject, range_ foundation.Range)
Encodes a command that resets a range of commands in an indirect command buffer. Full Topic
func (BlitCommandEncoderObject) ResetTextureAccessCountersRegionMipLevelSlice ¶
func (b_ BlitCommandEncoderObject) ResetTextureAccessCountersRegionMipLevelSlice(texture TextureObject, region Region, mipLevel uint, slice uint)
Encodes a command that resets a sparse texture’s access data for a specific region, mipmap level, and slice. Full Topic
func (BlitCommandEncoderObject) ResolveCountersInRangeDestinationBufferDestinationOffset ¶
func (b_ BlitCommandEncoderObject) ResolveCountersInRangeDestinationBufferDestinationOffset(sampleBuffer CounterSampleBufferObject, range_ foundation.Range, destinationBuffer BufferObject, destinationOffset uint)
Encodes a command that resolves the data from the samples in a sample counter buffer and stores the results into a buffer. Full Topic
func (BlitCommandEncoderObject) SampleCountersInBufferAtSampleIndexWithBarrier ¶
func (b_ BlitCommandEncoderObject) SampleCountersInBufferAtSampleIndexWithBarrier(sampleBuffer CounterSampleBufferObject, sampleIndex uint, barrier bool)
Encodes a command that samples the GPU’s hardware counters during a blit pass and stores the data in a counter sample buffer. Full Topic
func (BlitCommandEncoderObject) SynchronizeResource ¶
func (b_ BlitCommandEncoderObject) SynchronizeResource(resource ResourceObject)
Encodes a command that synchronizes the CPU’s copy of a managed resource, such as a buffer or texture, so that it matches the GPU’s copy. Full Topic
func (BlitCommandEncoderObject) SynchronizeTextureSliceLevel ¶
func (b_ BlitCommandEncoderObject) SynchronizeTextureSliceLevel(texture TextureObject, slice uint, level uint)
Encodes a command that synchronizes a part of the CPU’s copy of a texture so that it matches the GPU’s copy. Full Topic
func (BlitCommandEncoderObject) UpdateFence ¶
func (b_ BlitCommandEncoderObject) UpdateFence(fence FenceObject)
Encodes a command that instructs the GPU to update a fence, which can signal a pass that’s waiting for it. Full Topic
func (BlitCommandEncoderObject) WaitForFence ¶
func (b_ BlitCommandEncoderObject) WaitForFence(fence FenceObject)
Encodes a command that instructs the GPU to wait until a pass updates a fence. Full Topic
type BlitOption ¶
type BlitOption uint
The options that enable behavior for some blit operations. Full Topic
const ( BlitOptionDepthFromDepthStencil BlitOption = 1 BlitOptionNone BlitOption = 0 BlitOptionRowLinearPVRTC BlitOption = 4 BlitOptionStencilFromDepthStencil BlitOption = 2 )
type BlitPassDescriptor ¶
A configuration you create to customize a blit command encoder, which affects the runtime behavior of the blit pass you encode with it. Full Topic
func BlitPassDescriptorFrom ¶
func BlitPassDescriptorFrom(ptr unsafe.Pointer) BlitPassDescriptor
func BlitPassDescriptor_BlitPassDescriptor ¶
func BlitPassDescriptor_BlitPassDescriptor() BlitPassDescriptor
Creates a new blit pass descriptor with a default configuration. Full Topic
func NewBlitPassDescriptor ¶
func NewBlitPassDescriptor() BlitPassDescriptor
func (BlitPassDescriptor) Init ¶
func (b_ BlitPassDescriptor) Init() BlitPassDescriptor
func (BlitPassDescriptor) SampleBufferAttachments ¶
func (b_ BlitPassDescriptor) SampleBufferAttachments() BlitPassSampleBufferAttachmentDescriptorArray
An array of counter sample buffer attachments that you configure for a blit pass. Full Topic
type BlitPassSampleBufferAttachmentDescriptor ¶
A configuration that instructs the GPU where to store counter data from the beginning and end of a blit pass. Full Topic
func BlitPassSampleBufferAttachmentDescriptorFrom ¶
func BlitPassSampleBufferAttachmentDescriptorFrom(ptr unsafe.Pointer) BlitPassSampleBufferAttachmentDescriptor
func NewBlitPassSampleBufferAttachmentDescriptor ¶
func NewBlitPassSampleBufferAttachmentDescriptor() BlitPassSampleBufferAttachmentDescriptor
func (BlitPassSampleBufferAttachmentDescriptor) EndOfEncoderSampleIndex ¶
func (b_ BlitPassSampleBufferAttachmentDescriptor) EndOfEncoderSampleIndex() uint
An index within a counter sample buffer that tells the GPU where to store counter data from the end of a blit pass. Full Topic
func (BlitPassSampleBufferAttachmentDescriptor) SampleBuffer ¶
func (b_ BlitPassSampleBufferAttachmentDescriptor) SampleBuffer() CounterSampleBufferObject
A specialized memory buffer that the GPU uses to store its counter data during the blit pass. Full Topic
func (BlitPassSampleBufferAttachmentDescriptor) SetEndOfEncoderSampleIndex ¶
func (b_ BlitPassSampleBufferAttachmentDescriptor) SetEndOfEncoderSampleIndex(value uint)
An index within a counter sample buffer that tells the GPU where to store counter data from the end of a blit pass. Full Topic
func (BlitPassSampleBufferAttachmentDescriptor) SetSampleBuffer ¶
func (b_ BlitPassSampleBufferAttachmentDescriptor) SetSampleBuffer(value PCounterSampleBuffer)
A specialized memory buffer that the GPU uses to store its counter data during the blit pass. Full Topic
func (BlitPassSampleBufferAttachmentDescriptor) SetSampleBufferObject ¶
func (b_ BlitPassSampleBufferAttachmentDescriptor) SetSampleBufferObject(valueObject objc.IObject)
A specialized memory buffer that the GPU uses to store its counter data during the blit pass. Full Topic
func (BlitPassSampleBufferAttachmentDescriptor) SetStartOfEncoderSampleIndex ¶
func (b_ BlitPassSampleBufferAttachmentDescriptor) SetStartOfEncoderSampleIndex(value uint)
An index within a counter sample buffer that tells the GPU where to store counter data from the start of a blit pass. Full Topic
func (BlitPassSampleBufferAttachmentDescriptor) StartOfEncoderSampleIndex ¶
func (b_ BlitPassSampleBufferAttachmentDescriptor) StartOfEncoderSampleIndex() uint
An index within a counter sample buffer that tells the GPU where to store counter data from the start of a blit pass. Full Topic
type BlitPassSampleBufferAttachmentDescriptorArray ¶
A container that stores an array of sample buffer attachments for a blit pass. Full Topic
func BlitPassSampleBufferAttachmentDescriptorArrayFrom ¶
func BlitPassSampleBufferAttachmentDescriptorArrayFrom(ptr unsafe.Pointer) BlitPassSampleBufferAttachmentDescriptorArray
func NewBlitPassSampleBufferAttachmentDescriptorArray ¶
func NewBlitPassSampleBufferAttachmentDescriptorArray() BlitPassSampleBufferAttachmentDescriptorArray
func (BlitPassSampleBufferAttachmentDescriptorArray) ObjectAtIndexedSubscript ¶
func (b_ BlitPassSampleBufferAttachmentDescriptorArray) ObjectAtIndexedSubscript(attachmentIndex uint) BlitPassSampleBufferAttachmentDescriptor
Returns one of the array’s blit pass sample buffer attachment descriptor instances. Full Topic
func (BlitPassSampleBufferAttachmentDescriptorArray) SetObjectAtIndexedSubscript ¶
func (b_ BlitPassSampleBufferAttachmentDescriptorArray) SetObjectAtIndexedSubscript(attachment IBlitPassSampleBufferAttachmentDescriptor, attachmentIndex uint)
Copies the properties of a blit pass sample buffer attachment descriptor instance to the properties of one of the array’s instances. Full Topic
type BufferLayoutDescriptor ¶
An object that configures how a function fetches input data for an attribute. Full Topic
func BufferLayoutDescriptorFrom ¶
func BufferLayoutDescriptorFrom(ptr unsafe.Pointer) BufferLayoutDescriptor
func NewBufferLayoutDescriptor ¶
func NewBufferLayoutDescriptor() BufferLayoutDescriptor
func (BufferLayoutDescriptor) Init ¶
func (b_ BufferLayoutDescriptor) Init() BufferLayoutDescriptor
func (BufferLayoutDescriptor) SetStepFunction ¶
func (b_ BufferLayoutDescriptor) SetStepFunction(value StepFunction)
Determines which aspect of command execution triggers data fetches. Full Topic
func (BufferLayoutDescriptor) SetStepRate ¶
func (b_ BufferLayoutDescriptor) SetStepRate(value uint)
The rate at which data is fetched by the step function. Full Topic
func (BufferLayoutDescriptor) SetStride ¶
func (b_ BufferLayoutDescriptor) SetStride(value uint)
The number of bytes between the first byte of two consecutive entries in a buffer. Full Topic
func (BufferLayoutDescriptor) StepFunction ¶
func (b_ BufferLayoutDescriptor) StepFunction() StepFunction
Determines which aspect of command execution triggers data fetches. Full Topic
func (BufferLayoutDescriptor) StepRate ¶
func (b_ BufferLayoutDescriptor) StepRate() uint
The rate at which data is fetched by the step function. Full Topic
func (BufferLayoutDescriptor) Stride ¶
func (b_ BufferLayoutDescriptor) Stride() uint
The number of bytes between the first byte of two consecutive entries in a buffer. Full Topic
type BufferLayoutDescriptorArray ¶
An array of buffer layout descriptor objects. Full Topic
func BufferLayoutDescriptorArrayFrom ¶
func BufferLayoutDescriptorArrayFrom(ptr unsafe.Pointer) BufferLayoutDescriptorArray
func NewBufferLayoutDescriptorArray ¶
func NewBufferLayoutDescriptorArray() BufferLayoutDescriptorArray
func (BufferLayoutDescriptorArray) Init ¶
func (b_ BufferLayoutDescriptorArray) Init() BufferLayoutDescriptorArray
func (BufferLayoutDescriptorArray) ObjectAtIndexedSubscript ¶
func (b_ BufferLayoutDescriptorArray) ObjectAtIndexedSubscript(index uint) BufferLayoutDescriptor
Returns the state of the specified buffer layout. Full Topic
func (BufferLayoutDescriptorArray) SetObjectAtIndexedSubscript ¶
func (b_ BufferLayoutDescriptorArray) SetObjectAtIndexedSubscript(bufferDesc IBufferLayoutDescriptor, index uint)
Sets the state of the specified buffer layout. Full Topic
type BufferObject ¶
A concrete type for the PBuffer protocol.
func (BufferObject) AddDebugMarkerRange ¶
func (b_ BufferObject) AddDebugMarkerRange(marker string, range_ foundation.Range)
Adds a debug marker string to a specific buffer range. Full Topic
func (BufferObject) Contents ¶
func (b_ BufferObject) Contents() unsafe.Pointer
Gets the system address of the buffer’s storage allocation. Full Topic
func (BufferObject) DidModifyRange ¶
func (b_ BufferObject) DidModifyRange(range_ foundation.Range)
Informs the GPU that the CPU has modified a section of the buffer. Full Topic
func (BufferObject) HasAddDebugMarkerRange ¶
func (b_ BufferObject) HasAddDebugMarkerRange() bool
func (BufferObject) HasContents ¶
func (b_ BufferObject) HasContents() bool
func (BufferObject) HasDidModifyRange ¶
func (b_ BufferObject) HasDidModifyRange() bool
func (BufferObject) HasLength ¶
func (b_ BufferObject) HasLength() bool
func (BufferObject) HasNewRemoteBufferViewForDevice ¶
func (b_ BufferObject) HasNewRemoteBufferViewForDevice() bool
func (BufferObject) HasNewTextureWithDescriptorOffsetBytesPerRow ¶
func (b_ BufferObject) HasNewTextureWithDescriptorOffsetBytesPerRow() bool
func (BufferObject) HasRemoteStorageBuffer ¶
func (b_ BufferObject) HasRemoteStorageBuffer() bool
func (BufferObject) HasRemoveAllDebugMarkers ¶
func (b_ BufferObject) HasRemoveAllDebugMarkers() bool
func (BufferObject) Length ¶
func (b_ BufferObject) Length() uint
The logical size of the buffer, in bytes. Full Topic
func (BufferObject) NewRemoteBufferViewForDevice ¶
func (b_ BufferObject) NewRemoteBufferViewForDevice(device DeviceObject) BufferObject
Creates a remote view of the buffer for another GPU in the same peer group. Full Topic
func (BufferObject) NewTextureWithDescriptorOffsetBytesPerRow ¶
func (b_ BufferObject) NewTextureWithDescriptorOffsetBytesPerRow(descriptor TextureDescriptor, offset uint, bytesPerRow uint) TextureObject
Creates a texture that shares its storage with the buffer. Full Topic
func (BufferObject) RemoteStorageBuffer ¶
func (b_ BufferObject) RemoteStorageBuffer() BufferObject
The buffer on another GPU that the buffer was created from, if any. Full Topic
func (BufferObject) RemoveAllDebugMarkers ¶
func (b_ BufferObject) RemoveAllDebugMarkers()
Removes all debug marker strings from the buffer. Full Topic
type CPUCacheMode ¶
type CPUCacheMode uint
Options for the CPU cache mode that define the CPU mapping of the resource. Full Topic
const ( CPUCacheModeDefaultCache CPUCacheMode = 0 CPUCacheModeWriteCombined CPUCacheMode = 1 )
type CaptureDescriptor ¶
A configuration for a Metal capture session. Full Topic
func CaptureDescriptorFrom ¶
func CaptureDescriptorFrom(ptr unsafe.Pointer) CaptureDescriptor
func NewCaptureDescriptor ¶
func NewCaptureDescriptor() CaptureDescriptor
func (CaptureDescriptor) CaptureObject ¶
func (c_ CaptureDescriptor) CaptureObject() objc.Object
The object whose contents should be captured. Full Topic
func (CaptureDescriptor) Destination ¶
func (c_ CaptureDescriptor) Destination() CaptureDestination
The destination for any captured command data. Full Topic
func (CaptureDescriptor) Init ¶
func (c_ CaptureDescriptor) Init() CaptureDescriptor
func (CaptureDescriptor) OutputURL ¶
func (c_ CaptureDescriptor) OutputURL() foundation.URL
A URL for a file to write the capture data into. Full Topic
func (CaptureDescriptor) SetCaptureObject ¶
func (c_ CaptureDescriptor) SetCaptureObject(value objc.IObject)
The object whose contents should be captured. Full Topic
func (CaptureDescriptor) SetDestination ¶
func (c_ CaptureDescriptor) SetDestination(value CaptureDestination)
The destination for any captured command data. Full Topic
func (CaptureDescriptor) SetOutputURL ¶
func (c_ CaptureDescriptor) SetOutputURL(value foundation.IURL)
A URL for a file to write the capture data into. Full Topic
type CaptureDestination ¶
type CaptureDestination int
The kinds of destinations for captured command data. Full Topic
const ( CaptureDestinationDeveloperTools CaptureDestination = 1 CaptureDestinationGPUTraceDocument CaptureDestination = 2 )
type CaptureError ¶
type CaptureError int
Errors returned by capture sessions. Full Topic
const ( CaptureErrorAlreadyCapturing CaptureError = 2 CaptureErrorInvalidDescriptor CaptureError = 3 CaptureErrorNotSupported CaptureError = 1 )
type CaptureManager ¶
An instance you use to capture Metal command data in your app. Full Topic
func CaptureManagerFrom ¶
func CaptureManagerFrom(ptr unsafe.Pointer) CaptureManager
func CaptureManager_SharedCaptureManager ¶
func CaptureManager_SharedCaptureManager() CaptureManager
Provides the shared capture manager for your Metal app. Full Topic
func NewCaptureManager ¶
func NewCaptureManager() CaptureManager
func (CaptureManager) DefaultCaptureScope ¶
func (c_ CaptureManager) DefaultCaptureScope() CaptureScopeObject
The capture scope to use when a capture is initiated in Xcode. Full Topic
func (CaptureManager) Init ¶
func (c_ CaptureManager) Init() CaptureManager
func (CaptureManager) IsCapturing ¶
func (c_ CaptureManager) IsCapturing() bool
A Boolean value that indicates whether Metal commands are being captured. Full Topic
func (CaptureManager) NewCaptureScopeWithCommandQueue ¶
func (c_ CaptureManager) NewCaptureScopeWithCommandQueue(commandQueue PCommandQueue) CaptureScopeObject
Creates a capture scope for commands submitted to a specific command queue. Full Topic
func (CaptureManager) NewCaptureScopeWithCommandQueueObject ¶
func (c_ CaptureManager) NewCaptureScopeWithCommandQueueObject(commandQueueObject objc.IObject) CaptureScopeObject
Creates a capture scope for commands submitted to a specific command queue. Full Topic
func (CaptureManager) NewCaptureScopeWithDevice ¶
func (c_ CaptureManager) NewCaptureScopeWithDevice(device PDevice) CaptureScopeObject
Creates a capture scope for commands submitted to a specific device object. Full Topic
func (CaptureManager) NewCaptureScopeWithDeviceObject ¶
func (c_ CaptureManager) NewCaptureScopeWithDeviceObject(deviceObject objc.IObject) CaptureScopeObject
Creates a capture scope for commands submitted to a specific device object. Full Topic
func (CaptureManager) SetDefaultCaptureScope ¶
func (c_ CaptureManager) SetDefaultCaptureScope(value PCaptureScope)
The capture scope to use when a capture is initiated in Xcode. Full Topic
func (CaptureManager) SetDefaultCaptureScopeObject ¶
func (c_ CaptureManager) SetDefaultCaptureScopeObject(valueObject objc.IObject)
The capture scope to use when a capture is initiated in Xcode. Full Topic
func (CaptureManager) StartCaptureWithDescriptorError ¶
func (c_ CaptureManager) StartCaptureWithDescriptorError(descriptor ICaptureDescriptor, error foundation.IError) bool
Starts capturing any of your app’s Metal commands, with the capture session defined by a descriptor object. Full Topic
func (CaptureManager) StopCapture ¶
func (c_ CaptureManager) StopCapture()
Stops capturing Metal commands. Full Topic
func (CaptureManager) SupportsDestination ¶
func (c_ CaptureManager) SupportsDestination(destination CaptureDestination) bool
Checks to see whether a particular capture destination is supported. Full Topic
type CaptureScopeObject ¶
A concrete type for the PCaptureScope protocol.
func (CaptureScopeObject) BeginScope ¶
func (c_ CaptureScopeObject) BeginScope()
Tells Metal to begin recording command information. Full Topic
func (CaptureScopeObject) CommandQueue ¶
func (c_ CaptureScopeObject) CommandQueue() CommandQueueObject
The command queue that this capture scope uses to limit which commands are recorded. Full Topic
func (CaptureScopeObject) Device ¶
func (c_ CaptureScopeObject) Device() DeviceObject
The device object from which you created the capture scope. Full Topic
func (CaptureScopeObject) EndScope ¶
func (c_ CaptureScopeObject) EndScope()
Tells Metal to stop recording command information. Full Topic
func (CaptureScopeObject) HasBeginScope ¶
func (c_ CaptureScopeObject) HasBeginScope() bool
func (CaptureScopeObject) HasCommandQueue ¶
func (c_ CaptureScopeObject) HasCommandQueue() bool
func (CaptureScopeObject) HasDevice ¶
func (c_ CaptureScopeObject) HasDevice() bool
func (CaptureScopeObject) HasEndScope ¶
func (c_ CaptureScopeObject) HasEndScope() bool
func (CaptureScopeObject) HasLabel ¶
func (c_ CaptureScopeObject) HasLabel() bool
func (CaptureScopeObject) HasSetLabel ¶
func (c_ CaptureScopeObject) HasSetLabel() bool
func (CaptureScopeObject) Label ¶
func (c_ CaptureScopeObject) Label() string
A string that identifies the capture scope. Full Topic
func (CaptureScopeObject) SetLabel ¶
func (c_ CaptureScopeObject) SetLabel(value string)
A string that identifies the capture scope. Full Topic
type ClearColor ¶
An RGBA value used for a color pixel. Full Topic
type ColorWriteMask ¶
type ColorWriteMask uint
Values used to specify a mask to permit or restrict writing to color channels of a color value. The values MTLColorWriteMaskRed, MTLColorWriteMaskGreen, MTLColorWriteMaskBlue, and MTLColorWriteMaskAlpha select one color channel each, and they can be bitwise combined. Full Topic
const ( ColorWriteMaskAll ColorWriteMask = 15 ColorWriteMaskAlpha ColorWriteMask = 1 ColorWriteMaskBlue ColorWriteMask = 2 ColorWriteMaskGreen ColorWriteMask = 4 ColorWriteMaskNone ColorWriteMask = 0 ColorWriteMaskRed ColorWriteMask = 8 )
type CommandBufferDescriptor ¶
A configuration that customizes the behavior for a new command buffer. Full Topic
func CommandBufferDescriptorFrom ¶
func CommandBufferDescriptorFrom(ptr unsafe.Pointer) CommandBufferDescriptor
func NewCommandBufferDescriptor ¶
func NewCommandBufferDescriptor() CommandBufferDescriptor
func (CommandBufferDescriptor) ErrorOptions ¶
func (c_ CommandBufferDescriptor) ErrorOptions() CommandBufferErrorOption
The reporting configuration that indicates which information the GPU driver stores in a command buffer’s error property. Full Topic
func (CommandBufferDescriptor) Init ¶
func (c_ CommandBufferDescriptor) Init() CommandBufferDescriptor
func (CommandBufferDescriptor) RetainedReferences ¶
func (c_ CommandBufferDescriptor) RetainedReferences() bool
A Boolean value that indicates whether the command buffer the descriptor creates maintains strong references to the resources it uses. Full Topic
func (CommandBufferDescriptor) SetErrorOptions ¶
func (c_ CommandBufferDescriptor) SetErrorOptions(value CommandBufferErrorOption)
The reporting configuration that indicates which information the GPU driver stores in a command buffer’s error property. Full Topic
func (CommandBufferDescriptor) SetRetainedReferences ¶
func (c_ CommandBufferDescriptor) SetRetainedReferences(value bool)
A Boolean value that indicates whether the command buffer the descriptor creates maintains strong references to the resources it uses. Full Topic
type CommandBufferEncoderInfoObject ¶
A concrete type for the PCommandBufferEncoderInfo protocol.
func (CommandBufferEncoderInfoObject) DebugSignposts ¶
func (c_ CommandBufferEncoderInfoObject) DebugSignposts() []string
An array of debug signposts that Metal records as the GPU executes the commands of the encoder’s pass. Full Topic
func (CommandBufferEncoderInfoObject) ErrorState ¶
func (c_ CommandBufferEncoderInfoObject) ErrorState() CommandEncoderErrorState
The execution status of the command encoder. Full Topic
func (CommandBufferEncoderInfoObject) HasDebugSignposts ¶
func (c_ CommandBufferEncoderInfoObject) HasDebugSignposts() bool
func (CommandBufferEncoderInfoObject) HasErrorState ¶
func (c_ CommandBufferEncoderInfoObject) HasErrorState() bool
func (CommandBufferEncoderInfoObject) HasLabel ¶
func (c_ CommandBufferEncoderInfoObject) HasLabel() bool
func (CommandBufferEncoderInfoObject) Label ¶
func (c_ CommandBufferEncoderInfoObject) Label() string
The name of the encoder that generates the error information. Full Topic
type CommandBufferError ¶
type CommandBufferError uint
Error codes that indicate why a command buffer is unable to finish its execution. Full Topic
const ( CommandBufferErrorAccessRevoked CommandBufferError = 4 CommandBufferErrorBlacklisted CommandBufferError = 4 CommandBufferErrorDeviceRemoved CommandBufferError = 11 CommandBufferErrorInternal CommandBufferError = 1 CommandBufferErrorInvalidResource CommandBufferError = 9 CommandBufferErrorMemoryless CommandBufferError = 10 CommandBufferErrorNone CommandBufferError = 0 CommandBufferErrorNotPermitted CommandBufferError = 7 CommandBufferErrorOutOfMemory CommandBufferError = 8 CommandBufferErrorPageFault CommandBufferError = 3 CommandBufferErrorStackOverflow CommandBufferError = 12 CommandBufferErrorTimeout CommandBufferError = 2 )
type CommandBufferErrorOption ¶
type CommandBufferErrorOption uint
Options for reporting errors from a command buffer. Full Topic
const ( CommandBufferErrorOptionEncoderExecutionStatus CommandBufferErrorOption = 1 CommandBufferErrorOptionNone CommandBufferErrorOption = 0 )
type CommandBufferHandler ¶
type CommandBufferHandler = func(arg0 CommandBufferObject)
A completion handler signature a GPU device calls when it finishes scheduling a command buffer, or when the GPU finishes running it. Full Topic
type CommandBufferObject ¶
A concrete type for the PCommandBuffer protocol.
func (CommandBufferObject) AccelerationStructureCommandEncoder ¶
func (c_ CommandBufferObject) AccelerationStructureCommandEncoder() AccelerationStructureCommandEncoderObject
Creates a ray-tracing acceleration structure command encoder that uses default settings. Full Topic
func (CommandBufferObject) AddCompletedHandler ¶
func (c_ CommandBufferObject) AddCompletedHandler(block CommandBufferHandler)
Registers a completion handler the GPU device calls immediately after the GPU finishes running the commands in the command buffer. Full Topic
func (CommandBufferObject) AddScheduledHandler ¶
func (c_ CommandBufferObject) AddScheduledHandler(block CommandBufferHandler)
Registers a completion handler the GPU device calls immediately after it schedules the command buffer to run on the GPU. Full Topic
func (CommandBufferObject) BlitCommandEncoder ¶
func (c_ CommandBufferObject) BlitCommandEncoder() BlitCommandEncoderObject
Creates a block information transfer (blit) encoder. Full Topic
func (CommandBufferObject) BlitCommandEncoderWithDescriptor ¶
func (c_ CommandBufferObject) BlitCommandEncoderWithDescriptor(blitPassDescriptor BlitPassDescriptor) BlitCommandEncoderObject
Creates a block information transfer (blit) encoder from a descriptor. Full Topic
func (CommandBufferObject) CommandQueue ¶
func (c_ CommandBufferObject) CommandQueue() CommandQueueObject
The command queue that creates the command buffer. Full Topic
func (CommandBufferObject) Commit ¶
func (c_ CommandBufferObject) Commit()
Submits the command buffer to run on the GPU. Full Topic
func (CommandBufferObject) ComputeCommandEncoder ¶
func (c_ CommandBufferObject) ComputeCommandEncoder() ComputeCommandEncoderObject
Creates a compute command encoder that uses default settings. Full Topic
func (CommandBufferObject) ComputeCommandEncoderWithDescriptor ¶
func (c_ CommandBufferObject) ComputeCommandEncoderWithDescriptor(computePassDescriptor ComputePassDescriptor) ComputeCommandEncoderObject
Creates a compute command encoder from a descriptor. Full Topic
func (CommandBufferObject) ComputeCommandEncoderWithDispatchType ¶
func (c_ CommandBufferObject) ComputeCommandEncoderWithDispatchType(dispatchType DispatchType) ComputeCommandEncoderObject
Creates a compute command encoder with a dispatch type. Full Topic
func (CommandBufferObject) Device ¶
func (c_ CommandBufferObject) Device() DeviceObject
The GPU device that indirectly owns the command buffer because you create it from a command queue the device also owns. Full Topic
func (CommandBufferObject) EncodeSignalEventValue ¶
func (c_ CommandBufferObject) EncodeSignalEventValue(event EventObject, value uint64)
Encodes a command into the command buffer that pauses the GPU from running subsequent passes until the event equals or exceeds a value. Full Topic
func (CommandBufferObject) EncodeWaitForEventValue ¶
func (c_ CommandBufferObject) EncodeWaitForEventValue(event EventObject, value uint64)
Encodes a command into the command buffer that pauses the GPU from running subsequent passes until the event equals or exceeds a value. Full Topic
func (CommandBufferObject) Enqueue ¶
func (c_ CommandBufferObject) Enqueue()
Reserves the next available place for the command buffer in its command queue. Full Topic
func (CommandBufferObject) Error ¶
func (c_ CommandBufferObject) Error() foundation.Error
A description of an error when the GPU encounters an issue as it runs the command buffer. Full Topic
func (CommandBufferObject) ErrorOptions ¶
func (c_ CommandBufferObject) ErrorOptions() CommandBufferErrorOption
Settings that determine which information the command buffer records about execution errors, and how it does it. Full Topic
func (CommandBufferObject) GPUEndTime ¶
func (c_ CommandBufferObject) GPUEndTime() corefoundation.TimeInterval
The host time, in seconds, when the GPU finishes execution of the command buffer. Full Topic
func (CommandBufferObject) GPUStartTime ¶
func (c_ CommandBufferObject) GPUStartTime() corefoundation.TimeInterval
The host time, in seconds, when the GPU starts command buffer execution. Full Topic
func (CommandBufferObject) HasAccelerationStructureCommandEncoder ¶
func (c_ CommandBufferObject) HasAccelerationStructureCommandEncoder() bool
func (CommandBufferObject) HasAddCompletedHandler ¶
func (c_ CommandBufferObject) HasAddCompletedHandler() bool
func (CommandBufferObject) HasAddScheduledHandler ¶
func (c_ CommandBufferObject) HasAddScheduledHandler() bool
func (CommandBufferObject) HasBlitCommandEncoder ¶
func (c_ CommandBufferObject) HasBlitCommandEncoder() bool
func (CommandBufferObject) HasBlitCommandEncoderWithDescriptor ¶
func (c_ CommandBufferObject) HasBlitCommandEncoderWithDescriptor() bool
func (CommandBufferObject) HasCommandQueue ¶
func (c_ CommandBufferObject) HasCommandQueue() bool
func (CommandBufferObject) HasCommit ¶
func (c_ CommandBufferObject) HasCommit() bool
func (CommandBufferObject) HasComputeCommandEncoder ¶
func (c_ CommandBufferObject) HasComputeCommandEncoder() bool
func (CommandBufferObject) HasComputeCommandEncoderWithDescriptor ¶
func (c_ CommandBufferObject) HasComputeCommandEncoderWithDescriptor() bool
func (CommandBufferObject) HasComputeCommandEncoderWithDispatchType ¶
func (c_ CommandBufferObject) HasComputeCommandEncoderWithDispatchType() bool
func (CommandBufferObject) HasDevice ¶
func (c_ CommandBufferObject) HasDevice() bool
func (CommandBufferObject) HasEncodeSignalEventValue ¶
func (c_ CommandBufferObject) HasEncodeSignalEventValue() bool
func (CommandBufferObject) HasEncodeWaitForEventValue ¶
func (c_ CommandBufferObject) HasEncodeWaitForEventValue() bool
func (CommandBufferObject) HasEnqueue ¶
func (c_ CommandBufferObject) HasEnqueue() bool
func (CommandBufferObject) HasError ¶
func (c_ CommandBufferObject) HasError() bool
func (CommandBufferObject) HasErrorOptions ¶
func (c_ CommandBufferObject) HasErrorOptions() bool
func (CommandBufferObject) HasGPUEndTime ¶
func (c_ CommandBufferObject) HasGPUEndTime() bool
func (CommandBufferObject) HasGPUStartTime ¶
func (c_ CommandBufferObject) HasGPUStartTime() bool
func (CommandBufferObject) HasKernelEndTime ¶
func (c_ CommandBufferObject) HasKernelEndTime() bool
func (CommandBufferObject) HasKernelStartTime ¶
func (c_ CommandBufferObject) HasKernelStartTime() bool
func (CommandBufferObject) HasLabel ¶
func (c_ CommandBufferObject) HasLabel() bool
func (CommandBufferObject) HasLogs ¶
func (c_ CommandBufferObject) HasLogs() bool
func (CommandBufferObject) HasParallelRenderCommandEncoderWithDescriptor ¶
func (c_ CommandBufferObject) HasParallelRenderCommandEncoderWithDescriptor() bool
func (CommandBufferObject) HasPopDebugGroup ¶
func (c_ CommandBufferObject) HasPopDebugGroup() bool
func (CommandBufferObject) HasPresentDrawable ¶
func (c_ CommandBufferObject) HasPresentDrawable() bool
func (CommandBufferObject) HasPresentDrawableAfterMinimumDuration ¶
func (c_ CommandBufferObject) HasPresentDrawableAfterMinimumDuration() bool
func (CommandBufferObject) HasPresentDrawableAtTime ¶
func (c_ CommandBufferObject) HasPresentDrawableAtTime() bool
func (CommandBufferObject) HasPushDebugGroup ¶
func (c_ CommandBufferObject) HasPushDebugGroup() bool
func (CommandBufferObject) HasRenderCommandEncoderWithDescriptor ¶
func (c_ CommandBufferObject) HasRenderCommandEncoderWithDescriptor() bool
func (CommandBufferObject) HasResourceStateCommandEncoder ¶
func (c_ CommandBufferObject) HasResourceStateCommandEncoder() bool
func (CommandBufferObject) HasResourceStateCommandEncoderWithDescriptor ¶
func (c_ CommandBufferObject) HasResourceStateCommandEncoderWithDescriptor() bool
func (CommandBufferObject) HasRetainedReferences ¶
func (c_ CommandBufferObject) HasRetainedReferences() bool
func (CommandBufferObject) HasSetLabel ¶
func (c_ CommandBufferObject) HasSetLabel() bool
func (CommandBufferObject) HasStatus ¶
func (c_ CommandBufferObject) HasStatus() bool
func (CommandBufferObject) HasWaitUntilCompleted ¶
func (c_ CommandBufferObject) HasWaitUntilCompleted() bool
func (CommandBufferObject) HasWaitUntilScheduled ¶
func (c_ CommandBufferObject) HasWaitUntilScheduled() bool
func (CommandBufferObject) KernelEndTime ¶
func (c_ CommandBufferObject) KernelEndTime() corefoundation.TimeInterval
The host time, in seconds, when the CPU finishes scheduling the command buffer. Full Topic
func (CommandBufferObject) KernelStartTime ¶
func (c_ CommandBufferObject) KernelStartTime() corefoundation.TimeInterval
The host time, in seconds, when the CPU begins to schedule the command buffer. Full Topic
func (CommandBufferObject) Label ¶
func (c_ CommandBufferObject) Label() string
An optional name that can help you identify the command buffer. Full Topic
func (CommandBufferObject) Logs ¶
func (c_ CommandBufferObject) Logs() LogContainerObject
The messages the command buffer records as the GPU runs its commands. Full Topic
func (CommandBufferObject) ParallelRenderCommandEncoderWithDescriptor ¶
func (c_ CommandBufferObject) ParallelRenderCommandEncoderWithDescriptor(renderPassDescriptor RenderPassDescriptor) ParallelRenderCommandEncoderObject
Creates a parallel render command encoder from a descriptor. Full Topic
func (CommandBufferObject) PopDebugGroup ¶
func (c_ CommandBufferObject) PopDebugGroup()
Marks the end of a debug group and, if applicable, restores the previous group from a stack. Full Topic
func (CommandBufferObject) PresentDrawable ¶
func (c_ CommandBufferObject) PresentDrawable(drawable DrawableObject)
Presents a drawable as early as possible. Full Topic
func (CommandBufferObject) PresentDrawableAfterMinimumDuration ¶
func (c_ CommandBufferObject) PresentDrawableAfterMinimumDuration(drawable DrawableObject, duration corefoundation.TimeInterval)
Presents a drawable after the system presents the previous drawable for an amount of time. Full Topic
func (CommandBufferObject) PresentDrawableAtTime ¶
func (c_ CommandBufferObject) PresentDrawableAtTime(drawable DrawableObject, presentationTime corefoundation.TimeInterval)
Presents a drawable at a specific time. Full Topic
func (CommandBufferObject) PushDebugGroup ¶
func (c_ CommandBufferObject) PushDebugGroup(string_ string)
Marks the beginning of a debug group and gives it an identifying label, which temporarily replaces the previous group, if applicable. Full Topic
func (CommandBufferObject) RenderCommandEncoderWithDescriptor ¶
func (c_ CommandBufferObject) RenderCommandEncoderWithDescriptor(renderPassDescriptor RenderPassDescriptor) RenderCommandEncoderObject
Creates a render command encoder from a descriptor. Full Topic
func (CommandBufferObject) ResourceStateCommandEncoder ¶
func (c_ CommandBufferObject) ResourceStateCommandEncoder() ResourceStateCommandEncoderObject
Creates a resource state command encoder that uses default settings. Full Topic
func (CommandBufferObject) ResourceStateCommandEncoderWithDescriptor ¶
func (c_ CommandBufferObject) ResourceStateCommandEncoderWithDescriptor(resourceStatePassDescriptor ResourceStatePassDescriptor) ResourceStateCommandEncoderObject
Creates a resource state command encoder from a descriptor. Full Topic
func (CommandBufferObject) RetainedReferences ¶
func (c_ CommandBufferObject) RetainedReferences() bool
A Boolean value that indicates whether the command buffer maintains strong references to the resources it uses. Full Topic
func (CommandBufferObject) SetLabel ¶
func (c_ CommandBufferObject) SetLabel(value string)
An optional name that can help you identify the command buffer. Full Topic
func (CommandBufferObject) Status ¶
func (c_ CommandBufferObject) Status() CommandBufferStatus
The command buffer’s current state. Full Topic
func (CommandBufferObject) WaitUntilCompleted ¶
func (c_ CommandBufferObject) WaitUntilCompleted()
Blocks the current thread until the GPU finishes executing the command buffer and all of its completion handlers. Full Topic
func (CommandBufferObject) WaitUntilScheduled ¶
func (c_ CommandBufferObject) WaitUntilScheduled()
Blocks the current thread until the command queue schedules the buffer. Full Topic
type CommandBufferStatus ¶
type CommandBufferStatus uint
The discrete states for a command buffer that represent its life cycle stages. Full Topic
const ( CommandBufferStatusCommitted CommandBufferStatus = 2 CommandBufferStatusCompleted CommandBufferStatus = 4 CommandBufferStatusEnqueued CommandBufferStatus = 1 CommandBufferStatusError CommandBufferStatus = 5 CommandBufferStatusNotEnqueued CommandBufferStatus = 0 CommandBufferStatusScheduled CommandBufferStatus = 3 )
type CommandEncoderErrorState ¶
type CommandEncoderErrorState int
Possible error conditions for the command encoder’s commands. Full Topic
const ( CommandEncoderErrorStateAffected CommandEncoderErrorState = 2 CommandEncoderErrorStateCompleted CommandEncoderErrorState = 1 CommandEncoderErrorStateFaulted CommandEncoderErrorState = 4 CommandEncoderErrorStatePending CommandEncoderErrorState = 3 CommandEncoderErrorStateUnknown CommandEncoderErrorState = 0 )
type CommandEncoderObject ¶
A concrete type for the PCommandEncoder protocol.
func (CommandEncoderObject) Device ¶
func (c_ CommandEncoderObject) Device() DeviceObject
The Metal device from which the command encoder was created. Full Topic
func (CommandEncoderObject) EndEncoding ¶
func (c_ CommandEncoderObject) EndEncoding()
Declares that all command generation from the encoder is completed. Full Topic
func (CommandEncoderObject) HasDevice ¶
func (c_ CommandEncoderObject) HasDevice() bool
func (CommandEncoderObject) HasEndEncoding ¶
func (c_ CommandEncoderObject) HasEndEncoding() bool
func (CommandEncoderObject) HasInsertDebugSignpost ¶
func (c_ CommandEncoderObject) HasInsertDebugSignpost() bool
func (CommandEncoderObject) HasLabel ¶
func (c_ CommandEncoderObject) HasLabel() bool
func (CommandEncoderObject) HasPopDebugGroup ¶
func (c_ CommandEncoderObject) HasPopDebugGroup() bool
func (CommandEncoderObject) HasPushDebugGroup ¶
func (c_ CommandEncoderObject) HasPushDebugGroup() bool
func (CommandEncoderObject) HasSetLabel ¶
func (c_ CommandEncoderObject) HasSetLabel() bool
func (CommandEncoderObject) InsertDebugSignpost ¶
func (c_ CommandEncoderObject) InsertDebugSignpost(string_ string)
Inserts a debug string into the captured frame data. Full Topic
func (CommandEncoderObject) Label ¶
func (c_ CommandEncoderObject) Label() string
A string that labels the command encoder. Full Topic
func (CommandEncoderObject) PopDebugGroup ¶
func (c_ CommandEncoderObject) PopDebugGroup()
Pops the latest string off of a stack of debug group strings for the command encoder. Full Topic
func (CommandEncoderObject) PushDebugGroup ¶
func (c_ CommandEncoderObject) PushDebugGroup(string_ string)
Pushes a specific string onto a stack of debug group strings for the command encoder. Full Topic
func (CommandEncoderObject) SetLabel ¶
func (c_ CommandEncoderObject) SetLabel(value string)
A string that labels the command encoder. Full Topic
type CommandQueueObject ¶
A concrete type for the PCommandQueue protocol.
func (CommandQueueObject) CommandBuffer ¶
func (c_ CommandQueueObject) CommandBuffer() CommandBufferObject
Returns a command buffer from the command queue that maintains strong references to resources. Full Topic
func (CommandQueueObject) CommandBufferWithDescriptor ¶
func (c_ CommandQueueObject) CommandBufferWithDescriptor(descriptor CommandBufferDescriptor) CommandBufferObject
Returns a command buffer from the command queue that you configure with a descriptor. Full Topic
func (CommandQueueObject) CommandBufferWithUnretainedReferences ¶
func (c_ CommandQueueObject) CommandBufferWithUnretainedReferences() CommandBufferObject
Returns a command buffer from the command queue that doesn’t maintain strong references to resources. Full Topic
func (CommandQueueObject) Device ¶
func (c_ CommandQueueObject) Device() DeviceObject
The GPU device that creates the command queue. Full Topic
func (CommandQueueObject) HasCommandBuffer ¶
func (c_ CommandQueueObject) HasCommandBuffer() bool
func (CommandQueueObject) HasCommandBufferWithDescriptor ¶
func (c_ CommandQueueObject) HasCommandBufferWithDescriptor() bool
func (CommandQueueObject) HasCommandBufferWithUnretainedReferences ¶
func (c_ CommandQueueObject) HasCommandBufferWithUnretainedReferences() bool
func (CommandQueueObject) HasDevice ¶
func (c_ CommandQueueObject) HasDevice() bool
func (CommandQueueObject) HasLabel ¶
func (c_ CommandQueueObject) HasLabel() bool
func (CommandQueueObject) HasSetLabel ¶
func (c_ CommandQueueObject) HasSetLabel() bool
func (CommandQueueObject) Label ¶
func (c_ CommandQueueObject) Label() string
An optional name that can help you identify the command queue. Full Topic
func (CommandQueueObject) SetLabel ¶
func (c_ CommandQueueObject) SetLabel(value string)
An optional name that can help you identify the command queue. Full Topic
type CommonCounter ¶
type CommonCounter string
The name of a specific counter that can appear in a GPU device’s counter sets. Full Topic
const ( CommonCounterClipperInvocations CommonCounter = "ClipperInvocations" CommonCounterClipperPrimitivesOut CommonCounter = "ClipperPrimitivesOut" CommonCounterComputeKernelInvocations CommonCounter = "KernelInvocations" CommonCounterFragmentCycles CommonCounter = "FragmentCycles" CommonCounterFragmentInvocations CommonCounter = "FragmentInvocations" CommonCounterFragmentsPassed CommonCounter = "FragmentsPassed" CommonCounterPostTessellationVertexCycles CommonCounter = "PostTessellationCycles" CommonCounterPostTessellationVertexInvocations CommonCounter = "PostTessellationVertexInvocations" CommonCounterRenderTargetWriteCycles CommonCounter = "RenderTargetWriteCycles" CommonCounterTessellationCycles CommonCounter = "TessellationCycles" CommonCounterTessellationInputPatches CommonCounter = "TessellationInputPatches" CommonCounterTimestamp CommonCounter = "GPUTimestamp" CommonCounterTotalCycles CommonCounter = "TotalCycles" CommonCounterVertexCycles CommonCounter = "VertexCycles" CommonCounterVertexInvocations CommonCounter = "VertexInvocations" )
type CommonCounterSet ¶
type CommonCounterSet string
The name of a specific counter set that a GPU device can support. Full Topic
const ( CommonCounterSetStageUtilization CommonCounterSet = "stageutilization" CommonCounterSetStatistic CommonCounterSet = "statistic" CommonCounterSetTimestamp CommonCounterSet = "timestamp" )
type CompareFunction ¶
type CompareFunction uint
Options used to specify how a sample compare operation should be performed on a depth texture. Full Topic
const ( CompareFunctionAlways CompareFunction = 7 CompareFunctionEqual CompareFunction = 2 CompareFunctionGreater CompareFunction = 4 CompareFunctionGreaterEqual CompareFunction = 6 CompareFunctionLess CompareFunction = 1 CompareFunctionLessEqual CompareFunction = 3 CompareFunctionNever CompareFunction = 0 CompareFunctionNotEqual CompareFunction = 5 )
type CompileOptions ¶
Compilation settings for a Metal shader library. Full Topic
func CompileOptionsFrom ¶
func CompileOptionsFrom(ptr unsafe.Pointer) CompileOptions
func NewCompileOptions ¶
func NewCompileOptions() CompileOptions
func (CompileOptions) FastMathEnabled ¶
func (c_ CompileOptions) FastMathEnabled() bool
A Boolean value that indicates whether the compiler can perform optimizations for floating-point arithmetic that may violate the IEEE 754 standard. Full Topic
func (CompileOptions) Init ¶
func (c_ CompileOptions) Init() CompileOptions
func (CompileOptions) InstallName ¶
func (c_ CompileOptions) InstallName() string
For a dynamic library, the name to use when installing the library. Full Topic
func (CompileOptions) LanguageVersion ¶
func (c_ CompileOptions) LanguageVersion() LanguageVersion
The language version used to interpret the library source code. Full Topic
func (CompileOptions) Libraries ¶
func (c_ CompileOptions) Libraries() []DynamicLibraryObject
An array of dynamic libraries the Metal compiler links against. Full Topic
func (CompileOptions) LibraryType ¶
func (c_ CompileOptions) LibraryType() LibraryType
The kind of library to create. Full Topic
func (CompileOptions) PreprocessorMacros ¶
func (c_ CompileOptions) PreprocessorMacros() map[string]objc.Object
A list of preprocessor macros to apply when compiling the library source. Full Topic
func (CompileOptions) PreserveInvariance ¶
func (c_ CompileOptions) PreserveInvariance() bool
A Boolean value that indicates whether the compiler should compile vertex shaders conservatively to generate consistent position calculations. Full Topic
func (CompileOptions) SetFastMathEnabled ¶
func (c_ CompileOptions) SetFastMathEnabled(value bool)
A Boolean value that indicates whether the compiler can perform optimizations for floating-point arithmetic that may violate the IEEE 754 standard. Full Topic
func (CompileOptions) SetInstallName ¶
func (c_ CompileOptions) SetInstallName(value string)
For a dynamic library, the name to use when installing the library. Full Topic
func (CompileOptions) SetLanguageVersion ¶
func (c_ CompileOptions) SetLanguageVersion(value LanguageVersion)
The language version used to interpret the library source code. Full Topic
func (CompileOptions) SetLibraries ¶
func (c_ CompileOptions) SetLibraries(value []PDynamicLibrary)
An array of dynamic libraries the Metal compiler links against. Full Topic
func (CompileOptions) SetLibraryType ¶
func (c_ CompileOptions) SetLibraryType(value LibraryType)
The kind of library to create. Full Topic
func (CompileOptions) SetPreprocessorMacros ¶
func (c_ CompileOptions) SetPreprocessorMacros(value map[string]objc.IObject)
A list of preprocessor macros to apply when compiling the library source. Full Topic
func (CompileOptions) SetPreserveInvariance ¶
func (c_ CompileOptions) SetPreserveInvariance(value bool)
A Boolean value that indicates whether the compiler should compile vertex shaders conservatively to generate consistent position calculations. Full Topic
type ComputeCommandEncoderObject ¶
A concrete type for the PComputeCommandEncoder protocol.
func (ComputeCommandEncoderObject) DispatchThreadgroupsThreadsPerThreadgroup ¶
func (c_ ComputeCommandEncoderObject) DispatchThreadgroupsThreadsPerThreadgroup(threadgroupsPerGrid Size, threadsPerThreadgroup Size)
Encodes a compute command using a grid aligned to threadgroup boundaries. Full Topic
func (ComputeCommandEncoderObject) DispatchThreadgroupsWithIndirectBufferIndirectBufferOffsetThreadsPerThreadgroup ¶
func (c_ ComputeCommandEncoderObject) DispatchThreadgroupsWithIndirectBufferIndirectBufferOffsetThreadsPerThreadgroup(indirectBuffer BufferObject, indirectBufferOffset uint, threadsPerThreadgroup Size)
Encodes a dispatch call for a compute pass, using an indirect buffer that defines the size of a grid aligned to threadgroup boundaries. Full Topic
func (ComputeCommandEncoderObject) DispatchThreadsThreadsPerThreadgroup ¶
func (c_ ComputeCommandEncoderObject) DispatchThreadsThreadsPerThreadgroup(threadsPerGrid Size, threadsPerThreadgroup Size)
Encodes a compute command using an arbitrarily sized grid. Full Topic
func (ComputeCommandEncoderObject) DispatchType ¶
func (c_ ComputeCommandEncoderObject) DispatchType() DispatchType
The strategy to use when dispatching commands encoded by the compute command encoder. Full Topic
func (ComputeCommandEncoderObject) ExecuteCommandsInBufferIndirectBufferIndirectBufferOffset ¶
func (c_ ComputeCommandEncoderObject) ExecuteCommandsInBufferIndirectBufferIndirectBufferOffset(indirectCommandbuffer IndirectCommandBufferObject, indirectRangeBuffer BufferObject, indirectBufferOffset uint)
Encodes a command to execute commands in an indirect command buffer, specifying the range indirectly. Full Topic
func (ComputeCommandEncoderObject) ExecuteCommandsInBufferWithRange ¶
func (c_ ComputeCommandEncoderObject) ExecuteCommandsInBufferWithRange(indirectCommandBuffer IndirectCommandBufferObject, executionRange foundation.Range)
Encodes a command to execute commands in an indirect command buffer. Full Topic
func (ComputeCommandEncoderObject) HasDispatchThreadgroupsThreadsPerThreadgroup ¶
func (c_ ComputeCommandEncoderObject) HasDispatchThreadgroupsThreadsPerThreadgroup() bool
func (ComputeCommandEncoderObject) HasDispatchThreadgroupsWithIndirectBufferIndirectBufferOffsetThreadsPerThreadgroup ¶
func (c_ ComputeCommandEncoderObject) HasDispatchThreadgroupsWithIndirectBufferIndirectBufferOffsetThreadsPerThreadgroup() bool
func (ComputeCommandEncoderObject) HasDispatchThreadsThreadsPerThreadgroup ¶
func (c_ ComputeCommandEncoderObject) HasDispatchThreadsThreadsPerThreadgroup() bool
func (ComputeCommandEncoderObject) HasDispatchType ¶
func (c_ ComputeCommandEncoderObject) HasDispatchType() bool
func (ComputeCommandEncoderObject) HasExecuteCommandsInBufferIndirectBufferIndirectBufferOffset ¶
func (c_ ComputeCommandEncoderObject) HasExecuteCommandsInBufferIndirectBufferIndirectBufferOffset() bool
func (ComputeCommandEncoderObject) HasExecuteCommandsInBufferWithRange ¶
func (c_ ComputeCommandEncoderObject) HasExecuteCommandsInBufferWithRange() bool
func (ComputeCommandEncoderObject) HasMemoryBarrierWithResourcesCount ¶
func (c_ ComputeCommandEncoderObject) HasMemoryBarrierWithResourcesCount() bool
func (ComputeCommandEncoderObject) HasMemoryBarrierWithScope ¶
func (c_ ComputeCommandEncoderObject) HasMemoryBarrierWithScope() bool
func (ComputeCommandEncoderObject) HasSampleCountersInBufferAtSampleIndexWithBarrier ¶
func (c_ ComputeCommandEncoderObject) HasSampleCountersInBufferAtSampleIndexWithBarrier() bool
func (ComputeCommandEncoderObject) HasSetAccelerationStructureAtBufferIndex ¶
func (c_ ComputeCommandEncoderObject) HasSetAccelerationStructureAtBufferIndex() bool
func (ComputeCommandEncoderObject) HasSetBufferOffsetAtIndex ¶
func (c_ ComputeCommandEncoderObject) HasSetBufferOffsetAtIndex() bool
func (ComputeCommandEncoderObject) HasSetBufferOffsetAtIndex_ ¶
func (c_ ComputeCommandEncoderObject) HasSetBufferOffsetAtIndex_() bool
func (ComputeCommandEncoderObject) HasSetBuffersOffsetsWithRange ¶
func (c_ ComputeCommandEncoderObject) HasSetBuffersOffsetsWithRange() bool
func (ComputeCommandEncoderObject) HasSetBytesLengthAtIndex ¶
func (c_ ComputeCommandEncoderObject) HasSetBytesLengthAtIndex() bool
func (ComputeCommandEncoderObject) HasSetComputePipelineState ¶
func (c_ ComputeCommandEncoderObject) HasSetComputePipelineState() bool
func (ComputeCommandEncoderObject) HasSetImageblockWidthHeight ¶
func (c_ ComputeCommandEncoderObject) HasSetImageblockWidthHeight() bool
func (ComputeCommandEncoderObject) HasSetIntersectionFunctionTableAtBufferIndex ¶
func (c_ ComputeCommandEncoderObject) HasSetIntersectionFunctionTableAtBufferIndex() bool
func (ComputeCommandEncoderObject) HasSetIntersectionFunctionTablesWithBufferRange ¶
func (c_ ComputeCommandEncoderObject) HasSetIntersectionFunctionTablesWithBufferRange() bool
func (ComputeCommandEncoderObject) HasSetSamplerStateAtIndex ¶
func (c_ ComputeCommandEncoderObject) HasSetSamplerStateAtIndex() bool
func (ComputeCommandEncoderObject) HasSetSamplerStateLodMinClampLodMaxClampAtIndex ¶
func (c_ ComputeCommandEncoderObject) HasSetSamplerStateLodMinClampLodMaxClampAtIndex() bool
func (ComputeCommandEncoderObject) HasSetSamplerStatesLodMinClampsLodMaxClampsWithRange ¶
func (c_ ComputeCommandEncoderObject) HasSetSamplerStatesLodMinClampsLodMaxClampsWithRange() bool
func (ComputeCommandEncoderObject) HasSetSamplerStatesWithRange ¶
func (c_ ComputeCommandEncoderObject) HasSetSamplerStatesWithRange() bool
func (ComputeCommandEncoderObject) HasSetStageInRegion ¶
func (c_ ComputeCommandEncoderObject) HasSetStageInRegion() bool
func (ComputeCommandEncoderObject) HasSetStageInRegionWithIndirectBufferIndirectBufferOffset ¶
func (c_ ComputeCommandEncoderObject) HasSetStageInRegionWithIndirectBufferIndirectBufferOffset() bool
func (ComputeCommandEncoderObject) HasSetTextureAtIndex ¶
func (c_ ComputeCommandEncoderObject) HasSetTextureAtIndex() bool
func (ComputeCommandEncoderObject) HasSetTexturesWithRange ¶
func (c_ ComputeCommandEncoderObject) HasSetTexturesWithRange() bool
func (ComputeCommandEncoderObject) HasSetThreadgroupMemoryLengthAtIndex ¶
func (c_ ComputeCommandEncoderObject) HasSetThreadgroupMemoryLengthAtIndex() bool
func (ComputeCommandEncoderObject) HasSetVisibleFunctionTableAtBufferIndex ¶
func (c_ ComputeCommandEncoderObject) HasSetVisibleFunctionTableAtBufferIndex() bool
func (ComputeCommandEncoderObject) HasSetVisibleFunctionTablesWithBufferRange ¶
func (c_ ComputeCommandEncoderObject) HasSetVisibleFunctionTablesWithBufferRange() bool
func (ComputeCommandEncoderObject) HasUpdateFence ¶
func (c_ ComputeCommandEncoderObject) HasUpdateFence() bool
func (ComputeCommandEncoderObject) HasUseHeap ¶
func (c_ ComputeCommandEncoderObject) HasUseHeap() bool
func (ComputeCommandEncoderObject) HasUseHeapsCount ¶
func (c_ ComputeCommandEncoderObject) HasUseHeapsCount() bool
func (ComputeCommandEncoderObject) HasUseResourceUsage ¶
func (c_ ComputeCommandEncoderObject) HasUseResourceUsage() bool
func (ComputeCommandEncoderObject) HasUseResourcesCountUsage ¶
func (c_ ComputeCommandEncoderObject) HasUseResourcesCountUsage() bool
func (ComputeCommandEncoderObject) HasWaitForFence ¶
func (c_ ComputeCommandEncoderObject) HasWaitForFence() bool
func (ComputeCommandEncoderObject) MemoryBarrierWithResourcesCount ¶
func (c_ ComputeCommandEncoderObject) MemoryBarrierWithResourcesCount(resources ResourceObject, count uint)
Encodes a barrier so that changes to a set of resources made by commands encoded before the barrier are completed before further commands are executed. Full Topic
func (ComputeCommandEncoderObject) MemoryBarrierWithScope ¶
func (c_ ComputeCommandEncoderObject) MemoryBarrierWithScope(scope BarrierScope)
Encodes a barrier so that changes to a set of resource types made by commands encoded before the barrier are completed before further commands are executed. Full Topic
func (ComputeCommandEncoderObject) SampleCountersInBufferAtSampleIndexWithBarrier ¶
func (c_ ComputeCommandEncoderObject) SampleCountersInBufferAtSampleIndexWithBarrier(sampleBuffer CounterSampleBufferObject, sampleIndex uint, barrier bool)
Encodes a command to sample hardware counters at this point in the compute pass and store the samples into a counter sample buffer. Full Topic
func (ComputeCommandEncoderObject) SetAccelerationStructureAtBufferIndex ¶
func (c_ ComputeCommandEncoderObject) SetAccelerationStructureAtBufferIndex(accelerationStructure AccelerationStructureObject, bufferIndex uint)
Sets an acceleration structure for the compute function. Full Topic
func (ComputeCommandEncoderObject) SetBufferOffsetAtIndex ¶
func (c_ ComputeCommandEncoderObject) SetBufferOffsetAtIndex(offset uint, index uint)
Sets where the data begins in a buffer already bound to the compute shader. Full Topic
func (ComputeCommandEncoderObject) SetBufferOffsetAtIndex_ ¶
func (c_ ComputeCommandEncoderObject) SetBufferOffsetAtIndex_(buffer BufferObject, offset uint, index uint)
Sets a buffer for the compute function. Full Topic
func (ComputeCommandEncoderObject) SetBuffersOffsetsWithRange ¶
func (c_ ComputeCommandEncoderObject) SetBuffersOffsetsWithRange(buffers BufferObject, offsets *uint, range_ foundation.Range)
Sets an array of buffers for the compute function. Full Topic
func (ComputeCommandEncoderObject) SetBytesLengthAtIndex ¶
func (c_ ComputeCommandEncoderObject) SetBytesLengthAtIndex(bytes unsafe.Pointer, length uint, index uint)
Sets a block of data for the compute shader. Full Topic
func (ComputeCommandEncoderObject) SetComputePipelineState ¶
func (c_ ComputeCommandEncoderObject) SetComputePipelineState(state ComputePipelineStateObject)
Sets the current compute pipeline state object. Full Topic
func (ComputeCommandEncoderObject) SetImageblockWidthHeight ¶
func (c_ ComputeCommandEncoderObject) SetImageblockWidthHeight(width uint, height uint)
Sets the size, in pixels, of the imageblock. Full Topic
func (ComputeCommandEncoderObject) SetIntersectionFunctionTableAtBufferIndex ¶
func (c_ ComputeCommandEncoderObject) SetIntersectionFunctionTableAtBufferIndex(intersectionFunctionTable IntersectionFunctionTableObject, bufferIndex uint)
Sets a intersection function table for the compute function. Full Topic
func (ComputeCommandEncoderObject) SetIntersectionFunctionTablesWithBufferRange ¶
func (c_ ComputeCommandEncoderObject) SetIntersectionFunctionTablesWithBufferRange(intersectionFunctionTables IntersectionFunctionTableObject, range_ foundation.Range)
Sets an array of intersection function tables for the compute function. Full Topic
func (ComputeCommandEncoderObject) SetSamplerStateAtIndex ¶
func (c_ ComputeCommandEncoderObject) SetSamplerStateAtIndex(sampler SamplerStateObject, index uint)
Sets a sampler for the compute function. Full Topic
func (ComputeCommandEncoderObject) SetSamplerStateLodMinClampLodMaxClampAtIndex ¶
func (c_ ComputeCommandEncoderObject) SetSamplerStateLodMinClampLodMaxClampAtIndex(sampler SamplerStateObject, lodMinClamp float64, lodMaxClamp float64, index uint)
Sets a sampler for the compute function, specifying clamp values for the level of detail. Full Topic
func (ComputeCommandEncoderObject) SetSamplerStatesLodMinClampsLodMaxClampsWithRange ¶
func (c_ ComputeCommandEncoderObject) SetSamplerStatesLodMinClampsLodMaxClampsWithRange(samplers SamplerStateObject, lodMinClamps *float64, lodMaxClamps *float64, range_ foundation.Range)
Sets multiple samplers for the compute function, specifying clamp values for the level of detail of each sampler. Full Topic
func (ComputeCommandEncoderObject) SetSamplerStatesWithRange ¶
func (c_ ComputeCommandEncoderObject) SetSamplerStatesWithRange(samplers SamplerStateObject, range_ foundation.Range)
Sets multiple samplers for the compute function. Full Topic
func (ComputeCommandEncoderObject) SetStageInRegion ¶
func (c_ ComputeCommandEncoderObject) SetStageInRegion(region Region)
Sets the region of the stage-in attributes to apply to the compute kernel. Full Topic
func (ComputeCommandEncoderObject) SetStageInRegionWithIndirectBufferIndirectBufferOffset ¶
func (c_ ComputeCommandEncoderObject) SetStageInRegionWithIndirectBufferIndirectBufferOffset(indirectBuffer BufferObject, indirectBufferOffset uint)
Sets the region of the stage-in attributes to apply to the compute kernel using an indirect buffer. Full Topic
func (ComputeCommandEncoderObject) SetTextureAtIndex ¶
func (c_ ComputeCommandEncoderObject) SetTextureAtIndex(texture TextureObject, index uint)
Sets a texture for the compute function. Full Topic
func (ComputeCommandEncoderObject) SetTexturesWithRange ¶
func (c_ ComputeCommandEncoderObject) SetTexturesWithRange(textures TextureObject, range_ foundation.Range)
Sets an array of textures for the compute function. Full Topic
func (ComputeCommandEncoderObject) SetThreadgroupMemoryLengthAtIndex ¶
func (c_ ComputeCommandEncoderObject) SetThreadgroupMemoryLengthAtIndex(length uint, index uint)
Sets the size of a block of threadgroup memory. Full Topic
func (ComputeCommandEncoderObject) SetVisibleFunctionTableAtBufferIndex ¶
func (c_ ComputeCommandEncoderObject) SetVisibleFunctionTableAtBufferIndex(visibleFunctionTable VisibleFunctionTableObject, bufferIndex uint)
Sets a visible function table for the compute function. Full Topic
func (ComputeCommandEncoderObject) SetVisibleFunctionTablesWithBufferRange ¶
func (c_ ComputeCommandEncoderObject) SetVisibleFunctionTablesWithBufferRange(visibleFunctionTables VisibleFunctionTableObject, range_ foundation.Range)
Sets an array of visible function tables for the compute function. Full Topic
func (ComputeCommandEncoderObject) UpdateFence ¶
func (c_ ComputeCommandEncoderObject) UpdateFence(fence FenceObject)
Tells the GPU to update the fence after all commands encoded by the compute command encoder have finished executing. Full Topic
func (ComputeCommandEncoderObject) UseHeap ¶
func (c_ ComputeCommandEncoderObject) UseHeap(heap HeapObject)
Specifies that a heap containing resources in an argument buffer can be safely used by a compute pass. Full Topic
func (ComputeCommandEncoderObject) UseHeapsCount ¶
func (c_ ComputeCommandEncoderObject) UseHeapsCount(heaps HeapObject, count uint)
Specifies that an array of heaps containing resources in an argument buffer can be safely used by a compute pass. Full Topic
func (ComputeCommandEncoderObject) UseResourceUsage ¶
func (c_ ComputeCommandEncoderObject) UseResourceUsage(resource ResourceObject, usage ResourceUsage)
Specifies that a resource in an argument buffer can be safely used by a compute pass. Full Topic
func (ComputeCommandEncoderObject) UseResourcesCountUsage ¶
func (c_ ComputeCommandEncoderObject) UseResourcesCountUsage(resources ResourceObject, count uint, usage ResourceUsage)
Specifies that an array of resources in an argument buffer can be safely used by a compute pass. Full Topic
func (ComputeCommandEncoderObject) WaitForFence ¶
func (c_ ComputeCommandEncoderObject) WaitForFence(fence FenceObject)
Tells the GPU to wait until the fence is updated before executing any commands encoded by the compute command encoder. Full Topic
type ComputePassDescriptor ¶
A configuration for a compute pass for creating a compute command encoder. Full Topic
func ComputePassDescriptorFrom ¶
func ComputePassDescriptorFrom(ptr unsafe.Pointer) ComputePassDescriptor
func ComputePassDescriptor_ComputePassDescriptor ¶
func ComputePassDescriptor_ComputePassDescriptor() ComputePassDescriptor
Creates a default compute pass descriptor. Full Topic
func NewComputePassDescriptor ¶
func NewComputePassDescriptor() ComputePassDescriptor
func (ComputePassDescriptor) DispatchType ¶
func (c_ ComputePassDescriptor) DispatchType() DispatchType
The strategy to use for dispatching any compute commands encoded in the compute pass. Full Topic
func (ComputePassDescriptor) Init ¶
func (c_ ComputePassDescriptor) Init() ComputePassDescriptor
func (ComputePassDescriptor) SampleBufferAttachments ¶
func (c_ ComputePassDescriptor) SampleBufferAttachments() ComputePassSampleBufferAttachmentDescriptorArray
The array of sample buffers that the compute pass can access. Full Topic
func (ComputePassDescriptor) SetDispatchType ¶
func (c_ ComputePassDescriptor) SetDispatchType(value DispatchType)
The strategy to use for dispatching any compute commands encoded in the compute pass. Full Topic
type ComputePassSampleBufferAttachmentDescriptor ¶
A description of where to store GPU counter information at the start and end of a compute pass. Full Topic
func ComputePassSampleBufferAttachmentDescriptorFrom ¶
func ComputePassSampleBufferAttachmentDescriptorFrom(ptr unsafe.Pointer) ComputePassSampleBufferAttachmentDescriptor
func NewComputePassSampleBufferAttachmentDescriptor ¶
func NewComputePassSampleBufferAttachmentDescriptor() ComputePassSampleBufferAttachmentDescriptor
func (ComputePassSampleBufferAttachmentDescriptor) EndOfEncoderSampleIndex ¶
func (c_ ComputePassSampleBufferAttachmentDescriptor) EndOfEncoderSampleIndex() uint
The index the Metal device object uses to store GPU counters when ending the compute pass. Full Topic
func (ComputePassSampleBufferAttachmentDescriptor) SampleBuffer ¶
func (c_ ComputePassSampleBufferAttachmentDescriptor) SampleBuffer() CounterSampleBufferObject
A specialized memory buffer that the GPU uses to store its counter data during the compute pass. Full Topic
func (ComputePassSampleBufferAttachmentDescriptor) SetEndOfEncoderSampleIndex ¶
func (c_ ComputePassSampleBufferAttachmentDescriptor) SetEndOfEncoderSampleIndex(value uint)
The index the Metal device object uses to store GPU counters when ending the compute pass. Full Topic
func (ComputePassSampleBufferAttachmentDescriptor) SetSampleBuffer ¶
func (c_ ComputePassSampleBufferAttachmentDescriptor) SetSampleBuffer(value PCounterSampleBuffer)
A specialized memory buffer that the GPU uses to store its counter data during the compute pass. Full Topic
func (ComputePassSampleBufferAttachmentDescriptor) SetSampleBufferObject ¶
func (c_ ComputePassSampleBufferAttachmentDescriptor) SetSampleBufferObject(valueObject objc.IObject)
A specialized memory buffer that the GPU uses to store its counter data during the compute pass. Full Topic
func (ComputePassSampleBufferAttachmentDescriptor) SetStartOfEncoderSampleIndex ¶
func (c_ ComputePassSampleBufferAttachmentDescriptor) SetStartOfEncoderSampleIndex(value uint)
The index the Metal device object uses to store GPU counters when starting the compute pass. Full Topic
func (ComputePassSampleBufferAttachmentDescriptor) StartOfEncoderSampleIndex ¶
func (c_ ComputePassSampleBufferAttachmentDescriptor) StartOfEncoderSampleIndex() uint
The index the Metal device object uses to store GPU counters when starting the compute pass. Full Topic
type ComputePassSampleBufferAttachmentDescriptorArray ¶
An array of sample buffer attachments for a compute pass. Full Topic
func ComputePassSampleBufferAttachmentDescriptorArrayFrom ¶
func ComputePassSampleBufferAttachmentDescriptorArrayFrom(ptr unsafe.Pointer) ComputePassSampleBufferAttachmentDescriptorArray
func NewComputePassSampleBufferAttachmentDescriptorArray ¶
func NewComputePassSampleBufferAttachmentDescriptorArray() ComputePassSampleBufferAttachmentDescriptorArray
func (ComputePassSampleBufferAttachmentDescriptorArray) ObjectAtIndexedSubscript ¶
func (c_ ComputePassSampleBufferAttachmentDescriptorArray) ObjectAtIndexedSubscript(attachmentIndex uint) ComputePassSampleBufferAttachmentDescriptor
Returns the descriptor object for the specified sample buffer attachment. Full Topic
func (ComputePassSampleBufferAttachmentDescriptorArray) SetObjectAtIndexedSubscript ¶
func (c_ ComputePassSampleBufferAttachmentDescriptorArray) SetObjectAtIndexedSubscript(attachment IComputePassSampleBufferAttachmentDescriptor, attachmentIndex uint)
Sets the descriptor object for the specified sample buffer attachment. Full Topic
type ComputePipelineDescriptor ¶
An object for customizing the compilation of a new compute pipeline state object. Full Topic
func ComputePipelineDescriptorFrom ¶
func ComputePipelineDescriptorFrom(ptr unsafe.Pointer) ComputePipelineDescriptor
func NewComputePipelineDescriptor ¶
func NewComputePipelineDescriptor() ComputePipelineDescriptor
func (ComputePipelineDescriptor) BinaryArchives ¶
func (c_ ComputePipelineDescriptor) BinaryArchives() []BinaryArchiveObject
The binary archives that contain any precompiled shader functions you want to link. Full Topic
func (ComputePipelineDescriptor) Buffers ¶
func (c_ ComputePipelineDescriptor) Buffers() PipelineBufferDescriptorArray
The buffer mutability options for a compute pipeline's kernel function. Full Topic
func (ComputePipelineDescriptor) ComputeFunction ¶
func (c_ ComputePipelineDescriptor) ComputeFunction() FunctionObject
The compute kernel the pipeline calls. Full Topic
func (ComputePipelineDescriptor) Init ¶
func (c_ ComputePipelineDescriptor) Init() ComputePipelineDescriptor
func (ComputePipelineDescriptor) Label ¶
func (c_ ComputePipelineDescriptor) Label() string
A string that identifies the object. Full Topic
func (ComputePipelineDescriptor) LinkedFunctions ¶
func (c_ ComputePipelineDescriptor) LinkedFunctions() LinkedFunctions
The functions that you can specify as function arguments when encoding commands that use this pipeline. Full Topic
func (ComputePipelineDescriptor) MaxCallStackDepth ¶
func (c_ ComputePipelineDescriptor) MaxCallStackDepth() uint
The maximum function call depth from the top-most shader function. Full Topic
func (ComputePipelineDescriptor) MaxTotalThreadsPerThreadgroup ¶
func (c_ ComputePipelineDescriptor) MaxTotalThreadsPerThreadgroup() uint
The maximum number of threads in a threadgroup that you can dispatch to the compute function. Full Topic
func (ComputePipelineDescriptor) PreloadedLibraries ¶
func (c_ ComputePipelineDescriptor) PreloadedLibraries() []DynamicLibraryObject
The dynamic libraries that contain any precompiled shader functions you want to link. Full Topic
func (ComputePipelineDescriptor) Reset ¶
func (c_ ComputePipelineDescriptor) Reset()
Resets all compute pipeline descriptor properties to their default values. Full Topic
func (ComputePipelineDescriptor) SetBinaryArchives ¶
func (c_ ComputePipelineDescriptor) SetBinaryArchives(value []PBinaryArchive)
The binary archives that contain any precompiled shader functions you want to link. Full Topic
func (ComputePipelineDescriptor) SetComputeFunction ¶
func (c_ ComputePipelineDescriptor) SetComputeFunction(value PFunction)
The compute kernel the pipeline calls. Full Topic
func (ComputePipelineDescriptor) SetComputeFunctionObject ¶
func (c_ ComputePipelineDescriptor) SetComputeFunctionObject(valueObject objc.IObject)
The compute kernel the pipeline calls. Full Topic
func (ComputePipelineDescriptor) SetLabel ¶
func (c_ ComputePipelineDescriptor) SetLabel(value string)
A string that identifies the object. Full Topic
func (ComputePipelineDescriptor) SetLinkedFunctions ¶
func (c_ ComputePipelineDescriptor) SetLinkedFunctions(value ILinkedFunctions)
The functions that you can specify as function arguments when encoding commands that use this pipeline. Full Topic
func (ComputePipelineDescriptor) SetMaxCallStackDepth ¶
func (c_ ComputePipelineDescriptor) SetMaxCallStackDepth(value uint)
The maximum function call depth from the top-most shader function. Full Topic
func (ComputePipelineDescriptor) SetMaxTotalThreadsPerThreadgroup ¶
func (c_ ComputePipelineDescriptor) SetMaxTotalThreadsPerThreadgroup(value uint)
The maximum number of threads in a threadgroup that you can dispatch to the compute function. Full Topic
func (ComputePipelineDescriptor) SetPreloadedLibraries ¶
func (c_ ComputePipelineDescriptor) SetPreloadedLibraries(value []PDynamicLibrary)
The dynamic libraries that contain any precompiled shader functions you want to link. Full Topic
func (ComputePipelineDescriptor) SetStageInputDescriptor ¶
func (c_ ComputePipelineDescriptor) SetStageInputDescriptor(value IStageInputOutputDescriptor)
The organization of input and output data for the compute function. Full Topic
func (ComputePipelineDescriptor) SetSupportAddingBinaryFunctions ¶
func (c_ ComputePipelineDescriptor) SetSupportAddingBinaryFunctions(value bool)
A Boolean value that indicates whether you can use the pipeline to create new pipelines by adding binary functions to its callable functions list. Full Topic
func (ComputePipelineDescriptor) SetSupportIndirectCommandBuffers ¶
func (c_ ComputePipelineDescriptor) SetSupportIndirectCommandBuffers(value bool)
A Boolean value that indicates whether you can encode commands that reference the pipeline state object into an indirect command buffer. Full Topic
func (ComputePipelineDescriptor) SetThreadGroupSizeIsMultipleOfThreadExecutionWidth ¶
func (c_ ComputePipelineDescriptor) SetThreadGroupSizeIsMultipleOfThreadExecutionWidth(value bool)
A Boolean value that indicates whether the threadgroup size must always be a multiple of the thread execution width. Full Topic
func (ComputePipelineDescriptor) StageInputDescriptor ¶
func (c_ ComputePipelineDescriptor) StageInputDescriptor() StageInputOutputDescriptor
The organization of input and output data for the compute function. Full Topic
func (ComputePipelineDescriptor) SupportAddingBinaryFunctions ¶
func (c_ ComputePipelineDescriptor) SupportAddingBinaryFunctions() bool
A Boolean value that indicates whether you can use the pipeline to create new pipelines by adding binary functions to its callable functions list. Full Topic
func (ComputePipelineDescriptor) SupportIndirectCommandBuffers ¶
func (c_ ComputePipelineDescriptor) SupportIndirectCommandBuffers() bool
A Boolean value that indicates whether you can encode commands that reference the pipeline state object into an indirect command buffer. Full Topic
func (ComputePipelineDescriptor) ThreadGroupSizeIsMultipleOfThreadExecutionWidth ¶
func (c_ ComputePipelineDescriptor) ThreadGroupSizeIsMultipleOfThreadExecutionWidth() bool
A Boolean value that indicates whether the threadgroup size must always be a multiple of the thread execution width. Full Topic
type ComputePipelineReflection ¶
Information about the arguments of a compute function. Full Topic
func ComputePipelineReflectionFrom ¶
func ComputePipelineReflectionFrom(ptr unsafe.Pointer) ComputePipelineReflection
func NewComputePipelineReflection ¶
func NewComputePipelineReflection() ComputePipelineReflection
func (ComputePipelineReflection) Init ¶
func (c_ ComputePipelineReflection) Init() ComputePipelineReflection
type ComputePipelineStateObject ¶
A concrete type for the PComputePipelineState protocol.
func (ComputePipelineStateObject) Device ¶
func (c_ ComputePipelineStateObject) Device() DeviceObject
The Metal device object that created the pipeline state. Full Topic
func (ComputePipelineStateObject) FunctionHandleWithFunction ¶
func (c_ ComputePipelineStateObject) FunctionHandleWithFunction(function FunctionObject) FunctionHandleObject
Creates a function handle for a visible function. Full Topic
func (ComputePipelineStateObject) HasDevice ¶
func (c_ ComputePipelineStateObject) HasDevice() bool
func (ComputePipelineStateObject) HasFunctionHandleWithFunction ¶
func (c_ ComputePipelineStateObject) HasFunctionHandleWithFunction() bool
func (ComputePipelineStateObject) HasImageblockMemoryLengthForDimensions ¶
func (c_ ComputePipelineStateObject) HasImageblockMemoryLengthForDimensions() bool
func (ComputePipelineStateObject) HasLabel ¶
func (c_ ComputePipelineStateObject) HasLabel() bool
func (ComputePipelineStateObject) HasMaxTotalThreadsPerThreadgroup ¶
func (c_ ComputePipelineStateObject) HasMaxTotalThreadsPerThreadgroup() bool
func (ComputePipelineStateObject) HasNewComputePipelineStateWithAdditionalBinaryFunctionsError ¶
func (c_ ComputePipelineStateObject) HasNewComputePipelineStateWithAdditionalBinaryFunctionsError() bool
func (ComputePipelineStateObject) HasNewIntersectionFunctionTableWithDescriptor ¶
func (c_ ComputePipelineStateObject) HasNewIntersectionFunctionTableWithDescriptor() bool
func (ComputePipelineStateObject) HasNewVisibleFunctionTableWithDescriptor ¶
func (c_ ComputePipelineStateObject) HasNewVisibleFunctionTableWithDescriptor() bool
func (ComputePipelineStateObject) HasStaticThreadgroupMemoryLength ¶
func (c_ ComputePipelineStateObject) HasStaticThreadgroupMemoryLength() bool
func (ComputePipelineStateObject) HasSupportIndirectCommandBuffers ¶
func (c_ ComputePipelineStateObject) HasSupportIndirectCommandBuffers() bool
func (ComputePipelineStateObject) HasThreadExecutionWidth ¶
func (c_ ComputePipelineStateObject) HasThreadExecutionWidth() bool
func (ComputePipelineStateObject) ImageblockMemoryLengthForDimensions ¶
func (c_ ComputePipelineStateObject) ImageblockMemoryLengthForDimensions(imageblockDimensions Size) uint
Returns the imageblock memory length, in bytes, for the specified imageblock dimensions. Full Topic
func (ComputePipelineStateObject) Label ¶
func (c_ ComputePipelineStateObject) Label() string
A string that identifies the compute pipeline state object. Full Topic
func (ComputePipelineStateObject) MaxTotalThreadsPerThreadgroup ¶
func (c_ ComputePipelineStateObject) MaxTotalThreadsPerThreadgroup() uint
The maximum number of threads in a threadgroup that you can dispatch to the pipeline. Full Topic
func (ComputePipelineStateObject) NewComputePipelineStateWithAdditionalBinaryFunctionsError ¶
func (c_ ComputePipelineStateObject) NewComputePipelineStateWithAdditionalBinaryFunctionsError(functions []FunctionObject, error foundation.Error) ComputePipelineStateObject
Creates a new pipeline state object with additional callable functions. Full Topic
func (ComputePipelineStateObject) NewIntersectionFunctionTableWithDescriptor ¶
func (c_ ComputePipelineStateObject) NewIntersectionFunctionTableWithDescriptor(descriptor IntersectionFunctionTableDescriptor) IntersectionFunctionTableObject
Creates a new intersection function table. Full Topic
func (ComputePipelineStateObject) NewVisibleFunctionTableWithDescriptor ¶
func (c_ ComputePipelineStateObject) NewVisibleFunctionTableWithDescriptor(descriptor VisibleFunctionTableDescriptor) VisibleFunctionTableObject
Creates a new visible function table. Full Topic
func (ComputePipelineStateObject) StaticThreadgroupMemoryLength ¶
func (c_ ComputePipelineStateObject) StaticThreadgroupMemoryLength() uint
The length, in bytes, of statically allocated threadgroup memory. Full Topic
func (ComputePipelineStateObject) SupportIndirectCommandBuffers ¶
func (c_ ComputePipelineStateObject) SupportIndirectCommandBuffers() bool
A Boolean value that indicates whether the pipeline supports indirect command buffers. Full Topic
func (ComputePipelineStateObject) ThreadExecutionWidth ¶
func (c_ ComputePipelineStateObject) ThreadExecutionWidth() uint
The number of threads that the GPU executes simultaneously. Full Topic
type Coordinate2D ¶
type Coordinate2D = SamplePosition
type CounterObject ¶
A concrete type for the PCounter protocol.
func (CounterObject) HasName ¶
func (c_ CounterObject) HasName() bool
func (CounterObject) Name ¶
func (c_ CounterObject) Name() string
The name of a GPU’s counter instance. Full Topic
type CounterResultStageUtilization ¶
type CounterResultStageUtilization struct { TotalCycles uint64 VertexCycles uint64 TessellationCycles uint64 PostTessellationVertexCycles uint64 FragmentCycles uint64 RenderTargetCycles uint64 }
The data structure for storing the data you resolve from a stage-utilization counter set. Full Topic
type CounterResultStatistic ¶
type CounterResultStatistic struct { TessellationInputPatches uint64 VertexInvocations uint64 PostTessellationVertexInvocations uint64 ClipperInvocations uint64 ClipperPrimitivesOut uint64 FragmentInvocations uint64 FragmentsPassed uint64 ComputeKernelInvocations uint64 }
The data structure for storing the data you resolve from a statistic counter set. Full Topic
type CounterResultTimestamp ¶
type CounterResultTimestamp struct {
Timestamp uint64
}
The data structure for storing the data you resolve from a timestamp counter set. Full Topic
type CounterSampleBufferDescriptor ¶
A group of properties that configures the counter sample buffers you create with it. Full Topic
func CounterSampleBufferDescriptorFrom ¶
func CounterSampleBufferDescriptorFrom(ptr unsafe.Pointer) CounterSampleBufferDescriptor
func NewCounterSampleBufferDescriptor ¶
func NewCounterSampleBufferDescriptor() CounterSampleBufferDescriptor
func (CounterSampleBufferDescriptor) CounterSet ¶
func (c_ CounterSampleBufferDescriptor) CounterSet() CounterSetObject
A GPU device’s counter set instance that you want to sample. Full Topic
func (CounterSampleBufferDescriptor) Init ¶
func (c_ CounterSampleBufferDescriptor) Init() CounterSampleBufferDescriptor
func (CounterSampleBufferDescriptor) Label ¶
func (c_ CounterSampleBufferDescriptor) Label() string
The name for the counter sample buffer you create with the descriptor. Full Topic
func (CounterSampleBufferDescriptor) SampleCount ¶
func (c_ CounterSampleBufferDescriptor) SampleCount() uint
The number of instances of a counter set’s data that a counter sample buffer can store. Full Topic
func (CounterSampleBufferDescriptor) SetCounterSet ¶
func (c_ CounterSampleBufferDescriptor) SetCounterSet(value PCounterSet)
A GPU device’s counter set instance that you want to sample. Full Topic
func (CounterSampleBufferDescriptor) SetCounterSetObject ¶
func (c_ CounterSampleBufferDescriptor) SetCounterSetObject(valueObject objc.IObject)
A GPU device’s counter set instance that you want to sample. Full Topic
func (CounterSampleBufferDescriptor) SetLabel ¶
func (c_ CounterSampleBufferDescriptor) SetLabel(value string)
The name for the counter sample buffer you create with the descriptor. Full Topic
func (CounterSampleBufferDescriptor) SetSampleCount ¶
func (c_ CounterSampleBufferDescriptor) SetSampleCount(value uint)
The number of instances of a counter set’s data that a counter sample buffer can store. Full Topic
func (CounterSampleBufferDescriptor) SetStorageMode ¶
func (c_ CounterSampleBufferDescriptor) SetStorageMode(value StorageMode)
The memory storage mode for the counter sample buffers you create with the descriptor. Full Topic
func (CounterSampleBufferDescriptor) StorageMode ¶
func (c_ CounterSampleBufferDescriptor) StorageMode() StorageMode
The memory storage mode for the counter sample buffers you create with the descriptor. Full Topic
type CounterSampleBufferError ¶
type CounterSampleBufferError int
The underlying error code type that indicates why a GPU driver can’t create a counter sample buffer. Full Topic
const ( CounterSampleBufferErrorInternal CounterSampleBufferError = 2 CounterSampleBufferErrorInvalid CounterSampleBufferError = 1 CounterSampleBufferErrorOutOfMemory CounterSampleBufferError = 0 )
type CounterSampleBufferObject ¶
A concrete type for the PCounterSampleBuffer protocol.
func (CounterSampleBufferObject) Device ¶
func (c_ CounterSampleBufferObject) Device() DeviceObject
The GPU device instance that owns the counter sample buffer. Full Topic
func (CounterSampleBufferObject) HasDevice ¶
func (c_ CounterSampleBufferObject) HasDevice() bool
func (CounterSampleBufferObject) HasLabel ¶
func (c_ CounterSampleBufferObject) HasLabel() bool
func (CounterSampleBufferObject) HasResolveCounterRange ¶
func (c_ CounterSampleBufferObject) HasResolveCounterRange() bool
func (CounterSampleBufferObject) HasSampleCount ¶
func (c_ CounterSampleBufferObject) HasSampleCount() bool
func (CounterSampleBufferObject) Label ¶
func (c_ CounterSampleBufferObject) Label() string
A string that identifies the counter sample buffer. Full Topic
func (CounterSampleBufferObject) ResolveCounterRange ¶
func (c_ CounterSampleBufferObject) ResolveCounterRange(range_ foundation.Range) []byte
Transforms samples of a GPU’s counter set from the driver’s internal format to a standard Metal data structure. Full Topic
func (CounterSampleBufferObject) SampleCount ¶
func (c_ CounterSampleBufferObject) SampleCount() uint
The number of samples in the buffer. Full Topic
type CounterSamplingPoint ¶
type CounterSamplingPoint uint
Options for different times when you can sample GPU counters. Full Topic
const ( CounterSamplingPointAtBlitBoundary CounterSamplingPoint = 4 CounterSamplingPointAtDispatchBoundary CounterSamplingPoint = 2 CounterSamplingPointAtDrawBoundary CounterSamplingPoint = 1 CounterSamplingPointAtStageBoundary CounterSamplingPoint = 0 CounterSamplingPointAtTileDispatchBoundary CounterSamplingPoint = 3 )
type CounterSetObject ¶
A concrete type for the PCounterSet protocol.
func (CounterSetObject) Counters ¶
func (c_ CounterSetObject) Counters() []CounterObject
An array of the counter instances a GPU device supports. Full Topic
func (CounterSetObject) HasCounters ¶
func (c_ CounterSetObject) HasCounters() bool
func (CounterSetObject) HasName ¶
func (c_ CounterSetObject) HasName() bool
func (CounterSetObject) Name ¶
func (c_ CounterSetObject) Name() string
The name of the GPU’s counter set instance. Full Topic
type CullMode ¶
type CullMode uint
The mode that determines whether to perform culling and which type of primitive to cull. Full Topic
type DataType ¶
type DataType uint
The types of GPU functions, including shaders and compute kernels. Full Topic
const ( DataTypeArray DataType = 2 DataTypeBool DataType = 53 DataTypeBool2 DataType = 54 DataTypeBool3 DataType = 55 DataTypeBool4 DataType = 56 DataTypeChar DataType = 45 DataTypeChar2 DataType = 46 DataTypeChar3 DataType = 47 DataTypeChar4 DataType = 48 DataTypeComputePipeline DataType = 79 DataTypeFloat DataType = 3 DataTypeFloat2 DataType = 4 DataTypeFloat2x2 DataType = 7 DataTypeFloat2x3 DataType = 8 DataTypeFloat2x4 DataType = 9 DataTypeFloat3 DataType = 5 DataTypeFloat3x2 DataType = 10 DataTypeFloat3x3 DataType = 11 DataTypeFloat3x4 DataType = 12 DataTypeFloat4 DataType = 6 DataTypeFloat4x2 DataType = 13 DataTypeFloat4x3 DataType = 14 DataTypeFloat4x4 DataType = 15 DataTypeHalf DataType = 16 DataTypeHalf2 DataType = 17 DataTypeHalf2x2 DataType = 20 DataTypeHalf2x3 DataType = 21 DataTypeHalf2x4 DataType = 22 DataTypeHalf3 DataType = 18 DataTypeHalf3x2 DataType = 23 DataTypeHalf3x3 DataType = 24 DataTypeHalf3x4 DataType = 25 DataTypeHalf4 DataType = 19 DataTypeHalf4x2 DataType = 26 DataTypeHalf4x3 DataType = 27 DataTypeHalf4x4 DataType = 28 DataTypeIndirectCommandBuffer DataType = 80 DataTypeInstanceAccelerationStructure DataType = 118 DataTypeInt DataType = 29 DataTypeInt2 DataType = 30 DataTypeInt3 DataType = 31 DataTypeInt4 DataType = 32 DataTypeIntersectionFunctionTable DataType = 116 DataTypeLong DataType = 81 DataTypeLong2 DataType = 82 DataTypeLong3 DataType = 83 DataTypeLong4 DataType = 84 DataTypeNone DataType = 0 DataTypePointer DataType = 60 DataTypePrimitiveAccelerationStructure DataType = 117 DataTypeR16Snorm DataType = 65 DataTypeR16Unorm DataType = 64 DataTypeR8Snorm DataType = 63 DataTypeR8Unorm DataType = 62 DataTypeRG11B10Float DataType = 76 DataTypeRG16Snorm DataType = 69 DataTypeRG16Unorm DataType = 68 DataTypeRG8Snorm DataType = 67 DataTypeRG8Unorm DataType = 66 DataTypeRGB10A2Unorm DataType = 75 DataTypeRGB9E5Float DataType = 77 DataTypeRGBA16Snorm DataType = 74 DataTypeRGBA16Unorm DataType = 73 DataTypeRGBA8Snorm DataType = 72 DataTypeRGBA8Unorm DataType = 70 DataTypeRGBA8Unorm_sRGB DataType = 71 DataTypeRenderPipeline DataType = 78 DataTypeSampler DataType = 59 DataTypeShort DataType = 37 DataTypeShort2 DataType = 38 DataTypeShort3 DataType = 39 DataTypeShort4 DataType = 40 DataTypeStruct DataType = 1 DataTypeTexture DataType = 58 DataTypeUChar DataType = 49 DataTypeUChar2 DataType = 50 DataTypeUChar3 DataType = 51 DataTypeUChar4 DataType = 52 DataTypeUInt DataType = 33 DataTypeUInt2 DataType = 34 DataTypeUInt3 DataType = 35 DataTypeUInt4 DataType = 36 DataTypeULong DataType = 85 DataTypeULong2 DataType = 86 DataTypeULong3 DataType = 87 DataTypeULong4 DataType = 88 DataTypeUShort DataType = 41 DataTypeUShort2 DataType = 42 DataTypeUShort3 DataType = 43 DataTypeUShort4 DataType = 44 DataTypeVisibleFunctionTable DataType = 115 )
type DepthClipMode ¶
type DepthClipMode uint
The mode that determines how to deal with fragments outside of the near or far planes. Full Topic
const ( DepthClipModeClamp DepthClipMode = 1 DepthClipModeClip DepthClipMode = 0 )
type DepthStencilDescriptor ¶
An object that configures new MTLDepthStencilState objects. Full Topic
func DepthStencilDescriptorFrom ¶
func DepthStencilDescriptorFrom(ptr unsafe.Pointer) DepthStencilDescriptor
func NewDepthStencilDescriptor ¶
func NewDepthStencilDescriptor() DepthStencilDescriptor
func (DepthStencilDescriptor) BackFaceStencil ¶
func (d_ DepthStencilDescriptor) BackFaceStencil() StencilDescriptor
The stencil descriptor for back-facing primitives. Full Topic
func (DepthStencilDescriptor) DepthCompareFunction ¶
func (d_ DepthStencilDescriptor) DepthCompareFunction() CompareFunction
The comparison that is performed between a fragment’s depth value and the depth value in the attachment, which determines whether to discard the fragment. Full Topic
func (DepthStencilDescriptor) FrontFaceStencil ¶
func (d_ DepthStencilDescriptor) FrontFaceStencil() StencilDescriptor
The stencil descriptor for front-facing primitives. Full Topic
func (DepthStencilDescriptor) Init ¶
func (d_ DepthStencilDescriptor) Init() DepthStencilDescriptor
func (DepthStencilDescriptor) IsDepthWriteEnabled ¶
func (d_ DepthStencilDescriptor) IsDepthWriteEnabled() bool
A Boolean value that indicates whether depth values can be written to the depth attachment. Full Topic
func (DepthStencilDescriptor) Label ¶
func (d_ DepthStencilDescriptor) Label() string
A string that identifies this object. Full Topic
func (DepthStencilDescriptor) SetBackFaceStencil ¶
func (d_ DepthStencilDescriptor) SetBackFaceStencil(value IStencilDescriptor)
The stencil descriptor for back-facing primitives. Full Topic
func (DepthStencilDescriptor) SetDepthCompareFunction ¶
func (d_ DepthStencilDescriptor) SetDepthCompareFunction(value CompareFunction)
The comparison that is performed between a fragment’s depth value and the depth value in the attachment, which determines whether to discard the fragment. Full Topic
func (DepthStencilDescriptor) SetDepthWriteEnabled ¶
func (d_ DepthStencilDescriptor) SetDepthWriteEnabled(value bool)
A Boolean value that indicates whether depth values can be written to the depth attachment. Full Topic
func (DepthStencilDescriptor) SetFrontFaceStencil ¶
func (d_ DepthStencilDescriptor) SetFrontFaceStencil(value IStencilDescriptor)
The stencil descriptor for front-facing primitives. Full Topic
func (DepthStencilDescriptor) SetLabel ¶
func (d_ DepthStencilDescriptor) SetLabel(value string)
A string that identifies this object. Full Topic
type DepthStencilStateObject ¶
A concrete type for the PDepthStencilState protocol.
func (DepthStencilStateObject) Device ¶
func (d_ DepthStencilStateObject) Device() DeviceObject
The device from which this state object was created. Full Topic
func (DepthStencilStateObject) HasDevice ¶
func (d_ DepthStencilStateObject) HasDevice() bool
func (DepthStencilStateObject) HasLabel ¶
func (d_ DepthStencilStateObject) HasLabel() bool
func (DepthStencilStateObject) Label ¶
func (d_ DepthStencilStateObject) Label() string
A string that identifies this object. Full Topic
type DeviceLocation ¶
type DeviceLocation uint
Indicates the location of the GPU relative to the system it’s connect to. Full Topic
const ( DeviceLocationBuiltIn DeviceLocation = 0 DeviceLocationExternal DeviceLocation = 2 DeviceLocationSlot DeviceLocation = 1 DeviceLocationUnspecified DeviceLocation = math.MaxUint )
type DeviceNotificationHandler ¶
type DeviceNotificationHandler = func(device DeviceObject, notifyName DeviceNotificationName)
A block that Metal calls when the system adds or removes a GPU device. Full Topic
type DeviceNotificationName ¶
type DeviceNotificationName string
A notification that represents a change to a GPU device in the system. Full Topic
const ( DeviceRemovalRequestedNotification DeviceNotificationName = "MTLDeviceRemovalRequested" DeviceWasAddedNotification DeviceNotificationName = "MTLDeviceWasAdded" DeviceWasRemovedNotification DeviceNotificationName = "MTLDeviceWasRemoved" )
type DeviceObject ¶
A concrete type for the PDevice protocol.
func (DeviceObject) AccelerationStructureSizesWithDescriptor ¶
func (d_ DeviceObject) AccelerationStructureSizesWithDescriptor(descriptor AccelerationStructureDescriptor) AccelerationStructureSizes
Returns the buffer sizes the GPU device needs to build, refit, and store an acceleration structure. Full Topic
func (DeviceObject) AreProgrammableSamplePositionsSupported ¶
func (d_ DeviceObject) AreProgrammableSamplePositionsSupported() bool
A Boolean value that indicates whether the GPU supports programmable sample positions. Full Topic
func (DeviceObject) AreRasterOrderGroupsSupported ¶
func (d_ DeviceObject) AreRasterOrderGroupsSupported() bool
A Boolean value that indicates whether the GPU supports raster order groups. Full Topic
func (DeviceObject) ArgumentBuffersSupport ¶
func (d_ DeviceObject) ArgumentBuffersSupport() ArgumentBuffersTier
Returns the GPU device’s support tier for argument buffers. Full Topic
func (DeviceObject) ConvertSparsePixelRegionsToTileRegionsWithTileSizeAlignmentModeNumRegions ¶
func (d_ DeviceObject) ConvertSparsePixelRegionsToTileRegionsWithTileSizeAlignmentModeNumRegions(pixelRegions *Region, tileRegions *Region, tileSize Size, mode SparseTextureRegionAlignmentMode, numRegions uint)
Converts a list of sparse pixel regions to tile regions. Full Topic
func (DeviceObject) ConvertSparseTileRegionsToPixelRegionsWithTileSizeNumRegions ¶
func (d_ DeviceObject) ConvertSparseTileRegionsToPixelRegionsWithTileSizeNumRegions(tileRegions *Region, pixelRegions *Region, tileSize Size, numRegions uint)
Converts a list of sparse tile regions to pixel regions. Full Topic
func (DeviceObject) CounterSets ¶
func (d_ DeviceObject) CounterSets() []CounterSetObject
The counter sets supported by the device object. Full Topic
func (DeviceObject) CurrentAllocatedSize ¶
func (d_ DeviceObject) CurrentAllocatedSize() uint
The total amount of memory, in bytes, the GPU device is using for all of its resources. Full Topic
func (DeviceObject) GetDefaultSamplePositionsCount ¶
func (d_ DeviceObject) GetDefaultSamplePositionsCount(positions *SamplePosition, count uint)
Retrieves the default sample positions for a specific sample count. Full Topic
func (DeviceObject) HasAccelerationStructureSizesWithDescriptor ¶
func (d_ DeviceObject) HasAccelerationStructureSizesWithDescriptor() bool
func (DeviceObject) HasAreProgrammableSamplePositionsSupported ¶
func (d_ DeviceObject) HasAreProgrammableSamplePositionsSupported() bool
func (DeviceObject) HasAreRasterOrderGroupsSupported ¶
func (d_ DeviceObject) HasAreRasterOrderGroupsSupported() bool
func (DeviceObject) HasArgumentBuffersSupport ¶
func (d_ DeviceObject) HasArgumentBuffersSupport() bool
func (DeviceObject) HasConvertSparsePixelRegionsToTileRegionsWithTileSizeAlignmentModeNumRegions ¶
func (d_ DeviceObject) HasConvertSparsePixelRegionsToTileRegionsWithTileSizeAlignmentModeNumRegions() bool
func (DeviceObject) HasConvertSparseTileRegionsToPixelRegionsWithTileSizeNumRegions ¶
func (d_ DeviceObject) HasConvertSparseTileRegionsToPixelRegionsWithTileSizeNumRegions() bool
func (DeviceObject) HasCounterSets ¶
func (d_ DeviceObject) HasCounterSets() bool
func (DeviceObject) HasCurrentAllocatedSize ¶
func (d_ DeviceObject) HasCurrentAllocatedSize() bool
func (DeviceObject) HasGetDefaultSamplePositionsCount ¶
func (d_ DeviceObject) HasGetDefaultSamplePositionsCount() bool
func (DeviceObject) HasHasUnifiedMemory ¶
func (d_ DeviceObject) HasHasUnifiedMemory() bool
func (DeviceObject) HasHeapBufferSizeAndAlignWithLengthOptions ¶
func (d_ DeviceObject) HasHeapBufferSizeAndAlignWithLengthOptions() bool
func (DeviceObject) HasHeapTextureSizeAndAlignWithDescriptor ¶
func (d_ DeviceObject) HasHeapTextureSizeAndAlignWithDescriptor() bool
func (DeviceObject) HasIsDepth24Stencil8PixelFormatSupported ¶
func (d_ DeviceObject) HasIsDepth24Stencil8PixelFormatSupported() bool
func (DeviceObject) HasIsHeadless ¶
func (d_ DeviceObject) HasIsHeadless() bool
func (DeviceObject) HasIsLowPower ¶
func (d_ DeviceObject) HasIsLowPower() bool
func (DeviceObject) HasIsRemovable ¶
func (d_ DeviceObject) HasIsRemovable() bool
func (DeviceObject) HasLocation ¶
func (d_ DeviceObject) HasLocation() bool
func (DeviceObject) HasLocationNumber ¶
func (d_ DeviceObject) HasLocationNumber() bool
func (DeviceObject) HasMaxArgumentBufferSamplerCount ¶
func (d_ DeviceObject) HasMaxArgumentBufferSamplerCount() bool
func (DeviceObject) HasMaxBufferLength ¶
func (d_ DeviceObject) HasMaxBufferLength() bool
func (DeviceObject) HasMaxThreadgroupMemoryLength ¶
func (d_ DeviceObject) HasMaxThreadgroupMemoryLength() bool
func (DeviceObject) HasMaxThreadsPerThreadgroup ¶
func (d_ DeviceObject) HasMaxThreadsPerThreadgroup() bool
func (DeviceObject) HasMaxTransferRate ¶
func (d_ DeviceObject) HasMaxTransferRate() bool
func (DeviceObject) HasMinimumLinearTextureAlignmentForPixelFormat ¶
func (d_ DeviceObject) HasMinimumLinearTextureAlignmentForPixelFormat() bool
func (DeviceObject) HasMinimumTextureBufferAlignmentForPixelFormat ¶
func (d_ DeviceObject) HasMinimumTextureBufferAlignmentForPixelFormat() bool
func (DeviceObject) HasName ¶
func (d_ DeviceObject) HasName() bool
func (DeviceObject) HasNewAccelerationStructureWithDescriptor ¶
func (d_ DeviceObject) HasNewAccelerationStructureWithDescriptor() bool
func (DeviceObject) HasNewAccelerationStructureWithSize ¶
func (d_ DeviceObject) HasNewAccelerationStructureWithSize() bool
func (DeviceObject) HasNewArgumentEncoderWithArguments ¶
func (d_ DeviceObject) HasNewArgumentEncoderWithArguments() bool
func (DeviceObject) HasNewBinaryArchiveWithDescriptorError ¶
func (d_ DeviceObject) HasNewBinaryArchiveWithDescriptorError() bool
func (DeviceObject) HasNewBufferWithBytesLengthOptions ¶
func (d_ DeviceObject) HasNewBufferWithBytesLengthOptions() bool
func (DeviceObject) HasNewBufferWithBytesNoCopyLengthOptionsDeallocator ¶
func (d_ DeviceObject) HasNewBufferWithBytesNoCopyLengthOptionsDeallocator() bool
func (DeviceObject) HasNewBufferWithLengthOptions ¶
func (d_ DeviceObject) HasNewBufferWithLengthOptions() bool
func (DeviceObject) HasNewCommandQueue ¶
func (d_ DeviceObject) HasNewCommandQueue() bool
func (DeviceObject) HasNewCommandQueueWithMaxCommandBufferCount ¶
func (d_ DeviceObject) HasNewCommandQueueWithMaxCommandBufferCount() bool
func (DeviceObject) HasNewComputePipelineStateWithDescriptorOptionsCompletionHandler ¶
func (d_ DeviceObject) HasNewComputePipelineStateWithDescriptorOptionsCompletionHandler() bool
func (DeviceObject) HasNewComputePipelineStateWithDescriptorOptionsReflectionError ¶
func (d_ DeviceObject) HasNewComputePipelineStateWithDescriptorOptionsReflectionError() bool
func (DeviceObject) HasNewComputePipelineStateWithFunctionCompletionHandler ¶
func (d_ DeviceObject) HasNewComputePipelineStateWithFunctionCompletionHandler() bool
func (DeviceObject) HasNewComputePipelineStateWithFunctionError ¶
func (d_ DeviceObject) HasNewComputePipelineStateWithFunctionError() bool
func (DeviceObject) HasNewComputePipelineStateWithFunctionOptionsCompletionHandler ¶
func (d_ DeviceObject) HasNewComputePipelineStateWithFunctionOptionsCompletionHandler() bool
func (DeviceObject) HasNewComputePipelineStateWithFunctionOptionsReflectionError ¶
func (d_ DeviceObject) HasNewComputePipelineStateWithFunctionOptionsReflectionError() bool
func (DeviceObject) HasNewCounterSampleBufferWithDescriptorError ¶
func (d_ DeviceObject) HasNewCounterSampleBufferWithDescriptorError() bool
func (DeviceObject) HasNewDefaultLibrary ¶
func (d_ DeviceObject) HasNewDefaultLibrary() bool
func (DeviceObject) HasNewDefaultLibraryWithBundleError ¶
func (d_ DeviceObject) HasNewDefaultLibraryWithBundleError() bool
func (DeviceObject) HasNewDepthStencilStateWithDescriptor ¶
func (d_ DeviceObject) HasNewDepthStencilStateWithDescriptor() bool
func (DeviceObject) HasNewDynamicLibraryError ¶
func (d_ DeviceObject) HasNewDynamicLibraryError() bool
func (DeviceObject) HasNewDynamicLibraryWithURLError ¶
func (d_ DeviceObject) HasNewDynamicLibraryWithURLError() bool
func (DeviceObject) HasNewEvent ¶
func (d_ DeviceObject) HasNewEvent() bool
func (DeviceObject) HasNewFence ¶
func (d_ DeviceObject) HasNewFence() bool
func (DeviceObject) HasNewHeapWithDescriptor ¶
func (d_ DeviceObject) HasNewHeapWithDescriptor() bool
func (DeviceObject) HasNewIndirectCommandBufferWithDescriptorMaxCommandCountOptions ¶
func (d_ DeviceObject) HasNewIndirectCommandBufferWithDescriptorMaxCommandCountOptions() bool
func (DeviceObject) HasNewLibraryWithDataError ¶
func (d_ DeviceObject) HasNewLibraryWithDataError() bool
func (DeviceObject) HasNewLibraryWithSourceOptionsCompletionHandler ¶
func (d_ DeviceObject) HasNewLibraryWithSourceOptionsCompletionHandler() bool
func (DeviceObject) HasNewLibraryWithSourceOptionsError ¶
func (d_ DeviceObject) HasNewLibraryWithSourceOptionsError() bool
func (DeviceObject) HasNewLibraryWithStitchedDescriptorCompletionHandler ¶
func (d_ DeviceObject) HasNewLibraryWithStitchedDescriptorCompletionHandler() bool
func (DeviceObject) HasNewLibraryWithStitchedDescriptorError ¶
func (d_ DeviceObject) HasNewLibraryWithStitchedDescriptorError() bool
func (DeviceObject) HasNewLibraryWithURLError ¶
func (d_ DeviceObject) HasNewLibraryWithURLError() bool
func (DeviceObject) HasNewRasterizationRateMapWithDescriptor ¶
func (d_ DeviceObject) HasNewRasterizationRateMapWithDescriptor() bool
func (DeviceObject) HasNewRenderPipelineStateWithDescriptorCompletionHandler ¶
func (d_ DeviceObject) HasNewRenderPipelineStateWithDescriptorCompletionHandler() bool
func (DeviceObject) HasNewRenderPipelineStateWithDescriptorError ¶
func (d_ DeviceObject) HasNewRenderPipelineStateWithDescriptorError() bool
func (DeviceObject) HasNewRenderPipelineStateWithDescriptorOptionsCompletionHandler ¶
func (d_ DeviceObject) HasNewRenderPipelineStateWithDescriptorOptionsCompletionHandler() bool
func (DeviceObject) HasNewRenderPipelineStateWithDescriptorOptionsReflectionError ¶
func (d_ DeviceObject) HasNewRenderPipelineStateWithDescriptorOptionsReflectionError() bool
func (DeviceObject) HasNewRenderPipelineStateWithTileDescriptorOptionsCompletionHandler ¶
func (d_ DeviceObject) HasNewRenderPipelineStateWithTileDescriptorOptionsCompletionHandler() bool
func (DeviceObject) HasNewRenderPipelineStateWithTileDescriptorOptionsReflectionError ¶
func (d_ DeviceObject) HasNewRenderPipelineStateWithTileDescriptorOptionsReflectionError() bool
func (DeviceObject) HasNewSamplerStateWithDescriptor ¶
func (d_ DeviceObject) HasNewSamplerStateWithDescriptor() bool
func (DeviceObject) HasNewSharedEvent ¶
func (d_ DeviceObject) HasNewSharedEvent() bool
func (DeviceObject) HasNewSharedEventWithHandle ¶
func (d_ DeviceObject) HasNewSharedEventWithHandle() bool
func (DeviceObject) HasNewSharedTextureWithDescriptor ¶
func (d_ DeviceObject) HasNewSharedTextureWithDescriptor() bool
func (DeviceObject) HasNewSharedTextureWithHandle ¶
func (d_ DeviceObject) HasNewSharedTextureWithHandle() bool
func (DeviceObject) HasNewTextureWithDescriptor ¶
func (d_ DeviceObject) HasNewTextureWithDescriptor() bool
func (DeviceObject) HasNewTextureWithDescriptorIosurfacePlane ¶
func (d_ DeviceObject) HasNewTextureWithDescriptorIosurfacePlane() bool
func (DeviceObject) HasPeerCount ¶
func (d_ DeviceObject) HasPeerCount() bool
func (DeviceObject) HasPeerGroupID ¶
func (d_ DeviceObject) HasPeerGroupID() bool
func (DeviceObject) HasPeerIndex ¶
func (d_ DeviceObject) HasPeerIndex() bool
func (DeviceObject) HasReadWriteTextureSupport ¶
func (d_ DeviceObject) HasReadWriteTextureSupport() bool
func (DeviceObject) HasRecommendedMaxWorkingSetSize ¶
func (d_ DeviceObject) HasRecommendedMaxWorkingSetSize() bool
func (DeviceObject) HasRegistryID ¶
func (d_ DeviceObject) HasRegistryID() bool
func (DeviceObject) HasSampleTimestampsGpuTimestamp ¶
func (d_ DeviceObject) HasSampleTimestampsGpuTimestamp() bool
func (DeviceObject) HasSparseTileSizeInBytes ¶
func (d_ DeviceObject) HasSparseTileSizeInBytes() bool
func (DeviceObject) HasSparseTileSizeWithTextureTypePixelFormatSampleCount ¶
func (d_ DeviceObject) HasSparseTileSizeWithTextureTypePixelFormatSampleCount() bool
func (DeviceObject) HasSupports32BitFloatFiltering ¶
func (d_ DeviceObject) HasSupports32BitFloatFiltering() bool
func (DeviceObject) HasSupports32BitMSAA ¶
func (d_ DeviceObject) HasSupports32BitMSAA() bool
func (DeviceObject) HasSupportsBCTextureCompression ¶
func (d_ DeviceObject) HasSupportsBCTextureCompression() bool
func (DeviceObject) HasSupportsCounterSampling ¶
func (d_ DeviceObject) HasSupportsCounterSampling() bool
func (DeviceObject) HasSupportsDynamicLibraries ¶
func (d_ DeviceObject) HasSupportsDynamicLibraries() bool
func (DeviceObject) HasSupportsFamily ¶
func (d_ DeviceObject) HasSupportsFamily() bool
func (DeviceObject) HasSupportsFunctionPointers ¶
func (d_ DeviceObject) HasSupportsFunctionPointers() bool
func (DeviceObject) HasSupportsFunctionPointersFromRender ¶
func (d_ DeviceObject) HasSupportsFunctionPointersFromRender() bool
func (DeviceObject) HasSupportsPrimitiveMotionBlur ¶
func (d_ DeviceObject) HasSupportsPrimitiveMotionBlur() bool
func (DeviceObject) HasSupportsPullModelInterpolation ¶
func (d_ DeviceObject) HasSupportsPullModelInterpolation() bool
func (DeviceObject) HasSupportsQueryTextureLOD ¶
func (d_ DeviceObject) HasSupportsQueryTextureLOD() bool
func (DeviceObject) HasSupportsRasterizationRateMapWithLayerCount ¶
func (d_ DeviceObject) HasSupportsRasterizationRateMapWithLayerCount() bool
func (DeviceObject) HasSupportsRaytracing ¶
func (d_ DeviceObject) HasSupportsRaytracing() bool
func (DeviceObject) HasSupportsRaytracingFromRender ¶
func (d_ DeviceObject) HasSupportsRaytracingFromRender() bool
func (DeviceObject) HasSupportsRenderDynamicLibraries ¶
func (d_ DeviceObject) HasSupportsRenderDynamicLibraries() bool
func (DeviceObject) HasSupportsShaderBarycentricCoordinates ¶
func (d_ DeviceObject) HasSupportsShaderBarycentricCoordinates() bool
func (DeviceObject) HasSupportsTextureSampleCount ¶
func (d_ DeviceObject) HasSupportsTextureSampleCount() bool
func (DeviceObject) HasSupportsVertexAmplificationCount ¶
func (d_ DeviceObject) HasSupportsVertexAmplificationCount() bool
func (DeviceObject) HasUnifiedMemory ¶
func (d_ DeviceObject) HasUnifiedMemory() bool
A Boolean value that indicates whether the GPU shares all of its memory with the CPU. Full Topic
func (DeviceObject) HeapBufferSizeAndAlignWithLengthOptions ¶
func (d_ DeviceObject) HeapBufferSizeAndAlignWithLengthOptions(length uint, options ResourceOptions) SizeAndAlign
Returns the size and alignment, in bytes, of a buffer if you create it from a heap. Full Topic
func (DeviceObject) HeapTextureSizeAndAlignWithDescriptor ¶
func (d_ DeviceObject) HeapTextureSizeAndAlignWithDescriptor(desc TextureDescriptor) SizeAndAlign
Returns the size and alignment, in bytes, of a texture if you create it from a heap. Full Topic
func (DeviceObject) IsDepth24Stencil8PixelFormatSupported ¶
func (d_ DeviceObject) IsDepth24Stencil8PixelFormatSupported() bool
A Boolean value that indicates whether a device supports a packed depth-and-stencil pixel format. Full Topic
func (DeviceObject) IsHeadless ¶
func (d_ DeviceObject) IsHeadless() bool
A Boolean value that indicates whether a GPU device doesn’t have a connection to a display. Full Topic
func (DeviceObject) IsLowPower ¶
func (d_ DeviceObject) IsLowPower() bool
A Boolean value that indicates whether the GPU lowers its performance to conserve energy. Full Topic
func (DeviceObject) IsRemovable ¶
func (d_ DeviceObject) IsRemovable() bool
A Boolean value that indicates whether the GPU is removable. Full Topic
func (DeviceObject) Location ¶
func (d_ DeviceObject) Location() DeviceLocation
The physical location of the GPU relative to system. Full Topic
func (DeviceObject) LocationNumber ¶
func (d_ DeviceObject) LocationNumber() uint
A specific GPU position based on its general location. Full Topic
func (DeviceObject) MaxArgumentBufferSamplerCount ¶
func (d_ DeviceObject) MaxArgumentBufferSamplerCount() uint
The maximum number of unique argument buffer samplers per app. Full Topic
func (DeviceObject) MaxBufferLength ¶
func (d_ DeviceObject) MaxBufferLength() uint
The largest amount of memory, in bytes, that a GPU device can allocate to a buffer instance. Full Topic
func (DeviceObject) MaxThreadgroupMemoryLength ¶
func (d_ DeviceObject) MaxThreadgroupMemoryLength() uint
The maximum threadgroup memory available to a compute kernel, in bytes. Full Topic
func (DeviceObject) MaxThreadsPerThreadgroup ¶
func (d_ DeviceObject) MaxThreadsPerThreadgroup() Size
The maximum number of threads along each dimension of a threadgroup. Full Topic
func (DeviceObject) MaxTransferRate ¶
func (d_ DeviceObject) MaxTransferRate() uint64
The highest theoretical rate, in bytes per second, the system can copy between system memory and the GPU’s dedicated memory (VRAM). Full Topic
func (DeviceObject) MinimumLinearTextureAlignmentForPixelFormat ¶
func (d_ DeviceObject) MinimumLinearTextureAlignmentForPixelFormat(format PixelFormat) uint
Returns the minimum alignment the GPU device requires to create a linear texture from a buffer. Full Topic
func (DeviceObject) MinimumTextureBufferAlignmentForPixelFormat ¶
func (d_ DeviceObject) MinimumTextureBufferAlignmentForPixelFormat(format PixelFormat) uint
Returns the minimum alignment the GPU device requires to create a texture buffer from a buffer. Full Topic
func (DeviceObject) Name ¶
func (d_ DeviceObject) Name() string
The full name of the GPU device. Full Topic
func (DeviceObject) NewAccelerationStructureWithDescriptor ¶
func (d_ DeviceObject) NewAccelerationStructureWithDescriptor(descriptor AccelerationStructureDescriptor) AccelerationStructureObject
Creates a new ray-tracing acceleration structure from a descriptor. Full Topic
func (DeviceObject) NewAccelerationStructureWithSize ¶
func (d_ DeviceObject) NewAccelerationStructureWithSize(size uint) AccelerationStructureObject
Creates a new acceleration structure with a specific size. Full Topic
func (DeviceObject) NewArgumentEncoderWithArguments ¶
func (d_ DeviceObject) NewArgumentEncoderWithArguments(arguments []ArgumentDescriptor) ArgumentEncoderObject
Creates a new argument encoder for an array of arguments. Full Topic
func (DeviceObject) NewBinaryArchiveWithDescriptorError ¶
func (d_ DeviceObject) NewBinaryArchiveWithDescriptorError(descriptor BinaryArchiveDescriptor, error foundation.Error) BinaryArchiveObject
Creates a Metal binary archive instance. Full Topic
func (DeviceObject) NewBufferWithBytesLengthOptions ¶
func (d_ DeviceObject) NewBufferWithBytesLengthOptions(pointer unsafe.Pointer, length uint, options ResourceOptions) BufferObject
Allocates a new buffer of a given length and initializes its contents by copying existing data into it. Full Topic
func (DeviceObject) NewBufferWithBytesNoCopyLengthOptionsDeallocator ¶
func (d_ DeviceObject) NewBufferWithBytesNoCopyLengthOptionsDeallocator(pointer unsafe.Pointer, length uint, options ResourceOptions, deallocator func(pointer unsafe.Pointer, length uint)) BufferObject
Creates a buffer that wraps an existing contiguous memory allocation. Full Topic
func (DeviceObject) NewBufferWithLengthOptions ¶
func (d_ DeviceObject) NewBufferWithLengthOptions(length uint, options ResourceOptions) BufferObject
Creates a buffer the method clears with zero values. Full Topic
func (DeviceObject) NewCommandQueue ¶
func (d_ DeviceObject) NewCommandQueue() CommandQueueObject
Creates a queue you use to submit rendering and computation commands to a GPU. Full Topic
func (DeviceObject) NewCommandQueueWithMaxCommandBufferCount ¶
func (d_ DeviceObject) NewCommandQueueWithMaxCommandBufferCount(maxCommandBufferCount uint) CommandQueueObject
Creates a queue you use to submit rendering and computation commands to a GPU that has a fixed number of uncompleted command buffers. Full Topic
func (DeviceObject) NewComputePipelineStateWithDescriptorOptionsCompletionHandler ¶
func (d_ DeviceObject) NewComputePipelineStateWithDescriptorOptionsCompletionHandler(descriptor ComputePipelineDescriptor, options PipelineOption, completionHandler NewComputePipelineStateWithReflectionCompletionHandler)
Asynchronously creates a compute pipeline state and reflection information. Full Topic
func (DeviceObject) NewComputePipelineStateWithDescriptorOptionsReflectionError ¶
func (d_ DeviceObject) NewComputePipelineStateWithDescriptorOptionsReflectionError(descriptor ComputePipelineDescriptor, options PipelineOption, reflection *AutoreleasedComputePipelineReflection, error foundation.Error) ComputePipelineStateObject
Synchronously creates a compute pipeline state and reflection information. Full Topic
func (DeviceObject) NewComputePipelineStateWithFunctionCompletionHandler ¶
func (d_ DeviceObject) NewComputePipelineStateWithFunctionCompletionHandler(computeFunction FunctionObject, completionHandler NewComputePipelineStateCompletionHandler)
Asynchronously creates a new compute pipeline state with a function instance. Full Topic
func (DeviceObject) NewComputePipelineStateWithFunctionError ¶
func (d_ DeviceObject) NewComputePipelineStateWithFunctionError(computeFunction FunctionObject, error foundation.Error) ComputePipelineStateObject
Synchronously creates a new compute pipeline state with a function instance. Full Topic
func (DeviceObject) NewComputePipelineStateWithFunctionOptionsCompletionHandler ¶
func (d_ DeviceObject) NewComputePipelineStateWithFunctionOptionsCompletionHandler(computeFunction FunctionObject, options PipelineOption, completionHandler NewComputePipelineStateWithReflectionCompletionHandler)
Asynchronously creates a compute pipeline state and reflection with a function instance. Full Topic
func (DeviceObject) NewComputePipelineStateWithFunctionOptionsReflectionError ¶
func (d_ DeviceObject) NewComputePipelineStateWithFunctionOptionsReflectionError(computeFunction FunctionObject, options PipelineOption, reflection *AutoreleasedComputePipelineReflection, error foundation.Error) ComputePipelineStateObject
Synchronously creates a compute pipeline state and reflection with a function instance. Full Topic
func (DeviceObject) NewCounterSampleBufferWithDescriptorError ¶
func (d_ DeviceObject) NewCounterSampleBufferWithDescriptorError(descriptor CounterSampleBufferDescriptor, error foundation.Error) CounterSampleBufferObject
Creates a counter sample buffer. Full Topic
func (DeviceObject) NewDefaultLibrary ¶
func (d_ DeviceObject) NewDefaultLibrary() LibraryObject
Creates a Metal library instance that contains the functions from your app’s default Metal library. Full Topic
func (DeviceObject) NewDefaultLibraryWithBundleError ¶
func (d_ DeviceObject) NewDefaultLibraryWithBundleError(bundle foundation.Bundle, error foundation.Error) LibraryObject
Creates a Metal library instance that contains the functions in a bundle’s default Metal library. Full Topic
func (DeviceObject) NewDepthStencilStateWithDescriptor ¶
func (d_ DeviceObject) NewDepthStencilStateWithDescriptor(descriptor DepthStencilDescriptor) DepthStencilStateObject
Creates a depth-stencil state instance. Full Topic
func (DeviceObject) NewDynamicLibraryError ¶
func (d_ DeviceObject) NewDynamicLibraryError(library LibraryObject, error foundation.Error) DynamicLibraryObject
Creates a Metal dynamic library instance from a Metal library instance. Full Topic
func (DeviceObject) NewDynamicLibraryWithURLError ¶
func (d_ DeviceObject) NewDynamicLibraryWithURLError(url foundation.URL, error foundation.Error) DynamicLibraryObject
Creates a Metal dynamic library instance that contains the functions in the Metal library file at a URL. Full Topic
func (DeviceObject) NewEvent ¶
func (d_ DeviceObject) NewEvent() EventObject
Creates a new event instance that you can use to synchronize commands and resources within the same GPU device. Full Topic
func (DeviceObject) NewFence ¶
func (d_ DeviceObject) NewFence() FenceObject
Creates a new memory fence instance. Full Topic
func (DeviceObject) NewHeapWithDescriptor ¶
func (d_ DeviceObject) NewHeapWithDescriptor(descriptor HeapDescriptor) HeapObject
Creates a new GPU heap instance. Full Topic
func (DeviceObject) NewIndirectCommandBufferWithDescriptorMaxCommandCountOptions ¶
func (d_ DeviceObject) NewIndirectCommandBufferWithDescriptorMaxCommandCountOptions(descriptor IndirectCommandBufferDescriptor, maxCount uint, options ResourceOptions) IndirectCommandBufferObject
Creates an indirect command buffer instance. Full Topic
func (DeviceObject) NewLibraryWithDataError ¶
func (d_ DeviceObject) NewLibraryWithDataError(data dispatch.Data, error foundation.Error) LibraryObject
Creates a Metal library instance that contains the functions in a precompiled Metal library. Full Topic
func (DeviceObject) NewLibraryWithSourceOptionsCompletionHandler ¶
func (d_ DeviceObject) NewLibraryWithSourceOptionsCompletionHandler(source string, options CompileOptions, completionHandler NewLibraryCompletionHandler)
Asynchronously creates a Metal library instance by compiling the functions in a source string. Full Topic
func (DeviceObject) NewLibraryWithSourceOptionsError ¶
func (d_ DeviceObject) NewLibraryWithSourceOptionsError(source string, options CompileOptions, error foundation.Error) LibraryObject
Synchronously creates a Metal library instance by compiling the functions in a source string. Full Topic
func (DeviceObject) NewLibraryWithStitchedDescriptorCompletionHandler ¶
func (d_ DeviceObject) NewLibraryWithStitchedDescriptorCompletionHandler(descriptor StitchedLibraryDescriptor, completionHandler NewLibraryCompletionHandler)
Asynchronously creates a Metal library from the function stitching graphs in a descriptor. Full Topic
func (DeviceObject) NewLibraryWithStitchedDescriptorError ¶
func (d_ DeviceObject) NewLibraryWithStitchedDescriptorError(descriptor StitchedLibraryDescriptor, error foundation.Error) LibraryObject
Synchronously creates a Metal library from the function stitching graphs in a descriptor. Full Topic
func (DeviceObject) NewLibraryWithURLError ¶
func (d_ DeviceObject) NewLibraryWithURLError(url foundation.URL, error foundation.Error) LibraryObject
Creates a Metal library instance that contains the functions in the Metal library file at a URL. Full Topic
func (DeviceObject) NewRasterizationRateMapWithDescriptor ¶
func (d_ DeviceObject) NewRasterizationRateMapWithDescriptor(descriptor RasterizationRateMapDescriptor) RasterizationRateMapObject
Creates a rasterization rate map instance. Full Topic
func (DeviceObject) NewRenderPipelineStateWithDescriptorCompletionHandler ¶
func (d_ DeviceObject) NewRenderPipelineStateWithDescriptorCompletionHandler(descriptor RenderPipelineDescriptor, completionHandler NewRenderPipelineStateCompletionHandler)
Asynchronously creates a render pipeline state. Full Topic
func (DeviceObject) NewRenderPipelineStateWithDescriptorError ¶
func (d_ DeviceObject) NewRenderPipelineStateWithDescriptorError(descriptor RenderPipelineDescriptor, error foundation.Error) RenderPipelineStateObject
Synchronously creates a render pipeline state. Full Topic
func (DeviceObject) NewRenderPipelineStateWithDescriptorOptionsCompletionHandler ¶
func (d_ DeviceObject) NewRenderPipelineStateWithDescriptorOptionsCompletionHandler(descriptor RenderPipelineDescriptor, options PipelineOption, completionHandler NewRenderPipelineStateWithReflectionCompletionHandler)
Asynchronously creates a render pipeline state and reflection information. Full Topic
func (DeviceObject) NewRenderPipelineStateWithDescriptorOptionsReflectionError ¶
func (d_ DeviceObject) NewRenderPipelineStateWithDescriptorOptionsReflectionError(descriptor RenderPipelineDescriptor, options PipelineOption, reflection *AutoreleasedRenderPipelineReflection, error foundation.Error) RenderPipelineStateObject
Synchronously creates a render pipeline state and reflection information. Full Topic
func (DeviceObject) NewRenderPipelineStateWithTileDescriptorOptionsCompletionHandler ¶
func (d_ DeviceObject) NewRenderPipelineStateWithTileDescriptorOptionsCompletionHandler(descriptor TileRenderPipelineDescriptor, options PipelineOption, completionHandler NewRenderPipelineStateWithReflectionCompletionHandler)
Asynchronously creates a tile shader’s render pipeline state and reflection information. Full Topic
func (DeviceObject) NewRenderPipelineStateWithTileDescriptorOptionsReflectionError ¶
func (d_ DeviceObject) NewRenderPipelineStateWithTileDescriptorOptionsReflectionError(descriptor TileRenderPipelineDescriptor, options PipelineOption, reflection *AutoreleasedRenderPipelineReflection, error foundation.Error) RenderPipelineStateObject
Synchronously creates a tile shader’s render pipeline state and reflection information. Full Topic
func (DeviceObject) NewSamplerStateWithDescriptor ¶
func (d_ DeviceObject) NewSamplerStateWithDescriptor(descriptor SamplerDescriptor) SamplerStateObject
Creates a sampler state instance. Full Topic
func (DeviceObject) NewSharedEvent ¶
func (d_ DeviceObject) NewSharedEvent() SharedEventObject
Creates a new shared event instance that you can use to synchronize commands and resources across different GPU devices. Full Topic
func (DeviceObject) NewSharedEventWithHandle ¶
func (d_ DeviceObject) NewSharedEventWithHandle(sharedEventHandle SharedEventHandle) SharedEventObject
Recreates a shared event from a handle. Full Topic
func (DeviceObject) NewSharedTextureWithDescriptor ¶
func (d_ DeviceObject) NewSharedTextureWithDescriptor(descriptor TextureDescriptor) TextureObject
Creates a texture that you can share across process boundaries. Full Topic
func (DeviceObject) NewSharedTextureWithHandle ¶
func (d_ DeviceObject) NewSharedTextureWithHandle(sharedHandle SharedTextureHandle) TextureObject
Creates a texture that references a shared texture. Full Topic
func (DeviceObject) NewTextureWithDescriptor ¶
func (d_ DeviceObject) NewTextureWithDescriptor(descriptor TextureDescriptor) TextureObject
Creates a new texture instance. Full Topic
func (DeviceObject) NewTextureWithDescriptorIosurfacePlane ¶
func (d_ DeviceObject) NewTextureWithDescriptorIosurfacePlane(descriptor TextureDescriptor, iosurface iosurface.Ref, plane uint) TextureObject
Creates a texture instance that uses I/O surface to store its underlying data. Full Topic
func (DeviceObject) PeerCount ¶
func (d_ DeviceObject) PeerCount() uint32
The total number of GPUs in the peer group, if applicable. Full Topic
func (DeviceObject) PeerGroupID ¶
func (d_ DeviceObject) PeerGroupID() uint64
The peer group ID the GPU belongs to, if applicable. Full Topic
func (DeviceObject) PeerIndex ¶
func (d_ DeviceObject) PeerIndex() uint32
The unique identifier for a GPU in a peer group. Full Topic
func (DeviceObject) ReadWriteTextureSupport ¶
func (d_ DeviceObject) ReadWriteTextureSupport() ReadWriteTextureTier
The GPU device’s texture support tier. Full Topic
func (DeviceObject) RecommendedMaxWorkingSetSize ¶
func (d_ DeviceObject) RecommendedMaxWorkingSetSize() uint64
An approximation of how much memory, in bytes, this GPU device can allocate without affecting its runtime performance. Full Topic
func (DeviceObject) RegistryID ¶
func (d_ DeviceObject) RegistryID() uint64
The GPU device’s registry identifier. Full Topic
func (DeviceObject) SampleTimestampsGpuTimestamp ¶
func (d_ DeviceObject) SampleTimestampsGpuTimestamp(cpuTimestamp *Timestamp, gpuTimestamp *Timestamp)
Captures and returns a CPU timestamp and a GPU timestamp from the same moment in time. Full Topic
func (DeviceObject) SparseTileSizeInBytes ¶
func (d_ DeviceObject) SparseTileSizeInBytes() uint
Returns the size, in bytes, of a sparse tile the GPU device creates using a default page size. Full Topic
func (DeviceObject) SparseTileSizeWithTextureTypePixelFormatSampleCount ¶
func (d_ DeviceObject) SparseTileSizeWithTextureTypePixelFormatSampleCount(textureType TextureType, pixelFormat PixelFormat, sampleCount uint) Size
Returns the dimensions of a sparse tile for a texture. Full Topic
func (DeviceObject) Supports32BitFloatFiltering ¶
func (d_ DeviceObject) Supports32BitFloatFiltering() bool
A Boolean value that indicates whether the GPU can filter a texture with a 32-bit floating-point format. Full Topic
func (DeviceObject) Supports32BitMSAA ¶
func (d_ DeviceObject) Supports32BitMSAA() bool
A Boolean value that indicates whether the GPU can allocate 32-bit integer texture formats and resolve to 32-bit floating-point texture formats. Full Topic
func (DeviceObject) SupportsBCTextureCompression ¶
func (d_ DeviceObject) SupportsBCTextureCompression() bool
A Boolean value that indicates whether you can use textures that use BC compression. Full Topic
func (DeviceObject) SupportsCounterSampling ¶
func (d_ DeviceObject) SupportsCounterSampling(samplingPoint CounterSamplingPoint) bool
Returns a Boolean value that indicates whether you can read GPU counters at the specified command boundary. Full Topic
func (DeviceObject) SupportsDynamicLibraries ¶
func (d_ DeviceObject) SupportsDynamicLibraries() bool
A Boolean value that indicates whether the GPU device can create and use dynamic libraries in compute pipelines. Full Topic
func (DeviceObject) SupportsFamily ¶
func (d_ DeviceObject) SupportsFamily(gpuFamily GPUFamily) bool
Returns a Boolean value that indicates whether the GPU device supports the feature set of a specific GPU family. Full Topic
func (DeviceObject) SupportsFunctionPointers ¶
func (d_ DeviceObject) SupportsFunctionPointers() bool
A Boolean value that indicates whether the GPU device supports pointers to compute kernel functions. Full Topic
func (DeviceObject) SupportsFunctionPointersFromRender ¶
func (d_ DeviceObject) SupportsFunctionPointersFromRender() bool
A Boolean value that indicates whether the GPU device supports pointers to render functions. Full Topic
func (DeviceObject) SupportsPrimitiveMotionBlur ¶
func (d_ DeviceObject) SupportsPrimitiveMotionBlur() bool
A Boolean value that indicates whether the GPU device supports motion blur for ray tracing. Full Topic
func (DeviceObject) SupportsPullModelInterpolation ¶
func (d_ DeviceObject) SupportsPullModelInterpolation() bool
A Boolean value that indicates whether the GPU can compute multiple interpolations of a fragment function’s input. Full Topic
func (DeviceObject) SupportsQueryTextureLOD ¶
func (d_ DeviceObject) SupportsQueryTextureLOD() bool
A Boolean value that indicates whether you can query the texture level of detail from within a shader. Full Topic
func (DeviceObject) SupportsRasterizationRateMapWithLayerCount ¶
func (d_ DeviceObject) SupportsRasterizationRateMapWithLayerCount(layerCount uint) bool
Returns a Boolean value that indicates whether the GPU can create a rasterization rate map with a specific number of layers. Full Topic
func (DeviceObject) SupportsRaytracing ¶
func (d_ DeviceObject) SupportsRaytracing() bool
A Boolean value that indicates whether the GPU device supports ray tracing. Full Topic
func (DeviceObject) SupportsRaytracingFromRender ¶
func (d_ DeviceObject) SupportsRaytracingFromRender() bool
A Boolean value that indicates whether you can call ray-tracing functions from a vertex or fragment shader. Full Topic
func (DeviceObject) SupportsRenderDynamicLibraries ¶
func (d_ DeviceObject) SupportsRenderDynamicLibraries() bool
A Boolean value that indicates whether the GPU device can create and use dynamic libraries in render pipelines. Full Topic
func (DeviceObject) SupportsShaderBarycentricCoordinates ¶
func (d_ DeviceObject) SupportsShaderBarycentricCoordinates() bool
A Boolean value that indicates whether the GPU supports barycentric coordinates. Full Topic
func (DeviceObject) SupportsTextureSampleCount ¶
func (d_ DeviceObject) SupportsTextureSampleCount(sampleCount uint) bool
Returns a Boolean value that indicates whether the GPU can sample a texture with a specific number of sample points. Full Topic
func (DeviceObject) SupportsVertexAmplificationCount ¶
func (d_ DeviceObject) SupportsVertexAmplificationCount(count uint) bool
Returns a Boolean value that indicates whether the GPU supports an amplification factor. Full Topic
type DispatchThreadgroupsIndirectArguments ¶
type DispatchThreadgroupsIndirectArguments struct {
ThreadgroupsPerGrid [3]uint32
}
The data layout required for the arguments needed to specify the size of threadgroups. Full Topic
type DispatchType ¶
type DispatchType uint
Instructs a compute command encoder to run commands serially or in parallel during a compute pass. Full Topic
const ( DispatchTypeConcurrent DispatchType = 1 DispatchTypeSerial DispatchType = 0 )
type DrawIndexedPrimitivesIndirectArguments ¶
type DrawIndexedPrimitivesIndirectArguments struct { IndexCount uint32 InstanceCount uint32 IndexStart uint32 BaseVertex int32 BaseInstance uint32 }
The data layout required for drawing indexed primitives via indirect buffer calls. Full Topic
type DrawPatchIndirectArguments ¶
type DrawPatchIndirectArguments struct { PatchCount uint32 InstanceCount uint32 PatchStart uint32 BaseInstance uint32 }
The data layout required for drawing patches via indirect buffer calls. Full Topic
type DrawPrimitivesIndirectArguments ¶
type DrawPrimitivesIndirectArguments struct { VertexCount uint32 InstanceCount uint32 VertexStart uint32 BaseInstance uint32 }
The data layout required for drawing primitives via indirect buffer calls. Full Topic
type DrawableObject ¶
A concrete type for the PDrawable protocol.
func (DrawableObject) AddPresentedHandler ¶
func (d_ DrawableObject) AddPresentedHandler(block DrawablePresentedHandler)
Registers a block of code to be called immediately after the drawable is presented. Full Topic
func (DrawableObject) DrawableID ¶
func (d_ DrawableObject) DrawableID() uint
A positive integer that identifies the drawable. Full Topic
func (DrawableObject) HasAddPresentedHandler ¶
func (d_ DrawableObject) HasAddPresentedHandler() bool
func (DrawableObject) HasDrawableID ¶
func (d_ DrawableObject) HasDrawableID() bool
func (DrawableObject) HasPresent ¶
func (d_ DrawableObject) HasPresent() bool
func (DrawableObject) HasPresentAfterMinimumDuration ¶
func (d_ DrawableObject) HasPresentAfterMinimumDuration() bool
func (DrawableObject) HasPresentAtTime ¶
func (d_ DrawableObject) HasPresentAtTime() bool
func (DrawableObject) HasPresentedTime ¶
func (d_ DrawableObject) HasPresentedTime() bool
func (DrawableObject) Present ¶
func (d_ DrawableObject) Present()
Presents the drawable onscreen as soon as possible. Full Topic
func (DrawableObject) PresentAfterMinimumDuration ¶
func (d_ DrawableObject) PresentAfterMinimumDuration(duration corefoundation.TimeInterval)
Presents the drawable onscreen as soon as possible after a previous drawable is visible for the specified duration. Full Topic
func (DrawableObject) PresentAtTime ¶
func (d_ DrawableObject) PresentAtTime(presentationTime corefoundation.TimeInterval)
Presents the drawable onscreen at a specific host time. Full Topic
func (DrawableObject) PresentedTime ¶
func (d_ DrawableObject) PresentedTime() corefoundation.TimeInterval
The host time, in seconds, when the drawable was displayed onscreen. Full Topic
type DrawablePresentedHandler ¶
type DrawablePresentedHandler = func(arg0 DrawableObject)
A block of code invoked after a drawable is presented. Full Topic
type DynamicLibraryError ¶
type DynamicLibraryError uint
Error codes that Metal can generate when creating dynamic libraries. Full Topic
const ( DynamicLibraryErrorCompilationFailure DynamicLibraryError = 2 DynamicLibraryErrorDependencyLoadFailure DynamicLibraryError = 4 DynamicLibraryErrorInvalidFile DynamicLibraryError = 1 DynamicLibraryErrorNone DynamicLibraryError = 0 DynamicLibraryErrorUnresolvedInstallName DynamicLibraryError = 3 DynamicLibraryErrorUnsupported DynamicLibraryError = 5 )
type DynamicLibraryObject ¶
A concrete type for the PDynamicLibrary protocol.
func (DynamicLibraryObject) Device ¶
func (d_ DynamicLibraryObject) Device() DeviceObject
The Metal device object that created the dynamic library. Full Topic
func (DynamicLibraryObject) HasDevice ¶
func (d_ DynamicLibraryObject) HasDevice() bool
func (DynamicLibraryObject) HasInstallName ¶
func (d_ DynamicLibraryObject) HasInstallName() bool
func (DynamicLibraryObject) HasLabel ¶
func (d_ DynamicLibraryObject) HasLabel() bool
func (DynamicLibraryObject) HasSerializeToURLError ¶
func (d_ DynamicLibraryObject) HasSerializeToURLError() bool
func (DynamicLibraryObject) HasSetLabel ¶
func (d_ DynamicLibraryObject) HasSetLabel() bool
func (DynamicLibraryObject) InstallName ¶
func (d_ DynamicLibraryObject) InstallName() string
A file path for this dynamic library. Full Topic
func (DynamicLibraryObject) Label ¶
func (d_ DynamicLibraryObject) Label() string
A string that identifies the library. Full Topic
func (DynamicLibraryObject) SerializeToURLError ¶
func (d_ DynamicLibraryObject) SerializeToURLError(url foundation.URL, error foundation.Error) bool
Writes the contents of the dynamic library to a file. Full Topic
func (DynamicLibraryObject) SetLabel ¶
func (d_ DynamicLibraryObject) SetLabel(value string)
A string that identifies the library. Full Topic
type EventObject ¶
A concrete type for the PEvent protocol.
func (EventObject) Device ¶
func (e_ EventObject) Device() DeviceObject
The device object that created the event. Full Topic
func (EventObject) HasDevice ¶
func (e_ EventObject) HasDevice() bool
func (EventObject) HasLabel ¶
func (e_ EventObject) HasLabel() bool
func (EventObject) HasSetLabel ¶
func (e_ EventObject) HasSetLabel() bool
func (EventObject) Label ¶
func (e_ EventObject) Label() string
A string that identifies the event. Full Topic
func (EventObject) SetLabel ¶
func (e_ EventObject) SetLabel(value string)
A string that identifies the event. Full Topic
type FeatureSet ¶
type FeatureSet uint
The device feature sets that define specific platform, hardware, and software configurations. Full Topic
const ( FeatureSet_macOS_GPUFamily1_v1 FeatureSet = 10000 FeatureSet_macOS_GPUFamily1_v2 FeatureSet = 10001 FeatureSet_macOS_GPUFamily1_v3 FeatureSet = 10003 FeatureSet_macOS_GPUFamily1_v4 FeatureSet = 10004 FeatureSet_macOS_GPUFamily2_v1 FeatureSet = 10005 FeatureSet_macOS_ReadWriteTextureTier2 FeatureSet = 10002 )
type FenceObject ¶
A concrete type for the PFence protocol.
func (FenceObject) Device ¶
func (f_ FenceObject) Device() DeviceObject
The device object that created the fence. Full Topic
func (FenceObject) HasDevice ¶
func (f_ FenceObject) HasDevice() bool
func (FenceObject) HasLabel ¶
func (f_ FenceObject) HasLabel() bool
func (FenceObject) HasSetLabel ¶
func (f_ FenceObject) HasSetLabel() bool
func (FenceObject) Label ¶
func (f_ FenceObject) Label() string
A string that identifies the fence. Full Topic
func (FenceObject) SetLabel ¶
func (f_ FenceObject) SetLabel(value string)
A string that identifies the fence. Full Topic
type FunctionConstant ¶
A constant used to specialize the behavior of a shader. Full Topic
func FunctionConstantFrom ¶
func FunctionConstantFrom(ptr unsafe.Pointer) FunctionConstant
func NewFunctionConstant ¶
func NewFunctionConstant() FunctionConstant
func (FunctionConstant) Index ¶
func (f_ FunctionConstant) Index() uint
The index of the function constant. Full Topic
func (FunctionConstant) Init ¶
func (f_ FunctionConstant) Init() FunctionConstant
func (FunctionConstant) Name ¶
func (f_ FunctionConstant) Name() string
The name of the function constant. Full Topic
func (FunctionConstant) Required ¶
func (f_ FunctionConstant) Required() bool
A Boolean value indicating whether the function constant must be provided to specialize the function. Full Topic
func (FunctionConstant) Type ¶
func (f_ FunctionConstant) Type() DataType
The data type of the function constant. Full Topic
type FunctionConstantValues ¶
A set of constant values used to specialize a graphics or compute function. Full Topic
func FunctionConstantValuesFrom ¶
func FunctionConstantValuesFrom(ptr unsafe.Pointer) FunctionConstantValues
func NewFunctionConstantValues ¶
func NewFunctionConstantValues() FunctionConstantValues
func (FunctionConstantValues) Init ¶
func (f_ FunctionConstantValues) Init() FunctionConstantValues
func (FunctionConstantValues) Reset ¶
func (f_ FunctionConstantValues) Reset()
Deletes all previously set constant values. Full Topic
func (FunctionConstantValues) SetConstantValueTypeAtIndex ¶
func (f_ FunctionConstantValues) SetConstantValueTypeAtIndex(value unsafe.Pointer, type_ DataType, index uint)
Sets a value for a function constant at a specific index. Full Topic
func (FunctionConstantValues) SetConstantValueTypeWithName ¶
func (f_ FunctionConstantValues) SetConstantValueTypeWithName(value unsafe.Pointer, type_ DataType, name string)
Sets a value for a function constant with a specific name. Full Topic
func (FunctionConstantValues) SetConstantValuesTypeWithRange ¶
func (f_ FunctionConstantValues) SetConstantValuesTypeWithRange(values unsafe.Pointer, type_ DataType, range_ foundation.Range)
Sets values for a group of function constants within a specific index range. Full Topic
type FunctionDescriptor ¶
A description of a function object to create. Full Topic
func FunctionDescriptorFrom ¶
func FunctionDescriptorFrom(ptr unsafe.Pointer) FunctionDescriptor
func FunctionDescriptor_FunctionDescriptor ¶
func FunctionDescriptor_FunctionDescriptor() FunctionDescriptor
Creates a default function descriptor. Full Topic
func NewFunctionDescriptor ¶
func NewFunctionDescriptor() FunctionDescriptor
func (FunctionDescriptor) BinaryArchives ¶
func (f_ FunctionDescriptor) BinaryArchives() []BinaryArchiveObject
The binary archives to search for a previously-compiled version of this function. Full Topic
func (FunctionDescriptor) ConstantValues ¶
func (f_ FunctionDescriptor) ConstantValues() FunctionConstantValues
The set of constant values assigned to the function constants. Full Topic
func (FunctionDescriptor) Init ¶
func (f_ FunctionDescriptor) Init() FunctionDescriptor
func (FunctionDescriptor) Name ¶
func (f_ FunctionDescriptor) Name() string
The name of the function to fetch from the library. Full Topic
func (FunctionDescriptor) Options ¶
func (f_ FunctionDescriptor) Options() FunctionOptions
Flags specifying how Metal should create the new function object. Full Topic
func (FunctionDescriptor) SetBinaryArchives ¶
func (f_ FunctionDescriptor) SetBinaryArchives(value []PBinaryArchive)
The binary archives to search for a previously-compiled version of this function. Full Topic
func (FunctionDescriptor) SetConstantValues ¶
func (f_ FunctionDescriptor) SetConstantValues(value IFunctionConstantValues)
The set of constant values assigned to the function constants. Full Topic
func (FunctionDescriptor) SetName ¶
func (f_ FunctionDescriptor) SetName(value string)
The name of the function to fetch from the library. Full Topic
func (FunctionDescriptor) SetOptions ¶
func (f_ FunctionDescriptor) SetOptions(value FunctionOptions)
Flags specifying how Metal should create the new function object. Full Topic
func (FunctionDescriptor) SetSpecializedName ¶
func (f_ FunctionDescriptor) SetSpecializedName(value string)
A new name for the created function object. Full Topic
func (FunctionDescriptor) SpecializedName ¶
func (f_ FunctionDescriptor) SpecializedName() string
A new name for the created function object. Full Topic
type FunctionHandleObject ¶
A concrete type for the PFunctionHandle protocol.
func (FunctionHandleObject) Device ¶
func (f_ FunctionHandleObject) Device() DeviceObject
The device object that created the shader function. Full Topic
func (FunctionHandleObject) FunctionType ¶
func (f_ FunctionHandleObject) FunctionType() FunctionType
The shader function’s type. Full Topic
func (FunctionHandleObject) HasDevice ¶
func (f_ FunctionHandleObject) HasDevice() bool
func (FunctionHandleObject) HasFunctionType ¶
func (f_ FunctionHandleObject) HasFunctionType() bool
func (FunctionHandleObject) HasName ¶
func (f_ FunctionHandleObject) HasName() bool
func (FunctionHandleObject) Name ¶
func (f_ FunctionHandleObject) Name() string
The function’s name. Full Topic
type FunctionLogDebugLocationObject ¶
A concrete type for the PFunctionLogDebugLocation protocol.
func (FunctionLogDebugLocationObject) Column ¶
func (f_ FunctionLogDebugLocationObject) Column() uint
The column where the log message appears. Full Topic
func (FunctionLogDebugLocationObject) FunctionName ¶
func (f_ FunctionLogDebugLocationObject) FunctionName() string
The name of the shader function. Full Topic
func (FunctionLogDebugLocationObject) HasColumn ¶
func (f_ FunctionLogDebugLocationObject) HasColumn() bool
func (FunctionLogDebugLocationObject) HasFunctionName ¶
func (f_ FunctionLogDebugLocationObject) HasFunctionName() bool
func (FunctionLogDebugLocationObject) HasLine ¶
func (f_ FunctionLogDebugLocationObject) HasLine() bool
func (FunctionLogDebugLocationObject) HasURL ¶
func (f_ FunctionLogDebugLocationObject) HasURL() bool
func (FunctionLogDebugLocationObject) Line ¶
func (f_ FunctionLogDebugLocationObject) Line() uint
The line that the log message appears on. Full Topic
func (FunctionLogDebugLocationObject) URL ¶
func (f_ FunctionLogDebugLocationObject) URL() foundation.URL
The URL of the file that contains the shader function. Full Topic
type FunctionLogObject ¶
A concrete type for the PFunctionLog protocol.
func (FunctionLogObject) DebugLocation ¶
func (f_ FunctionLogObject) DebugLocation() FunctionLogDebugLocationObject
If known, the location of the logging command within a shader source file. Full Topic
func (FunctionLogObject) EncoderLabel ¶
func (f_ FunctionLogObject) EncoderLabel() string
The label for the encoder that logged the message. Full Topic
func (FunctionLogObject) Function ¶
func (f_ FunctionLogObject) Function() FunctionObject
When known, the function object corresponding to the logged message. Full Topic
func (FunctionLogObject) HasDebugLocation ¶
func (f_ FunctionLogObject) HasDebugLocation() bool
func (FunctionLogObject) HasEncoderLabel ¶
func (f_ FunctionLogObject) HasEncoderLabel() bool
func (FunctionLogObject) HasFunction ¶
func (f_ FunctionLogObject) HasFunction() bool
func (FunctionLogObject) HasType ¶
func (f_ FunctionLogObject) HasType() bool
func (FunctionLogObject) Type ¶
func (f_ FunctionLogObject) Type() FunctionLogType
The type of message that was logged. Full Topic
type FunctionLogType ¶
type FunctionLogType uint
Options for different kinds of function logs. Full Topic
const (
FunctionLogTypeValidation FunctionLogType = 0
)
type FunctionObject ¶
A concrete type for the PFunction protocol.
func (FunctionObject) Device ¶
func (f_ FunctionObject) Device() DeviceObject
The device object that created the shader function. Full Topic
func (FunctionObject) FunctionConstantsDictionary ¶
func (f_ FunctionObject) FunctionConstantsDictionary() map[string]FunctionConstant
A dictionary of function constants for a specialized function. Full Topic
func (FunctionObject) FunctionType ¶
func (f_ FunctionObject) FunctionType() FunctionType
The shader function’s type. Full Topic
func (FunctionObject) HasDevice ¶
func (f_ FunctionObject) HasDevice() bool
func (FunctionObject) HasFunctionConstantsDictionary ¶
func (f_ FunctionObject) HasFunctionConstantsDictionary() bool
func (FunctionObject) HasFunctionType ¶
func (f_ FunctionObject) HasFunctionType() bool
func (FunctionObject) HasLabel ¶
func (f_ FunctionObject) HasLabel() bool
func (FunctionObject) HasName ¶
func (f_ FunctionObject) HasName() bool
func (FunctionObject) HasNewArgumentEncoderWithBufferIndex ¶
func (f_ FunctionObject) HasNewArgumentEncoderWithBufferIndex() bool
func (FunctionObject) HasOptions ¶
func (f_ FunctionObject) HasOptions() bool
func (FunctionObject) HasPatchControlPointCount ¶
func (f_ FunctionObject) HasPatchControlPointCount() bool
func (FunctionObject) HasPatchType ¶
func (f_ FunctionObject) HasPatchType() bool
func (FunctionObject) HasSetLabel ¶
func (f_ FunctionObject) HasSetLabel() bool
func (FunctionObject) HasStageInputAttributes ¶
func (f_ FunctionObject) HasStageInputAttributes() bool
func (FunctionObject) HasVertexAttributes ¶
func (f_ FunctionObject) HasVertexAttributes() bool
func (FunctionObject) Label ¶
func (f_ FunctionObject) Label() string
A string that identifies the shader function. Full Topic
func (FunctionObject) NewArgumentEncoderWithBufferIndex ¶
func (f_ FunctionObject) NewArgumentEncoderWithBufferIndex(bufferIndex uint) ArgumentEncoderObject
Creates an argument encoder for an argument buffer that’s one of this function's arguments. Full Topic
func (FunctionObject) Options ¶
func (f_ FunctionObject) Options() FunctionOptions
The options that Metal used to compile this function. Full Topic
func (FunctionObject) PatchControlPointCount ¶
func (f_ FunctionObject) PatchControlPointCount() int
The number of patch control points in the post-tessellation vertex function. Full Topic
func (FunctionObject) PatchType ¶
func (f_ FunctionObject) PatchType() PatchType
The tessellation patch type of a post-tessellation vertex function. Full Topic
func (FunctionObject) SetLabel ¶
func (f_ FunctionObject) SetLabel(value string)
A string that identifies the shader function. Full Topic
func (FunctionObject) StageInputAttributes ¶
func (f_ FunctionObject) StageInputAttributes() []Attribute
An array that describes the input attributes to the function. Full Topic
func (FunctionObject) VertexAttributes ¶
func (f_ FunctionObject) VertexAttributes() []VertexAttribute
An array that describes the vertex input attributes to a vertex function. Full Topic
type FunctionOptions ¶
type FunctionOptions uint
Options that define how Metal creates the function object. Full Topic
const ( FunctionOptionCompileToBinary FunctionOptions = 1 FunctionOptionNone FunctionOptions = 0 )
type FunctionStitchingAttributeAlwaysInline ¶
An attribute to specify that Metal needs to inline all of the function calls when generating the stitched function. Full Topic
func FunctionStitchingAttributeAlwaysInlineFrom ¶
func FunctionStitchingAttributeAlwaysInlineFrom(ptr unsafe.Pointer) FunctionStitchingAttributeAlwaysInline
func NewFunctionStitchingAttributeAlwaysInline ¶
func NewFunctionStitchingAttributeAlwaysInline() FunctionStitchingAttributeAlwaysInline
type FunctionStitchingAttributeObject ¶
A concrete type for the PFunctionStitchingAttribute protocol.
type FunctionStitchingFunctionNode ¶
A call graph node that describes a function call and its inputs. Full Topic
func FunctionStitchingFunctionNodeFrom ¶
func FunctionStitchingFunctionNodeFrom(ptr unsafe.Pointer) FunctionStitchingFunctionNode
func NewFunctionStitchingFunctionNode ¶
func NewFunctionStitchingFunctionNode() FunctionStitchingFunctionNode
func NewFunctionStitchingFunctionNodeWithNameArgumentsControlDependencies ¶
func NewFunctionStitchingFunctionNodeWithNameArgumentsControlDependencies(name string, arguments []PFunctionStitchingNode, controlDependencies []IFunctionStitchingFunctionNode) FunctionStitchingFunctionNode
Creates a new function node. Full Topic
func (FunctionStitchingFunctionNode) Arguments ¶
func (f_ FunctionStitchingFunctionNode) Arguments() []FunctionStitchingNodeObject
An ordered list of the nodes that provide the function’s arguments. Full Topic
func (FunctionStitchingFunctionNode) ControlDependencies ¶
func (f_ FunctionStitchingFunctionNode) ControlDependencies() []FunctionStitchingFunctionNode
The list of nodes that must execute before executing the node. Full Topic
func (FunctionStitchingFunctionNode) Init ¶
func (f_ FunctionStitchingFunctionNode) Init() FunctionStitchingFunctionNode
func (FunctionStitchingFunctionNode) InitWithNameArgumentsControlDependencies ¶
func (f_ FunctionStitchingFunctionNode) InitWithNameArgumentsControlDependencies(name string, arguments []PFunctionStitchingNode, controlDependencies []IFunctionStitchingFunctionNode) FunctionStitchingFunctionNode
func (FunctionStitchingFunctionNode) Name ¶
func (f_ FunctionStitchingFunctionNode) Name() string
The name of the function to call. Full Topic
func (FunctionStitchingFunctionNode) SetArguments ¶
func (f_ FunctionStitchingFunctionNode) SetArguments(value []PFunctionStitchingNode)
An ordered list of the nodes that provide the function’s arguments. Full Topic
func (FunctionStitchingFunctionNode) SetControlDependencies ¶
func (f_ FunctionStitchingFunctionNode) SetControlDependencies(value []IFunctionStitchingFunctionNode)
The list of nodes that must execute before executing the node. Full Topic
func (FunctionStitchingFunctionNode) SetName ¶
func (f_ FunctionStitchingFunctionNode) SetName(value string)
The name of the function to call. Full Topic
type FunctionStitchingGraph ¶
A description of a new stitched function. Full Topic
func FunctionStitchingGraphFrom ¶
func FunctionStitchingGraphFrom(ptr unsafe.Pointer) FunctionStitchingGraph
func NewFunctionStitchingGraph ¶
func NewFunctionStitchingGraph() FunctionStitchingGraph
func NewFunctionStitchingGraphWithFunctionNameNodesOutputNodeAttributes ¶
func NewFunctionStitchingGraphWithFunctionNameNodesOutputNodeAttributes(functionName string, nodes []IFunctionStitchingFunctionNode, outputNode IFunctionStitchingFunctionNode, attributes []PFunctionStitchingAttribute) FunctionStitchingGraph
Creates a description of a new function call graph. Full Topic
func (FunctionStitchingGraph) Attributes ¶
func (f_ FunctionStitchingGraph) Attributes() []FunctionStitchingAttributeObject
A list of attributes to configure how the Metal device object generates the new stitched function. Full Topic
func (FunctionStitchingGraph) FunctionName ¶
func (f_ FunctionStitchingGraph) FunctionName() string
The name of the new stitched function. Full Topic
func (FunctionStitchingGraph) Init ¶
func (f_ FunctionStitchingGraph) Init() FunctionStitchingGraph
func (FunctionStitchingGraph) InitWithFunctionNameNodesOutputNodeAttributes ¶
func (f_ FunctionStitchingGraph) InitWithFunctionNameNodesOutputNodeAttributes(functionName string, nodes []IFunctionStitchingFunctionNode, outputNode IFunctionStitchingFunctionNode, attributes []PFunctionStitchingAttribute) FunctionStitchingGraph
func (FunctionStitchingGraph) Nodes ¶
func (f_ FunctionStitchingGraph) Nodes() []FunctionStitchingFunctionNode
The nodes in the function’s call graph. Full Topic
func (FunctionStitchingGraph) OutputNode ¶
func (f_ FunctionStitchingGraph) OutputNode() FunctionStitchingFunctionNode
The node with the output that’s the output of the new stitched function. Full Topic
func (FunctionStitchingGraph) SetAttributes ¶
func (f_ FunctionStitchingGraph) SetAttributes(value []PFunctionStitchingAttribute)
A list of attributes to configure how the Metal device object generates the new stitched function. Full Topic
func (FunctionStitchingGraph) SetFunctionName ¶
func (f_ FunctionStitchingGraph) SetFunctionName(value string)
The name of the new stitched function. Full Topic
func (FunctionStitchingGraph) SetNodes ¶
func (f_ FunctionStitchingGraph) SetNodes(value []IFunctionStitchingFunctionNode)
The nodes in the function’s call graph. Full Topic
func (FunctionStitchingGraph) SetOutputNode ¶
func (f_ FunctionStitchingGraph) SetOutputNode(value IFunctionStitchingFunctionNode)
The node with the output that’s the output of the new stitched function. Full Topic
type FunctionStitchingInputNode ¶
A call graph node that describes an input to the call graph. Full Topic
func FunctionStitchingInputNodeFrom ¶
func FunctionStitchingInputNodeFrom(ptr unsafe.Pointer) FunctionStitchingInputNode
func NewFunctionStitchingInputNode ¶
func NewFunctionStitchingInputNode() FunctionStitchingInputNode
func NewFunctionStitchingInputNodeWithArgumentIndex ¶
func NewFunctionStitchingInputNodeWithArgumentIndex(argument uint) FunctionStitchingInputNode
Creates a new input node. Full Topic
func (FunctionStitchingInputNode) ArgumentIndex ¶
func (f_ FunctionStitchingInputNode) ArgumentIndex() uint
The index in the command’s buffer argument table that declares which data to read for this input node. Full Topic
func (FunctionStitchingInputNode) Init ¶
func (f_ FunctionStitchingInputNode) Init() FunctionStitchingInputNode
func (FunctionStitchingInputNode) InitWithArgumentIndex ¶
func (f_ FunctionStitchingInputNode) InitWithArgumentIndex(argument uint) FunctionStitchingInputNode
func (FunctionStitchingInputNode) SetArgumentIndex ¶
func (f_ FunctionStitchingInputNode) SetArgumentIndex(value uint)
The index in the command’s buffer argument table that declares which data to read for this input node. Full Topic
type FunctionStitchingNodeObject ¶
A concrete type for the PFunctionStitchingNode protocol.
type FunctionType ¶
type FunctionType uint
The type of a top-level Metal Shading Language (MSL) function. Full Topic
const ( FunctionTypeFragment FunctionType = 2 FunctionTypeIntersection FunctionType = 6 FunctionTypeKernel FunctionType = 3 FunctionTypeVertex FunctionType = 1 FunctionTypeVisible FunctionType = 5 )
type GPUFamily ¶
type GPUFamily int
Represents the functionality for families of GPUs. Full Topic
const ( GPUFamilyApple1 GPUFamily = 1001 GPUFamilyApple2 GPUFamily = 1002 GPUFamilyApple3 GPUFamily = 1003 GPUFamilyApple4 GPUFamily = 1004 GPUFamilyApple5 GPUFamily = 1005 GPUFamilyApple6 GPUFamily = 1006 GPUFamilyApple7 GPUFamily = 1007 GPUFamilyCommon1 GPUFamily = 3001 GPUFamilyCommon2 GPUFamily = 3002 GPUFamilyCommon3 GPUFamily = 3003 GPUFamilyMac1 GPUFamily = 2001 GPUFamilyMac2 GPUFamily = 2002 GPUFamilyMacCatalyst1 GPUFamily = 4001 GPUFamilyMacCatalyst2 GPUFamily = 4002 )
type HazardTrackingMode ¶
type HazardTrackingMode uint
The options you use to specify the hazard tracking mode. Full Topic
const ( HazardTrackingModeDefault HazardTrackingMode = 0 HazardTrackingModeTracked HazardTrackingMode = 2 HazardTrackingModeUntracked HazardTrackingMode = 1 )
type HeapDescriptor ¶
A configuration that customizes the behavior for a Metal memory heap. Full Topic
func HeapDescriptorFrom ¶
func HeapDescriptorFrom(ptr unsafe.Pointer) HeapDescriptor
func NewHeapDescriptor ¶
func NewHeapDescriptor() HeapDescriptor
func (HeapDescriptor) CpuCacheMode ¶
func (h_ HeapDescriptor) CpuCacheMode() CPUCacheMode
The CPU cache behavior for any resources you allocate from the heaps you create with this descriptor. Full Topic
func (HeapDescriptor) HazardTrackingMode ¶
func (h_ HeapDescriptor) HazardTrackingMode() HazardTrackingMode
The hazard tracking behavior for any resources you allocate from the heaps you create with this descriptor. Full Topic
func (HeapDescriptor) Init ¶
func (h_ HeapDescriptor) Init() HeapDescriptor
func (HeapDescriptor) ResourceOptions ¶
func (h_ HeapDescriptor) ResourceOptions() ResourceOptions
The combined behavior for any resources you allocate from the heaps you create with this descriptor. Full Topic
func (HeapDescriptor) SetCpuCacheMode ¶
func (h_ HeapDescriptor) SetCpuCacheMode(value CPUCacheMode)
The CPU cache behavior for any resources you allocate from the heaps you create with this descriptor. Full Topic
func (HeapDescriptor) SetHazardTrackingMode ¶
func (h_ HeapDescriptor) SetHazardTrackingMode(value HazardTrackingMode)
The hazard tracking behavior for any resources you allocate from the heaps you create with this descriptor. Full Topic
func (HeapDescriptor) SetResourceOptions ¶
func (h_ HeapDescriptor) SetResourceOptions(value ResourceOptions)
The combined behavior for any resources you allocate from the heaps you create with this descriptor. Full Topic
func (HeapDescriptor) SetSize ¶
func (h_ HeapDescriptor) SetSize(value uint)
The total amount of memory, in bytes, for the heaps you create with this descriptor. Full Topic
func (HeapDescriptor) SetStorageMode ¶
func (h_ HeapDescriptor) SetStorageMode(value StorageMode)
The storage mode for the heaps you create with this descriptor. Full Topic
func (HeapDescriptor) SetType ¶
func (h_ HeapDescriptor) SetType(value HeapType)
The memory placement strategy for any resources you allocate from the heaps you create with this descriptor. Full Topic
func (HeapDescriptor) Size ¶
func (h_ HeapDescriptor) Size() uint
The total amount of memory, in bytes, for the heaps you create with this descriptor. Full Topic
func (HeapDescriptor) StorageMode ¶
func (h_ HeapDescriptor) StorageMode() StorageMode
The storage mode for the heaps you create with this descriptor. Full Topic
func (HeapDescriptor) Type ¶
func (h_ HeapDescriptor) Type() HeapType
The memory placement strategy for any resources you allocate from the heaps you create with this descriptor. Full Topic
type HeapObject ¶
A concrete type for the PHeap protocol.
func (HeapObject) CpuCacheMode ¶
func (h_ HeapObject) CpuCacheMode() CPUCacheMode
The heap's CPU cache mode. Full Topic
func (HeapObject) CurrentAllocatedSize ¶
func (h_ HeapObject) CurrentAllocatedSize() uint
The size, in bytes, of the current heap allocation. Full Topic
func (HeapObject) Device ¶
func (h_ HeapObject) Device() DeviceObject
The device object that created the heap. Full Topic
func (HeapObject) HasCpuCacheMode ¶
func (h_ HeapObject) HasCpuCacheMode() bool
func (HeapObject) HasCurrentAllocatedSize ¶
func (h_ HeapObject) HasCurrentAllocatedSize() bool
func (HeapObject) HasDevice ¶
func (h_ HeapObject) HasDevice() bool
func (HeapObject) HasHazardTrackingMode ¶
func (h_ HeapObject) HasHazardTrackingMode() bool
func (HeapObject) HasLabel ¶
func (h_ HeapObject) HasLabel() bool
func (HeapObject) HasMaxAvailableSizeWithAlignment ¶
func (h_ HeapObject) HasMaxAvailableSizeWithAlignment() bool
func (HeapObject) HasNewBufferWithLengthOptions ¶
func (h_ HeapObject) HasNewBufferWithLengthOptions() bool
func (HeapObject) HasNewBufferWithLengthOptionsOffset ¶
func (h_ HeapObject) HasNewBufferWithLengthOptionsOffset() bool
func (HeapObject) HasNewTextureWithDescriptor ¶
func (h_ HeapObject) HasNewTextureWithDescriptor() bool
func (HeapObject) HasNewTextureWithDescriptorOffset ¶
func (h_ HeapObject) HasNewTextureWithDescriptorOffset() bool
func (HeapObject) HasResourceOptions ¶
func (h_ HeapObject) HasResourceOptions() bool
func (HeapObject) HasSetLabel ¶
func (h_ HeapObject) HasSetLabel() bool
func (HeapObject) HasSetPurgeableState ¶
func (h_ HeapObject) HasSetPurgeableState() bool
func (HeapObject) HasSize ¶
func (h_ HeapObject) HasSize() bool
func (HeapObject) HasStorageMode ¶
func (h_ HeapObject) HasStorageMode() bool
func (HeapObject) HasType ¶
func (h_ HeapObject) HasType() bool
func (HeapObject) HasUsedSize ¶
func (h_ HeapObject) HasUsedSize() bool
func (HeapObject) HazardTrackingMode ¶
func (h_ HeapObject) HazardTrackingMode() HazardTrackingMode
The heap's hazard tracking mode. Full Topic
func (HeapObject) Label ¶
func (h_ HeapObject) Label() string
A string that identifies the heap. Full Topic
func (HeapObject) MaxAvailableSizeWithAlignment ¶
func (h_ HeapObject) MaxAvailableSizeWithAlignment(alignment uint) uint
The maximum size of a resource, in bytes, that can be currently allocated from the heap. Full Topic
func (HeapObject) NewBufferWithLengthOptions ¶
func (h_ HeapObject) NewBufferWithLengthOptions(length uint, options ResourceOptions) BufferObject
Creates a buffer on the heap. Full Topic
func (HeapObject) NewBufferWithLengthOptionsOffset ¶
func (h_ HeapObject) NewBufferWithLengthOptionsOffset(length uint, options ResourceOptions, offset uint) BufferObject
Creates a buffer at a specified offset on the heap. Full Topic
func (HeapObject) NewTextureWithDescriptor ¶
func (h_ HeapObject) NewTextureWithDescriptor(descriptor TextureDescriptor) TextureObject
Creates a texture on the heap. Full Topic
func (HeapObject) NewTextureWithDescriptorOffset ¶
func (h_ HeapObject) NewTextureWithDescriptorOffset(descriptor TextureDescriptor, offset uint) TextureObject
Creates a texture at a specified offset on the heap. Full Topic
func (HeapObject) ResourceOptions ¶
func (h_ HeapObject) ResourceOptions() ResourceOptions
The options for resources created by the heap. Full Topic
func (HeapObject) SetLabel ¶
func (h_ HeapObject) SetLabel(value string)
A string that identifies the heap. Full Topic
func (HeapObject) SetPurgeableState ¶
func (h_ HeapObject) SetPurgeableState(state PurgeableState) PurgeableState
Sets the purgeable state of the heap. Full Topic
func (HeapObject) Size ¶
func (h_ HeapObject) Size() uint
The total size of the heap, in bytes. Full Topic
func (HeapObject) StorageMode ¶
func (h_ HeapObject) StorageMode() StorageMode
The heap's storage mode. Full Topic
func (HeapObject) UsedSize ¶
func (h_ HeapObject) UsedSize() uint
The size of all resources currently in the heap, in bytes. Full Topic
type IAccelerationStructureBoundingBoxGeometryDescriptor ¶
type IAccelerationStructureBoundingBoxGeometryDescriptor interface { IAccelerationStructureGeometryDescriptor BoundingBoxBufferOffset() uint SetBoundingBoxBufferOffset(value uint) BoundingBoxCount() uint SetBoundingBoxCount(value uint) BoundingBoxStride() uint SetBoundingBoxStride(value uint) BoundingBoxBuffer() BufferObject SetBoundingBoxBuffer(value PBuffer) SetBoundingBoxBufferObject(valueObject objc.IObject) }
An interface definition for the AccelerationStructureBoundingBoxGeometryDescriptor class.
type IAccelerationStructureDescriptor ¶
type IAccelerationStructureDescriptor interface { objc.IObject Usage() AccelerationStructureUsage SetUsage(value AccelerationStructureUsage) }
An interface definition for the AccelerationStructureDescriptor class.
type IAccelerationStructureGeometryDescriptor ¶
type IAccelerationStructureGeometryDescriptor interface { objc.IObject Label() string SetLabel(value string) IntersectionFunctionTableOffset() uint SetIntersectionFunctionTableOffset(value uint) AllowDuplicateIntersectionFunctionInvocation() bool SetAllowDuplicateIntersectionFunctionInvocation(value bool) Opaque() bool SetOpaque(value bool) }
An interface definition for the AccelerationStructureGeometryDescriptor class.
type IAccelerationStructureMotionBoundingBoxGeometryDescriptor ¶
type IAccelerationStructureMotionBoundingBoxGeometryDescriptor interface { IAccelerationStructureGeometryDescriptor BoundingBoxStride() uint SetBoundingBoxStride(value uint) BoundingBoxCount() uint SetBoundingBoxCount(value uint) BoundingBoxBuffers() []MotionKeyframeData SetBoundingBoxBuffers(value []IMotionKeyframeData) }
An interface definition for the AccelerationStructureMotionBoundingBoxGeometryDescriptor class.
type IAccelerationStructureMotionTriangleGeometryDescriptor ¶
type IAccelerationStructureMotionTriangleGeometryDescriptor interface { IAccelerationStructureGeometryDescriptor IndexType() IndexType SetIndexType(value IndexType) IndexBuffer() BufferObject SetIndexBuffer(value PBuffer) SetIndexBufferObject(valueObject objc.IObject) TriangleCount() uint SetTriangleCount(value uint) IndexBufferOffset() uint SetIndexBufferOffset(value uint) VertexBuffers() []MotionKeyframeData SetVertexBuffers(value []IMotionKeyframeData) VertexStride() uint SetVertexStride(value uint) }
An interface definition for the AccelerationStructureMotionTriangleGeometryDescriptor class.
type IAccelerationStructureTriangleGeometryDescriptor ¶
type IAccelerationStructureTriangleGeometryDescriptor interface { IAccelerationStructureGeometryDescriptor IndexType() IndexType SetIndexType(value IndexType) TriangleCount() uint SetTriangleCount(value uint) IndexBuffer() BufferObject SetIndexBuffer(value PBuffer) SetIndexBufferObject(valueObject objc.IObject) IndexBufferOffset() uint SetIndexBufferOffset(value uint) VertexBufferOffset() uint SetVertexBufferOffset(value uint) VertexStride() uint SetVertexStride(value uint) VertexBuffer() BufferObject SetVertexBuffer(value PBuffer) SetVertexBufferObject(valueObject objc.IObject) }
An interface definition for the AccelerationStructureTriangleGeometryDescriptor class.
type IArgumentDescriptor ¶
type IArgumentDescriptor interface { objc.IObject Index() uint SetIndex(value uint) DataType() DataType SetDataType(value DataType) ConstantBlockAlignment() uint SetConstantBlockAlignment(value uint) ArrayLength() uint SetArrayLength(value uint) Access() objc.Object SetAccess(value objc.IObject) TextureType() TextureType SetTextureType(value TextureType) }
An interface definition for the ArgumentDescriptor class.
type IArrayType ¶
type IArrayType interface { IType ElementStructType() StructType ElementArrayType() ArrayType ElementTextureReferenceType() TextureReferenceType ElementPointerType() PointerType Stride() uint ElementType() DataType ArgumentIndexStride() uint ArrayLength() uint }
An interface definition for the ArrayType class.
type IAttribute ¶
type IAttribute interface { objc.IObject AttributeIndex() uint IsPatchData() bool IsPatchControlPointData() bool Name() string IsActive() bool AttributeType() DataType }
An interface definition for the Attribute class.
type IAttributeDescriptor ¶
type IAttributeDescriptor interface { objc.IObject Format() AttributeFormat SetFormat(value AttributeFormat) BufferIndex() uint SetBufferIndex(value uint) Offset() uint SetOffset(value uint) }
An interface definition for the AttributeDescriptor class.
type IAttributeDescriptorArray ¶
type IAttributeDescriptorArray interface { objc.IObject SetObjectAtIndexedSubscript(attributeDesc IAttributeDescriptor, index uint) ObjectAtIndexedSubscript(index uint) AttributeDescriptor }
An interface definition for the AttributeDescriptorArray class.
type IBinaryArchiveDescriptor ¶
type IBinaryArchiveDescriptor interface { objc.IObject Url() foundation.URL SetUrl(value foundation.IURL) }
An interface definition for the BinaryArchiveDescriptor class.
type IBlitPassDescriptor ¶
type IBlitPassDescriptor interface { objc.IObject SampleBufferAttachments() BlitPassSampleBufferAttachmentDescriptorArray }
An interface definition for the BlitPassDescriptor class.
type IBlitPassSampleBufferAttachmentDescriptor ¶
type IBlitPassSampleBufferAttachmentDescriptor interface { objc.IObject StartOfEncoderSampleIndex() uint SetStartOfEncoderSampleIndex(value uint) SampleBuffer() CounterSampleBufferObject SetSampleBuffer(value PCounterSampleBuffer) SetSampleBufferObject(valueObject objc.IObject) EndOfEncoderSampleIndex() uint SetEndOfEncoderSampleIndex(value uint) }
An interface definition for the BlitPassSampleBufferAttachmentDescriptor class.
type IBlitPassSampleBufferAttachmentDescriptorArray ¶
type IBlitPassSampleBufferAttachmentDescriptorArray interface { objc.IObject ObjectAtIndexedSubscript(attachmentIndex uint) BlitPassSampleBufferAttachmentDescriptor SetObjectAtIndexedSubscript(attachment IBlitPassSampleBufferAttachmentDescriptor, attachmentIndex uint) }
An interface definition for the BlitPassSampleBufferAttachmentDescriptorArray class.
type IBufferLayoutDescriptor ¶
type IBufferLayoutDescriptor interface { objc.IObject StepFunction() StepFunction SetStepFunction(value StepFunction) StepRate() uint SetStepRate(value uint) Stride() uint SetStride(value uint) }
An interface definition for the BufferLayoutDescriptor class.
type IBufferLayoutDescriptorArray ¶
type IBufferLayoutDescriptorArray interface { objc.IObject SetObjectAtIndexedSubscript(bufferDesc IBufferLayoutDescriptor, index uint) ObjectAtIndexedSubscript(index uint) BufferLayoutDescriptor }
An interface definition for the BufferLayoutDescriptorArray class.
type ICaptureDescriptor ¶
type ICaptureDescriptor interface { objc.IObject CaptureObject() objc.Object SetCaptureObject(value objc.IObject) Destination() CaptureDestination SetDestination(value CaptureDestination) OutputURL() foundation.URL SetOutputURL(value foundation.IURL) }
An interface definition for the CaptureDescriptor class.
type ICaptureManager ¶
type ICaptureManager interface { objc.IObject StopCapture() NewCaptureScopeWithDevice(device PDevice) CaptureScopeObject NewCaptureScopeWithDeviceObject(deviceObject objc.IObject) CaptureScopeObject NewCaptureScopeWithCommandQueue(commandQueue PCommandQueue) CaptureScopeObject NewCaptureScopeWithCommandQueueObject(commandQueueObject objc.IObject) CaptureScopeObject StartCaptureWithDescriptorError(descriptor ICaptureDescriptor, error foundation.IError) bool SupportsDestination(destination CaptureDestination) bool IsCapturing() bool DefaultCaptureScope() CaptureScopeObject SetDefaultCaptureScope(value PCaptureScope) SetDefaultCaptureScopeObject(valueObject objc.IObject) }
An interface definition for the CaptureManager class.
type ICommandBufferDescriptor ¶
type ICommandBufferDescriptor interface { objc.IObject ErrorOptions() CommandBufferErrorOption SetErrorOptions(value CommandBufferErrorOption) RetainedReferences() bool SetRetainedReferences(value bool) }
An interface definition for the CommandBufferDescriptor class.
type ICompileOptions ¶
type ICompileOptions interface { objc.IObject PreprocessorMacros() map[string]objc.Object SetPreprocessorMacros(value map[string]objc.IObject) Libraries() []DynamicLibraryObject SetLibraries(value []PDynamicLibrary) FastMathEnabled() bool SetFastMathEnabled(value bool) PreserveInvariance() bool SetPreserveInvariance(value bool) InstallName() string SetInstallName(value string) LanguageVersion() LanguageVersion SetLanguageVersion(value LanguageVersion) LibraryType() LibraryType SetLibraryType(value LibraryType) }
An interface definition for the CompileOptions class.
type IComputePassDescriptor ¶
type IComputePassDescriptor interface { objc.IObject SampleBufferAttachments() ComputePassSampleBufferAttachmentDescriptorArray DispatchType() DispatchType SetDispatchType(value DispatchType) }
An interface definition for the ComputePassDescriptor class.
type IComputePassSampleBufferAttachmentDescriptor ¶
type IComputePassSampleBufferAttachmentDescriptor interface { objc.IObject EndOfEncoderSampleIndex() uint SetEndOfEncoderSampleIndex(value uint) StartOfEncoderSampleIndex() uint SetStartOfEncoderSampleIndex(value uint) SampleBuffer() CounterSampleBufferObject SetSampleBuffer(value PCounterSampleBuffer) SetSampleBufferObject(valueObject objc.IObject) }
An interface definition for the ComputePassSampleBufferAttachmentDescriptor class.
type IComputePassSampleBufferAttachmentDescriptorArray ¶
type IComputePassSampleBufferAttachmentDescriptorArray interface { objc.IObject ObjectAtIndexedSubscript(attachmentIndex uint) ComputePassSampleBufferAttachmentDescriptor SetObjectAtIndexedSubscript(attachment IComputePassSampleBufferAttachmentDescriptor, attachmentIndex uint) }
An interface definition for the ComputePassSampleBufferAttachmentDescriptorArray class.
type IComputePipelineDescriptor ¶
type IComputePipelineDescriptor interface { objc.IObject Reset() SupportIndirectCommandBuffers() bool SetSupportIndirectCommandBuffers(value bool) ThreadGroupSizeIsMultipleOfThreadExecutionWidth() bool SetThreadGroupSizeIsMultipleOfThreadExecutionWidth(value bool) ComputeFunction() FunctionObject SetComputeFunction(value PFunction) SetComputeFunctionObject(valueObject objc.IObject) LinkedFunctions() LinkedFunctions SetLinkedFunctions(value ILinkedFunctions) BinaryArchives() []BinaryArchiveObject SetBinaryArchives(value []PBinaryArchive) SupportAddingBinaryFunctions() bool SetSupportAddingBinaryFunctions(value bool) MaxCallStackDepth() uint SetMaxCallStackDepth(value uint) PreloadedLibraries() []DynamicLibraryObject SetPreloadedLibraries(value []PDynamicLibrary) StageInputDescriptor() StageInputOutputDescriptor SetStageInputDescriptor(value IStageInputOutputDescriptor) Buffers() PipelineBufferDescriptorArray MaxTotalThreadsPerThreadgroup() uint SetMaxTotalThreadsPerThreadgroup(value uint) Label() string SetLabel(value string) }
An interface definition for the ComputePipelineDescriptor class.
type IComputePipelineReflection ¶
An interface definition for the ComputePipelineReflection class.
type ICounterSampleBufferDescriptor ¶
type ICounterSampleBufferDescriptor interface { objc.IObject CounterSet() CounterSetObject SetCounterSet(value PCounterSet) SetCounterSetObject(valueObject objc.IObject) SampleCount() uint SetSampleCount(value uint) Label() string SetLabel(value string) StorageMode() StorageMode SetStorageMode(value StorageMode) }
An interface definition for the CounterSampleBufferDescriptor class.
type IDepthStencilDescriptor ¶
type IDepthStencilDescriptor interface { objc.IObject DepthCompareFunction() CompareFunction SetDepthCompareFunction(value CompareFunction) BackFaceStencil() StencilDescriptor SetBackFaceStencil(value IStencilDescriptor) Label() string SetLabel(value string) FrontFaceStencil() StencilDescriptor SetFrontFaceStencil(value IStencilDescriptor) IsDepthWriteEnabled() bool SetDepthWriteEnabled(value bool) }
An interface definition for the DepthStencilDescriptor class.
type IFunctionConstant ¶
type IFunctionConstant interface { objc.IObject Type() DataType Index() uint Name() string Required() bool }
An interface definition for the FunctionConstant class.
type IFunctionConstantValues ¶
type IFunctionConstantValues interface { objc.IObject SetConstantValueTypeAtIndex(value unsafe.Pointer, type_ DataType, index uint) SetConstantValueTypeWithName(value unsafe.Pointer, type_ DataType, name string) SetConstantValuesTypeWithRange(values unsafe.Pointer, type_ DataType, range_ foundation.Range) Reset() }
An interface definition for the FunctionConstantValues class.
type IFunctionDescriptor ¶
type IFunctionDescriptor interface { objc.IObject Name() string SetName(value string) BinaryArchives() []BinaryArchiveObject SetBinaryArchives(value []PBinaryArchive) Options() FunctionOptions SetOptions(value FunctionOptions) ConstantValues() FunctionConstantValues SetConstantValues(value IFunctionConstantValues) SpecializedName() string SetSpecializedName(value string) }
An interface definition for the FunctionDescriptor class.
type IFunctionStitchingAttributeAlwaysInline ¶
An interface definition for the FunctionStitchingAttributeAlwaysInline class.
type IFunctionStitchingFunctionNode ¶
type IFunctionStitchingFunctionNode interface { objc.IObject ControlDependencies() []FunctionStitchingFunctionNode SetControlDependencies(value []IFunctionStitchingFunctionNode) Name() string SetName(value string) Arguments() []FunctionStitchingNodeObject SetArguments(value []PFunctionStitchingNode) }
An interface definition for the FunctionStitchingFunctionNode class.
type IFunctionStitchingGraph ¶
type IFunctionStitchingGraph interface { objc.IObject Attributes() []FunctionStitchingAttributeObject SetAttributes(value []PFunctionStitchingAttribute) FunctionName() string SetFunctionName(value string) Nodes() []FunctionStitchingFunctionNode SetNodes(value []IFunctionStitchingFunctionNode) OutputNode() FunctionStitchingFunctionNode SetOutputNode(value IFunctionStitchingFunctionNode) }
An interface definition for the FunctionStitchingGraph class.
type IFunctionStitchingInputNode ¶
type IFunctionStitchingInputNode interface { objc.IObject ArgumentIndex() uint SetArgumentIndex(value uint) }
An interface definition for the FunctionStitchingInputNode class.
type IHeapDescriptor ¶
type IHeapDescriptor interface { objc.IObject ResourceOptions() ResourceOptions SetResourceOptions(value ResourceOptions) Size() uint SetSize(value uint) CpuCacheMode() CPUCacheMode SetCpuCacheMode(value CPUCacheMode) StorageMode() StorageMode SetStorageMode(value StorageMode) Type() HeapType SetType(value HeapType) HazardTrackingMode() HazardTrackingMode SetHazardTrackingMode(value HazardTrackingMode) }
An interface definition for the HeapDescriptor class.
type IIndirectCommandBufferDescriptor ¶
type IIndirectCommandBufferDescriptor interface { objc.IObject MaxFragmentBufferBindCount() uint SetMaxFragmentBufferBindCount(value uint) MaxKernelBufferBindCount() uint SetMaxKernelBufferBindCount(value uint) MaxVertexBufferBindCount() uint SetMaxVertexBufferBindCount(value uint) InheritPipelineState() bool SetInheritPipelineState(value bool) CommandTypes() IndirectCommandType SetCommandTypes(value IndirectCommandType) InheritBuffers() bool SetInheritBuffers(value bool) }
An interface definition for the IndirectCommandBufferDescriptor class.
type IInstanceAccelerationStructureDescriptor ¶
type IInstanceAccelerationStructureDescriptor interface { IAccelerationStructureDescriptor InstancedAccelerationStructures() []AccelerationStructureObject SetInstancedAccelerationStructures(value []PAccelerationStructure) MotionTransformCount() uint SetMotionTransformCount(value uint) InstanceDescriptorBufferOffset() uint SetInstanceDescriptorBufferOffset(value uint) MotionTransformBuffer() BufferObject SetMotionTransformBuffer(value PBuffer) SetMotionTransformBufferObject(valueObject objc.IObject) InstanceDescriptorBuffer() BufferObject SetInstanceDescriptorBuffer(value PBuffer) SetInstanceDescriptorBufferObject(valueObject objc.IObject) InstanceDescriptorStride() uint SetInstanceDescriptorStride(value uint) MotionTransformBufferOffset() uint SetMotionTransformBufferOffset(value uint) InstanceCount() uint SetInstanceCount(value uint) InstanceDescriptorType() AccelerationStructureInstanceDescriptorType SetInstanceDescriptorType(value AccelerationStructureInstanceDescriptorType) }
An interface definition for the InstanceAccelerationStructureDescriptor class.
type IIntersectionFunctionDescriptor ¶
type IIntersectionFunctionDescriptor interface { IFunctionDescriptor }
An interface definition for the IntersectionFunctionDescriptor class.
type IIntersectionFunctionTableDescriptor ¶
type IIntersectionFunctionTableDescriptor interface { objc.IObject FunctionCount() uint SetFunctionCount(value uint) }
An interface definition for the IntersectionFunctionTableDescriptor class.
type ILinkedFunctions ¶
type ILinkedFunctions interface { objc.IObject Functions() []FunctionObject SetFunctions(value []PFunction) BinaryFunctions() []FunctionObject SetBinaryFunctions(value []PFunction) PrivateFunctions() []FunctionObject SetPrivateFunctions(value []PFunction) Groups() map[string][]FunctionObject SetGroups(value map[string][]PFunction) }
An interface definition for the LinkedFunctions class.
type IMotionKeyframeData ¶
type IMotionKeyframeData interface { objc.IObject Offset() uint SetOffset(value uint) Buffer() BufferObject SetBuffer(value PBuffer) SetBufferObject(valueObject objc.IObject) }
An interface definition for the MotionKeyframeData class.
type IPipelineBufferDescriptor ¶
type IPipelineBufferDescriptor interface { objc.IObject Mutability() Mutability SetMutability(value Mutability) }
An interface definition for the PipelineBufferDescriptor class.
type IPipelineBufferDescriptorArray ¶
type IPipelineBufferDescriptorArray interface { objc.IObject SetObjectAtIndexedSubscript(buffer IPipelineBufferDescriptor, bufferIndex uint) ObjectAtIndexedSubscript(bufferIndex uint) PipelineBufferDescriptor }
An interface definition for the PipelineBufferDescriptorArray class.
type IPointerType ¶
type IPointerType interface { IType ElementArrayType() ArrayType ElementStructType() StructType ElementIsArgumentBuffer() bool DataSize() uint Access() objc.Object Alignment() uint ElementType() DataType }
An interface definition for the PointerType class.
type IPrimitiveAccelerationStructureDescriptor ¶
type IPrimitiveAccelerationStructureDescriptor interface { IAccelerationStructureDescriptor MotionStartBorderMode() MotionBorderMode SetMotionStartBorderMode(value MotionBorderMode) MotionStartTime() float64 SetMotionStartTime(value float64) GeometryDescriptors() []AccelerationStructureGeometryDescriptor SetGeometryDescriptors(value []IAccelerationStructureGeometryDescriptor) MotionEndBorderMode() MotionBorderMode SetMotionEndBorderMode(value MotionBorderMode) MotionKeyframeCount() uint SetMotionKeyframeCount(value uint) MotionEndTime() float64 SetMotionEndTime(value float64) }
An interface definition for the PrimitiveAccelerationStructureDescriptor class.
type IRasterizationRateLayerArray ¶
type IRasterizationRateLayerArray interface { objc.IObject ObjectAtIndexedSubscript(layerIndex uint) RasterizationRateLayerDescriptor SetObjectAtIndexedSubscript(layer IRasterizationRateLayerDescriptor, layerIndex uint) }
An interface definition for the RasterizationRateLayerArray class.
type IRasterizationRateLayerDescriptor ¶
type IRasterizationRateLayerDescriptor interface { objc.IObject VerticalSampleStorage() *float64 SampleCount() Size Vertical() RasterizationRateSampleArray MaxSampleCount() Size Horizontal() RasterizationRateSampleArray HorizontalSampleStorage() *float64 }
An interface definition for the RasterizationRateLayerDescriptor class.
type IRasterizationRateMapDescriptor ¶
type IRasterizationRateMapDescriptor interface { objc.IObject LayerAtIndex(layerIndex uint) RasterizationRateLayerDescriptor SetLayerAtIndex(layer IRasterizationRateLayerDescriptor, layerIndex uint) ScreenSize() Size SetScreenSize(value Size) Layers() RasterizationRateLayerArray Label() string SetLabel(value string) LayerCount() uint }
An interface definition for the RasterizationRateMapDescriptor class.
type IRasterizationRateSampleArray ¶
type IRasterizationRateSampleArray interface { objc.IObject SetObjectAtIndexedSubscript(value foundation.INumber, index uint) ObjectAtIndexedSubscript(index uint) foundation.Number }
An interface definition for the RasterizationRateSampleArray class.
type IRenderPassAttachmentDescriptor ¶
type IRenderPassAttachmentDescriptor interface { objc.IObject StoreActionOptions() StoreActionOptions SetStoreActionOptions(value StoreActionOptions) ResolveDepthPlane() uint SetResolveDepthPlane(value uint) StoreAction() StoreAction SetStoreAction(value StoreAction) LoadAction() LoadAction SetLoadAction(value LoadAction) Texture() TextureObject SetTexture(value PTexture) SetTextureObject(valueObject objc.IObject) ResolveTexture() TextureObject SetResolveTexture(value PTexture) SetResolveTextureObject(valueObject objc.IObject) ResolveLevel() uint SetResolveLevel(value uint) Slice() uint SetSlice(value uint) Level() uint SetLevel(value uint) DepthPlane() uint SetDepthPlane(value uint) ResolveSlice() uint SetResolveSlice(value uint) }
An interface definition for the RenderPassAttachmentDescriptor class.
type IRenderPassColorAttachmentDescriptor ¶
type IRenderPassColorAttachmentDescriptor interface { IRenderPassAttachmentDescriptor ClearColor() ClearColor SetClearColor(value ClearColor) }
An interface definition for the RenderPassColorAttachmentDescriptor class.
type IRenderPassColorAttachmentDescriptorArray ¶
type IRenderPassColorAttachmentDescriptorArray interface { objc.IObject ObjectAtIndexedSubscript(attachmentIndex uint) RenderPassColorAttachmentDescriptor SetObjectAtIndexedSubscript(attachment IRenderPassColorAttachmentDescriptor, attachmentIndex uint) }
An interface definition for the RenderPassColorAttachmentDescriptorArray class.
type IRenderPassDepthAttachmentDescriptor ¶
type IRenderPassDepthAttachmentDescriptor interface { IRenderPassAttachmentDescriptor ClearDepth() float64 SetClearDepth(value float64) DepthResolveFilter() MultisampleDepthResolveFilter SetDepthResolveFilter(value MultisampleDepthResolveFilter) }
An interface definition for the RenderPassDepthAttachmentDescriptor class.
type IRenderPassDescriptor ¶
type IRenderPassDescriptor interface { objc.IObject GetSamplePositionsCount(positions *SamplePosition, count uint) uint SetSamplePositionsCount(positions *SamplePosition, count uint) ThreadgroupMemoryLength() uint SetThreadgroupMemoryLength(value uint) SampleBufferAttachments() RenderPassSampleBufferAttachmentDescriptorArray RasterizationRateMap() RasterizationRateMapObject SetRasterizationRateMap(value PRasterizationRateMap) SetRasterizationRateMapObject(valueObject objc.IObject) VisibilityResultBuffer() BufferObject SetVisibilityResultBuffer(value PBuffer) SetVisibilityResultBufferObject(valueObject objc.IObject) RenderTargetWidth() uint SetRenderTargetWidth(value uint) RenderTargetArrayLength() uint SetRenderTargetArrayLength(value uint) DepthAttachment() RenderPassDepthAttachmentDescriptor SetDepthAttachment(value IRenderPassDepthAttachmentDescriptor) RenderTargetHeight() uint SetRenderTargetHeight(value uint) StencilAttachment() RenderPassStencilAttachmentDescriptor SetStencilAttachment(value IRenderPassStencilAttachmentDescriptor) ImageblockSampleLength() uint SetImageblockSampleLength(value uint) DefaultRasterSampleCount() uint SetDefaultRasterSampleCount(value uint) TileWidth() uint SetTileWidth(value uint) ColorAttachments() RenderPassColorAttachmentDescriptorArray TileHeight() uint SetTileHeight(value uint) }
An interface definition for the RenderPassDescriptor class.
type IRenderPassSampleBufferAttachmentDescriptor ¶
type IRenderPassSampleBufferAttachmentDescriptor interface { objc.IObject StartOfVertexSampleIndex() uint SetStartOfVertexSampleIndex(value uint) SampleBuffer() CounterSampleBufferObject SetSampleBuffer(value PCounterSampleBuffer) SetSampleBufferObject(valueObject objc.IObject) StartOfFragmentSampleIndex() uint SetStartOfFragmentSampleIndex(value uint) EndOfVertexSampleIndex() uint SetEndOfVertexSampleIndex(value uint) EndOfFragmentSampleIndex() uint SetEndOfFragmentSampleIndex(value uint) }
An interface definition for the RenderPassSampleBufferAttachmentDescriptor class.
type IRenderPassSampleBufferAttachmentDescriptorArray ¶
type IRenderPassSampleBufferAttachmentDescriptorArray interface { objc.IObject SetObjectAtIndexedSubscript(attachment IRenderPassSampleBufferAttachmentDescriptor, attachmentIndex uint) ObjectAtIndexedSubscript(attachmentIndex uint) RenderPassSampleBufferAttachmentDescriptor }
An interface definition for the RenderPassSampleBufferAttachmentDescriptorArray class.
type IRenderPassStencilAttachmentDescriptor ¶
type IRenderPassStencilAttachmentDescriptor interface { IRenderPassAttachmentDescriptor ClearStencil() uint32 SetClearStencil(value uint32) StencilResolveFilter() MultisampleStencilResolveFilter SetStencilResolveFilter(value MultisampleStencilResolveFilter) }
An interface definition for the RenderPassStencilAttachmentDescriptor class.
type IRenderPipelineColorAttachmentDescriptor ¶
type IRenderPipelineColorAttachmentDescriptor interface { objc.IObject DestinationRGBBlendFactor() BlendFactor SetDestinationRGBBlendFactor(value BlendFactor) SourceAlphaBlendFactor() BlendFactor SetSourceAlphaBlendFactor(value BlendFactor) IsBlendingEnabled() bool SetBlendingEnabled(value bool) DestinationAlphaBlendFactor() BlendFactor SetDestinationAlphaBlendFactor(value BlendFactor) AlphaBlendOperation() BlendOperation SetAlphaBlendOperation(value BlendOperation) PixelFormat() PixelFormat SetPixelFormat(value PixelFormat) RgbBlendOperation() BlendOperation SetRgbBlendOperation(value BlendOperation) SourceRGBBlendFactor() BlendFactor SetSourceRGBBlendFactor(value BlendFactor) WriteMask() ColorWriteMask SetWriteMask(value ColorWriteMask) }
An interface definition for the RenderPipelineColorAttachmentDescriptor class.
type IRenderPipelineColorAttachmentDescriptorArray ¶
type IRenderPipelineColorAttachmentDescriptorArray interface { objc.IObject ObjectAtIndexedSubscript(attachmentIndex uint) RenderPipelineColorAttachmentDescriptor SetObjectAtIndexedSubscript(attachment IRenderPipelineColorAttachmentDescriptor, attachmentIndex uint) }
An interface definition for the RenderPipelineColorAttachmentDescriptorArray class.
type IRenderPipelineDescriptor ¶
type IRenderPipelineDescriptor interface { objc.IObject Reset() VertexLinkedFunctions() LinkedFunctions SetVertexLinkedFunctions(value ILinkedFunctions) DepthAttachmentPixelFormat() PixelFormat SetDepthAttachmentPixelFormat(value PixelFormat) SupportAddingFragmentBinaryFunctions() bool SetSupportAddingFragmentBinaryFunctions(value bool) TessellationFactorStepFunction() TessellationFactorStepFunction SetTessellationFactorStepFunction(value TessellationFactorStepFunction) TessellationControlPointIndexType() TessellationControlPointIndexType SetTessellationControlPointIndexType(value TessellationControlPointIndexType) SupportIndirectCommandBuffers() bool SetSupportIndirectCommandBuffers(value bool) BinaryArchives() []BinaryArchiveObject SetBinaryArchives(value []PBinaryArchive) TessellationOutputWindingOrder() Winding SetTessellationOutputWindingOrder(value Winding) FragmentPreloadedLibraries() []DynamicLibraryObject SetFragmentPreloadedLibraries(value []PDynamicLibrary) IsAlphaToCoverageEnabled() bool SetAlphaToCoverageEnabled(value bool) FragmentFunction() FunctionObject SetFragmentFunction(value PFunction) SetFragmentFunctionObject(valueObject objc.IObject) FragmentLinkedFunctions() LinkedFunctions SetFragmentLinkedFunctions(value ILinkedFunctions) StencilAttachmentPixelFormat() PixelFormat SetStencilAttachmentPixelFormat(value PixelFormat) FragmentBuffers() PipelineBufferDescriptorArray IsTessellationFactorScaleEnabled() bool SetTessellationFactorScaleEnabled(value bool) RasterSampleCount() uint SetRasterSampleCount(value uint) SupportAddingVertexBinaryFunctions() bool SetSupportAddingVertexBinaryFunctions(value bool) InputPrimitiveTopology() PrimitiveTopologyClass SetInputPrimitiveTopology(value PrimitiveTopologyClass) MaxVertexAmplificationCount() uint SetMaxVertexAmplificationCount(value uint) ColorAttachments() RenderPipelineColorAttachmentDescriptorArray Label() string SetLabel(value string) TessellationFactorFormat() TessellationFactorFormat SetTessellationFactorFormat(value TessellationFactorFormat) MaxFragmentCallStackDepth() uint SetMaxFragmentCallStackDepth(value uint) IsAlphaToOneEnabled() bool SetAlphaToOneEnabled(value bool) MaxTessellationFactor() uint SetMaxTessellationFactor(value uint) VertexBuffers() PipelineBufferDescriptorArray IsRasterizationEnabled() bool SetRasterizationEnabled(value bool) VertexFunction() FunctionObject SetVertexFunction(value PFunction) SetVertexFunctionObject(valueObject objc.IObject) TessellationPartitionMode() TessellationPartitionMode SetTessellationPartitionMode(value TessellationPartitionMode) VertexPreloadedLibraries() []DynamicLibraryObject SetVertexPreloadedLibraries(value []PDynamicLibrary) MaxVertexCallStackDepth() uint SetMaxVertexCallStackDepth(value uint) VertexDescriptor() VertexDescriptor SetVertexDescriptor(value IVertexDescriptor) }
An interface definition for the RenderPipelineDescriptor class.
type IRenderPipelineFunctionsDescriptor ¶
type IRenderPipelineFunctionsDescriptor interface { objc.IObject TileAdditionalBinaryFunctions() []FunctionObject SetTileAdditionalBinaryFunctions(value []PFunction) VertexAdditionalBinaryFunctions() []FunctionObject SetVertexAdditionalBinaryFunctions(value []PFunction) FragmentAdditionalBinaryFunctions() []FunctionObject SetFragmentAdditionalBinaryFunctions(value []PFunction) }
An interface definition for the RenderPipelineFunctionsDescriptor class.
type IRenderPipelineReflection ¶
An interface definition for the RenderPipelineReflection class.
type IResourceStatePassDescriptor ¶
type IResourceStatePassDescriptor interface { objc.IObject SampleBufferAttachments() ResourceStatePassSampleBufferAttachmentDescriptorArray }
An interface definition for the ResourceStatePassDescriptor class.
type IResourceStatePassSampleBufferAttachmentDescriptor ¶
type IResourceStatePassSampleBufferAttachmentDescriptor interface { objc.IObject SampleBuffer() CounterSampleBufferObject SetSampleBuffer(value PCounterSampleBuffer) SetSampleBufferObject(valueObject objc.IObject) EndOfEncoderSampleIndex() uint SetEndOfEncoderSampleIndex(value uint) StartOfEncoderSampleIndex() uint SetStartOfEncoderSampleIndex(value uint) }
An interface definition for the ResourceStatePassSampleBufferAttachmentDescriptor class.
type IResourceStatePassSampleBufferAttachmentDescriptorArray ¶
type IResourceStatePassSampleBufferAttachmentDescriptorArray interface { objc.IObject SetObjectAtIndexedSubscript(attachment IResourceStatePassSampleBufferAttachmentDescriptor, attachmentIndex uint) ObjectAtIndexedSubscript(attachmentIndex uint) ResourceStatePassSampleBufferAttachmentDescriptor }
An interface definition for the ResourceStatePassSampleBufferAttachmentDescriptorArray class.
type ISamplerDescriptor ¶
type ISamplerDescriptor interface { objc.IObject Label() string SetLabel(value string) LodMaxClamp() float64 SetLodMaxClamp(value float64) BorderColor() SamplerBorderColor SetBorderColor(value SamplerBorderColor) CompareFunction() CompareFunction SetCompareFunction(value CompareFunction) MagFilter() SamplerMinMagFilter SetMagFilter(value SamplerMinMagFilter) LodAverage() bool SetLodAverage(value bool) SAddressMode() SamplerAddressMode SetSAddressMode(value SamplerAddressMode) LodMinClamp() float64 SetLodMinClamp(value float64) RAddressMode() SamplerAddressMode SetRAddressMode(value SamplerAddressMode) NormalizedCoordinates() bool SetNormalizedCoordinates(value bool) MaxAnisotropy() uint SetMaxAnisotropy(value uint) MinFilter() SamplerMinMagFilter SetMinFilter(value SamplerMinMagFilter) MipFilter() SamplerMipFilter SetMipFilter(value SamplerMipFilter) TAddressMode() SamplerAddressMode SetTAddressMode(value SamplerAddressMode) SupportArgumentBuffers() bool SetSupportArgumentBuffers(value bool) }
An interface definition for the SamplerDescriptor class.
type ISharedEventHandle ¶
An interface definition for the SharedEventHandle class.
type ISharedEventListener ¶
An interface definition for the SharedEventListener class.
type ISharedTextureHandle ¶
An interface definition for the SharedTextureHandle class.
type IStageInputOutputDescriptor ¶
type IStageInputOutputDescriptor interface { objc.IObject Reset() Layouts() BufferLayoutDescriptorArray Attributes() AttributeDescriptorArray IndexBufferIndex() uint SetIndexBufferIndex(value uint) IndexType() IndexType SetIndexType(value IndexType) }
An interface definition for the StageInputOutputDescriptor class.
type IStencilDescriptor ¶
type IStencilDescriptor interface { objc.IObject StencilFailureOperation() StencilOperation SetStencilFailureOperation(value StencilOperation) DepthFailureOperation() StencilOperation SetDepthFailureOperation(value StencilOperation) WriteMask() uint32 SetWriteMask(value uint32) StencilCompareFunction() CompareFunction SetStencilCompareFunction(value CompareFunction) ReadMask() uint32 SetReadMask(value uint32) DepthStencilPassOperation() StencilOperation SetDepthStencilPassOperation(value StencilOperation) }
An interface definition for the StencilDescriptor class.
type IStitchedLibraryDescriptor ¶
type IStitchedLibraryDescriptor interface { objc.IObject Functions() []FunctionObject SetFunctions(value []PFunction) FunctionGraphs() []FunctionStitchingGraph SetFunctionGraphs(value []IFunctionStitchingGraph) }
An interface definition for the StitchedLibraryDescriptor class.
type IStructMember ¶
type IStructMember interface { objc.IObject ArrayType() ArrayType StructType() StructType TextureReferenceType() TextureReferenceType PointerType() PointerType Name() string Offset() uint DataType() DataType ArgumentIndex() uint }
An interface definition for the StructMember class.
type IStructType ¶
type IStructType interface { IType MemberByName(name string) StructMember Members() []StructMember }
An interface definition for the StructType class.
type ITextureDescriptor ¶
type ITextureDescriptor interface { objc.IObject TextureType() TextureType SetTextureType(value TextureType) MipmapLevelCount() uint SetMipmapLevelCount(value uint) ResourceOptions() ResourceOptions SetResourceOptions(value ResourceOptions) PixelFormat() PixelFormat SetPixelFormat(value PixelFormat) Swizzle() TextureSwizzleChannels SetSwizzle(value TextureSwizzleChannels) HazardTrackingMode() HazardTrackingMode SetHazardTrackingMode(value HazardTrackingMode) ArrayLength() uint SetArrayLength(value uint) AllowGPUOptimizedContents() bool SetAllowGPUOptimizedContents(value bool) Height() uint SetHeight(value uint) StorageMode() StorageMode SetStorageMode(value StorageMode) Width() uint SetWidth(value uint) CpuCacheMode() CPUCacheMode SetCpuCacheMode(value CPUCacheMode) Usage() TextureUsage SetUsage(value TextureUsage) Depth() uint SetDepth(value uint) CompressionType() TextureCompressionType SetCompressionType(value TextureCompressionType) SampleCount() uint SetSampleCount(value uint) }
An interface definition for the TextureDescriptor class.
type ITextureReferenceType ¶
type ITextureReferenceType interface { IType TextureDataType() DataType TextureType() TextureType IsDepthTexture() bool Access() objc.Object }
An interface definition for the TextureReferenceType class.
type ITileRenderPipelineColorAttachmentDescriptor ¶
type ITileRenderPipelineColorAttachmentDescriptor interface { objc.IObject PixelFormat() PixelFormat SetPixelFormat(value PixelFormat) }
An interface definition for the TileRenderPipelineColorAttachmentDescriptor class.
type ITileRenderPipelineColorAttachmentDescriptorArray ¶
type ITileRenderPipelineColorAttachmentDescriptorArray interface { objc.IObject SetObjectAtIndexedSubscript(attachment ITileRenderPipelineColorAttachmentDescriptor, attachmentIndex uint) ObjectAtIndexedSubscript(attachmentIndex uint) TileRenderPipelineColorAttachmentDescriptor }
An interface definition for the TileRenderPipelineColorAttachmentDescriptorArray class.
type ITileRenderPipelineDescriptor ¶
type ITileRenderPipelineDescriptor interface { objc.IObject Reset() MaxTotalThreadsPerThreadgroup() uint SetMaxTotalThreadsPerThreadgroup(value uint) SupportAddingBinaryFunctions() bool SetSupportAddingBinaryFunctions(value bool) ThreadgroupSizeMatchesTileSize() bool SetThreadgroupSizeMatchesTileSize(value bool) TileFunction() FunctionObject SetTileFunction(value PFunction) SetTileFunctionObject(valueObject objc.IObject) LinkedFunctions() LinkedFunctions SetLinkedFunctions(value ILinkedFunctions) ColorAttachments() TileRenderPipelineColorAttachmentDescriptorArray Label() string SetLabel(value string) BinaryArchives() []BinaryArchiveObject SetBinaryArchives(value []PBinaryArchive) MaxCallStackDepth() uint SetMaxCallStackDepth(value uint) RasterSampleCount() uint SetRasterSampleCount(value uint) TileBuffers() PipelineBufferDescriptorArray PreloadedLibraries() []DynamicLibraryObject SetPreloadedLibraries(value []PDynamicLibrary) }
An interface definition for the TileRenderPipelineDescriptor class.
type IVertexAttribute ¶
type IVertexAttribute interface { objc.IObject IsPatchData() bool IsPatchControlPointData() bool IsActive() bool AttributeIndex() uint Name() string AttributeType() DataType }
An interface definition for the VertexAttribute class.
type IVertexAttributeDescriptor ¶
type IVertexAttributeDescriptor interface { objc.IObject Offset() uint SetOffset(value uint) Format() VertexFormat SetFormat(value VertexFormat) BufferIndex() uint SetBufferIndex(value uint) }
An interface definition for the VertexAttributeDescriptor class.
type IVertexAttributeDescriptorArray ¶
type IVertexAttributeDescriptorArray interface { objc.IObject ObjectAtIndexedSubscript(index uint) VertexAttributeDescriptor SetObjectAtIndexedSubscript(attributeDesc IVertexAttributeDescriptor, index uint) }
An interface definition for the VertexAttributeDescriptorArray class.
type IVertexBufferLayoutDescriptor ¶
type IVertexBufferLayoutDescriptor interface { objc.IObject StepFunction() VertexStepFunction SetStepFunction(value VertexStepFunction) StepRate() uint SetStepRate(value uint) Stride() uint SetStride(value uint) }
An interface definition for the VertexBufferLayoutDescriptor class.
type IVertexBufferLayoutDescriptorArray ¶
type IVertexBufferLayoutDescriptorArray interface { objc.IObject ObjectAtIndexedSubscript(index uint) VertexBufferLayoutDescriptor SetObjectAtIndexedSubscript(bufferDesc IVertexBufferLayoutDescriptor, index uint) }
An interface definition for the VertexBufferLayoutDescriptorArray class.
type IVertexDescriptor ¶
type IVertexDescriptor interface { objc.IObject Reset() Attributes() VertexAttributeDescriptorArray Layouts() VertexBufferLayoutDescriptorArray }
An interface definition for the VertexDescriptor class.
type IVisibleFunctionTableDescriptor ¶
type IVisibleFunctionTableDescriptor interface { objc.IObject FunctionCount() uint SetFunctionCount(value uint) }
An interface definition for the VisibleFunctionTableDescriptor class.
type IndexType ¶
type IndexType uint
The index type for an index buffer that references vertices of geometric primitives. Full Topic
type IndirectCommandBufferDescriptor ¶
A configuration you create to customize an indirect command buffer. Full Topic
func IndirectCommandBufferDescriptorFrom ¶
func IndirectCommandBufferDescriptorFrom(ptr unsafe.Pointer) IndirectCommandBufferDescriptor
func NewIndirectCommandBufferDescriptor ¶
func NewIndirectCommandBufferDescriptor() IndirectCommandBufferDescriptor
func (IndirectCommandBufferDescriptor) CommandTypes ¶
func (i_ IndirectCommandBufferDescriptor) CommandTypes() IndirectCommandType
The set of command types that you can encode into the indirect command buffer. Full Topic
func (IndirectCommandBufferDescriptor) InheritBuffers ¶
func (i_ IndirectCommandBufferDescriptor) InheritBuffers() bool
A Boolean value that determines where commands in the indirect command buffer get their buffer arguments from when you execute them. Full Topic
func (IndirectCommandBufferDescriptor) InheritPipelineState ¶
func (i_ IndirectCommandBufferDescriptor) InheritPipelineState() bool
A Boolean value that determines where commands in the indirect command buffer get their pipeline state from when you execute them. Full Topic
func (IndirectCommandBufferDescriptor) Init ¶
func (i_ IndirectCommandBufferDescriptor) Init() IndirectCommandBufferDescriptor
func (IndirectCommandBufferDescriptor) MaxFragmentBufferBindCount ¶
func (i_ IndirectCommandBufferDescriptor) MaxFragmentBufferBindCount() uint
The maximum number of buffers that you can set per command for the fragment stage. Full Topic
func (IndirectCommandBufferDescriptor) MaxKernelBufferBindCount ¶
func (i_ IndirectCommandBufferDescriptor) MaxKernelBufferBindCount() uint
The maximum number of buffers that you can set per command for the compute kernel. Full Topic
func (IndirectCommandBufferDescriptor) MaxVertexBufferBindCount ¶
func (i_ IndirectCommandBufferDescriptor) MaxVertexBufferBindCount() uint
The maximum number of buffers that you can set per command for the vertex stage. Full Topic
func (IndirectCommandBufferDescriptor) SetCommandTypes ¶
func (i_ IndirectCommandBufferDescriptor) SetCommandTypes(value IndirectCommandType)
The set of command types that you can encode into the indirect command buffer. Full Topic
func (IndirectCommandBufferDescriptor) SetInheritBuffers ¶
func (i_ IndirectCommandBufferDescriptor) SetInheritBuffers(value bool)
A Boolean value that determines where commands in the indirect command buffer get their buffer arguments from when you execute them. Full Topic
func (IndirectCommandBufferDescriptor) SetInheritPipelineState ¶
func (i_ IndirectCommandBufferDescriptor) SetInheritPipelineState(value bool)
A Boolean value that determines where commands in the indirect command buffer get their pipeline state from when you execute them. Full Topic
func (IndirectCommandBufferDescriptor) SetMaxFragmentBufferBindCount ¶
func (i_ IndirectCommandBufferDescriptor) SetMaxFragmentBufferBindCount(value uint)
The maximum number of buffers that you can set per command for the fragment stage. Full Topic
func (IndirectCommandBufferDescriptor) SetMaxKernelBufferBindCount ¶
func (i_ IndirectCommandBufferDescriptor) SetMaxKernelBufferBindCount(value uint)
The maximum number of buffers that you can set per command for the compute kernel. Full Topic
func (IndirectCommandBufferDescriptor) SetMaxVertexBufferBindCount ¶
func (i_ IndirectCommandBufferDescriptor) SetMaxVertexBufferBindCount(value uint)
The maximum number of buffers that you can set per command for the vertex stage. Full Topic
type IndirectCommandBufferExecutionRange ¶
A range of commands in an indirect command buffer. Full Topic
type IndirectCommandBufferObject ¶
A concrete type for the PIndirectCommandBuffer protocol.
func (IndirectCommandBufferObject) HasIndirectComputeCommandAtIndex ¶
func (i_ IndirectCommandBufferObject) HasIndirectComputeCommandAtIndex() bool
func (IndirectCommandBufferObject) HasIndirectRenderCommandAtIndex ¶
func (i_ IndirectCommandBufferObject) HasIndirectRenderCommandAtIndex() bool
func (IndirectCommandBufferObject) HasResetWithRange ¶
func (i_ IndirectCommandBufferObject) HasResetWithRange() bool
func (IndirectCommandBufferObject) HasSize ¶
func (i_ IndirectCommandBufferObject) HasSize() bool
func (IndirectCommandBufferObject) IndirectComputeCommandAtIndex ¶
func (i_ IndirectCommandBufferObject) IndirectComputeCommandAtIndex(commandIndex uint) IndirectComputeCommandObject
Gets the compute command at the given index. Full Topic
func (IndirectCommandBufferObject) IndirectRenderCommandAtIndex ¶
func (i_ IndirectCommandBufferObject) IndirectRenderCommandAtIndex(commandIndex uint) IndirectRenderCommandObject
Gets the render command at the given index. Full Topic
func (IndirectCommandBufferObject) ResetWithRange ¶
func (i_ IndirectCommandBufferObject) ResetWithRange(range_ foundation.Range)
Resets a range of commands to their default state. Full Topic
func (IndirectCommandBufferObject) Size ¶
func (i_ IndirectCommandBufferObject) Size() uint
The number of commands contained in the indirect command buffer. Full Topic
type IndirectCommandType ¶
type IndirectCommandType uint
The types of commands that you can encode into the indirect command buffer. Full Topic
const ( IndirectCommandTypeConcurrentDispatch IndirectCommandType = 32 IndirectCommandTypeConcurrentDispatchThreads IndirectCommandType = 64 IndirectCommandTypeDraw IndirectCommandType = 1 IndirectCommandTypeDrawIndexed IndirectCommandType = 2 IndirectCommandTypeDrawIndexedPatches IndirectCommandType = 8 IndirectCommandTypeDrawPatches IndirectCommandType = 4 )
type IndirectComputeCommandObject ¶
A concrete type for the PIndirectComputeCommand protocol.
func (IndirectComputeCommandObject) ClearBarrier ¶
func (i_ IndirectComputeCommandObject) ClearBarrier()
Removes any barrier set on the command. Full Topic
func (IndirectComputeCommandObject) ConcurrentDispatchThreadgroupsThreadsPerThreadgroup ¶
func (i_ IndirectComputeCommandObject) ConcurrentDispatchThreadgroupsThreadsPerThreadgroup(threadgroupsPerGrid Size, threadsPerThreadgroup Size)
Encodes a compute command using a grid aligned to threadgroup boundaries. Full Topic
func (IndirectComputeCommandObject) ConcurrentDispatchThreadsThreadsPerThreadgroup ¶
func (i_ IndirectComputeCommandObject) ConcurrentDispatchThreadsThreadsPerThreadgroup(threadsPerGrid Size, threadsPerThreadgroup Size)
Encodes a compute command using an arbitrarily sized grid. Full Topic
func (IndirectComputeCommandObject) HasClearBarrier ¶
func (i_ IndirectComputeCommandObject) HasClearBarrier() bool
func (IndirectComputeCommandObject) HasConcurrentDispatchThreadgroupsThreadsPerThreadgroup ¶
func (i_ IndirectComputeCommandObject) HasConcurrentDispatchThreadgroupsThreadsPerThreadgroup() bool
func (IndirectComputeCommandObject) HasConcurrentDispatchThreadsThreadsPerThreadgroup ¶
func (i_ IndirectComputeCommandObject) HasConcurrentDispatchThreadsThreadsPerThreadgroup() bool
func (IndirectComputeCommandObject) HasReset ¶
func (i_ IndirectComputeCommandObject) HasReset() bool
func (IndirectComputeCommandObject) HasSetBarrier ¶
func (i_ IndirectComputeCommandObject) HasSetBarrier() bool
func (IndirectComputeCommandObject) HasSetComputePipelineState ¶
func (i_ IndirectComputeCommandObject) HasSetComputePipelineState() bool
func (IndirectComputeCommandObject) HasSetImageblockWidthHeight ¶
func (i_ IndirectComputeCommandObject) HasSetImageblockWidthHeight() bool
func (IndirectComputeCommandObject) HasSetKernelBufferOffsetAtIndex ¶
func (i_ IndirectComputeCommandObject) HasSetKernelBufferOffsetAtIndex() bool
func (IndirectComputeCommandObject) HasSetStageInRegion ¶
func (i_ IndirectComputeCommandObject) HasSetStageInRegion() bool
func (IndirectComputeCommandObject) HasSetThreadgroupMemoryLengthAtIndex ¶
func (i_ IndirectComputeCommandObject) HasSetThreadgroupMemoryLengthAtIndex() bool
func (IndirectComputeCommandObject) Reset ¶
func (i_ IndirectComputeCommandObject) Reset()
Resets the command to its default state. Full Topic
func (IndirectComputeCommandObject) SetBarrier ¶
func (i_ IndirectComputeCommandObject) SetBarrier()
Adds a barrier to ensure that commands executed prior to this command are complete before this command executes. Full Topic
func (IndirectComputeCommandObject) SetComputePipelineState ¶
func (i_ IndirectComputeCommandObject) SetComputePipelineState(pipelineState ComputePipelineStateObject)
Sets the command’s compute pipeline state object. Full Topic
func (IndirectComputeCommandObject) SetImageblockWidthHeight ¶
func (i_ IndirectComputeCommandObject) SetImageblockWidthHeight(width uint, height uint)
Sets the size, in pixels, of the imageblock. Full Topic
func (IndirectComputeCommandObject) SetKernelBufferOffsetAtIndex ¶
func (i_ IndirectComputeCommandObject) SetKernelBufferOffsetAtIndex(buffer BufferObject, offset uint, index uint)
Sets a buffer for the compute function. Full Topic
func (IndirectComputeCommandObject) SetStageInRegion ¶
func (i_ IndirectComputeCommandObject) SetStageInRegion(region Region)
Sets the region of the stage-in attributes to apply to the compute kernel. Full Topic
func (IndirectComputeCommandObject) SetThreadgroupMemoryLengthAtIndex ¶
func (i_ IndirectComputeCommandObject) SetThreadgroupMemoryLengthAtIndex(length uint, index uint)
Sets the size of a block of threadgroup memory. Full Topic
type IndirectRenderCommandObject ¶
A concrete type for the PIndirectRenderCommand protocol.
func (IndirectRenderCommandObject) DrawIndexedPatchesPatchStartPatchCountPatchIndexBufferPatchIndexBufferOffsetControlPointIndexBufferControlPointIndexBufferOffsetInstanceCountBaseInstanceTessellationFactorBufferTessellationFactorBufferOffsetTessellationFactorBufferInstanceStride ¶
func (i_ IndirectRenderCommandObject) DrawIndexedPatchesPatchStartPatchCountPatchIndexBufferPatchIndexBufferOffsetControlPointIndexBufferControlPointIndexBufferOffsetInstanceCountBaseInstanceTessellationFactorBufferTessellationFactorBufferOffsetTessellationFactorBufferInstanceStride(numberOfPatchControlPoints uint, patchStart uint, patchCount uint, patchIndexBuffer BufferObject, patchIndexBufferOffset uint, controlPointIndexBuffer BufferObject, controlPointIndexBufferOffset uint, instanceCount uint, baseInstance uint, buffer BufferObject, offset uint, instanceStride uint)
Encodes a command to render a number of instances of tessellated patches, using a control point index buffer. Full Topic
func (IndirectRenderCommandObject) DrawIndexedPrimitivesIndexCountIndexTypeIndexBufferIndexBufferOffsetInstanceCountBaseVertexBaseInstance ¶
func (i_ IndirectRenderCommandObject) DrawIndexedPrimitivesIndexCountIndexTypeIndexBufferIndexBufferOffsetInstanceCountBaseVertexBaseInstance(primitiveType PrimitiveType, indexCount uint, indexType IndexType, indexBuffer BufferObject, indexBufferOffset uint, instanceCount uint, baseVertex int, baseInstance uint)
Encodes a command to render a number of instances of primitives using an index list specified in a buffer, starting from the base vertex of the base instance. Full Topic
func (IndirectRenderCommandObject) DrawPatchesPatchStartPatchCountPatchIndexBufferPatchIndexBufferOffsetInstanceCountBaseInstanceTessellationFactorBufferTessellationFactorBufferOffsetTessellationFactorBufferInstanceStride ¶
func (i_ IndirectRenderCommandObject) DrawPatchesPatchStartPatchCountPatchIndexBufferPatchIndexBufferOffsetInstanceCountBaseInstanceTessellationFactorBufferTessellationFactorBufferOffsetTessellationFactorBufferInstanceStride(numberOfPatchControlPoints uint, patchStart uint, patchCount uint, patchIndexBuffer BufferObject, patchIndexBufferOffset uint, instanceCount uint, baseInstance uint, buffer BufferObject, offset uint, instanceStride uint)
Encodes a command to render a number of instances of tessellated patches. Full Topic
func (IndirectRenderCommandObject) DrawPrimitivesVertexStartVertexCountInstanceCountBaseInstance ¶
func (i_ IndirectRenderCommandObject) DrawPrimitivesVertexStartVertexCountInstanceCountBaseInstance(primitiveType PrimitiveType, vertexStart uint, vertexCount uint, instanceCount uint, baseInstance uint)
Encodes a command to render a number of instances of primitives using vertex data in contiguous array elements, starting from the base instance. Full Topic
func (IndirectRenderCommandObject) HasDrawIndexedPatchesPatchStartPatchCountPatchIndexBufferPatchIndexBufferOffsetControlPointIndexBufferControlPointIndexBufferOffsetInstanceCountBaseInstanceTessellationFactorBufferTessellationFactorBufferOffsetTessellationFactorBufferInstanceStride ¶
func (i_ IndirectRenderCommandObject) HasDrawIndexedPatchesPatchStartPatchCountPatchIndexBufferPatchIndexBufferOffsetControlPointIndexBufferControlPointIndexBufferOffsetInstanceCountBaseInstanceTessellationFactorBufferTessellationFactorBufferOffsetTessellationFactorBufferInstanceStride() bool
func (IndirectRenderCommandObject) HasDrawIndexedPrimitivesIndexCountIndexTypeIndexBufferIndexBufferOffsetInstanceCountBaseVertexBaseInstance ¶
func (i_ IndirectRenderCommandObject) HasDrawIndexedPrimitivesIndexCountIndexTypeIndexBufferIndexBufferOffsetInstanceCountBaseVertexBaseInstance() bool
func (IndirectRenderCommandObject) HasDrawPatchesPatchStartPatchCountPatchIndexBufferPatchIndexBufferOffsetInstanceCountBaseInstanceTessellationFactorBufferTessellationFactorBufferOffsetTessellationFactorBufferInstanceStride ¶
func (i_ IndirectRenderCommandObject) HasDrawPatchesPatchStartPatchCountPatchIndexBufferPatchIndexBufferOffsetInstanceCountBaseInstanceTessellationFactorBufferTessellationFactorBufferOffsetTessellationFactorBufferInstanceStride() bool
func (IndirectRenderCommandObject) HasDrawPrimitivesVertexStartVertexCountInstanceCountBaseInstance ¶
func (i_ IndirectRenderCommandObject) HasDrawPrimitivesVertexStartVertexCountInstanceCountBaseInstance() bool
func (IndirectRenderCommandObject) HasReset ¶
func (i_ IndirectRenderCommandObject) HasReset() bool
func (IndirectRenderCommandObject) HasSetFragmentBufferOffsetAtIndex ¶
func (i_ IndirectRenderCommandObject) HasSetFragmentBufferOffsetAtIndex() bool
func (IndirectRenderCommandObject) HasSetRenderPipelineState ¶
func (i_ IndirectRenderCommandObject) HasSetRenderPipelineState() bool
func (IndirectRenderCommandObject) HasSetVertexBufferOffsetAtIndex ¶
func (i_ IndirectRenderCommandObject) HasSetVertexBufferOffsetAtIndex() bool
func (IndirectRenderCommandObject) Reset ¶
func (i_ IndirectRenderCommandObject) Reset()
Resets the command to its default state. Full Topic
func (IndirectRenderCommandObject) SetFragmentBufferOffsetAtIndex ¶
func (i_ IndirectRenderCommandObject) SetFragmentBufferOffsetAtIndex(buffer BufferObject, offset uint, index uint)
Sets a fragment buffer argument for the command. Full Topic
func (IndirectRenderCommandObject) SetRenderPipelineState ¶
func (i_ IndirectRenderCommandObject) SetRenderPipelineState(pipelineState RenderPipelineStateObject)
Sets the render pipeline state object used by the command. Full Topic
func (IndirectRenderCommandObject) SetVertexBufferOffsetAtIndex ¶
func (i_ IndirectRenderCommandObject) SetVertexBufferOffsetAtIndex(buffer BufferObject, offset uint, index uint)
Sets a vertex buffer argument for the command. Full Topic
type InstanceAccelerationStructureDescriptor ¶
type InstanceAccelerationStructureDescriptor struct {
AccelerationStructureDescriptor
}
A description of an acceleration structure that derives from instances of primitive acceleration structures. Full Topic
func InstanceAccelerationStructureDescriptorFrom ¶
func InstanceAccelerationStructureDescriptorFrom(ptr unsafe.Pointer) InstanceAccelerationStructureDescriptor
func InstanceAccelerationStructureDescriptor_Descriptor ¶
func InstanceAccelerationStructureDescriptor_Descriptor() InstanceAccelerationStructureDescriptor
Creates an instance descriptor. Full Topic
func NewInstanceAccelerationStructureDescriptor ¶
func NewInstanceAccelerationStructureDescriptor() InstanceAccelerationStructureDescriptor
func (InstanceAccelerationStructureDescriptor) InstanceCount ¶
func (i_ InstanceAccelerationStructureDescriptor) InstanceCount() uint
The number of instances in the instance descriptor buffer. Full Topic
func (InstanceAccelerationStructureDescriptor) InstanceDescriptorBuffer ¶
func (i_ InstanceAccelerationStructureDescriptor) InstanceDescriptorBuffer() BufferObject
A buffer that contains descriptions of each instance in the acceleration structure. Full Topic
func (InstanceAccelerationStructureDescriptor) InstanceDescriptorBufferOffset ¶
func (i_ InstanceAccelerationStructureDescriptor) InstanceDescriptorBufferOffset() uint
The offset, in bytes, to the descripton of the first instance. Full Topic
func (InstanceAccelerationStructureDescriptor) InstanceDescriptorStride ¶
func (i_ InstanceAccelerationStructureDescriptor) InstanceDescriptorStride() uint
The stride, in bytes, between instance descriptions. Full Topic
func (InstanceAccelerationStructureDescriptor) InstanceDescriptorType ¶
func (i_ InstanceAccelerationStructureDescriptor) InstanceDescriptorType() AccelerationStructureInstanceDescriptorType
The format of the instance data in the descriptor buffer. Full Topic
func (InstanceAccelerationStructureDescriptor) InstancedAccelerationStructures ¶
func (i_ InstanceAccelerationStructureDescriptor) InstancedAccelerationStructures() []AccelerationStructureObject
The bottom-level acceleration structures that instances use in the instance acceleration structure . Full Topic
func (InstanceAccelerationStructureDescriptor) MotionTransformBuffer ¶
func (i_ InstanceAccelerationStructureDescriptor) MotionTransformBuffer() BufferObject
A buffer that contains descriptions of each motion transform in the acceleration structure. Full Topic
func (InstanceAccelerationStructureDescriptor) MotionTransformBufferOffset ¶
func (i_ InstanceAccelerationStructureDescriptor) MotionTransformBufferOffset() uint
The offset, in bytes, to the descripton of the first motion transform. Full Topic
func (InstanceAccelerationStructureDescriptor) MotionTransformCount ¶
func (i_ InstanceAccelerationStructureDescriptor) MotionTransformCount() uint
The number of motion transforms in the motion transform buffer. Full Topic
func (InstanceAccelerationStructureDescriptor) SetInstanceCount ¶
func (i_ InstanceAccelerationStructureDescriptor) SetInstanceCount(value uint)
The number of instances in the instance descriptor buffer. Full Topic
func (InstanceAccelerationStructureDescriptor) SetInstanceDescriptorBuffer ¶
func (i_ InstanceAccelerationStructureDescriptor) SetInstanceDescriptorBuffer(value PBuffer)
A buffer that contains descriptions of each instance in the acceleration structure. Full Topic
func (InstanceAccelerationStructureDescriptor) SetInstanceDescriptorBufferObject ¶
func (i_ InstanceAccelerationStructureDescriptor) SetInstanceDescriptorBufferObject(valueObject objc.IObject)
A buffer that contains descriptions of each instance in the acceleration structure. Full Topic
func (InstanceAccelerationStructureDescriptor) SetInstanceDescriptorBufferOffset ¶
func (i_ InstanceAccelerationStructureDescriptor) SetInstanceDescriptorBufferOffset(value uint)
The offset, in bytes, to the descripton of the first instance. Full Topic
func (InstanceAccelerationStructureDescriptor) SetInstanceDescriptorStride ¶
func (i_ InstanceAccelerationStructureDescriptor) SetInstanceDescriptorStride(value uint)
The stride, in bytes, between instance descriptions. Full Topic
func (InstanceAccelerationStructureDescriptor) SetInstanceDescriptorType ¶
func (i_ InstanceAccelerationStructureDescriptor) SetInstanceDescriptorType(value AccelerationStructureInstanceDescriptorType)
The format of the instance data in the descriptor buffer. Full Topic
func (InstanceAccelerationStructureDescriptor) SetInstancedAccelerationStructures ¶
func (i_ InstanceAccelerationStructureDescriptor) SetInstancedAccelerationStructures(value []PAccelerationStructure)
The bottom-level acceleration structures that instances use in the instance acceleration structure . Full Topic
func (InstanceAccelerationStructureDescriptor) SetMotionTransformBuffer ¶
func (i_ InstanceAccelerationStructureDescriptor) SetMotionTransformBuffer(value PBuffer)
A buffer that contains descriptions of each motion transform in the acceleration structure. Full Topic
func (InstanceAccelerationStructureDescriptor) SetMotionTransformBufferObject ¶
func (i_ InstanceAccelerationStructureDescriptor) SetMotionTransformBufferObject(valueObject objc.IObject)
A buffer that contains descriptions of each motion transform in the acceleration structure. Full Topic
func (InstanceAccelerationStructureDescriptor) SetMotionTransformBufferOffset ¶
func (i_ InstanceAccelerationStructureDescriptor) SetMotionTransformBufferOffset(value uint)
The offset, in bytes, to the descripton of the first motion transform. Full Topic
func (InstanceAccelerationStructureDescriptor) SetMotionTransformCount ¶
func (i_ InstanceAccelerationStructureDescriptor) SetMotionTransformCount(value uint)
The number of motion transforms in the motion transform buffer. Full Topic
type IntersectionFunctionDescriptor ¶
type IntersectionFunctionDescriptor struct {
FunctionDescriptor
}
A description of an intersection function that performs an intersection test. Full Topic
func IntersectionFunctionDescriptorFrom ¶
func IntersectionFunctionDescriptorFrom(ptr unsafe.Pointer) IntersectionFunctionDescriptor
func NewIntersectionFunctionDescriptor ¶
func NewIntersectionFunctionDescriptor() IntersectionFunctionDescriptor
func (IntersectionFunctionDescriptor) Init ¶
func (i_ IntersectionFunctionDescriptor) Init() IntersectionFunctionDescriptor
type IntersectionFunctionSignature ¶
type IntersectionFunctionSignature uint
Constants for specifying different types of custom intersection functions. Full Topic
const ( IntersectionFunctionSignatureExtendedLimits IntersectionFunctionSignature = 32 IntersectionFunctionSignatureInstanceMotion IntersectionFunctionSignature = 8 IntersectionFunctionSignatureInstancing IntersectionFunctionSignature = 1 IntersectionFunctionSignatureNone IntersectionFunctionSignature = 0 IntersectionFunctionSignaturePrimitiveMotion IntersectionFunctionSignature = 16 IntersectionFunctionSignatureTriangleData IntersectionFunctionSignature = 2 IntersectionFunctionSignatureWorldSpaceData IntersectionFunctionSignature = 4 )
type IntersectionFunctionTableDescriptor ¶
A specification of how to create an intersection function table. Full Topic
func IntersectionFunctionTableDescriptorFrom ¶
func IntersectionFunctionTableDescriptorFrom(ptr unsafe.Pointer) IntersectionFunctionTableDescriptor
func IntersectionFunctionTableDescriptor_IntersectionFunctionTableDescriptor ¶
func IntersectionFunctionTableDescriptor_IntersectionFunctionTableDescriptor() IntersectionFunctionTableDescriptor
Creates an intersection function table descriptor. Full Topic
func NewIntersectionFunctionTableDescriptor ¶
func NewIntersectionFunctionTableDescriptor() IntersectionFunctionTableDescriptor
func (IntersectionFunctionTableDescriptor) FunctionCount ¶
func (i_ IntersectionFunctionTableDescriptor) FunctionCount() uint
The number of entries in the intersection function table. Full Topic
func (IntersectionFunctionTableDescriptor) Init ¶
func (i_ IntersectionFunctionTableDescriptor) Init() IntersectionFunctionTableDescriptor
func (IntersectionFunctionTableDescriptor) SetFunctionCount ¶
func (i_ IntersectionFunctionTableDescriptor) SetFunctionCount(value uint)
The number of entries in the intersection function table. Full Topic
type IntersectionFunctionTableObject ¶
A concrete type for the PIntersectionFunctionTable protocol.
func (IntersectionFunctionTableObject) HasSetBufferOffsetAtIndex ¶
func (i_ IntersectionFunctionTableObject) HasSetBufferOffsetAtIndex() bool
func (IntersectionFunctionTableObject) HasSetBuffersOffsetsWithRange ¶
func (i_ IntersectionFunctionTableObject) HasSetBuffersOffsetsWithRange() bool
func (IntersectionFunctionTableObject) HasSetFunctionAtIndex ¶
func (i_ IntersectionFunctionTableObject) HasSetFunctionAtIndex() bool
func (IntersectionFunctionTableObject) HasSetFunctionsWithRange ¶
func (i_ IntersectionFunctionTableObject) HasSetFunctionsWithRange() bool
func (IntersectionFunctionTableObject) HasSetOpaqueTriangleIntersectionFunctionWithSignatureAtIndex ¶
func (i_ IntersectionFunctionTableObject) HasSetOpaqueTriangleIntersectionFunctionWithSignatureAtIndex() bool
func (IntersectionFunctionTableObject) HasSetOpaqueTriangleIntersectionFunctionWithSignatureWithRange ¶
func (i_ IntersectionFunctionTableObject) HasSetOpaqueTriangleIntersectionFunctionWithSignatureWithRange() bool
func (IntersectionFunctionTableObject) HasSetVisibleFunctionTableAtBufferIndex ¶
func (i_ IntersectionFunctionTableObject) HasSetVisibleFunctionTableAtBufferIndex() bool
func (IntersectionFunctionTableObject) HasSetVisibleFunctionTablesWithBufferRange ¶
func (i_ IntersectionFunctionTableObject) HasSetVisibleFunctionTablesWithBufferRange() bool
func (IntersectionFunctionTableObject) SetBufferOffsetAtIndex ¶
func (i_ IntersectionFunctionTableObject) SetBufferOffsetAtIndex(buffer BufferObject, offset uint, index uint)
Sets a buffer for the intersection functions. Full Topic
func (IntersectionFunctionTableObject) SetBuffersOffsetsWithRange ¶
func (i_ IntersectionFunctionTableObject) SetBuffersOffsetsWithRange(buffers BufferObject, offsets *uint, range_ foundation.Range)
Sets a range of buffers for the intersection functions. Full Topic
func (IntersectionFunctionTableObject) SetFunctionAtIndex ¶
func (i_ IntersectionFunctionTableObject) SetFunctionAtIndex(function FunctionHandleObject, index uint)
Sets an entry in the table. Full Topic
func (IntersectionFunctionTableObject) SetFunctionsWithRange ¶
func (i_ IntersectionFunctionTableObject) SetFunctionsWithRange(functions FunctionHandleObject, range_ foundation.Range)
Sets a range of entries in the table. Full Topic
func (IntersectionFunctionTableObject) SetOpaqueTriangleIntersectionFunctionWithSignatureAtIndex ¶
func (i_ IntersectionFunctionTableObject) SetOpaqueTriangleIntersectionFunctionWithSignatureAtIndex(signature IntersectionFunctionSignature, index uint)
Sets an entry in the intersection table to point to a system-defined opaque triangle intersection function. Full Topic
func (IntersectionFunctionTableObject) SetOpaqueTriangleIntersectionFunctionWithSignatureWithRange ¶
func (i_ IntersectionFunctionTableObject) SetOpaqueTriangleIntersectionFunctionWithSignatureWithRange(signature IntersectionFunctionSignature, range_ foundation.Range)
Sets a range of entries in the intersection table to point to a system-defined opaque triangle intersection function. Full Topic
func (IntersectionFunctionTableObject) SetVisibleFunctionTableAtBufferIndex ¶
func (i_ IntersectionFunctionTableObject) SetVisibleFunctionTableAtBufferIndex(functionTable VisibleFunctionTableObject, bufferIndex uint)
Sets a visible function table for the intersection functions. Full Topic
func (IntersectionFunctionTableObject) SetVisibleFunctionTablesWithBufferRange ¶
func (i_ IntersectionFunctionTableObject) SetVisibleFunctionTablesWithBufferRange(functionTables VisibleFunctionTableObject, bufferRange foundation.Range)
Sets a range of visible function tables for the intersection functions. Full Topic
type LanguageVersion ¶
type LanguageVersion uint
Metal shading language versions. Full Topic
const ( LanguageVersion1_1 LanguageVersion = 65537 LanguageVersion1_2 LanguageVersion = 65538 LanguageVersion2_0 LanguageVersion = 131072 LanguageVersion2_1 LanguageVersion = 131073 LanguageVersion2_2 LanguageVersion = 131074 LanguageVersion2_3 LanguageVersion = 131075 LanguageVersion2_4 LanguageVersion = 131076 )
type LibraryError ¶
type LibraryError uint
Error codes returned by Metal for library errors. Full Topic
const ( LibraryErrorCompileFailure LibraryError = 3 LibraryErrorCompileWarning LibraryError = 4 LibraryErrorFileNotFound LibraryError = 6 LibraryErrorFunctionNotFound LibraryError = 5 LibraryErrorInternal LibraryError = 2 LibraryErrorUnsupported LibraryError = 1 )
type LibraryObject ¶
A concrete type for the PLibrary protocol.
func (LibraryObject) Device ¶
func (l_ LibraryObject) Device() DeviceObject
The Metal device object that created the library. Full Topic
func (LibraryObject) FunctionNames ¶
func (l_ LibraryObject) FunctionNames() []string
The names of all public functions in the library. Full Topic
func (LibraryObject) HasDevice ¶
func (l_ LibraryObject) HasDevice() bool
func (LibraryObject) HasFunctionNames ¶
func (l_ LibraryObject) HasFunctionNames() bool
func (LibraryObject) HasInstallName ¶
func (l_ LibraryObject) HasInstallName() bool
func (LibraryObject) HasLabel ¶
func (l_ LibraryObject) HasLabel() bool
func (LibraryObject) HasNewFunctionWithDescriptorCompletionHandler ¶
func (l_ LibraryObject) HasNewFunctionWithDescriptorCompletionHandler() bool
func (LibraryObject) HasNewFunctionWithDescriptorError ¶
func (l_ LibraryObject) HasNewFunctionWithDescriptorError() bool
func (LibraryObject) HasNewFunctionWithName ¶
func (l_ LibraryObject) HasNewFunctionWithName() bool
func (LibraryObject) HasNewFunctionWithNameConstantValuesCompletionHandler ¶
func (l_ LibraryObject) HasNewFunctionWithNameConstantValuesCompletionHandler() bool
func (LibraryObject) HasNewFunctionWithNameConstantValuesError ¶
func (l_ LibraryObject) HasNewFunctionWithNameConstantValuesError() bool
func (LibraryObject) HasNewIntersectionFunctionWithDescriptorCompletionHandler ¶
func (l_ LibraryObject) HasNewIntersectionFunctionWithDescriptorCompletionHandler() bool
func (LibraryObject) HasNewIntersectionFunctionWithDescriptorError ¶
func (l_ LibraryObject) HasNewIntersectionFunctionWithDescriptorError() bool
func (LibraryObject) HasSetLabel ¶
func (l_ LibraryObject) HasSetLabel() bool
func (LibraryObject) HasType ¶
func (l_ LibraryObject) HasType() bool
func (LibraryObject) InstallName ¶
func (l_ LibraryObject) InstallName() string
The installation name for a dynamic library. Full Topic
func (LibraryObject) Label ¶
func (l_ LibraryObject) Label() string
A string that identifies the library. Full Topic
func (LibraryObject) NewFunctionWithDescriptorCompletionHandler ¶
func (l_ LibraryObject) NewFunctionWithDescriptorCompletionHandler(descriptor FunctionDescriptor, completionHandler func(function FunctionObject, error foundation.Error))
Asynchronously creates an object representing a shader function, using the specified descriptor. Full Topic
func (LibraryObject) NewFunctionWithDescriptorError ¶
func (l_ LibraryObject) NewFunctionWithDescriptorError(descriptor FunctionDescriptor, error foundation.Error) FunctionObject
Synchronously creates an object representing a shader function, using the specified descriptor. Full Topic
func (LibraryObject) NewFunctionWithName ¶
func (l_ LibraryObject) NewFunctionWithName(functionName string) FunctionObject
Creates an object that represents a shader function in the library. Full Topic
func (LibraryObject) NewFunctionWithNameConstantValuesCompletionHandler ¶
func (l_ LibraryObject) NewFunctionWithNameConstantValuesCompletionHandler(name string, constantValues FunctionConstantValues, completionHandler func(function FunctionObject, error foundation.Error))
Asynchronously creates a specialized shader function. Full Topic
func (LibraryObject) NewFunctionWithNameConstantValuesError ¶
func (l_ LibraryObject) NewFunctionWithNameConstantValuesError(name string, constantValues FunctionConstantValues, error foundation.Error) FunctionObject
Synchronously creates a specialized shader function. Full Topic
func (LibraryObject) NewIntersectionFunctionWithDescriptorCompletionHandler ¶
func (l_ LibraryObject) NewIntersectionFunctionWithDescriptorCompletionHandler(descriptor IntersectionFunctionDescriptor, completionHandler func(function FunctionObject, error foundation.Error))
Asynchronously creates an object representing a ray-tracing intersection function, using the specified descriptor. Full Topic
func (LibraryObject) NewIntersectionFunctionWithDescriptorError ¶
func (l_ LibraryObject) NewIntersectionFunctionWithDescriptorError(descriptor IntersectionFunctionDescriptor, error foundation.Error) FunctionObject
Synchronously creates an object representing a ray-tracing intersection function, using the specified descriptor. Full Topic
func (LibraryObject) SetLabel ¶
func (l_ LibraryObject) SetLabel(value string)
A string that identifies the library. Full Topic
func (LibraryObject) Type ¶
func (l_ LibraryObject) Type() LibraryType
The library’s basic type. Full Topic
type LibraryType ¶
type LibraryType int
A set of options for Metal library types. Full Topic
const ( LibraryTypeDynamic LibraryType = 1 LibraryTypeExecutable LibraryType = 0 )
type LinkedFunctions ¶
A set of related functions that Metal links to when necessary to create the function object. Full Topic
func LinkedFunctionsFrom ¶
func LinkedFunctionsFrom(ptr unsafe.Pointer) LinkedFunctions
func LinkedFunctions_LinkedFunctions ¶
func LinkedFunctions_LinkedFunctions() LinkedFunctions
Creates an empty linked functions object. Full Topic
func NewLinkedFunctions ¶
func NewLinkedFunctions() LinkedFunctions
func (LinkedFunctions) BinaryFunctions ¶
func (l_ LinkedFunctions) BinaryFunctions() []FunctionObject
An array of function objects already compiled to a binary representation to link. Full Topic
func (LinkedFunctions) Functions ¶
func (l_ LinkedFunctions) Functions() []FunctionObject
An array of function objects to link to the new function. Full Topic
func (LinkedFunctions) Groups ¶
func (l_ LinkedFunctions) Groups() map[string][]FunctionObject
An optional list of groups specifying which functions your shader can call at each call site. Full Topic
func (LinkedFunctions) Init ¶
func (l_ LinkedFunctions) Init() LinkedFunctions
func (LinkedFunctions) PrivateFunctions ¶
func (l_ LinkedFunctions) PrivateFunctions() []FunctionObject
An array of function objects to link to the new function, without exporting the functions publicly. Full Topic
func (LinkedFunctions) SetBinaryFunctions ¶
func (l_ LinkedFunctions) SetBinaryFunctions(value []PFunction)
An array of function objects already compiled to a binary representation to link. Full Topic
func (LinkedFunctions) SetFunctions ¶
func (l_ LinkedFunctions) SetFunctions(value []PFunction)
An array of function objects to link to the new function. Full Topic
func (LinkedFunctions) SetGroups ¶
func (l_ LinkedFunctions) SetGroups(value map[string][]PFunction)
An optional list of groups specifying which functions your shader can call at each call site. Full Topic
func (LinkedFunctions) SetPrivateFunctions ¶
func (l_ LinkedFunctions) SetPrivateFunctions(value []PFunction)
An array of function objects to link to the new function, without exporting the functions publicly. Full Topic
type LoadAction ¶
type LoadAction uint
Types of actions performed for an attachment at the start of a rendering pass. Full Topic
const ( LoadActionClear LoadAction = 2 LoadActionDontCare LoadAction = 0 LoadActionLoad LoadAction = 1 )
type LogContainerObject ¶
A concrete type for the PLogContainer protocol.
type MapIndirectArguments ¶
type MapIndirectArguments struct { RegionOriginX uint32 RegionOriginY uint32 RegionOriginZ uint32 RegionSizeWidth uint32 RegionSizeHeight uint32 RegionSizeDepth uint32 MipMapLevel uint32 SliceId uint32 }
The data layout for mapping sparse texture regions when using indirect commands. Full Topic
type MotionBorderMode ¶
type MotionBorderMode uint32
Options for specifying how the acceleration structure handles timestamps that are outside the specified range. Full Topic
const ( MotionBorderModeClamp MotionBorderMode = 0 MotionBorderModeVanish MotionBorderMode = 1 )
type MotionKeyframeData ¶
Geometry data for a specific keyframe to use in a moving object. Full Topic
func MotionKeyframeDataFrom ¶
func MotionKeyframeDataFrom(ptr unsafe.Pointer) MotionKeyframeData
func MotionKeyframeData_Data ¶
func MotionKeyframeData_Data() MotionKeyframeData
Creates a new keyframe object. Full Topic
func NewMotionKeyframeData ¶
func NewMotionKeyframeData() MotionKeyframeData
func (MotionKeyframeData) Buffer ¶
func (m_ MotionKeyframeData) Buffer() BufferObject
The buffer that holds the geometry data. Full Topic
func (MotionKeyframeData) Init ¶
func (m_ MotionKeyframeData) Init() MotionKeyframeData
func (MotionKeyframeData) Offset ¶
func (m_ MotionKeyframeData) Offset() uint
The offset, in bytes, to the keyframe data. Full Topic
func (MotionKeyframeData) SetBuffer ¶
func (m_ MotionKeyframeData) SetBuffer(value PBuffer)
The buffer that holds the geometry data. Full Topic
func (MotionKeyframeData) SetBufferObject ¶
func (m_ MotionKeyframeData) SetBufferObject(valueObject objc.IObject)
The buffer that holds the geometry data. Full Topic
func (MotionKeyframeData) SetOffset ¶
func (m_ MotionKeyframeData) SetOffset(value uint)
The offset, in bytes, to the keyframe data. Full Topic
type MultisampleDepthResolveFilter ¶
type MultisampleDepthResolveFilter uint
Filtering options for controlling an MSAA depth resolve operation. Full Topic
const ( MultisampleDepthResolveFilterMax MultisampleDepthResolveFilter = 2 MultisampleDepthResolveFilterMin MultisampleDepthResolveFilter = 1 MultisampleDepthResolveFilterSample0 MultisampleDepthResolveFilter = 0 )
type MultisampleStencilResolveFilter ¶
type MultisampleStencilResolveFilter uint
Constants used to control the multisample stencil resolve operation. Full Topic
const ( MultisampleStencilResolveFilterDepthResolvedSample MultisampleStencilResolveFilter = 1 MultisampleStencilResolveFilterSample0 MultisampleStencilResolveFilter = 0 )
type Mutability ¶
type Mutability uint
The options that determine the mutability of a buffer's contents. Full Topic
const ( MutabilityDefault Mutability = 0 MutabilityImmutable Mutability = 2 MutabilityMutable Mutability = 1 )
type NewComputePipelineStateCompletionHandler ¶
type NewComputePipelineStateCompletionHandler = func(computePipelineState ComputePipelineStateObject, error foundation.Error)
A completion handler signature a method calls when it finishes creating a compute pipeline. Full Topic
type NewComputePipelineStateWithReflectionCompletionHandler ¶
type NewComputePipelineStateWithReflectionCompletionHandler = func(computePipelineState ComputePipelineStateObject, reflection ComputePipelineReflection, error foundation.Error)
A completion handler signature a method calls when it finishes creating a compute pipeline and reflection information. Full Topic
type NewLibraryCompletionHandler ¶
type NewLibraryCompletionHandler = func(library LibraryObject, error foundation.Error)
A completion handler signature a method calls when it finishes creating a Metal library. Full Topic
type NewRenderPipelineStateCompletionHandler ¶
type NewRenderPipelineStateCompletionHandler = func(renderPipelineState RenderPipelineStateObject, error foundation.Error)
A completion handler signature a method calls when it finishes creating a render pipeline. Full Topic
type NewRenderPipelineStateWithReflectionCompletionHandler ¶
type NewRenderPipelineStateWithReflectionCompletionHandler = func(renderPipelineState RenderPipelineStateObject, reflection RenderPipelineReflection, error foundation.Error)
A completion handler signature a method calls when it finishes creating a render pipeline and reflection information. Full Topic
type Origin ¶
The coordinates for the front upper-left corner of a region. Full Topic
type PAccelerationStructure ¶
A collection of model data for GPU-accelerated intersection of rays with the model. Full Topic
type PAccelerationStructureCommandEncoder ¶
type PAccelerationStructureCommandEncoder interface { // optional RefitAccelerationStructureDescriptorDestinationScratchBufferScratchBufferOffset(sourceAccelerationStructure AccelerationStructureObject, descriptor AccelerationStructureDescriptor, destinationAccelerationStructure AccelerationStructureObject, scratchBuffer BufferObject, scratchBufferOffset uint) HasRefitAccelerationStructureDescriptorDestinationScratchBufferScratchBufferOffset() bool // optional UpdateFence(fence FenceObject) HasUpdateFence() bool // optional WriteCompactedAccelerationStructureSizeToBufferOffsetSizeDataType(accelerationStructure AccelerationStructureObject, buffer BufferObject, offset uint, sizeDataType DataType) HasWriteCompactedAccelerationStructureSizeToBufferOffsetSizeDataType() bool // optional CopyAndCompactAccelerationStructureToAccelerationStructure(sourceAccelerationStructure AccelerationStructureObject, destinationAccelerationStructure AccelerationStructureObject) HasCopyAndCompactAccelerationStructureToAccelerationStructure() bool // optional UseHeapsCount(heaps HeapObject, count uint) HasUseHeapsCount() bool // optional CopyAccelerationStructureToAccelerationStructure(sourceAccelerationStructure AccelerationStructureObject, destinationAccelerationStructure AccelerationStructureObject) HasCopyAccelerationStructureToAccelerationStructure() bool // optional BuildAccelerationStructureDescriptorScratchBufferScratchBufferOffset(accelerationStructure AccelerationStructureObject, descriptor AccelerationStructureDescriptor, scratchBuffer BufferObject, scratchBufferOffset uint) HasBuildAccelerationStructureDescriptorScratchBufferScratchBufferOffset() bool // optional UseHeap(heap HeapObject) HasUseHeap() bool // optional WaitForFence(fence FenceObject) HasWaitForFence() bool // optional SampleCountersInBufferAtSampleIndexWithBarrier(sampleBuffer CounterSampleBufferObject, sampleIndex uint, barrier bool) HasSampleCountersInBufferAtSampleIndexWithBarrier() bool // optional UseResourceUsage(resource ResourceObject, usage ResourceUsage) HasUseResourceUsage() bool // optional UseResourcesCountUsage(resources ResourceObject, count uint, usage ResourceUsage) HasUseResourcesCountUsage() bool // optional WriteCompactedAccelerationStructureSizeToBufferOffset(accelerationStructure AccelerationStructureObject, buffer BufferObject, offset uint) HasWriteCompactedAccelerationStructureSizeToBufferOffset() bool }
An object for encoding commands that build or refit acceleration structures. Full Topic
type PArgumentEncoder ¶
type PArgumentEncoder interface { // optional SetSamplerStatesWithRange(samplers SamplerStateObject, range_ foundation.Range) HasSetSamplerStatesWithRange() bool // optional SetTexturesWithRange(textures TextureObject, range_ foundation.Range) HasSetTexturesWithRange() bool // optional SetRenderPipelineStatesWithRange(pipelines RenderPipelineStateObject, range_ foundation.Range) HasSetRenderPipelineStatesWithRange() bool // optional SetComputePipelineStatesWithRange(pipelines ComputePipelineStateObject, range_ foundation.Range) HasSetComputePipelineStatesWithRange() bool // optional SetSamplerStateAtIndex(sampler SamplerStateObject, index uint) HasSetSamplerStateAtIndex() bool // optional SetAccelerationStructureAtIndex(accelerationStructure AccelerationStructureObject, index uint) HasSetAccelerationStructureAtIndex() bool // optional SetComputePipelineStateAtIndex(pipeline ComputePipelineStateObject, index uint) HasSetComputePipelineStateAtIndex() bool // optional ConstantDataAtIndex(index uint) unsafe.Pointer HasConstantDataAtIndex() bool // optional SetBuffersOffsetsWithRange(buffers BufferObject, offsets *uint, range_ foundation.Range) HasSetBuffersOffsetsWithRange() bool // optional SetIndirectCommandBufferAtIndex(indirectCommandBuffer IndirectCommandBufferObject, index uint) HasSetIndirectCommandBufferAtIndex() bool // optional SetIndirectCommandBuffersWithRange(buffers IndirectCommandBufferObject, range_ foundation.Range) HasSetIndirectCommandBuffersWithRange() bool // optional SetBufferOffsetAtIndex(buffer BufferObject, offset uint, index uint) HasSetBufferOffsetAtIndex() bool // optional SetIntersectionFunctionTablesWithRange(intersectionFunctionTables IntersectionFunctionTableObject, range_ foundation.Range) HasSetIntersectionFunctionTablesWithRange() bool // optional SetVisibleFunctionTableAtIndex(visibleFunctionTable VisibleFunctionTableObject, index uint) HasSetVisibleFunctionTableAtIndex() bool // optional SetRenderPipelineStateAtIndex(pipeline RenderPipelineStateObject, index uint) HasSetRenderPipelineStateAtIndex() bool // optional SetVisibleFunctionTablesWithRange(visibleFunctionTables VisibleFunctionTableObject, range_ foundation.Range) HasSetVisibleFunctionTablesWithRange() bool // optional SetArgumentBufferOffset(argumentBuffer BufferObject, offset uint) HasSetArgumentBufferOffset() bool // optional SetIntersectionFunctionTableAtIndex(intersectionFunctionTable IntersectionFunctionTableObject, index uint) HasSetIntersectionFunctionTableAtIndex() bool // optional SetArgumentBufferStartOffsetArrayElement(argumentBuffer BufferObject, startOffset uint, arrayElement uint) HasSetArgumentBufferStartOffsetArrayElement() bool // optional NewArgumentEncoderForBufferAtIndex(index uint) ArgumentEncoderObject HasNewArgumentEncoderForBufferAtIndex() bool // optional SetTextureAtIndex(texture TextureObject, index uint) HasSetTextureAtIndex() bool // optional Alignment() uint HasAlignment() bool // optional SetLabel(value string) HasSetLabel() bool // optional Label() string HasLabel() bool // optional EncodedLength() uint HasEncodedLength() bool // optional Device() DeviceObject HasDevice() bool }
An object used to encode data into an argument buffer. Full Topic
type PBinaryArchive ¶
type PBinaryArchive interface { // optional SerializeToURLError(url foundation.URL, error foundation.Error) bool HasSerializeToURLError() bool // optional AddTileRenderPipelineFunctionsWithDescriptorError(descriptor TileRenderPipelineDescriptor, error foundation.Error) bool HasAddTileRenderPipelineFunctionsWithDescriptorError() bool // optional AddComputePipelineFunctionsWithDescriptorError(descriptor ComputePipelineDescriptor, error foundation.Error) bool HasAddComputePipelineFunctionsWithDescriptorError() bool // optional AddRenderPipelineFunctionsWithDescriptorError(descriptor RenderPipelineDescriptor, error foundation.Error) bool HasAddRenderPipelineFunctionsWithDescriptorError() bool // optional AddFunctionWithDescriptorLibraryError(descriptor FunctionDescriptor, library LibraryObject, error foundation.Error) bool HasAddFunctionWithDescriptorLibraryError() bool // optional Device() DeviceObject HasDevice() bool // optional SetLabel(value string) HasSetLabel() bool // optional Label() string HasLabel() bool }
A container for pipeline state descriptors and their associated compiled shader code. Full Topic
type PBlitCommandEncoder ¶
type PBlitCommandEncoder interface { // optional ResetCommandsInBufferWithRange(buffer IndirectCommandBufferObject, range_ foundation.Range) HasResetCommandsInBufferWithRange() bool // optional CopyFromBufferSourceOffsetSourceBytesPerRowSourceBytesPerImageSourceSizeToTextureDestinationSliceDestinationLevelDestinationOrigin(sourceBuffer BufferObject, sourceOffset uint, sourceBytesPerRow uint, sourceBytesPerImage uint, sourceSize Size, destinationTexture TextureObject, destinationSlice uint, destinationLevel uint, destinationOrigin Origin) HasCopyFromBufferSourceOffsetSourceBytesPerRowSourceBytesPerImageSourceSizeToTextureDestinationSliceDestinationLevelDestinationOrigin() bool // optional WaitForFence(fence FenceObject) HasWaitForFence() bool // optional CopyFromTextureSourceSliceSourceLevelToTextureDestinationSliceDestinationLevelSliceCountLevelCount(sourceTexture TextureObject, sourceSlice uint, sourceLevel uint, destinationTexture TextureObject, destinationSlice uint, destinationLevel uint, sliceCount uint, levelCount uint) HasCopyFromTextureSourceSliceSourceLevelToTextureDestinationSliceDestinationLevelSliceCountLevelCount() bool // optional OptimizeContentsForGPUAccessSliceLevel(texture TextureObject, slice uint, level uint) HasOptimizeContentsForGPUAccessSliceLevel() bool // optional OptimizeContentsForCPUAccess(texture TextureObject) HasOptimizeContentsForCPUAccess() bool // optional CopyFromTextureSourceSliceSourceLevelSourceOriginSourceSizeToBufferDestinationOffsetDestinationBytesPerRowDestinationBytesPerImageOptions(sourceTexture TextureObject, sourceSlice uint, sourceLevel uint, sourceOrigin Origin, sourceSize Size, destinationBuffer BufferObject, destinationOffset uint, destinationBytesPerRow uint, destinationBytesPerImage uint, options BlitOption) HasCopyFromTextureSourceSliceSourceLevelSourceOriginSourceSizeToBufferDestinationOffsetDestinationBytesPerRowDestinationBytesPerImageOptions() bool // optional OptimizeIndirectCommandBufferWithRange(indirectCommandBuffer IndirectCommandBufferObject, range_ foundation.Range) HasOptimizeIndirectCommandBufferWithRange() bool // optional SynchronizeResource(resource ResourceObject) HasSynchronizeResource() bool // optional SynchronizeTextureSliceLevel(texture TextureObject, slice uint, level uint) HasSynchronizeTextureSliceLevel() bool // optional GetTextureAccessCountersRegionMipLevelSliceResetCountersCountersBufferCountersBufferOffset(texture TextureObject, region Region, mipLevel uint, slice uint, resetCounters bool, countersBuffer BufferObject, countersBufferOffset uint) HasGetTextureAccessCountersRegionMipLevelSliceResetCountersCountersBufferCountersBufferOffset() bool // optional OptimizeContentsForCPUAccessSliceLevel(texture TextureObject, slice uint, level uint) HasOptimizeContentsForCPUAccessSliceLevel() bool // optional CopyFromTextureSourceSliceSourceLevelSourceOriginSourceSizeToBufferDestinationOffsetDestinationBytesPerRowDestinationBytesPerImage(sourceTexture TextureObject, sourceSlice uint, sourceLevel uint, sourceOrigin Origin, sourceSize Size, destinationBuffer BufferObject, destinationOffset uint, destinationBytesPerRow uint, destinationBytesPerImage uint) HasCopyFromTextureSourceSliceSourceLevelSourceOriginSourceSizeToBufferDestinationOffsetDestinationBytesPerRowDestinationBytesPerImage() bool // optional CopyFromBufferSourceOffsetSourceBytesPerRowSourceBytesPerImageSourceSizeToTextureDestinationSliceDestinationLevelDestinationOriginOptions(sourceBuffer BufferObject, sourceOffset uint, sourceBytesPerRow uint, sourceBytesPerImage uint, sourceSize Size, destinationTexture TextureObject, destinationSlice uint, destinationLevel uint, destinationOrigin Origin, options BlitOption) HasCopyFromBufferSourceOffsetSourceBytesPerRowSourceBytesPerImageSourceSizeToTextureDestinationSliceDestinationLevelDestinationOriginOptions() bool // optional UpdateFence(fence FenceObject) HasUpdateFence() bool // optional CopyIndirectCommandBufferSourceRangeDestinationDestinationIndex(source IndirectCommandBufferObject, sourceRange foundation.Range, destination IndirectCommandBufferObject, destinationIndex uint) HasCopyIndirectCommandBufferSourceRangeDestinationDestinationIndex() bool // optional SampleCountersInBufferAtSampleIndexWithBarrier(sampleBuffer CounterSampleBufferObject, sampleIndex uint, barrier bool) HasSampleCountersInBufferAtSampleIndexWithBarrier() bool // optional FillBufferRangeValue(buffer BufferObject, range_ foundation.Range, value uint8) HasFillBufferRangeValue() bool // optional GenerateMipmapsForTexture(texture TextureObject) HasGenerateMipmapsForTexture() bool // optional CopyFromTextureToTexture(sourceTexture TextureObject, destinationTexture TextureObject) HasCopyFromTextureToTexture() bool // optional CopyFromBufferSourceOffsetToBufferDestinationOffsetSize(sourceBuffer BufferObject, sourceOffset uint, destinationBuffer BufferObject, destinationOffset uint, size uint) HasCopyFromBufferSourceOffsetToBufferDestinationOffsetSize() bool // optional ResetTextureAccessCountersRegionMipLevelSlice(texture TextureObject, region Region, mipLevel uint, slice uint) HasResetTextureAccessCountersRegionMipLevelSlice() bool // optional CopyFromTextureSourceSliceSourceLevelSourceOriginSourceSizeToTextureDestinationSliceDestinationLevelDestinationOrigin(sourceTexture TextureObject, sourceSlice uint, sourceLevel uint, sourceOrigin Origin, sourceSize Size, destinationTexture TextureObject, destinationSlice uint, destinationLevel uint, destinationOrigin Origin) HasCopyFromTextureSourceSliceSourceLevelSourceOriginSourceSizeToTextureDestinationSliceDestinationLevelDestinationOrigin() bool // optional OptimizeContentsForGPUAccess(texture TextureObject) HasOptimizeContentsForGPUAccess() bool // optional ResolveCountersInRangeDestinationBufferDestinationOffset(sampleBuffer CounterSampleBufferObject, range_ foundation.Range, destinationBuffer BufferObject, destinationOffset uint) HasResolveCountersInRangeDestinationBufferDestinationOffset() bool }
An interface you can use to encode GPU commands that copy and modify the underlying memory of various Metal resources. Full Topic
type PBuffer ¶
type PBuffer interface { // optional Contents() unsafe.Pointer HasContents() bool // optional NewRemoteBufferViewForDevice(device DeviceObject) BufferObject HasNewRemoteBufferViewForDevice() bool // optional AddDebugMarkerRange(marker string, range_ foundation.Range) HasAddDebugMarkerRange() bool // optional NewTextureWithDescriptorOffsetBytesPerRow(descriptor TextureDescriptor, offset uint, bytesPerRow uint) TextureObject HasNewTextureWithDescriptorOffsetBytesPerRow() bool // optional RemoveAllDebugMarkers() HasRemoveAllDebugMarkers() bool // optional DidModifyRange(range_ foundation.Range) HasDidModifyRange() bool // optional RemoteStorageBuffer() BufferObject HasRemoteStorageBuffer() bool // optional Length() uint HasLength() bool }
A resource that stores data in a format defined by your app. Full Topic
type PCaptureScope ¶
type PCaptureScope interface { // optional EndScope() HasEndScope() bool // optional BeginScope() HasBeginScope() bool // optional Device() DeviceObject HasDevice() bool // optional CommandQueue() CommandQueueObject HasCommandQueue() bool // optional SetLabel(value string) HasSetLabel() bool // optional Label() string HasLabel() bool }
A protocol that defines custom boundaries for a GPU frame capture. Full Topic
type PCommandBuffer ¶
type PCommandBuffer interface { // optional PresentDrawable(drawable DrawableObject) HasPresentDrawable() bool // optional WaitUntilScheduled() HasWaitUntilScheduled() bool // optional Enqueue() HasEnqueue() bool // optional ComputeCommandEncoderWithDispatchType(dispatchType DispatchType) ComputeCommandEncoderObject HasComputeCommandEncoderWithDispatchType() bool // optional ComputeCommandEncoder() ComputeCommandEncoderObject HasComputeCommandEncoder() bool // optional EncodeSignalEventValue(event EventObject, value uint64) HasEncodeSignalEventValue() bool // optional Commit() HasCommit() bool // optional PopDebugGroup() HasPopDebugGroup() bool // optional ComputeCommandEncoderWithDescriptor(computePassDescriptor ComputePassDescriptor) ComputeCommandEncoderObject HasComputeCommandEncoderWithDescriptor() bool // optional ParallelRenderCommandEncoderWithDescriptor(renderPassDescriptor RenderPassDescriptor) ParallelRenderCommandEncoderObject HasParallelRenderCommandEncoderWithDescriptor() bool // optional EncodeWaitForEventValue(event EventObject, value uint64) HasEncodeWaitForEventValue() bool // optional BlitCommandEncoder() BlitCommandEncoderObject HasBlitCommandEncoder() bool // optional ResourceStateCommandEncoder() ResourceStateCommandEncoderObject HasResourceStateCommandEncoder() bool // optional RenderCommandEncoderWithDescriptor(renderPassDescriptor RenderPassDescriptor) RenderCommandEncoderObject HasRenderCommandEncoderWithDescriptor() bool // optional AddCompletedHandler(block CommandBufferHandler) HasAddCompletedHandler() bool // optional PresentDrawableAfterMinimumDuration(drawable DrawableObject, duration corefoundation.TimeInterval) HasPresentDrawableAfterMinimumDuration() bool // optional PresentDrawableAtTime(drawable DrawableObject, presentationTime corefoundation.TimeInterval) HasPresentDrawableAtTime() bool // optional ResourceStateCommandEncoderWithDescriptor(resourceStatePassDescriptor ResourceStatePassDescriptor) ResourceStateCommandEncoderObject HasResourceStateCommandEncoderWithDescriptor() bool // optional AccelerationStructureCommandEncoder() AccelerationStructureCommandEncoderObject HasAccelerationStructureCommandEncoder() bool // optional AddScheduledHandler(block CommandBufferHandler) HasAddScheduledHandler() bool // optional WaitUntilCompleted() HasWaitUntilCompleted() bool // optional PushDebugGroup(string_ string) HasPushDebugGroup() bool // optional BlitCommandEncoderWithDescriptor(blitPassDescriptor BlitPassDescriptor) BlitCommandEncoderObject HasBlitCommandEncoderWithDescriptor() bool // optional Logs() LogContainerObject HasLogs() bool // optional SetLabel(value string) HasSetLabel() bool // optional Label() string HasLabel() bool // optional Status() CommandBufferStatus HasStatus() bool // optional ErrorOptions() CommandBufferErrorOption HasErrorOptions() bool // optional RetainedReferences() bool HasRetainedReferences() bool // optional GPUStartTime() corefoundation.TimeInterval HasGPUStartTime() bool // optional Device() DeviceObject HasDevice() bool // optional KernelEndTime() corefoundation.TimeInterval HasKernelEndTime() bool // optional CommandQueue() CommandQueueObject HasCommandQueue() bool // optional KernelStartTime() corefoundation.TimeInterval HasKernelStartTime() bool // optional Error() foundation.Error HasError() bool // optional GPUEndTime() corefoundation.TimeInterval HasGPUEndTime() bool }
A container that stores a sequence of GPU commands that you encode into it. Full Topic
type PCommandBufferEncoderInfo ¶
type PCommandBufferEncoderInfo interface { // optional ErrorState() CommandEncoderErrorState HasErrorState() bool // optional Label() string HasLabel() bool // optional DebugSignposts() []string HasDebugSignposts() bool }
A container that provides additional information about a runtime failure a GPU encounters as it runs the commands in a command buffer. Full Topic
type PCommandEncoder ¶
type PCommandEncoder interface { // optional EndEncoding() HasEndEncoding() bool // optional PushDebugGroup(string_ string) HasPushDebugGroup() bool // optional PopDebugGroup() HasPopDebugGroup() bool // optional InsertDebugSignpost(string_ string) HasInsertDebugSignpost() bool // optional SetLabel(value string) HasSetLabel() bool // optional Label() string HasLabel() bool // optional Device() DeviceObject HasDevice() bool }
An encoder that writes GPU commands into a command buffer. Full Topic
type PCommandQueue ¶
type PCommandQueue interface { // optional CommandBuffer() CommandBufferObject HasCommandBuffer() bool // optional CommandBufferWithUnretainedReferences() CommandBufferObject HasCommandBufferWithUnretainedReferences() bool // optional CommandBufferWithDescriptor(descriptor CommandBufferDescriptor) CommandBufferObject HasCommandBufferWithDescriptor() bool // optional SetLabel(value string) HasSetLabel() bool // optional Label() string HasLabel() bool // optional Device() DeviceObject HasDevice() bool }
An instance you use to create, submit, and schedule command buffers to a specific GPU device to run the commands within those buffers. Full Topic
type PComputeCommandEncoder ¶
type PComputeCommandEncoder interface { // optional MemoryBarrierWithScope(scope BarrierScope) HasMemoryBarrierWithScope() bool // optional UseHeapsCount(heaps HeapObject, count uint) HasUseHeapsCount() bool // optional UseHeap(heap HeapObject) HasUseHeap() bool // optional SetBufferOffsetAtIndex_(buffer BufferObject, offset uint, index uint) HasSetBufferOffsetAtIndex_() bool // optional SetBytesLengthAtIndex(bytes unsafe.Pointer, length uint, index uint) HasSetBytesLengthAtIndex() bool // optional SetIntersectionFunctionTableAtBufferIndex(intersectionFunctionTable IntersectionFunctionTableObject, bufferIndex uint) HasSetIntersectionFunctionTableAtBufferIndex() bool // optional SetIntersectionFunctionTablesWithBufferRange(intersectionFunctionTables IntersectionFunctionTableObject, range_ foundation.Range) HasSetIntersectionFunctionTablesWithBufferRange() bool // optional SetTexturesWithRange(textures TextureObject, range_ foundation.Range) HasSetTexturesWithRange() bool // optional MemoryBarrierWithResourcesCount(resources ResourceObject, count uint) HasMemoryBarrierWithResourcesCount() bool // optional DispatchThreadgroupsWithIndirectBufferIndirectBufferOffsetThreadsPerThreadgroup(indirectBuffer BufferObject, indirectBufferOffset uint, threadsPerThreadgroup Size) HasDispatchThreadgroupsWithIndirectBufferIndirectBufferOffsetThreadsPerThreadgroup() bool // optional SetAccelerationStructureAtBufferIndex(accelerationStructure AccelerationStructureObject, bufferIndex uint) HasSetAccelerationStructureAtBufferIndex() bool // optional SetSamplerStatesWithRange(samplers SamplerStateObject, range_ foundation.Range) HasSetSamplerStatesWithRange() bool // optional SetStageInRegion(region Region) HasSetStageInRegion() bool // optional SetVisibleFunctionTablesWithBufferRange(visibleFunctionTables VisibleFunctionTableObject, range_ foundation.Range) HasSetVisibleFunctionTablesWithBufferRange() bool // optional WaitForFence(fence FenceObject) HasWaitForFence() bool // optional ExecuteCommandsInBufferWithRange(indirectCommandBuffer IndirectCommandBufferObject, executionRange foundation.Range) HasExecuteCommandsInBufferWithRange() bool // optional DispatchThreadsThreadsPerThreadgroup(threadsPerGrid Size, threadsPerThreadgroup Size) HasDispatchThreadsThreadsPerThreadgroup() bool // optional SetStageInRegionWithIndirectBufferIndirectBufferOffset(indirectBuffer BufferObject, indirectBufferOffset uint) HasSetStageInRegionWithIndirectBufferIndirectBufferOffset() bool // optional DispatchThreadgroupsThreadsPerThreadgroup(threadgroupsPerGrid Size, threadsPerThreadgroup Size) HasDispatchThreadgroupsThreadsPerThreadgroup() bool // optional SetSamplerStatesLodMinClampsLodMaxClampsWithRange(samplers SamplerStateObject, lodMinClamps *float64, lodMaxClamps *float64, range_ foundation.Range) HasSetSamplerStatesLodMinClampsLodMaxClampsWithRange() bool // optional SetSamplerStateAtIndex(sampler SamplerStateObject, index uint) HasSetSamplerStateAtIndex() bool // optional UseResourceUsage(resource ResourceObject, usage ResourceUsage) HasUseResourceUsage() bool // optional SetSamplerStateLodMinClampLodMaxClampAtIndex(sampler SamplerStateObject, lodMinClamp float64, lodMaxClamp float64, index uint) HasSetSamplerStateLodMinClampLodMaxClampAtIndex() bool // optional SetTextureAtIndex(texture TextureObject, index uint) HasSetTextureAtIndex() bool // optional SetBufferOffsetAtIndex(offset uint, index uint) HasSetBufferOffsetAtIndex() bool // optional ExecuteCommandsInBufferIndirectBufferIndirectBufferOffset(indirectCommandbuffer IndirectCommandBufferObject, indirectRangeBuffer BufferObject, indirectBufferOffset uint) HasExecuteCommandsInBufferIndirectBufferIndirectBufferOffset() bool // optional SetVisibleFunctionTableAtBufferIndex(visibleFunctionTable VisibleFunctionTableObject, bufferIndex uint) HasSetVisibleFunctionTableAtBufferIndex() bool // optional SetBuffersOffsetsWithRange(buffers BufferObject, offsets *uint, range_ foundation.Range) HasSetBuffersOffsetsWithRange() bool // optional SetImageblockWidthHeight(width uint, height uint) HasSetImageblockWidthHeight() bool // optional SetComputePipelineState(state ComputePipelineStateObject) HasSetComputePipelineState() bool // optional UseResourcesCountUsage(resources ResourceObject, count uint, usage ResourceUsage) HasUseResourcesCountUsage() bool // optional UpdateFence(fence FenceObject) HasUpdateFence() bool // optional SampleCountersInBufferAtSampleIndexWithBarrier(sampleBuffer CounterSampleBufferObject, sampleIndex uint, barrier bool) HasSampleCountersInBufferAtSampleIndexWithBarrier() bool // optional SetThreadgroupMemoryLengthAtIndex(length uint, index uint) HasSetThreadgroupMemoryLengthAtIndex() bool // optional DispatchType() DispatchType HasDispatchType() bool }
An object for encoding commands in a compute pass. Full Topic
type PComputePipelineState ¶
type PComputePipelineState interface { // optional FunctionHandleWithFunction(function FunctionObject) FunctionHandleObject HasFunctionHandleWithFunction() bool // optional NewIntersectionFunctionTableWithDescriptor(descriptor IntersectionFunctionTableDescriptor) IntersectionFunctionTableObject HasNewIntersectionFunctionTableWithDescriptor() bool // optional ImageblockMemoryLengthForDimensions(imageblockDimensions Size) uint HasImageblockMemoryLengthForDimensions() bool // optional NewVisibleFunctionTableWithDescriptor(descriptor VisibleFunctionTableDescriptor) VisibleFunctionTableObject HasNewVisibleFunctionTableWithDescriptor() bool // optional NewComputePipelineStateWithAdditionalBinaryFunctionsError(functions []FunctionObject, error foundation.Error) ComputePipelineStateObject HasNewComputePipelineStateWithAdditionalBinaryFunctionsError() bool // optional StaticThreadgroupMemoryLength() uint HasStaticThreadgroupMemoryLength() bool // optional Label() string HasLabel() bool // optional MaxTotalThreadsPerThreadgroup() uint HasMaxTotalThreadsPerThreadgroup() bool // optional ThreadExecutionWidth() uint HasThreadExecutionWidth() bool // optional SupportIndirectCommandBuffers() bool HasSupportIndirectCommandBuffers() bool // optional Device() DeviceObject HasDevice() bool }
An object that contains a compiled compute pipeline. Full Topic
type PCounter ¶
An individual counter a GPU device lists within one of its counter sets. Full Topic
type PCounterSampleBuffer ¶
type PCounterSampleBuffer interface { // optional ResolveCounterRange(range_ foundation.Range) []byte HasResolveCounterRange() bool // optional SampleCount() uint HasSampleCount() bool // optional Label() string HasLabel() bool // optional Device() DeviceObject HasDevice() bool }
A specialized memory buffer that stores a GPU’s counter set data. Full Topic
type PCounterSet ¶
type PCounterSet interface { // optional Name() string HasName() bool // optional Counters() []CounterObject HasCounters() bool }
A collection of individual counters a GPU device supports for a counter set. Full Topic
type PDepthStencilState ¶
type PDepthStencilState interface { // optional Label() string HasLabel() bool // optional Device() DeviceObject HasDevice() bool }
A depth and stencil state object that specifies the depth and stencil configuration and operations used in a render pass. Full Topic
type PDevice ¶
type PDevice interface { // optional NewDefaultLibrary() LibraryObject HasNewDefaultLibrary() bool // optional NewBufferWithBytesLengthOptions(pointer unsafe.Pointer, length uint, options ResourceOptions) BufferObject HasNewBufferWithBytesLengthOptions() bool // optional SupportsVertexAmplificationCount(count uint) bool HasSupportsVertexAmplificationCount() bool // optional NewLibraryWithSourceOptionsError(source string, options CompileOptions, error foundation.Error) LibraryObject HasNewLibraryWithSourceOptionsError() bool // optional // optional NewBinaryArchiveWithDescriptorError(descriptor BinaryArchiveDescriptor, error foundation.Error) BinaryArchiveObject HasNewBinaryArchiveWithDescriptorError() bool // optional NewIndirectCommandBufferWithDescriptorMaxCommandCountOptions(descriptor IndirectCommandBufferDescriptor, maxCount uint, options ResourceOptions) IndirectCommandBufferObject HasNewIndirectCommandBufferWithDescriptorMaxCommandCountOptions() bool // optional // optional NewComputePipelineStateWithFunctionError(computeFunction FunctionObject, error foundation.Error) ComputePipelineStateObject HasNewComputePipelineStateWithFunctionError() bool // optional SparseTileSizeWithTextureTypePixelFormatSampleCount(textureType TextureType, pixelFormat PixelFormat, sampleCount uint) Size HasSparseTileSizeWithTextureTypePixelFormatSampleCount() bool // optional NewLibraryWithURLError(url foundation.URL, error foundation.Error) LibraryObject HasNewLibraryWithURLError() bool // optional NewAccelerationStructureWithDescriptor(descriptor AccelerationStructureDescriptor) AccelerationStructureObject HasNewAccelerationStructureWithDescriptor() bool // optional ConvertSparseTileRegionsToPixelRegionsWithTileSizeNumRegions(tileRegions *Region, pixelRegions *Region, tileSize Size, numRegions uint) HasConvertSparseTileRegionsToPixelRegionsWithTileSizeNumRegions() bool // optional NewComputePipelineStateWithFunctionOptionsReflectionError(computeFunction FunctionObject, options PipelineOption, reflection *AutoreleasedComputePipelineReflection, error foundation.Error) ComputePipelineStateObject HasNewComputePipelineStateWithFunctionOptionsReflectionError() bool // optional NewHeapWithDescriptor(descriptor HeapDescriptor) HeapObject HasNewHeapWithDescriptor() bool // optional NewTextureWithDescriptor(descriptor TextureDescriptor) TextureObject HasNewTextureWithDescriptor() bool // optional GetDefaultSamplePositionsCount(positions *SamplePosition, count uint) HasGetDefaultSamplePositionsCount() bool // optional NewCounterSampleBufferWithDescriptorError(descriptor CounterSampleBufferDescriptor, error foundation.Error) CounterSampleBufferObject HasNewCounterSampleBufferWithDescriptorError() bool // optional HeapTextureSizeAndAlignWithDescriptor(desc TextureDescriptor) SizeAndAlign HasHeapTextureSizeAndAlignWithDescriptor() bool // optional NewDynamicLibraryWithURLError(url foundation.URL, error foundation.Error) DynamicLibraryObject HasNewDynamicLibraryWithURLError() bool // optional SupportsTextureSampleCount(sampleCount uint) bool HasSupportsTextureSampleCount() bool // optional NewBufferWithBytesNoCopyLengthOptionsDeallocator(pointer unsafe.Pointer, length uint, options ResourceOptions, deallocator func(pointer unsafe.Pointer, length uint)) BufferObject HasNewBufferWithBytesNoCopyLengthOptionsDeallocator() bool // optional NewRenderPipelineStateWithDescriptorCompletionHandler(descriptor RenderPipelineDescriptor, completionHandler NewRenderPipelineStateCompletionHandler) HasNewRenderPipelineStateWithDescriptorCompletionHandler() bool // optional NewRenderPipelineStateWithDescriptorOptionsReflectionError(descriptor RenderPipelineDescriptor, options PipelineOption, reflection *AutoreleasedRenderPipelineReflection, error foundation.Error) RenderPipelineStateObject HasNewRenderPipelineStateWithDescriptorOptionsReflectionError() bool // optional // optional NewDefaultLibraryWithBundleError(bundle foundation.Bundle, error foundation.Error) LibraryObject HasNewDefaultLibraryWithBundleError() bool // optional AccelerationStructureSizesWithDescriptor(descriptor AccelerationStructureDescriptor) AccelerationStructureSizes HasAccelerationStructureSizesWithDescriptor() bool // optional MinimumTextureBufferAlignmentForPixelFormat(format PixelFormat) uint HasMinimumTextureBufferAlignmentForPixelFormat() bool // optional NewRenderPipelineStateWithDescriptorOptionsCompletionHandler(descriptor RenderPipelineDescriptor, options PipelineOption, completionHandler NewRenderPipelineStateWithReflectionCompletionHandler) HasNewRenderPipelineStateWithDescriptorOptionsCompletionHandler() bool // optional NewCommandQueueWithMaxCommandBufferCount(maxCommandBufferCount uint) CommandQueueObject HasNewCommandQueueWithMaxCommandBufferCount() bool // optional NewLibraryWithStitchedDescriptorError(descriptor StitchedLibraryDescriptor, error foundation.Error) LibraryObject HasNewLibraryWithStitchedDescriptorError() bool // optional NewLibraryWithStitchedDescriptorCompletionHandler(descriptor StitchedLibraryDescriptor, completionHandler NewLibraryCompletionHandler) HasNewLibraryWithStitchedDescriptorCompletionHandler() bool // optional NewCommandQueue() CommandQueueObject HasNewCommandQueue() bool // optional NewAccelerationStructureWithSize(size uint) AccelerationStructureObject HasNewAccelerationStructureWithSize() bool // optional NewTextureWithDescriptorIosurfacePlane(descriptor TextureDescriptor, iosurface iosurface.Ref, plane uint) TextureObject HasNewTextureWithDescriptorIosurfacePlane() bool // optional SupportsFamily(gpuFamily GPUFamily) bool HasSupportsFamily() bool // optional NewRenderPipelineStateWithTileDescriptorOptionsCompletionHandler(descriptor TileRenderPipelineDescriptor, options PipelineOption, completionHandler NewRenderPipelineStateWithReflectionCompletionHandler) HasNewRenderPipelineStateWithTileDescriptorOptionsCompletionHandler() bool // optional NewSamplerStateWithDescriptor(descriptor SamplerDescriptor) SamplerStateObject HasNewSamplerStateWithDescriptor() bool // optional SupportsCounterSampling(samplingPoint CounterSamplingPoint) bool HasSupportsCounterSampling() bool // optional // optional NewComputePipelineStateWithDescriptorOptionsReflectionError(descriptor ComputePipelineDescriptor, options PipelineOption, reflection *AutoreleasedComputePipelineReflection, error foundation.Error) ComputePipelineStateObject HasNewComputePipelineStateWithDescriptorOptionsReflectionError() bool // optional HeapBufferSizeAndAlignWithLengthOptions(length uint, options ResourceOptions) SizeAndAlign HasHeapBufferSizeAndAlignWithLengthOptions() bool // optional NewRasterizationRateMapWithDescriptor(descriptor RasterizationRateMapDescriptor) RasterizationRateMapObject HasNewRasterizationRateMapWithDescriptor() bool // optional NewEvent() EventObject HasNewEvent() bool // optional NewFence() FenceObject HasNewFence() bool // optional NewComputePipelineStateWithDescriptorOptionsCompletionHandler(descriptor ComputePipelineDescriptor, options PipelineOption, completionHandler NewComputePipelineStateWithReflectionCompletionHandler) HasNewComputePipelineStateWithDescriptorOptionsCompletionHandler() bool // optional SampleTimestampsGpuTimestamp(cpuTimestamp *Timestamp, gpuTimestamp *Timestamp) HasSampleTimestampsGpuTimestamp() bool // optional SupportsRasterizationRateMapWithLayerCount(layerCount uint) bool HasSupportsRasterizationRateMapWithLayerCount() bool // optional NewArgumentEncoderWithArguments(arguments []ArgumentDescriptor) ArgumentEncoderObject HasNewArgumentEncoderWithArguments() bool // optional MinimumLinearTextureAlignmentForPixelFormat(format PixelFormat) uint HasMinimumLinearTextureAlignmentForPixelFormat() bool // optional NewDynamicLibraryError(library LibraryObject, error foundation.Error) DynamicLibraryObject HasNewDynamicLibraryError() bool // optional ConvertSparsePixelRegionsToTileRegionsWithTileSizeAlignmentModeNumRegions(pixelRegions *Region, tileRegions *Region, tileSize Size, mode SparseTextureRegionAlignmentMode, numRegions uint) HasConvertSparsePixelRegionsToTileRegionsWithTileSizeAlignmentModeNumRegions() bool // optional NewComputePipelineStateWithFunctionOptionsCompletionHandler(computeFunction FunctionObject, options PipelineOption, completionHandler NewComputePipelineStateWithReflectionCompletionHandler) HasNewComputePipelineStateWithFunctionOptionsCompletionHandler() bool // optional NewComputePipelineStateWithFunctionCompletionHandler(computeFunction FunctionObject, completionHandler NewComputePipelineStateCompletionHandler) HasNewComputePipelineStateWithFunctionCompletionHandler() bool // optional NewRenderPipelineStateWithTileDescriptorOptionsReflectionError(descriptor TileRenderPipelineDescriptor, options PipelineOption, reflection *AutoreleasedRenderPipelineReflection, error foundation.Error) RenderPipelineStateObject HasNewRenderPipelineStateWithTileDescriptorOptionsReflectionError() bool // optional NewDepthStencilStateWithDescriptor(descriptor DepthStencilDescriptor) DepthStencilStateObject HasNewDepthStencilStateWithDescriptor() bool // optional NewLibraryWithDataError(data dispatch.Data, error foundation.Error) LibraryObject HasNewLibraryWithDataError() bool // optional NewRenderPipelineStateWithDescriptorError(descriptor RenderPipelineDescriptor, error foundation.Error) RenderPipelineStateObject HasNewRenderPipelineStateWithDescriptorError() bool // optional NewBufferWithLengthOptions(length uint, options ResourceOptions) BufferObject HasNewBufferWithLengthOptions() bool // optional NewLibraryWithSourceOptionsCompletionHandler(source string, options CompileOptions, completionHandler NewLibraryCompletionHandler) HasNewLibraryWithSourceOptionsCompletionHandler() bool // optional Location() DeviceLocation HasLocation() bool // optional IsHeadless() bool HasIsHeadless() bool // optional SupportsPrimitiveMotionBlur() bool HasSupportsPrimitiveMotionBlur() bool // optional RecommendedMaxWorkingSetSize() uint64 HasRecommendedMaxWorkingSetSize() bool // optional IsRemovable() bool HasIsRemovable() bool // optional MaxTransferRate() uint64 HasMaxTransferRate() bool // optional ArgumentBuffersSupport() ArgumentBuffersTier HasArgumentBuffersSupport() bool // optional SupportsShaderBarycentricCoordinates() bool HasSupportsShaderBarycentricCoordinates() bool // optional ReadWriteTextureSupport() ReadWriteTextureTier HasReadWriteTextureSupport() bool // optional SupportsRenderDynamicLibraries() bool HasSupportsRenderDynamicLibraries() bool // optional SupportsFunctionPointers() bool HasSupportsFunctionPointers() bool // optional LocationNumber() uint HasLocationNumber() bool // optional SparseTileSizeInBytes() uint HasSparseTileSizeInBytes() bool // optional MaxBufferLength() uint HasMaxBufferLength() bool // optional AreProgrammableSamplePositionsSupported() bool HasAreProgrammableSamplePositionsSupported() bool // optional SupportsPullModelInterpolation() bool HasSupportsPullModelInterpolation() bool // optional CurrentAllocatedSize() uint HasCurrentAllocatedSize() bool // optional CounterSets() []CounterSetObject HasCounterSets() bool // optional Supports32BitFloatFiltering() bool HasSupports32BitFloatFiltering() bool // optional SupportsFunctionPointersFromRender() bool HasSupportsFunctionPointersFromRender() bool // optional MaxThreadsPerThreadgroup() Size HasMaxThreadsPerThreadgroup() bool // optional PeerCount() uint32 HasPeerCount() bool // optional HasUnifiedMemory() bool HasHasUnifiedMemory() bool // optional SupportsBCTextureCompression() bool HasSupportsBCTextureCompression() bool // optional RegistryID() uint64 HasRegistryID() bool // optional SupportsRaytracing() bool HasSupportsRaytracing() bool // optional IsDepth24Stencil8PixelFormatSupported() bool HasIsDepth24Stencil8PixelFormatSupported() bool // optional IsLowPower() bool HasIsLowPower() bool // optional MaxThreadgroupMemoryLength() uint HasMaxThreadgroupMemoryLength() bool // optional SupportsDynamicLibraries() bool HasSupportsDynamicLibraries() bool // optional MaxArgumentBufferSamplerCount() uint HasMaxArgumentBufferSamplerCount() bool // optional PeerIndex() uint32 HasPeerIndex() bool // optional Supports32BitMSAA() bool HasSupports32BitMSAA() bool // optional Name() string HasName() bool // optional SupportsQueryTextureLOD() bool HasSupportsQueryTextureLOD() bool // optional AreRasterOrderGroupsSupported() bool HasAreRasterOrderGroupsSupported() bool // optional SupportsRaytracingFromRender() bool HasSupportsRaytracingFromRender() bool // optional PeerGroupID() uint64 HasPeerGroupID() bool }
The main Metal interface to a GPU that apps use to draw graphics and run computations in parallel. Full Topic
type PDrawable ¶
type PDrawable interface { // optional PresentAfterMinimumDuration(duration corefoundation.TimeInterval) HasPresentAfterMinimumDuration() bool // optional Present() HasPresent() bool // optional AddPresentedHandler(block DrawablePresentedHandler) HasAddPresentedHandler() bool // optional PresentAtTime(presentationTime corefoundation.TimeInterval) HasPresentAtTime() bool // optional DrawableID() uint HasDrawableID() bool // optional PresentedTime() corefoundation.TimeInterval HasPresentedTime() bool }
A displayable resource that can be rendered or written to. Full Topic
type PDynamicLibrary ¶
type PDynamicLibrary interface { // optional SerializeToURLError(url foundation.URL, error foundation.Error) bool HasSerializeToURLError() bool // optional InstallName() string HasInstallName() bool // optional Device() DeviceObject HasDevice() bool // optional SetLabel(value string) HasSetLabel() bool // optional Label() string HasLabel() bool }
A dynamically linkable representation of compiled shader code for a specific Metal device object. Full Topic
type PEvent ¶
type PEvent interface { // optional SetLabel(value string) HasSetLabel() bool // optional Label() string HasLabel() bool // optional Device() DeviceObject HasDevice() bool }
An object you use to synchronize access to Metal resources. Full Topic
type PFence ¶
type PFence interface { // optional Device() DeviceObject HasDevice() bool // optional SetLabel(value string) HasSetLabel() bool // optional Label() string HasLabel() bool }
An object that can capture, track, and manage resource dependencies across command encoders. Full Topic
type PFunction ¶
type PFunction interface { // optional NewArgumentEncoderWithBufferIndex(bufferIndex uint) ArgumentEncoderObject HasNewArgumentEncoderWithBufferIndex() bool // optional VertexAttributes() []VertexAttribute HasVertexAttributes() bool // optional SetLabel(value string) HasSetLabel() bool // optional Label() string HasLabel() bool // optional FunctionType() FunctionType HasFunctionType() bool // optional Name() string HasName() bool // optional FunctionConstantsDictionary() map[string]FunctionConstant HasFunctionConstantsDictionary() bool // optional PatchControlPointCount() int HasPatchControlPointCount() bool // optional Device() DeviceObject HasDevice() bool // optional PatchType() PatchType HasPatchType() bool // optional Options() FunctionOptions HasOptions() bool // optional StageInputAttributes() []Attribute HasStageInputAttributes() bool }
An object that represents a public shader function in a Metal library. Full Topic
type PFunctionHandle ¶
type PFunctionHandle interface { // optional FunctionType() FunctionType HasFunctionType() bool // optional Device() DeviceObject HasDevice() bool // optional Name() string HasName() bool }
An object representing a function that you can add to a visible function table. Full Topic
type PFunctionLog ¶
type PFunctionLog interface { // optional Function() FunctionObject HasFunction() bool // optional Type() FunctionLogType HasType() bool // optional EncoderLabel() string HasEncoderLabel() bool // optional DebugLocation() FunctionLogDebugLocationObject HasDebugLocation() bool }
A log entry a Metal device generates when the it runs a command buffer. Full Topic
type PFunctionLogDebugLocation ¶
type PFunctionLogDebugLocation interface { // optional FunctionName() string HasFunctionName() bool // optional Line() uint HasLine() bool // optional URL() foundation.URL HasURL() bool // optional Column() uint HasColumn() bool }
The source code that logged a debug message. Full Topic
type PFunctionStitchingAttribute ¶
type PFunctionStitchingAttribute interface { }
A protocol to identify types that customize how the Metal compiler stitches a function together. Full Topic
type PFunctionStitchingNode ¶
type PFunctionStitchingNode interface { }
A protocol to identify call graph nodes. Full Topic
type PHeap ¶
type PHeap interface { // optional SetPurgeableState(state PurgeableState) PurgeableState HasSetPurgeableState() bool // optional NewBufferWithLengthOptionsOffset(length uint, options ResourceOptions, offset uint) BufferObject HasNewBufferWithLengthOptionsOffset() bool // optional NewBufferWithLengthOptions(length uint, options ResourceOptions) BufferObject HasNewBufferWithLengthOptions() bool // optional MaxAvailableSizeWithAlignment(alignment uint) uint HasMaxAvailableSizeWithAlignment() bool // optional NewTextureWithDescriptor(descriptor TextureDescriptor) TextureObject HasNewTextureWithDescriptor() bool // optional NewTextureWithDescriptorOffset(descriptor TextureDescriptor, offset uint) TextureObject HasNewTextureWithDescriptorOffset() bool // optional HazardTrackingMode() HazardTrackingMode HasHazardTrackingMode() bool // optional SetLabel(value string) HasSetLabel() bool // optional Label() string HasLabel() bool // optional CurrentAllocatedSize() uint HasCurrentAllocatedSize() bool // optional Type() HeapType HasType() bool // optional UsedSize() uint HasUsedSize() bool // optional CpuCacheMode() CPUCacheMode HasCpuCacheMode() bool // optional Size() uint HasSize() bool // optional ResourceOptions() ResourceOptions HasResourceOptions() bool // optional StorageMode() StorageMode HasStorageMode() bool // optional Device() DeviceObject HasDevice() bool }
A memory pool from which you can suballocate resources. Full Topic
type PIndirectCommandBuffer ¶
type PIndirectCommandBuffer interface { // optional ResetWithRange(range_ foundation.Range) HasResetWithRange() bool // optional IndirectComputeCommandAtIndex(commandIndex uint) IndirectComputeCommandObject HasIndirectComputeCommandAtIndex() bool // optional IndirectRenderCommandAtIndex(commandIndex uint) IndirectRenderCommandObject HasIndirectRenderCommandAtIndex() bool // optional Size() uint HasSize() bool }
A command buffer containing reusable commands, encoded either on the CPU or GPU. Full Topic
type PIndirectComputeCommand ¶
type PIndirectComputeCommand interface { // optional SetStageInRegion(region Region) HasSetStageInRegion() bool // optional ConcurrentDispatchThreadsThreadsPerThreadgroup(threadsPerGrid Size, threadsPerThreadgroup Size) HasConcurrentDispatchThreadsThreadsPerThreadgroup() bool // optional ConcurrentDispatchThreadgroupsThreadsPerThreadgroup(threadgroupsPerGrid Size, threadsPerThreadgroup Size) HasConcurrentDispatchThreadgroupsThreadsPerThreadgroup() bool // optional Reset() HasReset() bool // optional SetImageblockWidthHeight(width uint, height uint) HasSetImageblockWidthHeight() bool // optional SetComputePipelineState(pipelineState ComputePipelineStateObject) HasSetComputePipelineState() bool // optional SetThreadgroupMemoryLengthAtIndex(length uint, index uint) HasSetThreadgroupMemoryLengthAtIndex() bool // optional SetKernelBufferOffsetAtIndex(buffer BufferObject, offset uint, index uint) HasSetKernelBufferOffsetAtIndex() bool // optional ClearBarrier() HasClearBarrier() bool // optional SetBarrier() HasSetBarrier() bool }
A compute command in an indirect command buffer. Full Topic
type PIndirectRenderCommand ¶
type PIndirectRenderCommand interface { // optional DrawIndexedPatchesPatchStartPatchCountPatchIndexBufferPatchIndexBufferOffsetControlPointIndexBufferControlPointIndexBufferOffsetInstanceCountBaseInstanceTessellationFactorBufferTessellationFactorBufferOffsetTessellationFactorBufferInstanceStride(numberOfPatchControlPoints uint, patchStart uint, patchCount uint, patchIndexBuffer BufferObject, patchIndexBufferOffset uint, controlPointIndexBuffer BufferObject, controlPointIndexBufferOffset uint, instanceCount uint, baseInstance uint, buffer BufferObject, offset uint, instanceStride uint) HasDrawIndexedPatchesPatchStartPatchCountPatchIndexBufferPatchIndexBufferOffsetControlPointIndexBufferControlPointIndexBufferOffsetInstanceCountBaseInstanceTessellationFactorBufferTessellationFactorBufferOffsetTessellationFactorBufferInstanceStride() bool // optional Reset() HasReset() bool // optional DrawPatchesPatchStartPatchCountPatchIndexBufferPatchIndexBufferOffsetInstanceCountBaseInstanceTessellationFactorBufferTessellationFactorBufferOffsetTessellationFactorBufferInstanceStride(numberOfPatchControlPoints uint, patchStart uint, patchCount uint, patchIndexBuffer BufferObject, patchIndexBufferOffset uint, instanceCount uint, baseInstance uint, buffer BufferObject, offset uint, instanceStride uint) HasDrawPatchesPatchStartPatchCountPatchIndexBufferPatchIndexBufferOffsetInstanceCountBaseInstanceTessellationFactorBufferTessellationFactorBufferOffsetTessellationFactorBufferInstanceStride() bool // optional DrawPrimitivesVertexStartVertexCountInstanceCountBaseInstance(primitiveType PrimitiveType, vertexStart uint, vertexCount uint, instanceCount uint, baseInstance uint) HasDrawPrimitivesVertexStartVertexCountInstanceCountBaseInstance() bool // optional DrawIndexedPrimitivesIndexCountIndexTypeIndexBufferIndexBufferOffsetInstanceCountBaseVertexBaseInstance(primitiveType PrimitiveType, indexCount uint, indexType IndexType, indexBuffer BufferObject, indexBufferOffset uint, instanceCount uint, baseVertex int, baseInstance uint) HasDrawIndexedPrimitivesIndexCountIndexTypeIndexBufferIndexBufferOffsetInstanceCountBaseVertexBaseInstance() bool // optional SetRenderPipelineState(pipelineState RenderPipelineStateObject) HasSetRenderPipelineState() bool // optional SetVertexBufferOffsetAtIndex(buffer BufferObject, offset uint, index uint) HasSetVertexBufferOffsetAtIndex() bool // optional SetFragmentBufferOffsetAtIndex(buffer BufferObject, offset uint, index uint) HasSetFragmentBufferOffsetAtIndex() bool }
A render command in an indirect command buffer. Full Topic
type PIntersectionFunctionTable ¶
type PIntersectionFunctionTable interface { // optional SetBufferOffsetAtIndex(buffer BufferObject, offset uint, index uint) HasSetBufferOffsetAtIndex() bool // optional SetVisibleFunctionTableAtBufferIndex(functionTable VisibleFunctionTableObject, bufferIndex uint) HasSetVisibleFunctionTableAtBufferIndex() bool // optional SetFunctionsWithRange(functions FunctionHandleObject, range_ foundation.Range) HasSetFunctionsWithRange() bool // optional SetOpaqueTriangleIntersectionFunctionWithSignatureAtIndex(signature IntersectionFunctionSignature, index uint) HasSetOpaqueTriangleIntersectionFunctionWithSignatureAtIndex() bool // optional SetOpaqueTriangleIntersectionFunctionWithSignatureWithRange(signature IntersectionFunctionSignature, range_ foundation.Range) HasSetOpaqueTriangleIntersectionFunctionWithSignatureWithRange() bool // optional SetBuffersOffsetsWithRange(buffers BufferObject, offsets *uint, range_ foundation.Range) HasSetBuffersOffsetsWithRange() bool // optional SetVisibleFunctionTablesWithBufferRange(functionTables VisibleFunctionTableObject, bufferRange foundation.Range) HasSetVisibleFunctionTablesWithBufferRange() bool // optional SetFunctionAtIndex(function FunctionHandleObject, index uint) HasSetFunctionAtIndex() bool }
A table of intersection functions that Metal calls to perform ray-tracing intersection tests. Full Topic
type PLibrary ¶
type PLibrary interface { // optional NewFunctionWithNameConstantValuesCompletionHandler(name string, constantValues FunctionConstantValues, completionHandler func(function FunctionObject, error foundation.Error)) HasNewFunctionWithNameConstantValuesCompletionHandler() bool // optional NewFunctionWithName(functionName string) FunctionObject HasNewFunctionWithName() bool // optional NewFunctionWithDescriptorCompletionHandler(descriptor FunctionDescriptor, completionHandler func(function FunctionObject, error foundation.Error)) HasNewFunctionWithDescriptorCompletionHandler() bool // optional NewIntersectionFunctionWithDescriptorCompletionHandler(descriptor IntersectionFunctionDescriptor, completionHandler func(function FunctionObject, error foundation.Error)) HasNewIntersectionFunctionWithDescriptorCompletionHandler() bool // optional NewIntersectionFunctionWithDescriptorError(descriptor IntersectionFunctionDescriptor, error foundation.Error) FunctionObject HasNewIntersectionFunctionWithDescriptorError() bool // optional NewFunctionWithDescriptorError(descriptor FunctionDescriptor, error foundation.Error) FunctionObject HasNewFunctionWithDescriptorError() bool // optional NewFunctionWithNameConstantValuesError(name string, constantValues FunctionConstantValues, error foundation.Error) FunctionObject HasNewFunctionWithNameConstantValuesError() bool // optional SetLabel(value string) HasSetLabel() bool // optional Label() string HasLabel() bool // optional Device() DeviceObject HasDevice() bool // optional FunctionNames() []string HasFunctionNames() bool // optional Type() LibraryType HasType() bool // optional InstallName() string HasInstallName() bool }
A collection of Metal shader functions. Full Topic
type PLogContainer ¶
type PLogContainer interface { }
A collection of logged messages, created when a Metal device runs a command buffer. Full Topic
type PParallelRenderCommandEncoder ¶
type PParallelRenderCommandEncoder interface { // optional RenderCommandEncoder() RenderCommandEncoderObject HasRenderCommandEncoder() bool // optional SetStencilStoreAction(storeAction StoreAction) HasSetStencilStoreAction() bool // optional SetStencilStoreActionOptions(storeActionOptions StoreActionOptions) HasSetStencilStoreActionOptions() bool // optional SetDepthStoreActionOptions(storeActionOptions StoreActionOptions) HasSetDepthStoreActionOptions() bool // optional SetColorStoreActionOptionsAtIndex(storeActionOptions StoreActionOptions, colorAttachmentIndex uint) HasSetColorStoreActionOptionsAtIndex() bool // optional SetDepthStoreAction(storeAction StoreAction) HasSetDepthStoreAction() bool // optional SetColorStoreActionAtIndex(storeAction StoreAction, colorAttachmentIndex uint) HasSetColorStoreActionAtIndex() bool }
An object that splits up a single render pass so that it can be simultaneously encoded from multiple threads. Full Topic
type PRasterizationRateMap ¶
type PRasterizationRateMap interface { // optional CopyParameterDataToBufferOffset(buffer BufferObject, offset uint) HasCopyParameterDataToBufferOffset() bool // optional MapPhysicalToScreenCoordinatesForLayer(physicalCoordinates Coordinate2D, layerIndex uint) Coordinate2D HasMapPhysicalToScreenCoordinatesForLayer() bool // optional PhysicalSizeForLayer(layerIndex uint) Size HasPhysicalSizeForLayer() bool // optional MapScreenToPhysicalCoordinatesForLayer(screenCoordinates Coordinate2D, layerIndex uint) Coordinate2D HasMapScreenToPhysicalCoordinatesForLayer() bool // optional LayerCount() uint HasLayerCount() bool // optional ParameterBufferSizeAndAlign() SizeAndAlign HasParameterBufferSizeAndAlign() bool // optional ScreenSize() Size HasScreenSize() bool // optional PhysicalGranularity() Size HasPhysicalGranularity() bool // optional Label() string HasLabel() bool // optional Device() DeviceObject HasDevice() bool }
A compiled read-only object that determines how to apply variable rasterization rates when rendering. Full Topic
type PRenderCommandEncoder ¶
type PRenderCommandEncoder interface { // optional SetDepthStoreAction(storeAction StoreAction) HasSetDepthStoreAction() bool // optional SetVertexIntersectionFunctionTableAtBufferIndex(intersectionFunctionTable IntersectionFunctionTableObject, bufferIndex uint) HasSetVertexIntersectionFunctionTableAtBufferIndex() bool // optional SetVertexIntersectionFunctionTablesWithBufferRange(intersectionFunctionTables IntersectionFunctionTableObject, range_ foundation.Range) HasSetVertexIntersectionFunctionTablesWithBufferRange() bool // optional SetVertexTexturesWithRange(textures TextureObject, range_ foundation.Range) HasSetVertexTexturesWithRange() bool // optional DrawIndexedPrimitivesIndexTypeIndexBufferIndexBufferOffsetIndirectBufferIndirectBufferOffset(primitiveType PrimitiveType, indexType IndexType, indexBuffer BufferObject, indexBufferOffset uint, indirectBuffer BufferObject, indirectBufferOffset uint) HasDrawIndexedPrimitivesIndexTypeIndexBufferIndexBufferOffsetIndirectBufferIndirectBufferOffset() bool // optional DrawPrimitivesIndirectBufferIndirectBufferOffset(primitiveType PrimitiveType, indirectBuffer BufferObject, indirectBufferOffset uint) HasDrawPrimitivesIndirectBufferIndirectBufferOffset() bool // optional SetTileTextureAtIndex(texture TextureObject, index uint) HasSetTileTextureAtIndex() bool // optional SetVertexSamplerStatesLodMinClampsLodMaxClampsWithRange(samplers SamplerStateObject, lodMinClamps *float64, lodMaxClamps *float64, range_ foundation.Range) HasSetVertexSamplerStatesLodMinClampsLodMaxClampsWithRange() bool // optional SetDepthStencilState(depthStencilState DepthStencilStateObject) HasSetDepthStencilState() bool // optional SetFragmentSamplerStateAtIndex(sampler SamplerStateObject, index uint) HasSetFragmentSamplerStateAtIndex() bool // optional SetVertexSamplerStateAtIndex(sampler SamplerStateObject, index uint) HasSetVertexSamplerStateAtIndex() bool // optional DispatchThreadsPerTile(threadsPerTile Size) HasDispatchThreadsPerTile() bool // optional SetFragmentSamplerStatesLodMinClampsLodMaxClampsWithRange(samplers SamplerStateObject, lodMinClamps *float64, lodMaxClamps *float64, range_ foundation.Range) HasSetFragmentSamplerStatesLodMinClampsLodMaxClampsWithRange() bool // optional SetStencilFrontReferenceValueBackReferenceValue(frontReferenceValue uint32, backReferenceValue uint32) HasSetStencilFrontReferenceValueBackReferenceValue() bool // optional SetVertexTextureAtIndex(texture TextureObject, index uint) HasSetVertexTextureAtIndex() bool // optional DrawPatchesPatchStartPatchCountPatchIndexBufferPatchIndexBufferOffsetInstanceCountBaseInstance(numberOfPatchControlPoints uint, patchStart uint, patchCount uint, patchIndexBuffer BufferObject, patchIndexBufferOffset uint, instanceCount uint, baseInstance uint) HasDrawPatchesPatchStartPatchCountPatchIndexBufferPatchIndexBufferOffsetInstanceCountBaseInstance() bool // optional SetTessellationFactorScale(scale float64) HasSetTessellationFactorScale() bool // optional SetVertexBufferOffsetAtIndex_(buffer BufferObject, offset uint, index uint) HasSetVertexBufferOffsetAtIndex_() bool // optional SetTileVisibleFunctionTableAtBufferIndex(functionTable VisibleFunctionTableObject, bufferIndex uint) HasSetTileVisibleFunctionTableAtBufferIndex() bool // optional SetVertexAccelerationStructureAtBufferIndex(accelerationStructure AccelerationStructureObject, bufferIndex uint) HasSetVertexAccelerationStructureAtBufferIndex() bool // optional SetTileTexturesWithRange(textures TextureObject, range_ foundation.Range) HasSetTileTexturesWithRange() bool // optional SetFragmentBuffersOffsetsWithRange(buffers BufferObject, offsets *uint, range_ foundation.Range) HasSetFragmentBuffersOffsetsWithRange() bool // optional SetTileIntersectionFunctionTableAtBufferIndex(intersectionFunctionTable IntersectionFunctionTableObject, bufferIndex uint) HasSetTileIntersectionFunctionTableAtBufferIndex() bool // optional SetTileBytesLengthAtIndex(bytes unsafe.Pointer, length uint, index uint) HasSetTileBytesLengthAtIndex() bool // optional SetStencilStoreActionOptions(storeActionOptions StoreActionOptions) HasSetStencilStoreActionOptions() bool // optional SetFragmentBufferOffsetAtIndex_(buffer BufferObject, offset uint, index uint) HasSetFragmentBufferOffsetAtIndex_() bool // optional ExecuteCommandsInBufferWithRange(indirectCommandBuffer IndirectCommandBufferObject, executionRange foundation.Range) HasExecuteCommandsInBufferWithRange() bool // optional SetTileBufferOffsetAtIndex_(buffer BufferObject, offset uint, index uint) HasSetTileBufferOffsetAtIndex_() bool // optional UseResourceUsageStages(resource ResourceObject, usage ResourceUsage, stages RenderStages) HasUseResourceUsageStages() bool // optional SetColorStoreActionOptionsAtIndex(storeActionOptions StoreActionOptions, colorAttachmentIndex uint) HasSetColorStoreActionOptionsAtIndex() bool // optional SetFragmentTexturesWithRange(textures TextureObject, range_ foundation.Range) HasSetFragmentTexturesWithRange() bool // optional SetTriangleFillMode(fillMode TriangleFillMode) HasSetTriangleFillMode() bool // optional SetTileSamplerStatesWithRange(samplers SamplerStateObject, range_ foundation.Range) HasSetTileSamplerStatesWithRange() bool // optional DrawIndexedPrimitivesIndexCountIndexTypeIndexBufferIndexBufferOffsetInstanceCount(primitiveType PrimitiveType, indexCount uint, indexType IndexType, indexBuffer BufferObject, indexBufferOffset uint, instanceCount uint) HasDrawIndexedPrimitivesIndexCountIndexTypeIndexBufferIndexBufferOffsetInstanceCount() bool // optional SetFragmentBytesLengthAtIndex(bytes unsafe.Pointer, length uint, index uint) HasSetFragmentBytesLengthAtIndex() bool // optional UseResourcesCountUsageStages(resources ResourceObject, count uint, usage ResourceUsage, stages RenderStages) HasUseResourcesCountUsageStages() bool // optional SetStencilReferenceValue(referenceValue uint32) HasSetStencilReferenceValue() bool // optional DrawPrimitivesVertexStartVertexCount(primitiveType PrimitiveType, vertexStart uint, vertexCount uint) HasDrawPrimitivesVertexStartVertexCount() bool // optional SetThreadgroupMemoryLengthOffsetAtIndex(length uint, offset uint, index uint) HasSetThreadgroupMemoryLengthOffsetAtIndex() bool // optional SetFragmentSamplerStatesWithRange(samplers SamplerStateObject, range_ foundation.Range) HasSetFragmentSamplerStatesWithRange() bool // optional SetFragmentIntersectionFunctionTableAtBufferIndex(intersectionFunctionTable IntersectionFunctionTableObject, bufferIndex uint) HasSetFragmentIntersectionFunctionTableAtBufferIndex() bool // optional SetFragmentIntersectionFunctionTablesWithBufferRange(intersectionFunctionTables IntersectionFunctionTableObject, range_ foundation.Range) HasSetFragmentIntersectionFunctionTablesWithBufferRange() bool // optional DrawIndexedPatchesPatchIndexBufferPatchIndexBufferOffsetControlPointIndexBufferControlPointIndexBufferOffsetIndirectBufferIndirectBufferOffset(numberOfPatchControlPoints uint, patchIndexBuffer BufferObject, patchIndexBufferOffset uint, controlPointIndexBuffer BufferObject, controlPointIndexBufferOffset uint, indirectBuffer BufferObject, indirectBufferOffset uint) HasDrawIndexedPatchesPatchIndexBufferPatchIndexBufferOffsetControlPointIndexBufferControlPointIndexBufferOffsetIndirectBufferIndirectBufferOffset() bool // optional SetVertexSamplerStatesWithRange(samplers SamplerStateObject, range_ foundation.Range) HasSetVertexSamplerStatesWithRange() bool // optional SetFragmentSamplerStateLodMinClampLodMaxClampAtIndex(sampler SamplerStateObject, lodMinClamp float64, lodMaxClamp float64, index uint) HasSetFragmentSamplerStateLodMinClampLodMaxClampAtIndex() bool // optional SetTileBufferOffsetAtIndex(offset uint, index uint) HasSetTileBufferOffsetAtIndex() bool // optional SetFragmentVisibleFunctionTableAtBufferIndex(functionTable VisibleFunctionTableObject, bufferIndex uint) HasSetFragmentVisibleFunctionTableAtBufferIndex() bool // optional SetTessellationFactorBufferOffsetInstanceStride(buffer BufferObject, offset uint, instanceStride uint) HasSetTessellationFactorBufferOffsetInstanceStride() bool // optional SetVertexSamplerStateLodMinClampLodMaxClampAtIndex(sampler SamplerStateObject, lodMinClamp float64, lodMaxClamp float64, index uint) HasSetVertexSamplerStateLodMinClampLodMaxClampAtIndex() bool // optional SetFragmentVisibleFunctionTablesWithBufferRange(functionTables VisibleFunctionTableObject, range_ foundation.Range) HasSetFragmentVisibleFunctionTablesWithBufferRange() bool // optional SetStencilStoreAction(storeAction StoreAction) HasSetStencilStoreAction() bool // optional SetViewportsCount(viewports *Viewport, count uint) HasSetViewportsCount() bool // optional SetBlendColorRedGreenBlueAlpha(red float64, green float64, blue float64, alpha float64) HasSetBlendColorRedGreenBlueAlpha() bool // optional SetRenderPipelineState(pipelineState RenderPipelineStateObject) HasSetRenderPipelineState() bool // optional DrawPrimitivesVertexStartVertexCountInstanceCountBaseInstance(primitiveType PrimitiveType, vertexStart uint, vertexCount uint, instanceCount uint, baseInstance uint) HasDrawPrimitivesVertexStartVertexCountInstanceCountBaseInstance() bool // optional UpdateFenceAfterStages(fence FenceObject, stages RenderStages) HasUpdateFenceAfterStages() bool // optional DrawPatchesPatchIndexBufferPatchIndexBufferOffsetIndirectBufferIndirectBufferOffset(numberOfPatchControlPoints uint, patchIndexBuffer BufferObject, patchIndexBufferOffset uint, indirectBuffer BufferObject, indirectBufferOffset uint) HasDrawPatchesPatchIndexBufferPatchIndexBufferOffsetIndirectBufferIndirectBufferOffset() bool // optional SetTileBuffersOffsetsWithRange(buffers BufferObject, offsets *uint, range_ foundation.Range) HasSetTileBuffersOffsetsWithRange() bool // optional MemoryBarrierWithScopeAfterStagesBeforeStages(scope BarrierScope, after RenderStages, before RenderStages) HasMemoryBarrierWithScopeAfterStagesBeforeStages() bool // optional SetTileAccelerationStructureAtBufferIndex(accelerationStructure AccelerationStructureObject, bufferIndex uint) HasSetTileAccelerationStructureAtBufferIndex() bool // optional SetFrontFacingWinding(frontFacingWinding Winding) HasSetFrontFacingWinding() bool // optional UseHeapStages(heap HeapObject, stages RenderStages) HasUseHeapStages() bool // optional SetFragmentAccelerationStructureAtBufferIndex(accelerationStructure AccelerationStructureObject, bufferIndex uint) HasSetFragmentAccelerationStructureAtBufferIndex() bool // optional SetTileIntersectionFunctionTablesWithBufferRange(intersectionFunctionTables IntersectionFunctionTableObject, range_ foundation.Range) HasSetTileIntersectionFunctionTablesWithBufferRange() bool // optional DrawPrimitivesVertexStartVertexCountInstanceCount(primitiveType PrimitiveType, vertexStart uint, vertexCount uint, instanceCount uint) HasDrawPrimitivesVertexStartVertexCountInstanceCount() bool // optional SetTileSamplerStateAtIndex(sampler SamplerStateObject, index uint) HasSetTileSamplerStateAtIndex() bool // optional SetDepthBiasSlopeScaleClamp(depthBias float64, slopeScale float64, clamp float64) HasSetDepthBiasSlopeScaleClamp() bool // optional SampleCountersInBufferAtSampleIndexWithBarrier(sampleBuffer CounterSampleBufferObject, sampleIndex uint, barrier bool) HasSampleCountersInBufferAtSampleIndexWithBarrier() bool // optional SetColorStoreActionAtIndex(storeAction StoreAction, colorAttachmentIndex uint) HasSetColorStoreActionAtIndex() bool // optional SetTileSamplerStateLodMinClampLodMaxClampAtIndex(sampler SamplerStateObject, lodMinClamp float64, lodMaxClamp float64, index uint) HasSetTileSamplerStateLodMinClampLodMaxClampAtIndex() bool // optional SetScissorRectsCount(scissorRects *ScissorRect, count uint) HasSetScissorRectsCount() bool // optional WaitForFenceBeforeStages(fence FenceObject, stages RenderStages) HasWaitForFenceBeforeStages() bool // optional UseHeapsCountStages(heaps HeapObject, count uint, stages RenderStages) HasUseHeapsCountStages() bool // optional SetVertexBuffersOffsetsWithRange(buffers BufferObject, offsets *uint, range_ foundation.Range) HasSetVertexBuffersOffsetsWithRange() bool // optional SetFragmentTextureAtIndex(texture TextureObject, index uint) HasSetFragmentTextureAtIndex() bool // optional SetVertexAmplificationCountViewMappings(count uint, viewMappings *VertexAmplificationViewMapping) HasSetVertexAmplificationCountViewMappings() bool // optional SetDepthStoreActionOptions(storeActionOptions StoreActionOptions) HasSetDepthStoreActionOptions() bool // optional DrawIndexedPatchesPatchStartPatchCountPatchIndexBufferPatchIndexBufferOffsetControlPointIndexBufferControlPointIndexBufferOffsetInstanceCountBaseInstance(numberOfPatchControlPoints uint, patchStart uint, patchCount uint, patchIndexBuffer BufferObject, patchIndexBufferOffset uint, controlPointIndexBuffer BufferObject, controlPointIndexBufferOffset uint, instanceCount uint, baseInstance uint) HasDrawIndexedPatchesPatchStartPatchCountPatchIndexBufferPatchIndexBufferOffsetControlPointIndexBufferControlPointIndexBufferOffsetInstanceCountBaseInstance() bool // optional SetVisibilityResultModeOffset(mode VisibilityResultMode, offset uint) HasSetVisibilityResultModeOffset() bool // optional DrawIndexedPrimitivesIndexCountIndexTypeIndexBufferIndexBufferOffsetInstanceCountBaseVertexBaseInstance(primitiveType PrimitiveType, indexCount uint, indexType IndexType, indexBuffer BufferObject, indexBufferOffset uint, instanceCount uint, baseVertex int, baseInstance uint) HasDrawIndexedPrimitivesIndexCountIndexTypeIndexBufferIndexBufferOffsetInstanceCountBaseVertexBaseInstance() bool // optional SetCullMode(cullMode CullMode) HasSetCullMode() bool // optional SetViewport(viewport Viewport) HasSetViewport() bool // optional SetScissorRect(rect ScissorRect) HasSetScissorRect() bool // optional ExecuteCommandsInBufferIndirectBufferIndirectBufferOffset(indirectCommandbuffer IndirectCommandBufferObject, indirectRangeBuffer BufferObject, indirectBufferOffset uint) HasExecuteCommandsInBufferIndirectBufferIndirectBufferOffset() bool // optional SetVertexVisibleFunctionTableAtBufferIndex(functionTable VisibleFunctionTableObject, bufferIndex uint) HasSetVertexVisibleFunctionTableAtBufferIndex() bool // optional SetFragmentBufferOffsetAtIndex(offset uint, index uint) HasSetFragmentBufferOffsetAtIndex() bool // optional SetVertexVisibleFunctionTablesWithBufferRange(functionTables VisibleFunctionTableObject, range_ foundation.Range) HasSetVertexVisibleFunctionTablesWithBufferRange() bool // optional SetDepthClipMode(depthClipMode DepthClipMode) HasSetDepthClipMode() bool // optional SetTileVisibleFunctionTablesWithBufferRange(functionTables VisibleFunctionTableObject, range_ foundation.Range) HasSetTileVisibleFunctionTablesWithBufferRange() bool // optional SetTileSamplerStatesLodMinClampsLodMaxClampsWithRange(samplers SamplerStateObject, lodMinClamps *float64, lodMaxClamps *float64, range_ foundation.Range) HasSetTileSamplerStatesLodMinClampsLodMaxClampsWithRange() bool // optional MemoryBarrierWithResourcesCountAfterStagesBeforeStages(resources ResourceObject, count uint, after RenderStages, before RenderStages) HasMemoryBarrierWithResourcesCountAfterStagesBeforeStages() bool // optional SetVertexBufferOffsetAtIndex(offset uint, index uint) HasSetVertexBufferOffsetAtIndex() bool // optional DrawIndexedPrimitivesIndexCountIndexTypeIndexBufferIndexBufferOffset(primitiveType PrimitiveType, indexCount uint, indexType IndexType, indexBuffer BufferObject, indexBufferOffset uint) HasDrawIndexedPrimitivesIndexCountIndexTypeIndexBufferIndexBufferOffset() bool // optional SetVertexBytesLengthAtIndex(bytes unsafe.Pointer, length uint, index uint) HasSetVertexBytesLengthAtIndex() bool // optional TileWidth() uint HasTileWidth() bool // optional TileHeight() uint HasTileHeight() bool }
An interface that encodes a render pass into a command buffer, including all its draw calls and configuration. Full Topic
type PRenderPipelineState ¶
type PRenderPipelineState interface { // optional ImageblockMemoryLengthForDimensions(imageblockDimensions Size) uint HasImageblockMemoryLengthForDimensions() bool // optional FunctionHandleWithFunctionStage(function FunctionObject, stage RenderStages) FunctionHandleObject HasFunctionHandleWithFunctionStage() bool // optional NewIntersectionFunctionTableWithDescriptorStage(descriptor IntersectionFunctionTableDescriptor, stage RenderStages) IntersectionFunctionTableObject HasNewIntersectionFunctionTableWithDescriptorStage() bool // optional NewRenderPipelineStateWithAdditionalBinaryFunctionsError(additionalBinaryFunctions RenderPipelineFunctionsDescriptor, error foundation.Error) RenderPipelineStateObject HasNewRenderPipelineStateWithAdditionalBinaryFunctionsError() bool // optional NewVisibleFunctionTableWithDescriptorStage(descriptor VisibleFunctionTableDescriptor, stage RenderStages) VisibleFunctionTableObject HasNewVisibleFunctionTableWithDescriptorStage() bool // optional ThreadgroupSizeMatchesTileSize() bool HasThreadgroupSizeMatchesTileSize() bool // optional MaxTotalThreadsPerThreadgroup() uint HasMaxTotalThreadsPerThreadgroup() bool // optional Device() DeviceObject HasDevice() bool // optional ImageblockSampleLength() uint HasImageblockSampleLength() bool // optional SupportIndirectCommandBuffers() bool HasSupportIndirectCommandBuffers() bool // optional Label() string HasLabel() bool }
An interface that represents a graphics pipeline configuration for a render pass, which the pass applies to the draw commands you encode. Full Topic
type PResource ¶
type PResource interface { // optional SetPurgeableState(state PurgeableState) PurgeableState HasSetPurgeableState() bool // optional MakeAliasable() HasMakeAliasable() bool // optional IsAliasable() bool HasIsAliasable() bool // optional Device() DeviceObject HasDevice() bool // optional HazardTrackingMode() HazardTrackingMode HasHazardTrackingMode() bool // optional ResourceOptions() ResourceOptions HasResourceOptions() bool // optional CpuCacheMode() CPUCacheMode HasCpuCacheMode() bool // optional HeapOffset() uint HasHeapOffset() bool // optional AllocatedSize() uint HasAllocatedSize() bool // optional StorageMode() StorageMode HasStorageMode() bool // optional Heap() HeapObject HasHeap() bool // optional SetLabel(value string) HasSetLabel() bool // optional Label() string HasLabel() bool }
An allocation of memory that is accessible to a GPU. Full Topic
type PResourceStateCommandEncoder ¶
type PResourceStateCommandEncoder interface { // optional UpdateTextureMappingsModeRegionsMipLevelsSlicesNumRegions(texture TextureObject, mode SparseTextureMappingMode, regions *Region, mipLevels *uint, slices *uint, numRegions uint) HasUpdateTextureMappingsModeRegionsMipLevelsSlicesNumRegions() bool // optional WaitForFence(fence FenceObject) HasWaitForFence() bool // optional UpdateTextureMappingModeIndirectBufferIndirectBufferOffset(texture TextureObject, mode SparseTextureMappingMode, indirectBuffer BufferObject, indirectBufferOffset uint) HasUpdateTextureMappingModeIndirectBufferIndirectBufferOffset() bool // optional UpdateFence(fence FenceObject) HasUpdateFence() bool // optional UpdateTextureMappingModeRegionMipLevelSlice(texture TextureObject, mode SparseTextureMappingMode, region Region, mipLevel uint, slice uint) HasUpdateTextureMappingModeRegionMipLevelSlice() bool }
An encoder that encodes commands that modify resource configurations. Full Topic
type PSamplerState ¶
type PSamplerState interface { // optional Device() DeviceObject HasDevice() bool // optional Label() string HasLabel() bool }
An object that defines how a texture should be sampled. Full Topic
type PSharedEvent ¶
type PSharedEvent interface { // optional // optional // optional // optional }
An object you use to synchronize access to Metal resources across multiple CPUs, GPUs, and processes. Full Topic
type PTexture ¶
type PTexture interface { // optional GetBytesBytesPerRowBytesPerImageFromRegionMipmapLevelSlice(pixelBytes unsafe.Pointer, bytesPerRow uint, bytesPerImage uint, region Region, level uint, slice uint) HasGetBytesBytesPerRowBytesPerImageFromRegionMipmapLevelSlice() bool // optional GetBytesBytesPerRowFromRegionMipmapLevel(pixelBytes unsafe.Pointer, bytesPerRow uint, region Region, level uint) HasGetBytesBytesPerRowFromRegionMipmapLevel() bool // optional NewTextureViewWithPixelFormat(pixelFormat PixelFormat) TextureObject HasNewTextureViewWithPixelFormat() bool // optional NewTextureViewWithPixelFormatTextureTypeLevelsSlices(pixelFormat PixelFormat, textureType TextureType, levelRange foundation.Range, sliceRange foundation.Range) TextureObject HasNewTextureViewWithPixelFormatTextureTypeLevelsSlices() bool // optional ReplaceRegionMipmapLevelSliceWithBytesBytesPerRowBytesPerImage(region Region, level uint, slice uint, pixelBytes unsafe.Pointer, bytesPerRow uint, bytesPerImage uint) HasReplaceRegionMipmapLevelSliceWithBytesBytesPerRowBytesPerImage() bool // optional NewTextureViewWithPixelFormatTextureTypeLevelsSlicesSwizzle(pixelFormat PixelFormat, textureType TextureType, levelRange foundation.Range, sliceRange foundation.Range, swizzle TextureSwizzleChannels) TextureObject HasNewTextureViewWithPixelFormatTextureTypeLevelsSlicesSwizzle() bool // optional // optional NewRemoteTextureViewForDevice(device DeviceObject) TextureObject HasNewRemoteTextureViewForDevice() bool // optional ReplaceRegionMipmapLevelWithBytesBytesPerRow(region Region, level uint, pixelBytes unsafe.Pointer, bytesPerRow uint) HasReplaceRegionMipmapLevelWithBytesBytesPerRow() bool // optional Height() uint HasHeight() bool // optional AllowGPUOptimizedContents() bool HasAllowGPUOptimizedContents() bool // optional SampleCount() uint HasSampleCount() bool // optional Swizzle() TextureSwizzleChannels HasSwizzle() bool // optional IsFramebufferOnly() bool HasIsFramebufferOnly() bool // optional Usage() TextureUsage HasUsage() bool // optional Depth() uint HasDepth() bool // optional Buffer() BufferObject HasBuffer() bool // optional ArrayLength() uint HasArrayLength() bool // optional FirstMipmapInTail() uint HasFirstMipmapInTail() bool // optional BufferOffset() uint HasBufferOffset() bool // optional ParentRelativeLevel() uint HasParentRelativeLevel() bool // optional RemoteStorageTexture() TextureObject HasRemoteStorageTexture() bool // optional ParentRelativeSlice() uint HasParentRelativeSlice() bool // optional CompressionType() TextureCompressionType HasCompressionType() bool // optional PixelFormat() PixelFormat HasPixelFormat() bool // optional BufferBytesPerRow() uint HasBufferBytesPerRow() bool // optional Width() uint HasWidth() bool // optional // optional TailSizeInBytes() uint HasTailSizeInBytes() bool // optional ParentTexture() TextureObject HasParentTexture() bool // optional TextureType() TextureType HasTextureType() bool // optional MipmapLevelCount() uint HasMipmapLevelCount() bool // optional Iosurface() iosurface.Ref HasIosurface() bool // optional IsSparse() bool HasIsSparse() bool // optional IosurfacePlane() uint HasIosurfacePlane() bool }
A resource that holds formatted image data. Full Topic
type PVisibleFunctionTable ¶
type PVisibleFunctionTable interface { // optional SetFunctionsWithRange(functions FunctionHandleObject, range_ foundation.Range) HasSetFunctionsWithRange() bool // optional SetFunctionAtIndex(function FunctionHandleObject, index uint) HasSetFunctionAtIndex() bool }
A table of shader functions visible to your app that you can pass into compute commands to customize the behavior of a shader. Full Topic
type PackedFloat3 ¶
type PackedFloat3 struct {
Anon0 [12]byte
}
A structure that contains three 32-bit floating-point values with no additional padding. Full Topic
type PackedFloat4x3 ¶
type PackedFloat4x3 struct {
Columns [4]PackedFloat3
}
A structure that contains the top three rows of a 4x4 matrix of 32-bit floating-point values, in column-major order. Full Topic
type ParallelRenderCommandEncoderObject ¶
A concrete type for the PParallelRenderCommandEncoder protocol.
func (ParallelRenderCommandEncoderObject) HasRenderCommandEncoder ¶
func (p_ ParallelRenderCommandEncoderObject) HasRenderCommandEncoder() bool
func (ParallelRenderCommandEncoderObject) HasSetColorStoreActionAtIndex ¶
func (p_ ParallelRenderCommandEncoderObject) HasSetColorStoreActionAtIndex() bool
func (ParallelRenderCommandEncoderObject) HasSetColorStoreActionOptionsAtIndex ¶
func (p_ ParallelRenderCommandEncoderObject) HasSetColorStoreActionOptionsAtIndex() bool
func (ParallelRenderCommandEncoderObject) HasSetDepthStoreAction ¶
func (p_ ParallelRenderCommandEncoderObject) HasSetDepthStoreAction() bool
func (ParallelRenderCommandEncoderObject) HasSetDepthStoreActionOptions ¶
func (p_ ParallelRenderCommandEncoderObject) HasSetDepthStoreActionOptions() bool
func (ParallelRenderCommandEncoderObject) HasSetStencilStoreAction ¶
func (p_ ParallelRenderCommandEncoderObject) HasSetStencilStoreAction() bool
func (ParallelRenderCommandEncoderObject) HasSetStencilStoreActionOptions ¶
func (p_ ParallelRenderCommandEncoderObject) HasSetStencilStoreActionOptions() bool
func (ParallelRenderCommandEncoderObject) RenderCommandEncoder ¶
func (p_ ParallelRenderCommandEncoderObject) RenderCommandEncoder() RenderCommandEncoderObject
Create an object that encodes commands that perform graphics rendering operations and may be assigned to a different thread. Full Topic
func (ParallelRenderCommandEncoderObject) SetColorStoreActionAtIndex ¶
func (p_ ParallelRenderCommandEncoderObject) SetColorStoreActionAtIndex(storeAction StoreAction, colorAttachmentIndex uint)
Specifies a known store action to replace the initial MTLStoreActionUnknown value specified for a given color attachment. Full Topic
func (ParallelRenderCommandEncoderObject) SetColorStoreActionOptionsAtIndex ¶
func (p_ ParallelRenderCommandEncoderObject) SetColorStoreActionOptionsAtIndex(storeActionOptions StoreActionOptions, colorAttachmentIndex uint)
Specifies known store action options for a given color attachment. Full Topic
func (ParallelRenderCommandEncoderObject) SetDepthStoreAction ¶
func (p_ ParallelRenderCommandEncoderObject) SetDepthStoreAction(storeAction StoreAction)
Specifies a known store action to replace the initial MTLStoreActionUnknown value specified for a given depth attachment. Full Topic
func (ParallelRenderCommandEncoderObject) SetDepthStoreActionOptions ¶
func (p_ ParallelRenderCommandEncoderObject) SetDepthStoreActionOptions(storeActionOptions StoreActionOptions)
Specifies known store action options for a given depth attachment. Full Topic
func (ParallelRenderCommandEncoderObject) SetStencilStoreAction ¶
func (p_ ParallelRenderCommandEncoderObject) SetStencilStoreAction(storeAction StoreAction)
Specifies a known store action to replace the initial MTLStoreActionUnknown value specified for a given stencil attachment. Full Topic
func (ParallelRenderCommandEncoderObject) SetStencilStoreActionOptions ¶
func (p_ ParallelRenderCommandEncoderObject) SetStencilStoreActionOptions(storeActionOptions StoreActionOptions)
Specifies known store action options for a given stencil attachment. Full Topic
type PatchType ¶
type PatchType uint
Types of tessellation patches that can be inputs of a post-tessellation vertex function. Full Topic
type PipelineBufferDescriptor ¶
An object that contains the mutability options for a buffer that you pass to a render or compute pipeline. Full Topic
func NewPipelineBufferDescriptor ¶
func NewPipelineBufferDescriptor() PipelineBufferDescriptor
func PipelineBufferDescriptorFrom ¶
func PipelineBufferDescriptorFrom(ptr unsafe.Pointer) PipelineBufferDescriptor
func (PipelineBufferDescriptor) Init ¶
func (p_ PipelineBufferDescriptor) Init() PipelineBufferDescriptor
func (PipelineBufferDescriptor) Mutability ¶
func (p_ PipelineBufferDescriptor) Mutability() Mutability
A mutability option that determines whether you can update a buffer’s contents before related commands use the buffer. Full Topic
func (PipelineBufferDescriptor) SetMutability ¶
func (p_ PipelineBufferDescriptor) SetMutability(value Mutability)
A mutability option that determines whether you can update a buffer’s contents before related commands use the buffer. Full Topic
type PipelineBufferDescriptorArray ¶
An array of pipeline buffer descriptor objects. Full Topic
func NewPipelineBufferDescriptorArray ¶
func NewPipelineBufferDescriptorArray() PipelineBufferDescriptorArray
func PipelineBufferDescriptorArrayFrom ¶
func PipelineBufferDescriptorArrayFrom(ptr unsafe.Pointer) PipelineBufferDescriptorArray
func (PipelineBufferDescriptorArray) Init ¶
func (p_ PipelineBufferDescriptorArray) Init() PipelineBufferDescriptorArray
func (PipelineBufferDescriptorArray) ObjectAtIndexedSubscript ¶
func (p_ PipelineBufferDescriptorArray) ObjectAtIndexedSubscript(bufferIndex uint) PipelineBufferDescriptor
Returns the pipeline buffer descriptor at the specified array index. Full Topic
func (PipelineBufferDescriptorArray) SetObjectAtIndexedSubscript ¶
func (p_ PipelineBufferDescriptorArray) SetObjectAtIndexedSubscript(buffer IPipelineBufferDescriptor, bufferIndex uint)
Sets a pipeline buffer descriptor at the specified array index. Full Topic
type PipelineOption ¶
type PipelineOption uint
Options that determine how Metal prepares the pipeline. Full Topic
const ( PipelineOptionArgumentInfo PipelineOption = 1 PipelineOptionBufferTypeInfo PipelineOption = 2 PipelineOptionFailOnBinaryArchiveMiss PipelineOption = 4 PipelineOptionNone PipelineOption = 0 )
type PixelFormat ¶
type PixelFormat uint
The data formats that describe the organization and characteristics of individual pixels in a texture. Full Topic
const ( PixelFormatA1BGR5Unorm PixelFormat = 41 PixelFormatA8Unorm PixelFormat = 1 PixelFormatABGR4Unorm PixelFormat = 42 PixelFormatASTC_10x10_HDR PixelFormat = 234 PixelFormatASTC_10x10_LDR PixelFormat = 216 PixelFormatASTC_10x10_sRGB PixelFormat = 198 PixelFormatASTC_10x5_HDR PixelFormat = 231 PixelFormatASTC_10x5_LDR PixelFormat = 213 PixelFormatASTC_10x5_sRGB PixelFormat = 195 PixelFormatASTC_10x6_HDR PixelFormat = 232 PixelFormatASTC_10x6_LDR PixelFormat = 214 PixelFormatASTC_10x6_sRGB PixelFormat = 196 PixelFormatASTC_10x8_HDR PixelFormat = 233 PixelFormatASTC_10x8_LDR PixelFormat = 215 PixelFormatASTC_10x8_sRGB PixelFormat = 197 PixelFormatASTC_12x10_HDR PixelFormat = 235 PixelFormatASTC_12x10_LDR PixelFormat = 217 PixelFormatASTC_12x10_sRGB PixelFormat = 199 PixelFormatASTC_12x12_HDR PixelFormat = 236 PixelFormatASTC_12x12_LDR PixelFormat = 218 PixelFormatASTC_12x12_sRGB PixelFormat = 200 PixelFormatASTC_4x4_HDR PixelFormat = 222 PixelFormatASTC_4x4_LDR PixelFormat = 204 PixelFormatASTC_4x4_sRGB PixelFormat = 186 PixelFormatASTC_5x4_HDR PixelFormat = 223 PixelFormatASTC_5x4_LDR PixelFormat = 205 PixelFormatASTC_5x4_sRGB PixelFormat = 187 PixelFormatASTC_5x5_HDR PixelFormat = 224 PixelFormatASTC_5x5_LDR PixelFormat = 206 PixelFormatASTC_5x5_sRGB PixelFormat = 188 PixelFormatASTC_6x5_HDR PixelFormat = 225 PixelFormatASTC_6x5_LDR PixelFormat = 207 PixelFormatASTC_6x5_sRGB PixelFormat = 189 PixelFormatASTC_6x6_HDR PixelFormat = 226 PixelFormatASTC_6x6_LDR PixelFormat = 208 PixelFormatASTC_6x6_sRGB PixelFormat = 190 PixelFormatASTC_8x5_HDR PixelFormat = 228 PixelFormatASTC_8x5_LDR PixelFormat = 210 PixelFormatASTC_8x5_sRGB PixelFormat = 192 PixelFormatASTC_8x6_HDR PixelFormat = 229 PixelFormatASTC_8x6_LDR PixelFormat = 211 PixelFormatASTC_8x6_sRGB PixelFormat = 193 PixelFormatASTC_8x8_HDR PixelFormat = 230 PixelFormatASTC_8x8_LDR PixelFormat = 212 PixelFormatASTC_8x8_sRGB PixelFormat = 194 PixelFormatB5G6R5Unorm PixelFormat = 40 PixelFormatBC1_RGBA PixelFormat = 130 PixelFormatBC1_RGBA_sRGB PixelFormat = 131 PixelFormatBC2_RGBA PixelFormat = 132 PixelFormatBC2_RGBA_sRGB PixelFormat = 133 PixelFormatBC3_RGBA PixelFormat = 134 PixelFormatBC3_RGBA_sRGB PixelFormat = 135 PixelFormatBC4_RSnorm PixelFormat = 141 PixelFormatBC4_RUnorm PixelFormat = 140 PixelFormatBC5_RGSnorm PixelFormat = 143 PixelFormatBC5_RGUnorm PixelFormat = 142 PixelFormatBC6H_RGBFloat PixelFormat = 150 PixelFormatBC6H_RGBUfloat PixelFormat = 151 PixelFormatBC7_RGBAUnorm PixelFormat = 152 PixelFormatBC7_RGBAUnorm_sRGB PixelFormat = 153 PixelFormatBGR10A2Unorm PixelFormat = 94 PixelFormatBGR10_XR PixelFormat = 554 PixelFormatBGR10_XR_sRGB PixelFormat = 555 PixelFormatBGR5A1Unorm PixelFormat = 43 PixelFormatBGRA10_XR PixelFormat = 552 PixelFormatBGRA10_XR_sRGB PixelFormat = 553 PixelFormatBGRA8Unorm PixelFormat = 80 PixelFormatBGRA8Unorm_sRGB PixelFormat = 81 PixelFormatBGRG422 PixelFormat = 241 PixelFormatDepth16Unorm PixelFormat = 250 PixelFormatDepth24Unorm_Stencil8 PixelFormat = 255 PixelFormatDepth32Float PixelFormat = 252 PixelFormatDepth32Float_Stencil8 PixelFormat = 260 PixelFormatEAC_R11Snorm PixelFormat = 172 PixelFormatEAC_R11Unorm PixelFormat = 170 PixelFormatEAC_RG11Snorm PixelFormat = 176 PixelFormatEAC_RG11Unorm PixelFormat = 174 PixelFormatEAC_RGBA8 PixelFormat = 178 PixelFormatEAC_RGBA8_sRGB PixelFormat = 179 PixelFormatETC2_RGB8 PixelFormat = 180 PixelFormatETC2_RGB8A1 PixelFormat = 182 PixelFormatETC2_RGB8A1_sRGB PixelFormat = 183 PixelFormatETC2_RGB8_sRGB PixelFormat = 181 PixelFormatGBGR422 PixelFormat = 240 PixelFormatInvalid PixelFormat = 0 PixelFormatPVRTC_RGBA_2BPP PixelFormat = 164 PixelFormatPVRTC_RGBA_2BPP_sRGB PixelFormat = 165 PixelFormatPVRTC_RGBA_4BPP PixelFormat = 166 PixelFormatPVRTC_RGBA_4BPP_sRGB PixelFormat = 167 PixelFormatPVRTC_RGB_2BPP PixelFormat = 160 PixelFormatPVRTC_RGB_2BPP_sRGB PixelFormat = 161 PixelFormatPVRTC_RGB_4BPP PixelFormat = 162 PixelFormatPVRTC_RGB_4BPP_sRGB PixelFormat = 163 PixelFormatR16Float PixelFormat = 25 PixelFormatR16Sint PixelFormat = 24 PixelFormatR16Snorm PixelFormat = 22 PixelFormatR16Uint PixelFormat = 23 PixelFormatR16Unorm PixelFormat = 20 PixelFormatR32Float PixelFormat = 55 PixelFormatR32Sint PixelFormat = 54 PixelFormatR32Uint PixelFormat = 53 PixelFormatR8Sint PixelFormat = 14 PixelFormatR8Snorm PixelFormat = 12 PixelFormatR8Uint PixelFormat = 13 PixelFormatR8Unorm PixelFormat = 10 PixelFormatR8Unorm_sRGB PixelFormat = 11 PixelFormatRG11B10Float PixelFormat = 92 PixelFormatRG16Float PixelFormat = 65 PixelFormatRG16Sint PixelFormat = 64 PixelFormatRG16Snorm PixelFormat = 62 PixelFormatRG16Uint PixelFormat = 63 PixelFormatRG16Unorm PixelFormat = 60 PixelFormatRG32Float PixelFormat = 105 PixelFormatRG32Sint PixelFormat = 104 PixelFormatRG32Uint PixelFormat = 103 PixelFormatRG8Sint PixelFormat = 34 PixelFormatRG8Snorm PixelFormat = 32 PixelFormatRG8Uint PixelFormat = 33 PixelFormatRG8Unorm PixelFormat = 30 PixelFormatRG8Unorm_sRGB PixelFormat = 31 PixelFormatRGB10A2Uint PixelFormat = 91 PixelFormatRGB10A2Unorm PixelFormat = 90 PixelFormatRGB9E5Float PixelFormat = 93 PixelFormatRGBA16Float PixelFormat = 115 PixelFormatRGBA16Sint PixelFormat = 114 PixelFormatRGBA16Snorm PixelFormat = 112 PixelFormatRGBA16Uint PixelFormat = 113 PixelFormatRGBA16Unorm PixelFormat = 110 PixelFormatRGBA32Float PixelFormat = 125 PixelFormatRGBA32Sint PixelFormat = 124 PixelFormatRGBA32Uint PixelFormat = 123 PixelFormatRGBA8Sint PixelFormat = 74 PixelFormatRGBA8Snorm PixelFormat = 72 PixelFormatRGBA8Uint PixelFormat = 73 PixelFormatRGBA8Unorm PixelFormat = 70 PixelFormatRGBA8Unorm_sRGB PixelFormat = 71 PixelFormatStencil8 PixelFormat = 253 PixelFormatX24_Stencil8 PixelFormat = 262 PixelFormatX32_Stencil8 PixelFormat = 261 )
type PointerType ¶
type PointerType struct {
Type
}
A description of a pointer. Full Topic
func NewPointerType ¶
func NewPointerType() PointerType
func PointerTypeFrom ¶
func PointerTypeFrom(ptr unsafe.Pointer) PointerType
func (PointerType) Access ¶
func (p_ PointerType) Access() objc.Object
The function’s read/write access to the element data. Full Topic
func (PointerType) Alignment ¶
func (p_ PointerType) Alignment() uint
The required byte alignment in memory for the element data. Full Topic
func (PointerType) DataSize ¶
func (p_ PointerType) DataSize() uint
The size, in bytes, of the element data. Full Topic
func (PointerType) ElementArrayType ¶
func (p_ PointerType) ElementArrayType() ArrayType
Provides a description of the underlying array when the pointer points to an array. Full Topic
func (PointerType) ElementIsArgumentBuffer ¶
func (p_ PointerType) ElementIsArgumentBuffer() bool
A Boolean value that indicates whether the element is an argument buffer. Full Topic
func (PointerType) ElementStructType ¶
func (p_ PointerType) ElementStructType() StructType
Provides a description of the underlying struct when the pointer points to a struct. Full Topic
func (PointerType) ElementType ¶
func (p_ PointerType) ElementType() DataType
The data type of the element data. Full Topic
func (PointerType) Init ¶
func (p_ PointerType) Init() PointerType
type PrimitiveAccelerationStructureDescriptor ¶
type PrimitiveAccelerationStructureDescriptor struct {
AccelerationStructureDescriptor
}
A description of an acceleration structure that contains geometry primitives. Full Topic
func NewPrimitiveAccelerationStructureDescriptor ¶
func NewPrimitiveAccelerationStructureDescriptor() PrimitiveAccelerationStructureDescriptor
func PrimitiveAccelerationStructureDescriptorFrom ¶
func PrimitiveAccelerationStructureDescriptorFrom(ptr unsafe.Pointer) PrimitiveAccelerationStructureDescriptor
func PrimitiveAccelerationStructureDescriptor_Descriptor ¶
func PrimitiveAccelerationStructureDescriptor_Descriptor() PrimitiveAccelerationStructureDescriptor
Creates a new primitive descriptor. Full Topic
func (PrimitiveAccelerationStructureDescriptor) GeometryDescriptors ¶
func (p_ PrimitiveAccelerationStructureDescriptor) GeometryDescriptors() []AccelerationStructureGeometryDescriptor
An array that contains the individual pieces of geometry that compose the acceleration structure. Full Topic
func (PrimitiveAccelerationStructureDescriptor) MotionEndBorderMode ¶
func (p_ PrimitiveAccelerationStructureDescriptor) MotionEndBorderMode() MotionBorderMode
The mode to use when handling timestamps after the end time. Full Topic
func (PrimitiveAccelerationStructureDescriptor) MotionEndTime ¶
func (p_ PrimitiveAccelerationStructureDescriptor) MotionEndTime() float64
The end time for the range of motion that the keyframe data describes. Full Topic
func (PrimitiveAccelerationStructureDescriptor) MotionKeyframeCount ¶
func (p_ PrimitiveAccelerationStructureDescriptor) MotionKeyframeCount() uint
The number of keyframes in the geometry data. Full Topic
func (PrimitiveAccelerationStructureDescriptor) MotionStartBorderMode ¶
func (p_ PrimitiveAccelerationStructureDescriptor) MotionStartBorderMode() MotionBorderMode
The mode to use when handling timestamps before the start time. Full Topic
func (PrimitiveAccelerationStructureDescriptor) MotionStartTime ¶
func (p_ PrimitiveAccelerationStructureDescriptor) MotionStartTime() float64
The start time for the range of motion that the keyframe data describes. Full Topic
func (PrimitiveAccelerationStructureDescriptor) SetGeometryDescriptors ¶
func (p_ PrimitiveAccelerationStructureDescriptor) SetGeometryDescriptors(value []IAccelerationStructureGeometryDescriptor)
An array that contains the individual pieces of geometry that compose the acceleration structure. Full Topic
func (PrimitiveAccelerationStructureDescriptor) SetMotionEndBorderMode ¶
func (p_ PrimitiveAccelerationStructureDescriptor) SetMotionEndBorderMode(value MotionBorderMode)
The mode to use when handling timestamps after the end time. Full Topic
func (PrimitiveAccelerationStructureDescriptor) SetMotionEndTime ¶
func (p_ PrimitiveAccelerationStructureDescriptor) SetMotionEndTime(value float64)
The end time for the range of motion that the keyframe data describes. Full Topic
func (PrimitiveAccelerationStructureDescriptor) SetMotionKeyframeCount ¶
func (p_ PrimitiveAccelerationStructureDescriptor) SetMotionKeyframeCount(value uint)
The number of keyframes in the geometry data. Full Topic
func (PrimitiveAccelerationStructureDescriptor) SetMotionStartBorderMode ¶
func (p_ PrimitiveAccelerationStructureDescriptor) SetMotionStartBorderMode(value MotionBorderMode)
The mode to use when handling timestamps before the start time. Full Topic
func (PrimitiveAccelerationStructureDescriptor) SetMotionStartTime ¶
func (p_ PrimitiveAccelerationStructureDescriptor) SetMotionStartTime(value float64)
The start time for the range of motion that the keyframe data describes. Full Topic
type PrimitiveTopologyClass ¶
type PrimitiveTopologyClass uint
The primitive topologies available for rendering. Full Topic
const ( PrimitiveTopologyClassLine PrimitiveTopologyClass = 2 PrimitiveTopologyClassPoint PrimitiveTopologyClass = 1 PrimitiveTopologyClassTriangle PrimitiveTopologyClass = 3 PrimitiveTopologyClassUnspecified PrimitiveTopologyClass = 0 )
type PrimitiveType ¶
type PrimitiveType uint
The geometric primitive type for drawing commands. Full Topic
const ( PrimitiveTypeLine PrimitiveType = 1 PrimitiveTypeLineStrip PrimitiveType = 2 PrimitiveTypePoint PrimitiveType = 0 PrimitiveTypeTriangle PrimitiveType = 3 PrimitiveTypeTriangleStrip PrimitiveType = 4 )
type PurgeableState ¶
type PurgeableState uint
The purgeable state of the resource. Full Topic
const ( PurgeableStateEmpty PurgeableState = 4 PurgeableStateKeepCurrent PurgeableState = 1 PurgeableStateNonVolatile PurgeableState = 2 PurgeableStateVolatile PurgeableState = 3 )
type QuadTessellationFactorsHalf ¶
type QuadTessellationFactorsHalf struct { EdgeTessellationFactor [4]uint16 InsideTessellationFactor [2]uint16 }
The per-patch tessellation factors for a quad patch. Full Topic
type RasterizationRateLayerArray ¶
Descriptions for the rasterization rates to apply to the set of layers in a rate map. Full Topic
func NewRasterizationRateLayerArray ¶
func NewRasterizationRateLayerArray() RasterizationRateLayerArray
func RasterizationRateLayerArrayFrom ¶
func RasterizationRateLayerArrayFrom(ptr unsafe.Pointer) RasterizationRateLayerArray
func (RasterizationRateLayerArray) Init ¶
func (r_ RasterizationRateLayerArray) Init() RasterizationRateLayerArray
func (RasterizationRateLayerArray) ObjectAtIndexedSubscript ¶
func (r_ RasterizationRateLayerArray) ObjectAtIndexedSubscript(layerIndex uint) RasterizationRateLayerDescriptor
Retrieves the sample value at the specified index. Full Topic
func (RasterizationRateLayerArray) SetObjectAtIndexedSubscript ¶
func (r_ RasterizationRateLayerArray) SetObjectAtIndexedSubscript(layer IRasterizationRateLayerDescriptor, layerIndex uint)
Stores a sample value at the specified index. Full Topic
type RasterizationRateLayerDescriptor ¶
The minimum rasterization rates to apply to sections of a layer in the render target. Full Topic
func NewRasterizationRateLayerDescriptor ¶
func NewRasterizationRateLayerDescriptor() RasterizationRateLayerDescriptor
func NewRasterizationRateLayerDescriptorWithSampleCount ¶
func NewRasterizationRateLayerDescriptorWithSampleCount(sampleCount Size) RasterizationRateLayerDescriptor
Initializes the layer map with an empty grid. Full Topic
func NewRasterizationRateLayerDescriptorWithSampleCountHorizontalVertical ¶
func NewRasterizationRateLayerDescriptorWithSampleCountHorizontalVertical(sampleCount Size, horizontal *float64, vertical *float64) RasterizationRateLayerDescriptor
Initializes the layer map with the provided grid size and rasterization rates. Full Topic
func RasterizationRateLayerDescriptorFrom ¶
func RasterizationRateLayerDescriptorFrom(ptr unsafe.Pointer) RasterizationRateLayerDescriptor
func (RasterizationRateLayerDescriptor) Horizontal ¶
func (r_ RasterizationRateLayerDescriptor) Horizontal() RasterizationRateSampleArray
The horizontal rasterization rates for the layer map’s rows. Full Topic
func (RasterizationRateLayerDescriptor) HorizontalSampleStorage ¶
func (r_ RasterizationRateLayerDescriptor) HorizontalSampleStorage() *float64
A pointer to the storage for the layer map's horizontal rasterization rates. Full Topic
func (RasterizationRateLayerDescriptor) Init ¶
func (r_ RasterizationRateLayerDescriptor) Init() RasterizationRateLayerDescriptor
func (RasterizationRateLayerDescriptor) InitWithSampleCount ¶
func (r_ RasterizationRateLayerDescriptor) InitWithSampleCount(sampleCount Size) RasterizationRateLayerDescriptor
func (RasterizationRateLayerDescriptor) InitWithSampleCountHorizontalVertical ¶
func (r_ RasterizationRateLayerDescriptor) InitWithSampleCountHorizontalVertical(sampleCount Size, horizontal *float64, vertical *float64) RasterizationRateLayerDescriptor
func (RasterizationRateLayerDescriptor) MaxSampleCount ¶
func (r_ RasterizationRateLayerDescriptor) MaxSampleCount() Size
The maximum number of rows and columns in the layer map. Full Topic
func (RasterizationRateLayerDescriptor) SampleCount ¶
func (r_ RasterizationRateLayerDescriptor) SampleCount() Size
The number of rows and columns in the layer map. Full Topic
func (RasterizationRateLayerDescriptor) Vertical ¶
func (r_ RasterizationRateLayerDescriptor) Vertical() RasterizationRateSampleArray
The vertical rasterization rates for the layer map’s rows. Full Topic
func (RasterizationRateLayerDescriptor) VerticalSampleStorage ¶
func (r_ RasterizationRateLayerDescriptor) VerticalSampleStorage() *float64
A pointer to the storage for the layer map's vertical rasterization rates. Full Topic
type RasterizationRateMapDescriptor ¶
An object that you use to configure new rasterization rate maps. Full Topic
func NewRasterizationRateMapDescriptor ¶
func NewRasterizationRateMapDescriptor() RasterizationRateMapDescriptor
func RasterizationRateMapDescriptorFrom ¶
func RasterizationRateMapDescriptorFrom(ptr unsafe.Pointer) RasterizationRateMapDescriptor
func RasterizationRateMapDescriptor_RasterizationRateMapDescriptorWithScreenSize ¶
func RasterizationRateMapDescriptor_RasterizationRateMapDescriptorWithScreenSize(screenSize Size) RasterizationRateMapDescriptor
Creates a rate map descriptor with a given size and identifier. Full Topic
func RasterizationRateMapDescriptor_RasterizationRateMapDescriptorWithScreenSizeLayer ¶
func RasterizationRateMapDescriptor_RasterizationRateMapDescriptorWithScreenSizeLayer(screenSize Size, layer IRasterizationRateLayerDescriptor) RasterizationRateMapDescriptor
Creates a rate map descriptor with a single rate layer. Full Topic
func RasterizationRateMapDescriptor_RasterizationRateMapDescriptorWithScreenSizeLayerCountLayers ¶
func RasterizationRateMapDescriptor_RasterizationRateMapDescriptorWithScreenSizeLayerCountLayers(screenSize Size, layerCount uint, layers IRasterizationRateLayerDescriptor) RasterizationRateMapDescriptor
Creates a rate map descriptor with a set of layer descriptors. Full Topic
func (RasterizationRateMapDescriptor) Init ¶
func (r_ RasterizationRateMapDescriptor) Init() RasterizationRateMapDescriptor
func (RasterizationRateMapDescriptor) Label ¶
func (r_ RasterizationRateMapDescriptor) Label() string
A string used to identify the rate map you create with the descriptor. Full Topic
func (RasterizationRateMapDescriptor) LayerAtIndex ¶
func (r_ RasterizationRateMapDescriptor) LayerAtIndex(layerIndex uint) RasterizationRateLayerDescriptor
Returns the layer description for a layer in the rate map. Full Topic
func (RasterizationRateMapDescriptor) LayerCount ¶
func (r_ RasterizationRateMapDescriptor) LayerCount() uint
The number of layers in the rate map. Full Topic
func (RasterizationRateMapDescriptor) Layers ¶
func (r_ RasterizationRateMapDescriptor) Layers() RasterizationRateLayerArray
The rasterization rates for one or more layers in the rate map. Full Topic
func (RasterizationRateMapDescriptor) ScreenSize ¶
func (r_ RasterizationRateMapDescriptor) ScreenSize() Size
The size of the viewport coordinate system, in logical pixels. Full Topic
func (RasterizationRateMapDescriptor) SetLabel ¶
func (r_ RasterizationRateMapDescriptor) SetLabel(value string)
A string used to identify the rate map you create with the descriptor. Full Topic
func (RasterizationRateMapDescriptor) SetLayerAtIndex ¶
func (r_ RasterizationRateMapDescriptor) SetLayerAtIndex(layer IRasterizationRateLayerDescriptor, layerIndex uint)
Sets a configuration for a layer rate map. Full Topic
func (RasterizationRateMapDescriptor) SetScreenSize ¶
func (r_ RasterizationRateMapDescriptor) SetScreenSize(value Size)
The size of the viewport coordinate system, in logical pixels. Full Topic
type RasterizationRateMapObject ¶
A concrete type for the PRasterizationRateMap protocol.
func (RasterizationRateMapObject) CopyParameterDataToBufferOffset ¶
func (r_ RasterizationRateMapObject) CopyParameterDataToBufferOffset(buffer BufferObject, offset uint)
Copies the parameter data into the provided buffer. Full Topic
func (RasterizationRateMapObject) Device ¶
func (r_ RasterizationRateMapObject) Device() DeviceObject
The device object that created the rate map. Full Topic
func (RasterizationRateMapObject) HasCopyParameterDataToBufferOffset ¶
func (r_ RasterizationRateMapObject) HasCopyParameterDataToBufferOffset() bool
func (RasterizationRateMapObject) HasDevice ¶
func (r_ RasterizationRateMapObject) HasDevice() bool
func (RasterizationRateMapObject) HasLabel ¶
func (r_ RasterizationRateMapObject) HasLabel() bool
func (RasterizationRateMapObject) HasLayerCount ¶
func (r_ RasterizationRateMapObject) HasLayerCount() bool
func (RasterizationRateMapObject) HasMapPhysicalToScreenCoordinatesForLayer ¶
func (r_ RasterizationRateMapObject) HasMapPhysicalToScreenCoordinatesForLayer() bool
func (RasterizationRateMapObject) HasMapScreenToPhysicalCoordinatesForLayer ¶
func (r_ RasterizationRateMapObject) HasMapScreenToPhysicalCoordinatesForLayer() bool
func (RasterizationRateMapObject) HasParameterBufferSizeAndAlign ¶
func (r_ RasterizationRateMapObject) HasParameterBufferSizeAndAlign() bool
func (RasterizationRateMapObject) HasPhysicalGranularity ¶
func (r_ RasterizationRateMapObject) HasPhysicalGranularity() bool
func (RasterizationRateMapObject) HasPhysicalSizeForLayer ¶
func (r_ RasterizationRateMapObject) HasPhysicalSizeForLayer() bool
func (RasterizationRateMapObject) HasScreenSize ¶
func (r_ RasterizationRateMapObject) HasScreenSize() bool
func (RasterizationRateMapObject) Label ¶
func (r_ RasterizationRateMapObject) Label() string
A string that identifies the rate map. Full Topic
func (RasterizationRateMapObject) LayerCount ¶
func (r_ RasterizationRateMapObject) LayerCount() uint
The number of layers in the rate map. Full Topic
func (RasterizationRateMapObject) MapPhysicalToScreenCoordinatesForLayer ¶
func (r_ RasterizationRateMapObject) MapPhysicalToScreenCoordinatesForLayer(physicalCoordinates Coordinate2D, layerIndex uint) Coordinate2D
Converts a point in physical coordinates inside a layer to its corresponding logical viewport coordinates. Full Topic
func (RasterizationRateMapObject) MapScreenToPhysicalCoordinatesForLayer ¶
func (r_ RasterizationRateMapObject) MapScreenToPhysicalCoordinatesForLayer(screenCoordinates Coordinate2D, layerIndex uint) Coordinate2D
Converts a point in logical viewport coordinates to the corresponding physical coordinates in a render layer. Full Topic
func (RasterizationRateMapObject) ParameterBufferSizeAndAlign ¶
func (r_ RasterizationRateMapObject) ParameterBufferSizeAndAlign() SizeAndAlign
The size and alignment requirements to contain the coordinate transformation information in this rate map. Full Topic
func (RasterizationRateMapObject) PhysicalGranularity ¶
func (r_ RasterizationRateMapObject) PhysicalGranularity() Size
The granularity, in physical pixels, at which the rasterization rate varies. Full Topic
func (RasterizationRateMapObject) PhysicalSizeForLayer ¶
func (r_ RasterizationRateMapObject) PhysicalSizeForLayer(layerIndex uint) Size
Returns the dimensions, in pixels, of the area in the render target affected by the rasterization rate map. Full Topic
func (RasterizationRateMapObject) ScreenSize ¶
func (r_ RasterizationRateMapObject) ScreenSize() Size
The logical size, in pixels, of the viewport coordinate system. Full Topic
type RasterizationRateSampleArray ¶
An array object that contains rasterization rates. Full Topic
func NewRasterizationRateSampleArray ¶
func NewRasterizationRateSampleArray() RasterizationRateSampleArray
func RasterizationRateSampleArrayFrom ¶
func RasterizationRateSampleArrayFrom(ptr unsafe.Pointer) RasterizationRateSampleArray
func (RasterizationRateSampleArray) Init ¶
func (r_ RasterizationRateSampleArray) Init() RasterizationRateSampleArray
func (RasterizationRateSampleArray) ObjectAtIndexedSubscript ¶
func (r_ RasterizationRateSampleArray) ObjectAtIndexedSubscript(index uint) foundation.Number
Retrieves the sample value at the specified index. Full Topic
func (RasterizationRateSampleArray) SetObjectAtIndexedSubscript ¶
func (r_ RasterizationRateSampleArray) SetObjectAtIndexedSubscript(value foundation.INumber, index uint)
Stores a sample value at the specified index. Full Topic
type ReadWriteTextureTier ¶
type ReadWriteTextureTier uint
The support level for read-write texture formats. Full Topic
const ( ReadWriteTextureTier1 ReadWriteTextureTier = 1 ReadWriteTextureTier2 ReadWriteTextureTier = 2 ReadWriteTextureTierNone ReadWriteTextureTier = 0 )
type Region ¶
The bounds for a subset of an object's elements. Full Topic
type RenderCommandEncoderObject ¶
A concrete type for the PRenderCommandEncoder protocol.
func (RenderCommandEncoderObject) DispatchThreadsPerTile ¶
func (r_ RenderCommandEncoderObject) DispatchThreadsPerTile(threadsPerTile Size)
Encodes a command that invokes GPU functions from the encoder’s current tile render pipeline state. Full Topic
func (RenderCommandEncoderObject) DrawIndexedPatchesPatchIndexBufferPatchIndexBufferOffsetControlPointIndexBufferControlPointIndexBufferOffsetIndirectBufferIndirectBufferOffset ¶
func (r_ RenderCommandEncoderObject) DrawIndexedPatchesPatchIndexBufferPatchIndexBufferOffsetControlPointIndexBufferControlPointIndexBufferOffsetIndirectBufferIndirectBufferOffset(numberOfPatchControlPoints uint, patchIndexBuffer BufferObject, patchIndexBufferOffset uint, controlPointIndexBuffer BufferObject, controlPointIndexBufferOffset uint, indirectBuffer BufferObject, indirectBufferOffset uint)
Encodes a draw command that renders multiple instances of tessellated patches with a control point index buffer and indirect arguments. Full Topic
func (RenderCommandEncoderObject) DrawIndexedPatchesPatchStartPatchCountPatchIndexBufferPatchIndexBufferOffsetControlPointIndexBufferControlPointIndexBufferOffsetInstanceCountBaseInstance ¶
func (r_ RenderCommandEncoderObject) DrawIndexedPatchesPatchStartPatchCountPatchIndexBufferPatchIndexBufferOffsetControlPointIndexBufferControlPointIndexBufferOffsetInstanceCountBaseInstance(numberOfPatchControlPoints uint, patchStart uint, patchCount uint, patchIndexBuffer BufferObject, patchIndexBufferOffset uint, controlPointIndexBuffer BufferObject, controlPointIndexBufferOffset uint, instanceCount uint, baseInstance uint)
Encodes a draw command that renders multiple instances of tessellated patches with a control point index buffer. Full Topic
func (RenderCommandEncoderObject) DrawIndexedPrimitivesIndexCountIndexTypeIndexBufferIndexBufferOffset ¶
func (r_ RenderCommandEncoderObject) DrawIndexedPrimitivesIndexCountIndexTypeIndexBufferIndexBufferOffset(primitiveType PrimitiveType, indexCount uint, indexType IndexType, indexBuffer BufferObject, indexBufferOffset uint)
Encodes a draw command that renders an instance of a geometric primitive with indexed vertices. Full Topic
func (RenderCommandEncoderObject) DrawIndexedPrimitivesIndexCountIndexTypeIndexBufferIndexBufferOffsetInstanceCount ¶
func (r_ RenderCommandEncoderObject) DrawIndexedPrimitivesIndexCountIndexTypeIndexBufferIndexBufferOffsetInstanceCount(primitiveType PrimitiveType, indexCount uint, indexType IndexType, indexBuffer BufferObject, indexBufferOffset uint, instanceCount uint)
Encodes a draw command that renders multiple instances of a geometric primitive with indexed vertices. Full Topic
func (RenderCommandEncoderObject) DrawIndexedPrimitivesIndexCountIndexTypeIndexBufferIndexBufferOffsetInstanceCountBaseVertexBaseInstance ¶
func (r_ RenderCommandEncoderObject) DrawIndexedPrimitivesIndexCountIndexTypeIndexBufferIndexBufferOffsetInstanceCountBaseVertexBaseInstance(primitiveType PrimitiveType, indexCount uint, indexType IndexType, indexBuffer BufferObject, indexBufferOffset uint, instanceCount uint, baseVertex int, baseInstance uint)
Encodes a draw command that renders multiple instances of a geometric primitive with indexed vertices, starting with a custom vertex and instance. Full Topic
func (RenderCommandEncoderObject) DrawIndexedPrimitivesIndexTypeIndexBufferIndexBufferOffsetIndirectBufferIndirectBufferOffset ¶
func (r_ RenderCommandEncoderObject) DrawIndexedPrimitivesIndexTypeIndexBufferIndexBufferOffsetIndirectBufferIndirectBufferOffset(primitiveType PrimitiveType, indexType IndexType, indexBuffer BufferObject, indexBufferOffset uint, indirectBuffer BufferObject, indirectBufferOffset uint)
Encodes a draw command that renders multiple instances of a geometric primitive with indexed vertices and indirect arguments. Full Topic
func (RenderCommandEncoderObject) DrawPatchesPatchIndexBufferPatchIndexBufferOffsetIndirectBufferIndirectBufferOffset ¶
func (r_ RenderCommandEncoderObject) DrawPatchesPatchIndexBufferPatchIndexBufferOffsetIndirectBufferIndirectBufferOffset(numberOfPatchControlPoints uint, patchIndexBuffer BufferObject, patchIndexBufferOffset uint, indirectBuffer BufferObject, indirectBufferOffset uint)
Encodes a draw command that renders multiple instances of tessellated patches with indirect arguments. Full Topic
func (RenderCommandEncoderObject) DrawPatchesPatchStartPatchCountPatchIndexBufferPatchIndexBufferOffsetInstanceCountBaseInstance ¶
func (r_ RenderCommandEncoderObject) DrawPatchesPatchStartPatchCountPatchIndexBufferPatchIndexBufferOffsetInstanceCountBaseInstance(numberOfPatchControlPoints uint, patchStart uint, patchCount uint, patchIndexBuffer BufferObject, patchIndexBufferOffset uint, instanceCount uint, baseInstance uint)
Encodes a draw command that renders multiple instances of tessellated patches. Full Topic
func (RenderCommandEncoderObject) DrawPrimitivesIndirectBufferIndirectBufferOffset ¶
func (r_ RenderCommandEncoderObject) DrawPrimitivesIndirectBufferIndirectBufferOffset(primitiveType PrimitiveType, indirectBuffer BufferObject, indirectBufferOffset uint)
Encodes a draw command that renders multiple instances of a geometric primitive with indirect arguments. Full Topic
func (RenderCommandEncoderObject) DrawPrimitivesVertexStartVertexCount ¶
func (r_ RenderCommandEncoderObject) DrawPrimitivesVertexStartVertexCount(primitiveType PrimitiveType, vertexStart uint, vertexCount uint)
Encodes a draw command that renders an instance of a geometric primitive. Full Topic
func (RenderCommandEncoderObject) DrawPrimitivesVertexStartVertexCountInstanceCount ¶
func (r_ RenderCommandEncoderObject) DrawPrimitivesVertexStartVertexCountInstanceCount(primitiveType PrimitiveType, vertexStart uint, vertexCount uint, instanceCount uint)
Encodes a draw command that renders multiple instances of a geometric primitive. Full Topic
func (RenderCommandEncoderObject) DrawPrimitivesVertexStartVertexCountInstanceCountBaseInstance ¶
func (r_ RenderCommandEncoderObject) DrawPrimitivesVertexStartVertexCountInstanceCountBaseInstance(primitiveType PrimitiveType, vertexStart uint, vertexCount uint, instanceCount uint, baseInstance uint)
Encodes a draw command that renders multiple instances of a geometric primitive that starts with a custom instance identification number. Full Topic
func (RenderCommandEncoderObject) ExecuteCommandsInBufferIndirectBufferIndirectBufferOffset ¶
func (r_ RenderCommandEncoderObject) ExecuteCommandsInBufferIndirectBufferIndirectBufferOffset(indirectCommandbuffer IndirectCommandBufferObject, indirectRangeBuffer BufferObject, indirectBufferOffset uint)
Encodes a command that runs an indirect range of commands from an indirect command buffer (ICB). Full Topic
func (RenderCommandEncoderObject) ExecuteCommandsInBufferWithRange ¶
func (r_ RenderCommandEncoderObject) ExecuteCommandsInBufferWithRange(indirectCommandBuffer IndirectCommandBufferObject, executionRange foundation.Range)
Encodes a command that runs a range of commands from an indirect command buffer (ICB). Full Topic
func (RenderCommandEncoderObject) HasDispatchThreadsPerTile ¶
func (r_ RenderCommandEncoderObject) HasDispatchThreadsPerTile() bool
func (RenderCommandEncoderObject) HasDrawIndexedPatchesPatchIndexBufferPatchIndexBufferOffsetControlPointIndexBufferControlPointIndexBufferOffsetIndirectBufferIndirectBufferOffset ¶
func (r_ RenderCommandEncoderObject) HasDrawIndexedPatchesPatchIndexBufferPatchIndexBufferOffsetControlPointIndexBufferControlPointIndexBufferOffsetIndirectBufferIndirectBufferOffset() bool
func (RenderCommandEncoderObject) HasDrawIndexedPatchesPatchStartPatchCountPatchIndexBufferPatchIndexBufferOffsetControlPointIndexBufferControlPointIndexBufferOffsetInstanceCountBaseInstance ¶
func (r_ RenderCommandEncoderObject) HasDrawIndexedPatchesPatchStartPatchCountPatchIndexBufferPatchIndexBufferOffsetControlPointIndexBufferControlPointIndexBufferOffsetInstanceCountBaseInstance() bool
func (RenderCommandEncoderObject) HasDrawIndexedPrimitivesIndexCountIndexTypeIndexBufferIndexBufferOffset ¶
func (r_ RenderCommandEncoderObject) HasDrawIndexedPrimitivesIndexCountIndexTypeIndexBufferIndexBufferOffset() bool
func (RenderCommandEncoderObject) HasDrawIndexedPrimitivesIndexCountIndexTypeIndexBufferIndexBufferOffsetInstanceCount ¶
func (r_ RenderCommandEncoderObject) HasDrawIndexedPrimitivesIndexCountIndexTypeIndexBufferIndexBufferOffsetInstanceCount() bool
func (RenderCommandEncoderObject) HasDrawIndexedPrimitivesIndexCountIndexTypeIndexBufferIndexBufferOffsetInstanceCountBaseVertexBaseInstance ¶
func (r_ RenderCommandEncoderObject) HasDrawIndexedPrimitivesIndexCountIndexTypeIndexBufferIndexBufferOffsetInstanceCountBaseVertexBaseInstance() bool
func (RenderCommandEncoderObject) HasDrawIndexedPrimitivesIndexTypeIndexBufferIndexBufferOffsetIndirectBufferIndirectBufferOffset ¶
func (r_ RenderCommandEncoderObject) HasDrawIndexedPrimitivesIndexTypeIndexBufferIndexBufferOffsetIndirectBufferIndirectBufferOffset() bool
func (RenderCommandEncoderObject) HasDrawPatchesPatchIndexBufferPatchIndexBufferOffsetIndirectBufferIndirectBufferOffset ¶
func (r_ RenderCommandEncoderObject) HasDrawPatchesPatchIndexBufferPatchIndexBufferOffsetIndirectBufferIndirectBufferOffset() bool
func (RenderCommandEncoderObject) HasDrawPatchesPatchStartPatchCountPatchIndexBufferPatchIndexBufferOffsetInstanceCountBaseInstance ¶
func (r_ RenderCommandEncoderObject) HasDrawPatchesPatchStartPatchCountPatchIndexBufferPatchIndexBufferOffsetInstanceCountBaseInstance() bool
func (RenderCommandEncoderObject) HasDrawPrimitivesIndirectBufferIndirectBufferOffset ¶
func (r_ RenderCommandEncoderObject) HasDrawPrimitivesIndirectBufferIndirectBufferOffset() bool
func (RenderCommandEncoderObject) HasDrawPrimitivesVertexStartVertexCount ¶
func (r_ RenderCommandEncoderObject) HasDrawPrimitivesVertexStartVertexCount() bool
func (RenderCommandEncoderObject) HasDrawPrimitivesVertexStartVertexCountInstanceCount ¶
func (r_ RenderCommandEncoderObject) HasDrawPrimitivesVertexStartVertexCountInstanceCount() bool
func (RenderCommandEncoderObject) HasDrawPrimitivesVertexStartVertexCountInstanceCountBaseInstance ¶
func (r_ RenderCommandEncoderObject) HasDrawPrimitivesVertexStartVertexCountInstanceCountBaseInstance() bool
func (RenderCommandEncoderObject) HasExecuteCommandsInBufferIndirectBufferIndirectBufferOffset ¶
func (r_ RenderCommandEncoderObject) HasExecuteCommandsInBufferIndirectBufferIndirectBufferOffset() bool
func (RenderCommandEncoderObject) HasExecuteCommandsInBufferWithRange ¶
func (r_ RenderCommandEncoderObject) HasExecuteCommandsInBufferWithRange() bool
func (RenderCommandEncoderObject) HasMemoryBarrierWithResourcesCountAfterStagesBeforeStages ¶
func (r_ RenderCommandEncoderObject) HasMemoryBarrierWithResourcesCountAfterStagesBeforeStages() bool
func (RenderCommandEncoderObject) HasMemoryBarrierWithScopeAfterStagesBeforeStages ¶
func (r_ RenderCommandEncoderObject) HasMemoryBarrierWithScopeAfterStagesBeforeStages() bool
func (RenderCommandEncoderObject) HasSampleCountersInBufferAtSampleIndexWithBarrier ¶
func (r_ RenderCommandEncoderObject) HasSampleCountersInBufferAtSampleIndexWithBarrier() bool
func (RenderCommandEncoderObject) HasSetBlendColorRedGreenBlueAlpha ¶
func (r_ RenderCommandEncoderObject) HasSetBlendColorRedGreenBlueAlpha() bool
func (RenderCommandEncoderObject) HasSetColorStoreActionAtIndex ¶
func (r_ RenderCommandEncoderObject) HasSetColorStoreActionAtIndex() bool
func (RenderCommandEncoderObject) HasSetColorStoreActionOptionsAtIndex ¶
func (r_ RenderCommandEncoderObject) HasSetColorStoreActionOptionsAtIndex() bool
func (RenderCommandEncoderObject) HasSetCullMode ¶
func (r_ RenderCommandEncoderObject) HasSetCullMode() bool
func (RenderCommandEncoderObject) HasSetDepthBiasSlopeScaleClamp ¶
func (r_ RenderCommandEncoderObject) HasSetDepthBiasSlopeScaleClamp() bool
func (RenderCommandEncoderObject) HasSetDepthClipMode ¶
func (r_ RenderCommandEncoderObject) HasSetDepthClipMode() bool
func (RenderCommandEncoderObject) HasSetDepthStencilState ¶
func (r_ RenderCommandEncoderObject) HasSetDepthStencilState() bool
func (RenderCommandEncoderObject) HasSetDepthStoreAction ¶
func (r_ RenderCommandEncoderObject) HasSetDepthStoreAction() bool
func (RenderCommandEncoderObject) HasSetDepthStoreActionOptions ¶
func (r_ RenderCommandEncoderObject) HasSetDepthStoreActionOptions() bool
func (RenderCommandEncoderObject) HasSetFragmentAccelerationStructureAtBufferIndex ¶
func (r_ RenderCommandEncoderObject) HasSetFragmentAccelerationStructureAtBufferIndex() bool
func (RenderCommandEncoderObject) HasSetFragmentBufferOffsetAtIndex ¶
func (r_ RenderCommandEncoderObject) HasSetFragmentBufferOffsetAtIndex() bool
func (RenderCommandEncoderObject) HasSetFragmentBufferOffsetAtIndex_ ¶
func (r_ RenderCommandEncoderObject) HasSetFragmentBufferOffsetAtIndex_() bool
func (RenderCommandEncoderObject) HasSetFragmentBuffersOffsetsWithRange ¶
func (r_ RenderCommandEncoderObject) HasSetFragmentBuffersOffsetsWithRange() bool
func (RenderCommandEncoderObject) HasSetFragmentBytesLengthAtIndex ¶
func (r_ RenderCommandEncoderObject) HasSetFragmentBytesLengthAtIndex() bool
func (RenderCommandEncoderObject) HasSetFragmentIntersectionFunctionTableAtBufferIndex ¶
func (r_ RenderCommandEncoderObject) HasSetFragmentIntersectionFunctionTableAtBufferIndex() bool
func (RenderCommandEncoderObject) HasSetFragmentIntersectionFunctionTablesWithBufferRange ¶
func (r_ RenderCommandEncoderObject) HasSetFragmentIntersectionFunctionTablesWithBufferRange() bool
func (RenderCommandEncoderObject) HasSetFragmentSamplerStateAtIndex ¶
func (r_ RenderCommandEncoderObject) HasSetFragmentSamplerStateAtIndex() bool
func (RenderCommandEncoderObject) HasSetFragmentSamplerStateLodMinClampLodMaxClampAtIndex ¶
func (r_ RenderCommandEncoderObject) HasSetFragmentSamplerStateLodMinClampLodMaxClampAtIndex() bool
func (RenderCommandEncoderObject) HasSetFragmentSamplerStatesLodMinClampsLodMaxClampsWithRange ¶
func (r_ RenderCommandEncoderObject) HasSetFragmentSamplerStatesLodMinClampsLodMaxClampsWithRange() bool
func (RenderCommandEncoderObject) HasSetFragmentSamplerStatesWithRange ¶
func (r_ RenderCommandEncoderObject) HasSetFragmentSamplerStatesWithRange() bool
func (RenderCommandEncoderObject) HasSetFragmentTextureAtIndex ¶
func (r_ RenderCommandEncoderObject) HasSetFragmentTextureAtIndex() bool
func (RenderCommandEncoderObject) HasSetFragmentTexturesWithRange ¶
func (r_ RenderCommandEncoderObject) HasSetFragmentTexturesWithRange() bool
func (RenderCommandEncoderObject) HasSetFragmentVisibleFunctionTableAtBufferIndex ¶
func (r_ RenderCommandEncoderObject) HasSetFragmentVisibleFunctionTableAtBufferIndex() bool
func (RenderCommandEncoderObject) HasSetFragmentVisibleFunctionTablesWithBufferRange ¶
func (r_ RenderCommandEncoderObject) HasSetFragmentVisibleFunctionTablesWithBufferRange() bool
func (RenderCommandEncoderObject) HasSetFrontFacingWinding ¶
func (r_ RenderCommandEncoderObject) HasSetFrontFacingWinding() bool
func (RenderCommandEncoderObject) HasSetRenderPipelineState ¶
func (r_ RenderCommandEncoderObject) HasSetRenderPipelineState() bool
func (RenderCommandEncoderObject) HasSetScissorRect ¶
func (r_ RenderCommandEncoderObject) HasSetScissorRect() bool
func (RenderCommandEncoderObject) HasSetScissorRectsCount ¶
func (r_ RenderCommandEncoderObject) HasSetScissorRectsCount() bool
func (RenderCommandEncoderObject) HasSetStencilFrontReferenceValueBackReferenceValue ¶
func (r_ RenderCommandEncoderObject) HasSetStencilFrontReferenceValueBackReferenceValue() bool
func (RenderCommandEncoderObject) HasSetStencilReferenceValue ¶
func (r_ RenderCommandEncoderObject) HasSetStencilReferenceValue() bool
func (RenderCommandEncoderObject) HasSetStencilStoreAction ¶
func (r_ RenderCommandEncoderObject) HasSetStencilStoreAction() bool
func (RenderCommandEncoderObject) HasSetStencilStoreActionOptions ¶
func (r_ RenderCommandEncoderObject) HasSetStencilStoreActionOptions() bool
func (RenderCommandEncoderObject) HasSetTessellationFactorBufferOffsetInstanceStride ¶
func (r_ RenderCommandEncoderObject) HasSetTessellationFactorBufferOffsetInstanceStride() bool
func (RenderCommandEncoderObject) HasSetTessellationFactorScale ¶
func (r_ RenderCommandEncoderObject) HasSetTessellationFactorScale() bool
func (RenderCommandEncoderObject) HasSetThreadgroupMemoryLengthOffsetAtIndex ¶
func (r_ RenderCommandEncoderObject) HasSetThreadgroupMemoryLengthOffsetAtIndex() bool
func (RenderCommandEncoderObject) HasSetTileAccelerationStructureAtBufferIndex ¶
func (r_ RenderCommandEncoderObject) HasSetTileAccelerationStructureAtBufferIndex() bool
func (RenderCommandEncoderObject) HasSetTileBufferOffsetAtIndex ¶
func (r_ RenderCommandEncoderObject) HasSetTileBufferOffsetAtIndex() bool
func (RenderCommandEncoderObject) HasSetTileBufferOffsetAtIndex_ ¶
func (r_ RenderCommandEncoderObject) HasSetTileBufferOffsetAtIndex_() bool
func (RenderCommandEncoderObject) HasSetTileBuffersOffsetsWithRange ¶
func (r_ RenderCommandEncoderObject) HasSetTileBuffersOffsetsWithRange() bool
func (RenderCommandEncoderObject) HasSetTileBytesLengthAtIndex ¶
func (r_ RenderCommandEncoderObject) HasSetTileBytesLengthAtIndex() bool
func (RenderCommandEncoderObject) HasSetTileIntersectionFunctionTableAtBufferIndex ¶
func (r_ RenderCommandEncoderObject) HasSetTileIntersectionFunctionTableAtBufferIndex() bool
func (RenderCommandEncoderObject) HasSetTileIntersectionFunctionTablesWithBufferRange ¶
func (r_ RenderCommandEncoderObject) HasSetTileIntersectionFunctionTablesWithBufferRange() bool
func (RenderCommandEncoderObject) HasSetTileSamplerStateAtIndex ¶
func (r_ RenderCommandEncoderObject) HasSetTileSamplerStateAtIndex() bool
func (RenderCommandEncoderObject) HasSetTileSamplerStateLodMinClampLodMaxClampAtIndex ¶
func (r_ RenderCommandEncoderObject) HasSetTileSamplerStateLodMinClampLodMaxClampAtIndex() bool
func (RenderCommandEncoderObject) HasSetTileSamplerStatesLodMinClampsLodMaxClampsWithRange ¶
func (r_ RenderCommandEncoderObject) HasSetTileSamplerStatesLodMinClampsLodMaxClampsWithRange() bool
func (RenderCommandEncoderObject) HasSetTileSamplerStatesWithRange ¶
func (r_ RenderCommandEncoderObject) HasSetTileSamplerStatesWithRange() bool
func (RenderCommandEncoderObject) HasSetTileTextureAtIndex ¶
func (r_ RenderCommandEncoderObject) HasSetTileTextureAtIndex() bool
func (RenderCommandEncoderObject) HasSetTileTexturesWithRange ¶
func (r_ RenderCommandEncoderObject) HasSetTileTexturesWithRange() bool
func (RenderCommandEncoderObject) HasSetTileVisibleFunctionTableAtBufferIndex ¶
func (r_ RenderCommandEncoderObject) HasSetTileVisibleFunctionTableAtBufferIndex() bool
func (RenderCommandEncoderObject) HasSetTileVisibleFunctionTablesWithBufferRange ¶
func (r_ RenderCommandEncoderObject) HasSetTileVisibleFunctionTablesWithBufferRange() bool
func (RenderCommandEncoderObject) HasSetTriangleFillMode ¶
func (r_ RenderCommandEncoderObject) HasSetTriangleFillMode() bool
func (RenderCommandEncoderObject) HasSetVertexAccelerationStructureAtBufferIndex ¶
func (r_ RenderCommandEncoderObject) HasSetVertexAccelerationStructureAtBufferIndex() bool
func (RenderCommandEncoderObject) HasSetVertexAmplificationCountViewMappings ¶
func (r_ RenderCommandEncoderObject) HasSetVertexAmplificationCountViewMappings() bool
func (RenderCommandEncoderObject) HasSetVertexBufferOffsetAtIndex ¶
func (r_ RenderCommandEncoderObject) HasSetVertexBufferOffsetAtIndex() bool
func (RenderCommandEncoderObject) HasSetVertexBufferOffsetAtIndex_ ¶
func (r_ RenderCommandEncoderObject) HasSetVertexBufferOffsetAtIndex_() bool
func (RenderCommandEncoderObject) HasSetVertexBuffersOffsetsWithRange ¶
func (r_ RenderCommandEncoderObject) HasSetVertexBuffersOffsetsWithRange() bool
func (RenderCommandEncoderObject) HasSetVertexBytesLengthAtIndex ¶
func (r_ RenderCommandEncoderObject) HasSetVertexBytesLengthAtIndex() bool
func (RenderCommandEncoderObject) HasSetVertexIntersectionFunctionTableAtBufferIndex ¶
func (r_ RenderCommandEncoderObject) HasSetVertexIntersectionFunctionTableAtBufferIndex() bool
func (RenderCommandEncoderObject) HasSetVertexIntersectionFunctionTablesWithBufferRange ¶
func (r_ RenderCommandEncoderObject) HasSetVertexIntersectionFunctionTablesWithBufferRange() bool
func (RenderCommandEncoderObject) HasSetVertexSamplerStateAtIndex ¶
func (r_ RenderCommandEncoderObject) HasSetVertexSamplerStateAtIndex() bool
func (RenderCommandEncoderObject) HasSetVertexSamplerStateLodMinClampLodMaxClampAtIndex ¶
func (r_ RenderCommandEncoderObject) HasSetVertexSamplerStateLodMinClampLodMaxClampAtIndex() bool
func (RenderCommandEncoderObject) HasSetVertexSamplerStatesLodMinClampsLodMaxClampsWithRange ¶
func (r_ RenderCommandEncoderObject) HasSetVertexSamplerStatesLodMinClampsLodMaxClampsWithRange() bool
func (RenderCommandEncoderObject) HasSetVertexSamplerStatesWithRange ¶
func (r_ RenderCommandEncoderObject) HasSetVertexSamplerStatesWithRange() bool
func (RenderCommandEncoderObject) HasSetVertexTextureAtIndex ¶
func (r_ RenderCommandEncoderObject) HasSetVertexTextureAtIndex() bool
func (RenderCommandEncoderObject) HasSetVertexTexturesWithRange ¶
func (r_ RenderCommandEncoderObject) HasSetVertexTexturesWithRange() bool
func (RenderCommandEncoderObject) HasSetVertexVisibleFunctionTableAtBufferIndex ¶
func (r_ RenderCommandEncoderObject) HasSetVertexVisibleFunctionTableAtBufferIndex() bool
func (RenderCommandEncoderObject) HasSetVertexVisibleFunctionTablesWithBufferRange ¶
func (r_ RenderCommandEncoderObject) HasSetVertexVisibleFunctionTablesWithBufferRange() bool
func (RenderCommandEncoderObject) HasSetViewport ¶
func (r_ RenderCommandEncoderObject) HasSetViewport() bool
func (RenderCommandEncoderObject) HasSetViewportsCount ¶
func (r_ RenderCommandEncoderObject) HasSetViewportsCount() bool
func (RenderCommandEncoderObject) HasSetVisibilityResultModeOffset ¶
func (r_ RenderCommandEncoderObject) HasSetVisibilityResultModeOffset() bool
func (RenderCommandEncoderObject) HasTileHeight ¶
func (r_ RenderCommandEncoderObject) HasTileHeight() bool
func (RenderCommandEncoderObject) HasTileWidth ¶
func (r_ RenderCommandEncoderObject) HasTileWidth() bool
func (RenderCommandEncoderObject) HasUpdateFenceAfterStages ¶
func (r_ RenderCommandEncoderObject) HasUpdateFenceAfterStages() bool
func (RenderCommandEncoderObject) HasUseHeapStages ¶
func (r_ RenderCommandEncoderObject) HasUseHeapStages() bool
func (RenderCommandEncoderObject) HasUseHeapsCountStages ¶
func (r_ RenderCommandEncoderObject) HasUseHeapsCountStages() bool
func (RenderCommandEncoderObject) HasUseResourceUsageStages ¶
func (r_ RenderCommandEncoderObject) HasUseResourceUsageStages() bool
func (RenderCommandEncoderObject) HasUseResourcesCountUsageStages ¶
func (r_ RenderCommandEncoderObject) HasUseResourcesCountUsageStages() bool
func (RenderCommandEncoderObject) HasWaitForFenceBeforeStages ¶
func (r_ RenderCommandEncoderObject) HasWaitForFenceBeforeStages() bool
func (RenderCommandEncoderObject) MemoryBarrierWithResourcesCountAfterStagesBeforeStages ¶
func (r_ RenderCommandEncoderObject) MemoryBarrierWithResourcesCountAfterStagesBeforeStages(resources ResourceObject, count uint, after RenderStages, before RenderStages)
Creates a memory barrier that enforces the order of write and read operations for specific resources. Full Topic
func (RenderCommandEncoderObject) MemoryBarrierWithScopeAfterStagesBeforeStages ¶
func (r_ RenderCommandEncoderObject) MemoryBarrierWithScopeAfterStagesBeforeStages(scope BarrierScope, after RenderStages, before RenderStages)
Creates a memory barrier that enforces the order of write and read operations for specific resource types. Full Topic
func (RenderCommandEncoderObject) SampleCountersInBufferAtSampleIndexWithBarrier ¶
func (r_ RenderCommandEncoderObject) SampleCountersInBufferAtSampleIndexWithBarrier(sampleBuffer CounterSampleBufferObject, sampleIndex uint, barrier bool)
Encodes a command that samples hardware counters during the render pass and stores the data into a counter sample buffer. Full Topic
func (RenderCommandEncoderObject) SetBlendColorRedGreenBlueAlpha ¶
func (r_ RenderCommandEncoderObject) SetBlendColorRedGreenBlueAlpha(red float64, green float64, blue float64, alpha float64)
Configures each pixel component value, including alpha, for the render pipeline’s constant blend color. Full Topic
func (RenderCommandEncoderObject) SetColorStoreActionAtIndex ¶
func (r_ RenderCommandEncoderObject) SetColorStoreActionAtIndex(storeAction StoreAction, colorAttachmentIndex uint)
Configures the store action for a color attachment. Full Topic
func (RenderCommandEncoderObject) SetColorStoreActionOptionsAtIndex ¶
func (r_ RenderCommandEncoderObject) SetColorStoreActionOptionsAtIndex(storeActionOptions StoreActionOptions, colorAttachmentIndex uint)
Configures the store action options for a color attachment. Full Topic
func (RenderCommandEncoderObject) SetCullMode ¶
func (r_ RenderCommandEncoderObject) SetCullMode(cullMode CullMode)
Configures how the render pipeline determines which primitives to remove. Full Topic
func (RenderCommandEncoderObject) SetDepthBiasSlopeScaleClamp ¶
func (r_ RenderCommandEncoderObject) SetDepthBiasSlopeScaleClamp(depthBias float64, slopeScale float64, clamp float64)
Configures the adjustments a render pass applies to depth values from fragment functions by a scaling factor and bias. Full Topic
func (RenderCommandEncoderObject) SetDepthClipMode ¶
func (r_ RenderCommandEncoderObject) SetDepthClipMode(depthClipMode DepthClipMode)
Configures how the render pipeline handles fragments outside the near and far planes of the view frustum. Full Topic
func (RenderCommandEncoderObject) SetDepthStencilState ¶
func (r_ RenderCommandEncoderObject) SetDepthStencilState(depthStencilState DepthStencilStateObject)
Configures the combined depth and stencil state. Full Topic
func (RenderCommandEncoderObject) SetDepthStoreAction ¶
func (r_ RenderCommandEncoderObject) SetDepthStoreAction(storeAction StoreAction)
Configures the store action for the depth attachment. Full Topic
func (RenderCommandEncoderObject) SetDepthStoreActionOptions ¶
func (r_ RenderCommandEncoderObject) SetDepthStoreActionOptions(storeActionOptions StoreActionOptions)
Configures the store action options for the depth attachment. Full Topic
func (RenderCommandEncoderObject) SetFragmentAccelerationStructureAtBufferIndex ¶
func (r_ RenderCommandEncoderObject) SetFragmentAccelerationStructureAtBufferIndex(accelerationStructure AccelerationStructureObject, bufferIndex uint)
Assigns an acceleration structure to an entry in the fragment shader argument table. Full Topic
func (RenderCommandEncoderObject) SetFragmentBufferOffsetAtIndex ¶
func (r_ RenderCommandEncoderObject) SetFragmentBufferOffsetAtIndex(offset uint, index uint)
Updates an entry in the fragment shader argument table with a new location within the entry’s current buffer. Full Topic
func (RenderCommandEncoderObject) SetFragmentBufferOffsetAtIndex_ ¶
func (r_ RenderCommandEncoderObject) SetFragmentBufferOffsetAtIndex_(buffer BufferObject, offset uint, index uint)
Assigns a buffer to an entry in the fragment shader argument table. Full Topic
func (RenderCommandEncoderObject) SetFragmentBuffersOffsetsWithRange ¶
func (r_ RenderCommandEncoderObject) SetFragmentBuffersOffsetsWithRange(buffers BufferObject, offsets *uint, range_ foundation.Range)
Assigns multiple buffers to a range of entries in the fragment shader argument table. Full Topic
func (RenderCommandEncoderObject) SetFragmentBytesLengthAtIndex ¶
func (r_ RenderCommandEncoderObject) SetFragmentBytesLengthAtIndex(bytes unsafe.Pointer, length uint, index uint)
Creates a buffer from bytes and assigns it to an entry in the fragment shader argument table. Full Topic
func (RenderCommandEncoderObject) SetFragmentIntersectionFunctionTableAtBufferIndex ¶
func (r_ RenderCommandEncoderObject) SetFragmentIntersectionFunctionTableAtBufferIndex(intersectionFunctionTable IntersectionFunctionTableObject, bufferIndex uint)
Assigns an intersection function table to an entry in the fragment shader argument table. Full Topic
func (RenderCommandEncoderObject) SetFragmentIntersectionFunctionTablesWithBufferRange ¶
func (r_ RenderCommandEncoderObject) SetFragmentIntersectionFunctionTablesWithBufferRange(intersectionFunctionTables IntersectionFunctionTableObject, range_ foundation.Range)
Assigns multiple intersection function tables to a range of entries in the fragment shader argument table. Full Topic
func (RenderCommandEncoderObject) SetFragmentSamplerStateAtIndex ¶
func (r_ RenderCommandEncoderObject) SetFragmentSamplerStateAtIndex(sampler SamplerStateObject, index uint)
Assigns a sampler state to an entry in the fragment shader argument table. Full Topic
func (RenderCommandEncoderObject) SetFragmentSamplerStateLodMinClampLodMaxClampAtIndex ¶
func (r_ RenderCommandEncoderObject) SetFragmentSamplerStateLodMinClampLodMaxClampAtIndex(sampler SamplerStateObject, lodMinClamp float64, lodMaxClamp float64, index uint)
Assigns a sampler state and clamp values to an entry in the fragment shader argument table. Full Topic
func (RenderCommandEncoderObject) SetFragmentSamplerStatesLodMinClampsLodMaxClampsWithRange ¶
func (r_ RenderCommandEncoderObject) SetFragmentSamplerStatesLodMinClampsLodMaxClampsWithRange(samplers SamplerStateObject, lodMinClamps *float64, lodMaxClamps *float64, range_ foundation.Range)
Assigns multiple sampler states and clamp values to a range of entries in the fragment shader argument table. Full Topic
func (RenderCommandEncoderObject) SetFragmentSamplerStatesWithRange ¶
func (r_ RenderCommandEncoderObject) SetFragmentSamplerStatesWithRange(samplers SamplerStateObject, range_ foundation.Range)
Assigns multiple sampler states to a range of entries in the fragment shader argument table. Full Topic
func (RenderCommandEncoderObject) SetFragmentTextureAtIndex ¶
func (r_ RenderCommandEncoderObject) SetFragmentTextureAtIndex(texture TextureObject, index uint)
Assigns a texture to an entry in the fragment shader argument table. Full Topic
func (RenderCommandEncoderObject) SetFragmentTexturesWithRange ¶
func (r_ RenderCommandEncoderObject) SetFragmentTexturesWithRange(textures TextureObject, range_ foundation.Range)
Assigns multiple textures to a range of entries in the fragment shader argument table. Full Topic
func (RenderCommandEncoderObject) SetFragmentVisibleFunctionTableAtBufferIndex ¶
func (r_ RenderCommandEncoderObject) SetFragmentVisibleFunctionTableAtBufferIndex(functionTable VisibleFunctionTableObject, bufferIndex uint)
Assigns a visible function table to an entry in the fragment shader argument table. Full Topic
func (RenderCommandEncoderObject) SetFragmentVisibleFunctionTablesWithBufferRange ¶
func (r_ RenderCommandEncoderObject) SetFragmentVisibleFunctionTablesWithBufferRange(functionTables VisibleFunctionTableObject, range_ foundation.Range)
Assigns multiple visible function tables to a range of entries in the fragment shader argument table. Full Topic
func (RenderCommandEncoderObject) SetFrontFacingWinding ¶
func (r_ RenderCommandEncoderObject) SetFrontFacingWinding(frontFacingWinding Winding)
Configures which face of a primitive, such as a triangle, is the front. Full Topic
func (RenderCommandEncoderObject) SetRenderPipelineState ¶
func (r_ RenderCommandEncoderObject) SetRenderPipelineState(pipelineState RenderPipelineStateObject)
Configures the encoder with a render or tile pipeline state instance that applies to your subsequent draw commands. Full Topic
func (RenderCommandEncoderObject) SetScissorRect ¶
func (r_ RenderCommandEncoderObject) SetScissorRect(rect ScissorRect)
Configures a rectangle for the fragment scissor test. Full Topic
func (RenderCommandEncoderObject) SetScissorRectsCount ¶
func (r_ RenderCommandEncoderObject) SetScissorRectsCount(scissorRects *ScissorRect, count uint)
Configures multiple rectangles for the fragment scissor test. Full Topic
func (RenderCommandEncoderObject) SetStencilFrontReferenceValueBackReferenceValue ¶
func (r_ RenderCommandEncoderObject) SetStencilFrontReferenceValueBackReferenceValue(frontReferenceValue uint32, backReferenceValue uint32)
Configures different comparison values for front- and back-facing primitives. Full Topic
func (RenderCommandEncoderObject) SetStencilReferenceValue ¶
func (r_ RenderCommandEncoderObject) SetStencilReferenceValue(referenceValue uint32)
Configures the same comparison value for front- and back-facing primitives. Full Topic
func (RenderCommandEncoderObject) SetStencilStoreAction ¶
func (r_ RenderCommandEncoderObject) SetStencilStoreAction(storeAction StoreAction)
Configures the store action for the stencil attachment. Full Topic
func (RenderCommandEncoderObject) SetStencilStoreActionOptions ¶
func (r_ RenderCommandEncoderObject) SetStencilStoreActionOptions(storeActionOptions StoreActionOptions)
Configures the store action options for the stencil attachment. Full Topic
func (RenderCommandEncoderObject) SetTessellationFactorBufferOffsetInstanceStride ¶
func (r_ RenderCommandEncoderObject) SetTessellationFactorBufferOffsetInstanceStride(buffer BufferObject, offset uint, instanceStride uint)
Configures the per-patch tessellation factors for any subsequent patch-drawing commands. Full Topic
func (RenderCommandEncoderObject) SetTessellationFactorScale ¶
func (r_ RenderCommandEncoderObject) SetTessellationFactorScale(scale float64)
Configures the scale factor for per-patch tessellation factors. Full Topic
func (RenderCommandEncoderObject) SetThreadgroupMemoryLengthOffsetAtIndex ¶
func (r_ RenderCommandEncoderObject) SetThreadgroupMemoryLengthOffsetAtIndex(length uint, offset uint, index uint)
Configures the size of a threadgroup memory buffer for an entry in the fragment or tile shader argument table. Full Topic
func (RenderCommandEncoderObject) SetTileAccelerationStructureAtBufferIndex ¶
func (r_ RenderCommandEncoderObject) SetTileAccelerationStructureAtBufferIndex(accelerationStructure AccelerationStructureObject, bufferIndex uint)
Assigns an acceleration structure to an entry in the tile shader argument table. Full Topic
func (RenderCommandEncoderObject) SetTileBufferOffsetAtIndex ¶
func (r_ RenderCommandEncoderObject) SetTileBufferOffsetAtIndex(offset uint, index uint)
Updates an entry in the tile shader argument table with a new location within the entry’s current buffer. Full Topic
func (RenderCommandEncoderObject) SetTileBufferOffsetAtIndex_ ¶
func (r_ RenderCommandEncoderObject) SetTileBufferOffsetAtIndex_(buffer BufferObject, offset uint, index uint)
Assigns a buffer to an entry in the tile shader argument table. Full Topic
func (RenderCommandEncoderObject) SetTileBuffersOffsetsWithRange ¶
func (r_ RenderCommandEncoderObject) SetTileBuffersOffsetsWithRange(buffers BufferObject, offsets *uint, range_ foundation.Range)
Assigns multiple buffers to a range of entries in the tile shader argument table. Full Topic
func (RenderCommandEncoderObject) SetTileBytesLengthAtIndex ¶
func (r_ RenderCommandEncoderObject) SetTileBytesLengthAtIndex(bytes unsafe.Pointer, length uint, index uint)
Creates a buffer from bytes and assigns it to an entry in the tile shader argument table. Full Topic
func (RenderCommandEncoderObject) SetTileIntersectionFunctionTableAtBufferIndex ¶
func (r_ RenderCommandEncoderObject) SetTileIntersectionFunctionTableAtBufferIndex(intersectionFunctionTable IntersectionFunctionTableObject, bufferIndex uint)
Assigns an intersection function table to an entry in the tile shader argument table. Full Topic
func (RenderCommandEncoderObject) SetTileIntersectionFunctionTablesWithBufferRange ¶
func (r_ RenderCommandEncoderObject) SetTileIntersectionFunctionTablesWithBufferRange(intersectionFunctionTables IntersectionFunctionTableObject, range_ foundation.Range)
Assigns multiple intersection function tables to a range of entries in the tile shader argument table. Full Topic
func (RenderCommandEncoderObject) SetTileSamplerStateAtIndex ¶
func (r_ RenderCommandEncoderObject) SetTileSamplerStateAtIndex(sampler SamplerStateObject, index uint)
Assigns a sampler state to an entry in the tile shader argument table. Full Topic
func (RenderCommandEncoderObject) SetTileSamplerStateLodMinClampLodMaxClampAtIndex ¶
func (r_ RenderCommandEncoderObject) SetTileSamplerStateLodMinClampLodMaxClampAtIndex(sampler SamplerStateObject, lodMinClamp float64, lodMaxClamp float64, index uint)
Assigns a sampler state and clamp values to an entry in the tile shader argument table. Full Topic
func (RenderCommandEncoderObject) SetTileSamplerStatesLodMinClampsLodMaxClampsWithRange ¶
func (r_ RenderCommandEncoderObject) SetTileSamplerStatesLodMinClampsLodMaxClampsWithRange(samplers SamplerStateObject, lodMinClamps *float64, lodMaxClamps *float64, range_ foundation.Range)
Assigns multiple sampler states and clamp values to a range of entries in the tile shader argument table. Full Topic
func (RenderCommandEncoderObject) SetTileSamplerStatesWithRange ¶
func (r_ RenderCommandEncoderObject) SetTileSamplerStatesWithRange(samplers SamplerStateObject, range_ foundation.Range)
Assigns multiple sampler states to a range of entries in the tile shader argument table. Full Topic
func (RenderCommandEncoderObject) SetTileTextureAtIndex ¶
func (r_ RenderCommandEncoderObject) SetTileTextureAtIndex(texture TextureObject, index uint)
Assigns a texture to an entry in the tile shader argument table. Full Topic
func (RenderCommandEncoderObject) SetTileTexturesWithRange ¶
func (r_ RenderCommandEncoderObject) SetTileTexturesWithRange(textures TextureObject, range_ foundation.Range)
Assigns multiple textures to a range of entries in the tile shader argument table. Full Topic
func (RenderCommandEncoderObject) SetTileVisibleFunctionTableAtBufferIndex ¶
func (r_ RenderCommandEncoderObject) SetTileVisibleFunctionTableAtBufferIndex(functionTable VisibleFunctionTableObject, bufferIndex uint)
Assigns a visible function table to an entry in the tile shader argument table. Full Topic
func (RenderCommandEncoderObject) SetTileVisibleFunctionTablesWithBufferRange ¶
func (r_ RenderCommandEncoderObject) SetTileVisibleFunctionTablesWithBufferRange(functionTables VisibleFunctionTableObject, range_ foundation.Range)
Assigns multiple visible function tables to a range of entries in the tile shader argument table. Full Topic
func (RenderCommandEncoderObject) SetTriangleFillMode ¶
func (r_ RenderCommandEncoderObject) SetTriangleFillMode(fillMode TriangleFillMode)
Configures how subsequent draw commands rasterize triangle and triangle strip primitives. Full Topic
func (RenderCommandEncoderObject) SetVertexAccelerationStructureAtBufferIndex ¶
func (r_ RenderCommandEncoderObject) SetVertexAccelerationStructureAtBufferIndex(accelerationStructure AccelerationStructureObject, bufferIndex uint)
Assigns an acceleration structure to an entry in the vertex shader argument table. Full Topic
func (RenderCommandEncoderObject) SetVertexAmplificationCountViewMappings ¶
func (r_ RenderCommandEncoderObject) SetVertexAmplificationCountViewMappings(count uint, viewMappings *VertexAmplificationViewMapping)
Configures the number of output vertices the render pipeline produces for each input vertex, optionally with render target and viewport offsets. Full Topic
func (RenderCommandEncoderObject) SetVertexBufferOffsetAtIndex ¶
func (r_ RenderCommandEncoderObject) SetVertexBufferOffsetAtIndex(offset uint, index uint)
Updates an entry in the vertex shader argument table with a new location within the entry’s current buffer. Full Topic
func (RenderCommandEncoderObject) SetVertexBufferOffsetAtIndex_ ¶
func (r_ RenderCommandEncoderObject) SetVertexBufferOffsetAtIndex_(buffer BufferObject, offset uint, index uint)
Assigns a buffer to an entry in the vertex shader argument table. Full Topic
func (RenderCommandEncoderObject) SetVertexBuffersOffsetsWithRange ¶
func (r_ RenderCommandEncoderObject) SetVertexBuffersOffsetsWithRange(buffers BufferObject, offsets *uint, range_ foundation.Range)
Assigns multiple buffers to a range of entries in the vertex shader argument table. Full Topic
func (RenderCommandEncoderObject) SetVertexBytesLengthAtIndex ¶
func (r_ RenderCommandEncoderObject) SetVertexBytesLengthAtIndex(bytes unsafe.Pointer, length uint, index uint)
Creates a buffer from bytes and assigns it to an entry in the vertex shader argument table. Full Topic
func (RenderCommandEncoderObject) SetVertexIntersectionFunctionTableAtBufferIndex ¶
func (r_ RenderCommandEncoderObject) SetVertexIntersectionFunctionTableAtBufferIndex(intersectionFunctionTable IntersectionFunctionTableObject, bufferIndex uint)
Assigns an intersection function table to an entry in the vertex shader argument table. Full Topic
func (RenderCommandEncoderObject) SetVertexIntersectionFunctionTablesWithBufferRange ¶
func (r_ RenderCommandEncoderObject) SetVertexIntersectionFunctionTablesWithBufferRange(intersectionFunctionTables IntersectionFunctionTableObject, range_ foundation.Range)
Assigns multiple intersection function tables to a range of entries in the vertex shader argument table. Full Topic
func (RenderCommandEncoderObject) SetVertexSamplerStateAtIndex ¶
func (r_ RenderCommandEncoderObject) SetVertexSamplerStateAtIndex(sampler SamplerStateObject, index uint)
Assigns a sampler state to an entry in the vertex shader argument table. Full Topic
func (RenderCommandEncoderObject) SetVertexSamplerStateLodMinClampLodMaxClampAtIndex ¶
func (r_ RenderCommandEncoderObject) SetVertexSamplerStateLodMinClampLodMaxClampAtIndex(sampler SamplerStateObject, lodMinClamp float64, lodMaxClamp float64, index uint)
Assigns a sampler state and clamp values to an entry in the vertex shader argument table. Full Topic
func (RenderCommandEncoderObject) SetVertexSamplerStatesLodMinClampsLodMaxClampsWithRange ¶
func (r_ RenderCommandEncoderObject) SetVertexSamplerStatesLodMinClampsLodMaxClampsWithRange(samplers SamplerStateObject, lodMinClamps *float64, lodMaxClamps *float64, range_ foundation.Range)
Assigns multiple sampler states and clamp values to a range of entries in the vertex shader argument table. Full Topic
func (RenderCommandEncoderObject) SetVertexSamplerStatesWithRange ¶
func (r_ RenderCommandEncoderObject) SetVertexSamplerStatesWithRange(samplers SamplerStateObject, range_ foundation.Range)
Assigns multiple sampler states to a range of entries in the vertex shader argument table. Full Topic
func (RenderCommandEncoderObject) SetVertexTextureAtIndex ¶
func (r_ RenderCommandEncoderObject) SetVertexTextureAtIndex(texture TextureObject, index uint)
Assigns a texture to an entry in the vertex shader argument table. Full Topic
func (RenderCommandEncoderObject) SetVertexTexturesWithRange ¶
func (r_ RenderCommandEncoderObject) SetVertexTexturesWithRange(textures TextureObject, range_ foundation.Range)
Assigns multiple textures to a range of entries in the vertex shader argument table. Full Topic
func (RenderCommandEncoderObject) SetVertexVisibleFunctionTableAtBufferIndex ¶
func (r_ RenderCommandEncoderObject) SetVertexVisibleFunctionTableAtBufferIndex(functionTable VisibleFunctionTableObject, bufferIndex uint)
Assigns a visible function table to an entry in the vertex shader argument table. Full Topic
func (RenderCommandEncoderObject) SetVertexVisibleFunctionTablesWithBufferRange ¶
func (r_ RenderCommandEncoderObject) SetVertexVisibleFunctionTablesWithBufferRange(functionTables VisibleFunctionTableObject, range_ foundation.Range)
Assigns multiple visible function tables to a range of entries in the vertex shader argument table. Full Topic
func (RenderCommandEncoderObject) SetViewport ¶
func (r_ RenderCommandEncoderObject) SetViewport(viewport Viewport)
Configures the render pipeline with a viewport that applies a transformation and a clipping rectangle. Full Topic
func (RenderCommandEncoderObject) SetViewportsCount ¶
func (r_ RenderCommandEncoderObject) SetViewportsCount(viewports *Viewport, count uint)
Configures the render pipeline with multiple viewports that apply transformations and clipping rectangles. Full Topic
func (RenderCommandEncoderObject) SetVisibilityResultModeOffset ¶
func (r_ RenderCommandEncoderObject) SetVisibilityResultModeOffset(mode VisibilityResultMode, offset uint)
Configures which visibility test the GPU runs and the destination for any results it generates. Full Topic
func (RenderCommandEncoderObject) TileHeight ¶
func (r_ RenderCommandEncoderObject) TileHeight() uint
The height of the tiles, in pixels, for the render command encoder. Full Topic
func (RenderCommandEncoderObject) TileWidth ¶
func (r_ RenderCommandEncoderObject) TileWidth() uint
The width of the tiles, in pixels, for the render command encoder. Full Topic
func (RenderCommandEncoderObject) UpdateFenceAfterStages ¶
func (r_ RenderCommandEncoderObject) UpdateFenceAfterStages(fence FenceObject, stages RenderStages)
Encodes a command that instructs the GPU to update a fence after one or more stages, which signals passes waiting on the fence. Full Topic
func (RenderCommandEncoderObject) UseHeapStages ¶
func (r_ RenderCommandEncoderObject) UseHeapStages(heap HeapObject, stages RenderStages)
Ensures the shaders in the render pass’s subsequent draw commands have access to the resources you allocate from a heap. Full Topic
func (RenderCommandEncoderObject) UseHeapsCountStages ¶
func (r_ RenderCommandEncoderObject) UseHeapsCountStages(heaps HeapObject, count uint, stages RenderStages)
Ensures the shaders in the render pass’s subsequent draw commands have access to the resources you allocate from multiple heaps. Full Topic
func (RenderCommandEncoderObject) UseResourceUsageStages ¶
func (r_ RenderCommandEncoderObject) UseResourceUsageStages(resource ResourceObject, usage ResourceUsage, stages RenderStages)
Ensures the shaders in the render pass’s subsequent draw commands have access to a resource. Full Topic
func (RenderCommandEncoderObject) UseResourcesCountUsageStages ¶
func (r_ RenderCommandEncoderObject) UseResourcesCountUsageStages(resources ResourceObject, count uint, usage ResourceUsage, stages RenderStages)
Ensures the shaders in the render pass’s subsequent draw commands have access to multiple resources. Full Topic
func (RenderCommandEncoderObject) WaitForFenceBeforeStages ¶
func (r_ RenderCommandEncoderObject) WaitForFenceBeforeStages(fence FenceObject, stages RenderStages)
Encodes a command that instructs the GPU to pause before starting one or more stages of the render pass until a pass updates a fence. Full Topic
type RenderPassAttachmentDescriptor ¶
A render target that serves as the output destination for pixels generated by a render pass. Full Topic
func NewRenderPassAttachmentDescriptor ¶
func NewRenderPassAttachmentDescriptor() RenderPassAttachmentDescriptor
func RenderPassAttachmentDescriptorFrom ¶
func RenderPassAttachmentDescriptorFrom(ptr unsafe.Pointer) RenderPassAttachmentDescriptor
func (RenderPassAttachmentDescriptor) DepthPlane ¶
func (r_ RenderPassAttachmentDescriptor) DepthPlane() uint
The depth plane of the texture used for rendering to the attachment. Full Topic
func (RenderPassAttachmentDescriptor) Init ¶
func (r_ RenderPassAttachmentDescriptor) Init() RenderPassAttachmentDescriptor
func (RenderPassAttachmentDescriptor) Level ¶
func (r_ RenderPassAttachmentDescriptor) Level() uint
The mipmap level of the texture used for rendering to the attachment. Full Topic
func (RenderPassAttachmentDescriptor) LoadAction ¶
func (r_ RenderPassAttachmentDescriptor) LoadAction() LoadAction
The action performed by this attachment at the start of a rendering pass for a render command encoder. Full Topic
func (RenderPassAttachmentDescriptor) ResolveDepthPlane ¶
func (r_ RenderPassAttachmentDescriptor) ResolveDepthPlane() uint
The depth plane of the texture used for the multisample resolve action. Full Topic
func (RenderPassAttachmentDescriptor) ResolveLevel ¶
func (r_ RenderPassAttachmentDescriptor) ResolveLevel() uint
The mipmap level of the texture used for the multisample resolve action. Full Topic
func (RenderPassAttachmentDescriptor) ResolveSlice ¶
func (r_ RenderPassAttachmentDescriptor) ResolveSlice() uint
The slice of the texture used for the multisample resolve action. Full Topic
func (RenderPassAttachmentDescriptor) ResolveTexture ¶
func (r_ RenderPassAttachmentDescriptor) ResolveTexture() TextureObject
The destination texture used when resolving multisampled texture data into single sample values. Full Topic
func (RenderPassAttachmentDescriptor) SetDepthPlane ¶
func (r_ RenderPassAttachmentDescriptor) SetDepthPlane(value uint)
The depth plane of the texture used for rendering to the attachment. Full Topic
func (RenderPassAttachmentDescriptor) SetLevel ¶
func (r_ RenderPassAttachmentDescriptor) SetLevel(value uint)
The mipmap level of the texture used for rendering to the attachment. Full Topic
func (RenderPassAttachmentDescriptor) SetLoadAction ¶
func (r_ RenderPassAttachmentDescriptor) SetLoadAction(value LoadAction)
The action performed by this attachment at the start of a rendering pass for a render command encoder. Full Topic
func (RenderPassAttachmentDescriptor) SetResolveDepthPlane ¶
func (r_ RenderPassAttachmentDescriptor) SetResolveDepthPlane(value uint)
The depth plane of the texture used for the multisample resolve action. Full Topic
func (RenderPassAttachmentDescriptor) SetResolveLevel ¶
func (r_ RenderPassAttachmentDescriptor) SetResolveLevel(value uint)
The mipmap level of the texture used for the multisample resolve action. Full Topic
func (RenderPassAttachmentDescriptor) SetResolveSlice ¶
func (r_ RenderPassAttachmentDescriptor) SetResolveSlice(value uint)
The slice of the texture used for the multisample resolve action. Full Topic
func (RenderPassAttachmentDescriptor) SetResolveTexture ¶
func (r_ RenderPassAttachmentDescriptor) SetResolveTexture(value PTexture)
The destination texture used when resolving multisampled texture data into single sample values. Full Topic
func (RenderPassAttachmentDescriptor) SetResolveTextureObject ¶
func (r_ RenderPassAttachmentDescriptor) SetResolveTextureObject(valueObject objc.IObject)
The destination texture used when resolving multisampled texture data into single sample values. Full Topic
func (RenderPassAttachmentDescriptor) SetSlice ¶
func (r_ RenderPassAttachmentDescriptor) SetSlice(value uint)
The slice of the texture used for rendering to the attachment. Full Topic
func (RenderPassAttachmentDescriptor) SetStoreAction ¶
func (r_ RenderPassAttachmentDescriptor) SetStoreAction(value StoreAction)
The action performed by this attachment at the end of a rendering pass for a render command encoder. Full Topic
func (RenderPassAttachmentDescriptor) SetStoreActionOptions ¶
func (r_ RenderPassAttachmentDescriptor) SetStoreActionOptions(value StoreActionOptions)
The options that modify the store action performed by this attachment. Full Topic
func (RenderPassAttachmentDescriptor) SetTexture ¶
func (r_ RenderPassAttachmentDescriptor) SetTexture(value PTexture)
The texture object associated with this attachment. Full Topic
func (RenderPassAttachmentDescriptor) SetTextureObject ¶
func (r_ RenderPassAttachmentDescriptor) SetTextureObject(valueObject objc.IObject)
The texture object associated with this attachment. Full Topic
func (RenderPassAttachmentDescriptor) Slice ¶
func (r_ RenderPassAttachmentDescriptor) Slice() uint
The slice of the texture used for rendering to the attachment. Full Topic
func (RenderPassAttachmentDescriptor) StoreAction ¶
func (r_ RenderPassAttachmentDescriptor) StoreAction() StoreAction
The action performed by this attachment at the end of a rendering pass for a render command encoder. Full Topic
func (RenderPassAttachmentDescriptor) StoreActionOptions ¶
func (r_ RenderPassAttachmentDescriptor) StoreActionOptions() StoreActionOptions
The options that modify the store action performed by this attachment. Full Topic
func (RenderPassAttachmentDescriptor) Texture ¶
func (r_ RenderPassAttachmentDescriptor) Texture() TextureObject
The texture object associated with this attachment. Full Topic
type RenderPassColorAttachmentDescriptor ¶
type RenderPassColorAttachmentDescriptor struct {
RenderPassAttachmentDescriptor
}
A color render target that serves as the output destination for color pixels generated by a render pass. Full Topic
func NewRenderPassColorAttachmentDescriptor ¶
func NewRenderPassColorAttachmentDescriptor() RenderPassColorAttachmentDescriptor
func RenderPassColorAttachmentDescriptorFrom ¶
func RenderPassColorAttachmentDescriptorFrom(ptr unsafe.Pointer) RenderPassColorAttachmentDescriptor
func (RenderPassColorAttachmentDescriptor) ClearColor ¶
func (r_ RenderPassColorAttachmentDescriptor) ClearColor() ClearColor
The color to use when clearing the color attachment. Full Topic
func (RenderPassColorAttachmentDescriptor) Init ¶
func (r_ RenderPassColorAttachmentDescriptor) Init() RenderPassColorAttachmentDescriptor
func (RenderPassColorAttachmentDescriptor) SetClearColor ¶
func (r_ RenderPassColorAttachmentDescriptor) SetClearColor(value ClearColor)
The color to use when clearing the color attachment. Full Topic
type RenderPassColorAttachmentDescriptorArray ¶
An array of render pass color attachment descriptor objects. Full Topic
func NewRenderPassColorAttachmentDescriptorArray ¶
func NewRenderPassColorAttachmentDescriptorArray() RenderPassColorAttachmentDescriptorArray
func RenderPassColorAttachmentDescriptorArrayFrom ¶
func RenderPassColorAttachmentDescriptorArrayFrom(ptr unsafe.Pointer) RenderPassColorAttachmentDescriptorArray
func (RenderPassColorAttachmentDescriptorArray) ObjectAtIndexedSubscript ¶
func (r_ RenderPassColorAttachmentDescriptorArray) ObjectAtIndexedSubscript(attachmentIndex uint) RenderPassColorAttachmentDescriptor
Returns the descriptor object for the specified color attachment. Full Topic
func (RenderPassColorAttachmentDescriptorArray) SetObjectAtIndexedSubscript ¶
func (r_ RenderPassColorAttachmentDescriptorArray) SetObjectAtIndexedSubscript(attachment IRenderPassColorAttachmentDescriptor, attachmentIndex uint)
Sets the descriptor for the specified color attachment. Full Topic
type RenderPassDepthAttachmentDescriptor ¶
type RenderPassDepthAttachmentDescriptor struct {
RenderPassAttachmentDescriptor
}
A depth render target that serves as the output destination for depth pixels generated by a render pass. Full Topic
func NewRenderPassDepthAttachmentDescriptor ¶
func NewRenderPassDepthAttachmentDescriptor() RenderPassDepthAttachmentDescriptor
func RenderPassDepthAttachmentDescriptorFrom ¶
func RenderPassDepthAttachmentDescriptorFrom(ptr unsafe.Pointer) RenderPassDepthAttachmentDescriptor
func (RenderPassDepthAttachmentDescriptor) ClearDepth ¶
func (r_ RenderPassDepthAttachmentDescriptor) ClearDepth() float64
The depth to use when clearing the depth attachment. Full Topic
func (RenderPassDepthAttachmentDescriptor) DepthResolveFilter ¶
func (r_ RenderPassDepthAttachmentDescriptor) DepthResolveFilter() MultisampleDepthResolveFilter
The filter used for an MSAA depth resolve operation. Full Topic
func (RenderPassDepthAttachmentDescriptor) Init ¶
func (r_ RenderPassDepthAttachmentDescriptor) Init() RenderPassDepthAttachmentDescriptor
func (RenderPassDepthAttachmentDescriptor) SetClearDepth ¶
func (r_ RenderPassDepthAttachmentDescriptor) SetClearDepth(value float64)
The depth to use when clearing the depth attachment. Full Topic
func (RenderPassDepthAttachmentDescriptor) SetDepthResolveFilter ¶
func (r_ RenderPassDepthAttachmentDescriptor) SetDepthResolveFilter(value MultisampleDepthResolveFilter)
The filter used for an MSAA depth resolve operation. Full Topic
type RenderPassDescriptor ¶
A group of render targets that hold the results of a render pass. Full Topic
func NewRenderPassDescriptor ¶
func NewRenderPassDescriptor() RenderPassDescriptor
func RenderPassDescriptorFrom ¶
func RenderPassDescriptorFrom(ptr unsafe.Pointer) RenderPassDescriptor
func RenderPassDescriptor_RenderPassDescriptor ¶
func RenderPassDescriptor_RenderPassDescriptor() RenderPassDescriptor
Creates a default render pass descriptor. Full Topic
func (RenderPassDescriptor) ColorAttachments ¶
func (r_ RenderPassDescriptor) ColorAttachments() RenderPassColorAttachmentDescriptorArray
An array of state information for attachments that store color data. Full Topic
func (RenderPassDescriptor) DefaultRasterSampleCount ¶
func (r_ RenderPassDescriptor) DefaultRasterSampleCount() uint
The raster sample count for the render pass when the render pass doesn’t have explicit attachments. Full Topic
func (RenderPassDescriptor) DepthAttachment ¶
func (r_ RenderPassDescriptor) DepthAttachment() RenderPassDepthAttachmentDescriptor
State information for an attachment that stores depth data. Full Topic
func (RenderPassDescriptor) GetSamplePositionsCount ¶
func (r_ RenderPassDescriptor) GetSamplePositionsCount(positions *SamplePosition, count uint) uint
Retrieves the programmable sample positions set for a render pass. Full Topic
func (RenderPassDescriptor) ImageblockSampleLength ¶
func (r_ RenderPassDescriptor) ImageblockSampleLength() uint
The per-sample size, in bytes, of the largest explicit imageblock layout in the render pass. Full Topic
func (RenderPassDescriptor) Init ¶
func (r_ RenderPassDescriptor) Init() RenderPassDescriptor
func (RenderPassDescriptor) RasterizationRateMap ¶
func (r_ RenderPassDescriptor) RasterizationRateMap() RasterizationRateMapObject
The rasterization rate map to use when executing the render pass. Full Topic
func (RenderPassDescriptor) RenderTargetArrayLength ¶
func (r_ RenderPassDescriptor) RenderTargetArrayLength() uint
The number of active layers that all attachments must have for layered rendering. Full Topic
func (RenderPassDescriptor) RenderTargetHeight ¶
func (r_ RenderPassDescriptor) RenderTargetHeight() uint
The height, in pixels, to constrain the render target to. Full Topic
func (RenderPassDescriptor) RenderTargetWidth ¶
func (r_ RenderPassDescriptor) RenderTargetWidth() uint
The width, in pixels, to constrain the render target to. Full Topic
func (RenderPassDescriptor) SampleBufferAttachments ¶
func (r_ RenderPassDescriptor) SampleBufferAttachments() RenderPassSampleBufferAttachmentDescriptorArray
The array of sample buffers that the render pass can access. Full Topic
func (RenderPassDescriptor) SetDefaultRasterSampleCount ¶
func (r_ RenderPassDescriptor) SetDefaultRasterSampleCount(value uint)
The raster sample count for the render pass when the render pass doesn’t have explicit attachments. Full Topic
func (RenderPassDescriptor) SetDepthAttachment ¶
func (r_ RenderPassDescriptor) SetDepthAttachment(value IRenderPassDepthAttachmentDescriptor)
State information for an attachment that stores depth data. Full Topic
func (RenderPassDescriptor) SetImageblockSampleLength ¶
func (r_ RenderPassDescriptor) SetImageblockSampleLength(value uint)
The per-sample size, in bytes, of the largest explicit imageblock layout in the render pass. Full Topic
func (RenderPassDescriptor) SetRasterizationRateMap ¶
func (r_ RenderPassDescriptor) SetRasterizationRateMap(value PRasterizationRateMap)
The rasterization rate map to use when executing the render pass. Full Topic
func (RenderPassDescriptor) SetRasterizationRateMapObject ¶
func (r_ RenderPassDescriptor) SetRasterizationRateMapObject(valueObject objc.IObject)
The rasterization rate map to use when executing the render pass. Full Topic
func (RenderPassDescriptor) SetRenderTargetArrayLength ¶
func (r_ RenderPassDescriptor) SetRenderTargetArrayLength(value uint)
The number of active layers that all attachments must have for layered rendering. Full Topic
func (RenderPassDescriptor) SetRenderTargetHeight ¶
func (r_ RenderPassDescriptor) SetRenderTargetHeight(value uint)
The height, in pixels, to constrain the render target to. Full Topic
func (RenderPassDescriptor) SetRenderTargetWidth ¶
func (r_ RenderPassDescriptor) SetRenderTargetWidth(value uint)
The width, in pixels, to constrain the render target to. Full Topic
func (RenderPassDescriptor) SetSamplePositionsCount ¶
func (r_ RenderPassDescriptor) SetSamplePositionsCount(positions *SamplePosition, count uint)
Sets the programmable sample positions for a render pass. Full Topic
func (RenderPassDescriptor) SetStencilAttachment ¶
func (r_ RenderPassDescriptor) SetStencilAttachment(value IRenderPassStencilAttachmentDescriptor)
State information for an attachment that stores stencil data. Full Topic
func (RenderPassDescriptor) SetThreadgroupMemoryLength ¶
func (r_ RenderPassDescriptor) SetThreadgroupMemoryLength(value uint)
The per-tile size, in bytes, of the persistent threadgroup memory allocation. Full Topic
func (RenderPassDescriptor) SetTileHeight ¶
func (r_ RenderPassDescriptor) SetTileHeight(value uint)
The tile height, in pixels. Full Topic
func (RenderPassDescriptor) SetTileWidth ¶
func (r_ RenderPassDescriptor) SetTileWidth(value uint)
The tile width, in pixels. Full Topic
func (RenderPassDescriptor) SetVisibilityResultBuffer ¶
func (r_ RenderPassDescriptor) SetVisibilityResultBuffer(value PBuffer)
A buffer where the GPU writes visibility test results when fragments pass depth and stencil tests. Full Topic
func (RenderPassDescriptor) SetVisibilityResultBufferObject ¶
func (r_ RenderPassDescriptor) SetVisibilityResultBufferObject(valueObject objc.IObject)
A buffer where the GPU writes visibility test results when fragments pass depth and stencil tests. Full Topic
func (RenderPassDescriptor) StencilAttachment ¶
func (r_ RenderPassDescriptor) StencilAttachment() RenderPassStencilAttachmentDescriptor
State information for an attachment that stores stencil data. Full Topic
func (RenderPassDescriptor) ThreadgroupMemoryLength ¶
func (r_ RenderPassDescriptor) ThreadgroupMemoryLength() uint
The per-tile size, in bytes, of the persistent threadgroup memory allocation. Full Topic
func (RenderPassDescriptor) TileHeight ¶
func (r_ RenderPassDescriptor) TileHeight() uint
The tile height, in pixels. Full Topic
func (RenderPassDescriptor) TileWidth ¶
func (r_ RenderPassDescriptor) TileWidth() uint
The tile width, in pixels. Full Topic
func (RenderPassDescriptor) VisibilityResultBuffer ¶
func (r_ RenderPassDescriptor) VisibilityResultBuffer() BufferObject
A buffer where the GPU writes visibility test results when fragments pass depth and stencil tests. Full Topic
type RenderPassSampleBufferAttachmentDescriptor ¶
A description of where to store GPU counter information at the start and end of a render pass. Full Topic
func NewRenderPassSampleBufferAttachmentDescriptor ¶
func NewRenderPassSampleBufferAttachmentDescriptor() RenderPassSampleBufferAttachmentDescriptor
func RenderPassSampleBufferAttachmentDescriptorFrom ¶
func RenderPassSampleBufferAttachmentDescriptorFrom(ptr unsafe.Pointer) RenderPassSampleBufferAttachmentDescriptor
func (RenderPassSampleBufferAttachmentDescriptor) EndOfFragmentSampleIndex ¶
func (r_ RenderPassSampleBufferAttachmentDescriptor) EndOfFragmentSampleIndex() uint
The index the Metal device object should use to store GPU counters when ending the render pass’s fragment stage. Full Topic
func (RenderPassSampleBufferAttachmentDescriptor) EndOfVertexSampleIndex ¶
func (r_ RenderPassSampleBufferAttachmentDescriptor) EndOfVertexSampleIndex() uint
The index the Metal device object should use to store GPU counters when ending the render pass’s vertex stage. Full Topic
func (RenderPassSampleBufferAttachmentDescriptor) SampleBuffer ¶
func (r_ RenderPassSampleBufferAttachmentDescriptor) SampleBuffer() CounterSampleBufferObject
A specialized memory buffer that the GPU uses to store its counter data during the render pass. Full Topic
func (RenderPassSampleBufferAttachmentDescriptor) SetEndOfFragmentSampleIndex ¶
func (r_ RenderPassSampleBufferAttachmentDescriptor) SetEndOfFragmentSampleIndex(value uint)
The index the Metal device object should use to store GPU counters when ending the render pass’s fragment stage. Full Topic
func (RenderPassSampleBufferAttachmentDescriptor) SetEndOfVertexSampleIndex ¶
func (r_ RenderPassSampleBufferAttachmentDescriptor) SetEndOfVertexSampleIndex(value uint)
The index the Metal device object should use to store GPU counters when ending the render pass’s vertex stage. Full Topic
func (RenderPassSampleBufferAttachmentDescriptor) SetSampleBuffer ¶
func (r_ RenderPassSampleBufferAttachmentDescriptor) SetSampleBuffer(value PCounterSampleBuffer)
A specialized memory buffer that the GPU uses to store its counter data during the render pass. Full Topic
func (RenderPassSampleBufferAttachmentDescriptor) SetSampleBufferObject ¶
func (r_ RenderPassSampleBufferAttachmentDescriptor) SetSampleBufferObject(valueObject objc.IObject)
A specialized memory buffer that the GPU uses to store its counter data during the render pass. Full Topic
func (RenderPassSampleBufferAttachmentDescriptor) SetStartOfFragmentSampleIndex ¶
func (r_ RenderPassSampleBufferAttachmentDescriptor) SetStartOfFragmentSampleIndex(value uint)
The index the Metal device object should use to store GPU counters when starting the render pass’s fragment stage. Full Topic
func (RenderPassSampleBufferAttachmentDescriptor) SetStartOfVertexSampleIndex ¶
func (r_ RenderPassSampleBufferAttachmentDescriptor) SetStartOfVertexSampleIndex(value uint)
The index the Metal device object should use to store GPU counters when starting the render pass’s vertex stage. Full Topic
func (RenderPassSampleBufferAttachmentDescriptor) StartOfFragmentSampleIndex ¶
func (r_ RenderPassSampleBufferAttachmentDescriptor) StartOfFragmentSampleIndex() uint
The index the Metal device object should use to store GPU counters when starting the render pass’s fragment stage. Full Topic
func (RenderPassSampleBufferAttachmentDescriptor) StartOfVertexSampleIndex ¶
func (r_ RenderPassSampleBufferAttachmentDescriptor) StartOfVertexSampleIndex() uint
The index the Metal device object should use to store GPU counters when starting the render pass’s vertex stage. Full Topic
type RenderPassSampleBufferAttachmentDescriptorArray ¶
An array of sample buffer attachments for a render pass. Full Topic
func NewRenderPassSampleBufferAttachmentDescriptorArray ¶
func NewRenderPassSampleBufferAttachmentDescriptorArray() RenderPassSampleBufferAttachmentDescriptorArray
func RenderPassSampleBufferAttachmentDescriptorArrayFrom ¶
func RenderPassSampleBufferAttachmentDescriptorArrayFrom(ptr unsafe.Pointer) RenderPassSampleBufferAttachmentDescriptorArray
func (RenderPassSampleBufferAttachmentDescriptorArray) ObjectAtIndexedSubscript ¶
func (r_ RenderPassSampleBufferAttachmentDescriptorArray) ObjectAtIndexedSubscript(attachmentIndex uint) RenderPassSampleBufferAttachmentDescriptor
Returns the descriptor object for the specified sample buffer attachment. Full Topic
func (RenderPassSampleBufferAttachmentDescriptorArray) SetObjectAtIndexedSubscript ¶
func (r_ RenderPassSampleBufferAttachmentDescriptorArray) SetObjectAtIndexedSubscript(attachment IRenderPassSampleBufferAttachmentDescriptor, attachmentIndex uint)
Sets the descriptor object for the specified sample buffer attachment. Full Topic
type RenderPassStencilAttachmentDescriptor ¶
type RenderPassStencilAttachmentDescriptor struct {
RenderPassAttachmentDescriptor
}
A stencil render target that serves as the output destination for stencil pixels generated by a render pass. Full Topic
func NewRenderPassStencilAttachmentDescriptor ¶
func NewRenderPassStencilAttachmentDescriptor() RenderPassStencilAttachmentDescriptor
func RenderPassStencilAttachmentDescriptorFrom ¶
func RenderPassStencilAttachmentDescriptorFrom(ptr unsafe.Pointer) RenderPassStencilAttachmentDescriptor
func (RenderPassStencilAttachmentDescriptor) ClearStencil ¶
func (r_ RenderPassStencilAttachmentDescriptor) ClearStencil() uint32
The value to use when clearing the stencil attachment. Full Topic
func (RenderPassStencilAttachmentDescriptor) SetClearStencil ¶
func (r_ RenderPassStencilAttachmentDescriptor) SetClearStencil(value uint32)
The value to use when clearing the stencil attachment. Full Topic
func (RenderPassStencilAttachmentDescriptor) SetStencilResolveFilter ¶
func (r_ RenderPassStencilAttachmentDescriptor) SetStencilResolveFilter(value MultisampleStencilResolveFilter)
The filter used for stencil multisample resolve. Full Topic
func (RenderPassStencilAttachmentDescriptor) StencilResolveFilter ¶
func (r_ RenderPassStencilAttachmentDescriptor) StencilResolveFilter() MultisampleStencilResolveFilter
The filter used for stencil multisample resolve. Full Topic
type RenderPipelineColorAttachmentDescriptor ¶
A color render target that specifies the color configuration and color operations for a render pipeline. Full Topic
func NewRenderPipelineColorAttachmentDescriptor ¶
func NewRenderPipelineColorAttachmentDescriptor() RenderPipelineColorAttachmentDescriptor
func RenderPipelineColorAttachmentDescriptorFrom ¶
func RenderPipelineColorAttachmentDescriptorFrom(ptr unsafe.Pointer) RenderPipelineColorAttachmentDescriptor
func (RenderPipelineColorAttachmentDescriptor) AlphaBlendOperation ¶
func (r_ RenderPipelineColorAttachmentDescriptor) AlphaBlendOperation() BlendOperation
The blend operation assigned for the alpha data. Full Topic
func (RenderPipelineColorAttachmentDescriptor) DestinationAlphaBlendFactor ¶
func (r_ RenderPipelineColorAttachmentDescriptor) DestinationAlphaBlendFactor() BlendFactor
The destination blend factor (DBF) used by the alpha blend operation. Full Topic
func (RenderPipelineColorAttachmentDescriptor) DestinationRGBBlendFactor ¶
func (r_ RenderPipelineColorAttachmentDescriptor) DestinationRGBBlendFactor() BlendFactor
The destination blend factor (DBF) used by the RGB blend operation. Full Topic
func (RenderPipelineColorAttachmentDescriptor) IsBlendingEnabled ¶
func (r_ RenderPipelineColorAttachmentDescriptor) IsBlendingEnabled() bool
A Boolean value that determines whether blending is enabled. Full Topic
func (RenderPipelineColorAttachmentDescriptor) PixelFormat ¶
func (r_ RenderPipelineColorAttachmentDescriptor) PixelFormat() PixelFormat
The pixel format of the color attachment’s texture. Full Topic
func (RenderPipelineColorAttachmentDescriptor) RgbBlendOperation ¶
func (r_ RenderPipelineColorAttachmentDescriptor) RgbBlendOperation() BlendOperation
The blend operation assigned for the RGB data. Full Topic
func (RenderPipelineColorAttachmentDescriptor) SetAlphaBlendOperation ¶
func (r_ RenderPipelineColorAttachmentDescriptor) SetAlphaBlendOperation(value BlendOperation)
The blend operation assigned for the alpha data. Full Topic
func (RenderPipelineColorAttachmentDescriptor) SetBlendingEnabled ¶
func (r_ RenderPipelineColorAttachmentDescriptor) SetBlendingEnabled(value bool)
A Boolean value that determines whether blending is enabled. Full Topic
func (RenderPipelineColorAttachmentDescriptor) SetDestinationAlphaBlendFactor ¶
func (r_ RenderPipelineColorAttachmentDescriptor) SetDestinationAlphaBlendFactor(value BlendFactor)
The destination blend factor (DBF) used by the alpha blend operation. Full Topic
func (RenderPipelineColorAttachmentDescriptor) SetDestinationRGBBlendFactor ¶
func (r_ RenderPipelineColorAttachmentDescriptor) SetDestinationRGBBlendFactor(value BlendFactor)
The destination blend factor (DBF) used by the RGB blend operation. Full Topic
func (RenderPipelineColorAttachmentDescriptor) SetPixelFormat ¶
func (r_ RenderPipelineColorAttachmentDescriptor) SetPixelFormat(value PixelFormat)
The pixel format of the color attachment’s texture. Full Topic
func (RenderPipelineColorAttachmentDescriptor) SetRgbBlendOperation ¶
func (r_ RenderPipelineColorAttachmentDescriptor) SetRgbBlendOperation(value BlendOperation)
The blend operation assigned for the RGB data. Full Topic
func (RenderPipelineColorAttachmentDescriptor) SetSourceAlphaBlendFactor ¶
func (r_ RenderPipelineColorAttachmentDescriptor) SetSourceAlphaBlendFactor(value BlendFactor)
The source blend factor (SBF) used by the alpha blend operation. Full Topic
func (RenderPipelineColorAttachmentDescriptor) SetSourceRGBBlendFactor ¶
func (r_ RenderPipelineColorAttachmentDescriptor) SetSourceRGBBlendFactor(value BlendFactor)
The source blend factor (SBF) used by the RGB blend operation. Full Topic
func (RenderPipelineColorAttachmentDescriptor) SetWriteMask ¶
func (r_ RenderPipelineColorAttachmentDescriptor) SetWriteMask(value ColorWriteMask)
A bitmask that restricts which color channels are written into the texture. Full Topic
func (RenderPipelineColorAttachmentDescriptor) SourceAlphaBlendFactor ¶
func (r_ RenderPipelineColorAttachmentDescriptor) SourceAlphaBlendFactor() BlendFactor
The source blend factor (SBF) used by the alpha blend operation. Full Topic
func (RenderPipelineColorAttachmentDescriptor) SourceRGBBlendFactor ¶
func (r_ RenderPipelineColorAttachmentDescriptor) SourceRGBBlendFactor() BlendFactor
The source blend factor (SBF) used by the RGB blend operation. Full Topic
func (RenderPipelineColorAttachmentDescriptor) WriteMask ¶
func (r_ RenderPipelineColorAttachmentDescriptor) WriteMask() ColorWriteMask
A bitmask that restricts which color channels are written into the texture. Full Topic
type RenderPipelineColorAttachmentDescriptorArray ¶
An array of render pipeline color attachment descriptor objects. Full Topic
func NewRenderPipelineColorAttachmentDescriptorArray ¶
func NewRenderPipelineColorAttachmentDescriptorArray() RenderPipelineColorAttachmentDescriptorArray
func RenderPipelineColorAttachmentDescriptorArrayFrom ¶
func RenderPipelineColorAttachmentDescriptorArrayFrom(ptr unsafe.Pointer) RenderPipelineColorAttachmentDescriptorArray
func (RenderPipelineColorAttachmentDescriptorArray) ObjectAtIndexedSubscript ¶
func (r_ RenderPipelineColorAttachmentDescriptorArray) ObjectAtIndexedSubscript(attachmentIndex uint) RenderPipelineColorAttachmentDescriptor
Returns the render pipeline state for the specified color attachment. Full Topic
func (RenderPipelineColorAttachmentDescriptorArray) SetObjectAtIndexedSubscript ¶
func (r_ RenderPipelineColorAttachmentDescriptorArray) SetObjectAtIndexedSubscript(attachment IRenderPipelineColorAttachmentDescriptor, attachmentIndex uint)
Sets the render pipeline state for a specified color attachment. Full Topic
type RenderPipelineDescriptor ¶
An argument of options you pass to a GPU device to get a render pipeline state. Full Topic
func NewRenderPipelineDescriptor ¶
func NewRenderPipelineDescriptor() RenderPipelineDescriptor
func RenderPipelineDescriptorFrom ¶
func RenderPipelineDescriptorFrom(ptr unsafe.Pointer) RenderPipelineDescriptor
func (RenderPipelineDescriptor) BinaryArchives ¶
func (r_ RenderPipelineDescriptor) BinaryArchives() []BinaryArchiveObject
An array of binary archives to search for precompiled versions of the shader. Full Topic
func (RenderPipelineDescriptor) ColorAttachments ¶
func (r_ RenderPipelineDescriptor) ColorAttachments() RenderPipelineColorAttachmentDescriptorArray
An array of attachments that store color data. Full Topic
func (RenderPipelineDescriptor) DepthAttachmentPixelFormat ¶
func (r_ RenderPipelineDescriptor) DepthAttachmentPixelFormat() PixelFormat
The pixel format of the attachment that stores depth data. Full Topic
func (RenderPipelineDescriptor) FragmentBuffers ¶
func (r_ RenderPipelineDescriptor) FragmentBuffers() PipelineBufferDescriptorArray
An array that contains the buffer mutability options for a render pipeline's fragment function. Full Topic
func (RenderPipelineDescriptor) FragmentFunction ¶
func (r_ RenderPipelineDescriptor) FragmentFunction() FunctionObject
The fragment function the pipeline calls to process fragments. Full Topic
func (RenderPipelineDescriptor) FragmentLinkedFunctions ¶
func (r_ RenderPipelineDescriptor) FragmentLinkedFunctions() LinkedFunctions
Functions that you can specify as function arguments for the fragment shader when encoding commands that use the pipeline. Full Topic
func (RenderPipelineDescriptor) FragmentPreloadedLibraries ¶
func (r_ RenderPipelineDescriptor) FragmentPreloadedLibraries() []DynamicLibraryObject
[Full Topic]
func (RenderPipelineDescriptor) Init ¶
func (r_ RenderPipelineDescriptor) Init() RenderPipelineDescriptor
func (RenderPipelineDescriptor) InputPrimitiveTopology ¶
func (r_ RenderPipelineDescriptor) InputPrimitiveTopology() PrimitiveTopologyClass
The type of primitive topology the pipeline renders. Full Topic
func (RenderPipelineDescriptor) IsAlphaToCoverageEnabled ¶
func (r_ RenderPipelineDescriptor) IsAlphaToCoverageEnabled() bool
A Boolean value that indicates whether to read and use the alpha channel fragment output for color attachments to compute a sample coverage mask. Full Topic
func (RenderPipelineDescriptor) IsAlphaToOneEnabled ¶
func (r_ RenderPipelineDescriptor) IsAlphaToOneEnabled() bool
A Boolean value that indicates whether to force alpha channel values for color attachments to the largest representable value. Full Topic
func (RenderPipelineDescriptor) IsRasterizationEnabled ¶
func (r_ RenderPipelineDescriptor) IsRasterizationEnabled() bool
A Boolean value that determines whether the pipeline rasterizes primitives. Full Topic
func (RenderPipelineDescriptor) IsTessellationFactorScaleEnabled ¶
func (r_ RenderPipelineDescriptor) IsTessellationFactorScaleEnabled() bool
A Boolean value that determines whether the pipeline scales the tessellation factor. Full Topic
func (RenderPipelineDescriptor) Label ¶
func (r_ RenderPipelineDescriptor) Label() string
A string that identifies the render pipeline descriptor. Full Topic
func (RenderPipelineDescriptor) MaxFragmentCallStackDepth ¶
func (r_ RenderPipelineDescriptor) MaxFragmentCallStackDepth() uint
The maximum function call depth from the top-most fragment shader function. Full Topic
func (RenderPipelineDescriptor) MaxTessellationFactor ¶
func (r_ RenderPipelineDescriptor) MaxTessellationFactor() uint
The maximum tessellation factor that the tessellator uses when tessellating patches. Full Topic
func (RenderPipelineDescriptor) MaxVertexAmplificationCount ¶
func (r_ RenderPipelineDescriptor) MaxVertexAmplificationCount() uint
The maximum vertex amplification count you can set when encoding render commands. Full Topic
func (RenderPipelineDescriptor) MaxVertexCallStackDepth ¶
func (r_ RenderPipelineDescriptor) MaxVertexCallStackDepth() uint
The maximum function call depth from the top-most vertex shader function. Full Topic
func (RenderPipelineDescriptor) RasterSampleCount ¶
func (r_ RenderPipelineDescriptor) RasterSampleCount() uint
The number of samples the pipeline applies for each fragment. Full Topic
func (RenderPipelineDescriptor) Reset ¶
func (r_ RenderPipelineDescriptor) Reset()
Specifies the default rendering pipeline state values for the descriptor. Full Topic
func (RenderPipelineDescriptor) SetAlphaToCoverageEnabled ¶
func (r_ RenderPipelineDescriptor) SetAlphaToCoverageEnabled(value bool)
A Boolean value that indicates whether to read and use the alpha channel fragment output for color attachments to compute a sample coverage mask. Full Topic
func (RenderPipelineDescriptor) SetAlphaToOneEnabled ¶
func (r_ RenderPipelineDescriptor) SetAlphaToOneEnabled(value bool)
A Boolean value that indicates whether to force alpha channel values for color attachments to the largest representable value. Full Topic
func (RenderPipelineDescriptor) SetBinaryArchives ¶
func (r_ RenderPipelineDescriptor) SetBinaryArchives(value []PBinaryArchive)
An array of binary archives to search for precompiled versions of the shader. Full Topic
func (RenderPipelineDescriptor) SetDepthAttachmentPixelFormat ¶
func (r_ RenderPipelineDescriptor) SetDepthAttachmentPixelFormat(value PixelFormat)
The pixel format of the attachment that stores depth data. Full Topic
func (RenderPipelineDescriptor) SetFragmentFunction ¶
func (r_ RenderPipelineDescriptor) SetFragmentFunction(value PFunction)
The fragment function the pipeline calls to process fragments. Full Topic
func (RenderPipelineDescriptor) SetFragmentFunctionObject ¶
func (r_ RenderPipelineDescriptor) SetFragmentFunctionObject(valueObject objc.IObject)
The fragment function the pipeline calls to process fragments. Full Topic
func (RenderPipelineDescriptor) SetFragmentLinkedFunctions ¶
func (r_ RenderPipelineDescriptor) SetFragmentLinkedFunctions(value ILinkedFunctions)
Functions that you can specify as function arguments for the fragment shader when encoding commands that use the pipeline. Full Topic
func (RenderPipelineDescriptor) SetFragmentPreloadedLibraries ¶
func (r_ RenderPipelineDescriptor) SetFragmentPreloadedLibraries(value []PDynamicLibrary)
[Full Topic]
func (RenderPipelineDescriptor) SetInputPrimitiveTopology ¶
func (r_ RenderPipelineDescriptor) SetInputPrimitiveTopology(value PrimitiveTopologyClass)
The type of primitive topology the pipeline renders. Full Topic
func (RenderPipelineDescriptor) SetLabel ¶
func (r_ RenderPipelineDescriptor) SetLabel(value string)
A string that identifies the render pipeline descriptor. Full Topic
func (RenderPipelineDescriptor) SetMaxFragmentCallStackDepth ¶
func (r_ RenderPipelineDescriptor) SetMaxFragmentCallStackDepth(value uint)
The maximum function call depth from the top-most fragment shader function. Full Topic
func (RenderPipelineDescriptor) SetMaxTessellationFactor ¶
func (r_ RenderPipelineDescriptor) SetMaxTessellationFactor(value uint)
The maximum tessellation factor that the tessellator uses when tessellating patches. Full Topic
func (RenderPipelineDescriptor) SetMaxVertexAmplificationCount ¶
func (r_ RenderPipelineDescriptor) SetMaxVertexAmplificationCount(value uint)
The maximum vertex amplification count you can set when encoding render commands. Full Topic
func (RenderPipelineDescriptor) SetMaxVertexCallStackDepth ¶
func (r_ RenderPipelineDescriptor) SetMaxVertexCallStackDepth(value uint)
The maximum function call depth from the top-most vertex shader function. Full Topic
func (RenderPipelineDescriptor) SetRasterSampleCount ¶
func (r_ RenderPipelineDescriptor) SetRasterSampleCount(value uint)
The number of samples the pipeline applies for each fragment. Full Topic
func (RenderPipelineDescriptor) SetRasterizationEnabled ¶
func (r_ RenderPipelineDescriptor) SetRasterizationEnabled(value bool)
A Boolean value that determines whether the pipeline rasterizes primitives. Full Topic
func (RenderPipelineDescriptor) SetStencilAttachmentPixelFormat ¶
func (r_ RenderPipelineDescriptor) SetStencilAttachmentPixelFormat(value PixelFormat)
The pixel format of the attachment that stores stencil data. Full Topic
func (RenderPipelineDescriptor) SetSupportAddingFragmentBinaryFunctions ¶
func (r_ RenderPipelineDescriptor) SetSupportAddingFragmentBinaryFunctions(value bool)
A Boolean value that indicates whether you can use the pipeline to create new pipelines by adding binary functions to the fragment shader’s callable functions list. Full Topic
func (RenderPipelineDescriptor) SetSupportAddingVertexBinaryFunctions ¶
func (r_ RenderPipelineDescriptor) SetSupportAddingVertexBinaryFunctions(value bool)
A Boolean value that indicates whether you can use the pipeline to create new pipelines by adding binary functions to the vertex shader’s callable functions list. Full Topic
func (RenderPipelineDescriptor) SetSupportIndirectCommandBuffers ¶
func (r_ RenderPipelineDescriptor) SetSupportIndirectCommandBuffers(value bool)
A Boolean value that determines whether you can encode commands into an indirect command buffer using the render pipeline. Full Topic
func (RenderPipelineDescriptor) SetTessellationControlPointIndexType ¶
func (r_ RenderPipelineDescriptor) SetTessellationControlPointIndexType(value TessellationControlPointIndexType)
The size of the control point indices in a control point index buffer. Full Topic
func (RenderPipelineDescriptor) SetTessellationFactorFormat ¶
func (r_ RenderPipelineDescriptor) SetTessellationFactorFormat(value TessellationFactorFormat)
The format of the tessellation factors in the tessellation factor buffer. Full Topic
func (RenderPipelineDescriptor) SetTessellationFactorScaleEnabled ¶
func (r_ RenderPipelineDescriptor) SetTessellationFactorScaleEnabled(value bool)
A Boolean value that determines whether the pipeline scales the tessellation factor. Full Topic
func (RenderPipelineDescriptor) SetTessellationFactorStepFunction ¶
func (r_ RenderPipelineDescriptor) SetTessellationFactorStepFunction(value TessellationFactorStepFunction)
The step function for determining the tessellation factors for a patch from the tessellation factor buffer. Full Topic
func (RenderPipelineDescriptor) SetTessellationOutputWindingOrder ¶
func (r_ RenderPipelineDescriptor) SetTessellationOutputWindingOrder(value Winding)
The winding order of triangles from the tessellator. Full Topic
func (RenderPipelineDescriptor) SetTessellationPartitionMode ¶
func (r_ RenderPipelineDescriptor) SetTessellationPartitionMode(value TessellationPartitionMode)
The partitioning mode that the tessellator uses to derive the number and spacing of segments for subdividing a corresponding edge. Full Topic
func (RenderPipelineDescriptor) SetVertexDescriptor ¶
func (r_ RenderPipelineDescriptor) SetVertexDescriptor(value IVertexDescriptor)
The organization of vertex data in an attribute’s argument table. Full Topic
func (RenderPipelineDescriptor) SetVertexFunction ¶
func (r_ RenderPipelineDescriptor) SetVertexFunction(value PFunction)
The vertex function the pipeline calls to process vertices. Full Topic
func (RenderPipelineDescriptor) SetVertexFunctionObject ¶
func (r_ RenderPipelineDescriptor) SetVertexFunctionObject(valueObject objc.IObject)
The vertex function the pipeline calls to process vertices. Full Topic
func (RenderPipelineDescriptor) SetVertexLinkedFunctions ¶
func (r_ RenderPipelineDescriptor) SetVertexLinkedFunctions(value ILinkedFunctions)
Functions that you can specify as function arguments for the vertex shader when encoding commands that use the pipeline. Full Topic
func (RenderPipelineDescriptor) SetVertexPreloadedLibraries ¶
func (r_ RenderPipelineDescriptor) SetVertexPreloadedLibraries(value []PDynamicLibrary)
[Full Topic]
func (RenderPipelineDescriptor) StencilAttachmentPixelFormat ¶
func (r_ RenderPipelineDescriptor) StencilAttachmentPixelFormat() PixelFormat
The pixel format of the attachment that stores stencil data. Full Topic
func (RenderPipelineDescriptor) SupportAddingFragmentBinaryFunctions ¶
func (r_ RenderPipelineDescriptor) SupportAddingFragmentBinaryFunctions() bool
A Boolean value that indicates whether you can use the pipeline to create new pipelines by adding binary functions to the fragment shader’s callable functions list. Full Topic
func (RenderPipelineDescriptor) SupportAddingVertexBinaryFunctions ¶
func (r_ RenderPipelineDescriptor) SupportAddingVertexBinaryFunctions() bool
A Boolean value that indicates whether you can use the pipeline to create new pipelines by adding binary functions to the vertex shader’s callable functions list. Full Topic
func (RenderPipelineDescriptor) SupportIndirectCommandBuffers ¶
func (r_ RenderPipelineDescriptor) SupportIndirectCommandBuffers() bool
A Boolean value that determines whether you can encode commands into an indirect command buffer using the render pipeline. Full Topic
func (RenderPipelineDescriptor) TessellationControlPointIndexType ¶
func (r_ RenderPipelineDescriptor) TessellationControlPointIndexType() TessellationControlPointIndexType
The size of the control point indices in a control point index buffer. Full Topic
func (RenderPipelineDescriptor) TessellationFactorFormat ¶
func (r_ RenderPipelineDescriptor) TessellationFactorFormat() TessellationFactorFormat
The format of the tessellation factors in the tessellation factor buffer. Full Topic
func (RenderPipelineDescriptor) TessellationFactorStepFunction ¶
func (r_ RenderPipelineDescriptor) TessellationFactorStepFunction() TessellationFactorStepFunction
The step function for determining the tessellation factors for a patch from the tessellation factor buffer. Full Topic
func (RenderPipelineDescriptor) TessellationOutputWindingOrder ¶
func (r_ RenderPipelineDescriptor) TessellationOutputWindingOrder() Winding
The winding order of triangles from the tessellator. Full Topic
func (RenderPipelineDescriptor) TessellationPartitionMode ¶
func (r_ RenderPipelineDescriptor) TessellationPartitionMode() TessellationPartitionMode
The partitioning mode that the tessellator uses to derive the number and spacing of segments for subdividing a corresponding edge. Full Topic
func (RenderPipelineDescriptor) VertexBuffers ¶
func (r_ RenderPipelineDescriptor) VertexBuffers() PipelineBufferDescriptorArray
An array that contains the buffer mutability options for a render pipeline's vertex function. Full Topic
func (RenderPipelineDescriptor) VertexDescriptor ¶
func (r_ RenderPipelineDescriptor) VertexDescriptor() VertexDescriptor
The organization of vertex data in an attribute’s argument table. Full Topic
func (RenderPipelineDescriptor) VertexFunction ¶
func (r_ RenderPipelineDescriptor) VertexFunction() FunctionObject
The vertex function the pipeline calls to process vertices. Full Topic
func (RenderPipelineDescriptor) VertexLinkedFunctions ¶
func (r_ RenderPipelineDescriptor) VertexLinkedFunctions() LinkedFunctions
Functions that you can specify as function arguments for the vertex shader when encoding commands that use the pipeline. Full Topic
func (RenderPipelineDescriptor) VertexPreloadedLibraries ¶
func (r_ RenderPipelineDescriptor) VertexPreloadedLibraries() []DynamicLibraryObject
[Full Topic]
type RenderPipelineFunctionsDescriptor ¶
A collection of functions for updating a render pipeline. Full Topic
func NewRenderPipelineFunctionsDescriptor ¶
func NewRenderPipelineFunctionsDescriptor() RenderPipelineFunctionsDescriptor
func RenderPipelineFunctionsDescriptorFrom ¶
func RenderPipelineFunctionsDescriptorFrom(ptr unsafe.Pointer) RenderPipelineFunctionsDescriptor
func (RenderPipelineFunctionsDescriptor) FragmentAdditionalBinaryFunctions ¶
func (r_ RenderPipelineFunctionsDescriptor) FragmentAdditionalBinaryFunctions() []FunctionObject
The fragment functions to add to the render pipeline. Full Topic
func (RenderPipelineFunctionsDescriptor) Init ¶
func (r_ RenderPipelineFunctionsDescriptor) Init() RenderPipelineFunctionsDescriptor
func (RenderPipelineFunctionsDescriptor) SetFragmentAdditionalBinaryFunctions ¶
func (r_ RenderPipelineFunctionsDescriptor) SetFragmentAdditionalBinaryFunctions(value []PFunction)
The fragment functions to add to the render pipeline. Full Topic
func (RenderPipelineFunctionsDescriptor) SetTileAdditionalBinaryFunctions ¶
func (r_ RenderPipelineFunctionsDescriptor) SetTileAdditionalBinaryFunctions(value []PFunction)
The tile functions to add to the render pipeline. Full Topic
func (RenderPipelineFunctionsDescriptor) SetVertexAdditionalBinaryFunctions ¶
func (r_ RenderPipelineFunctionsDescriptor) SetVertexAdditionalBinaryFunctions(value []PFunction)
The vertex functions to add to the render pipeline. Full Topic
func (RenderPipelineFunctionsDescriptor) TileAdditionalBinaryFunctions ¶
func (r_ RenderPipelineFunctionsDescriptor) TileAdditionalBinaryFunctions() []FunctionObject
The tile functions to add to the render pipeline. Full Topic
func (RenderPipelineFunctionsDescriptor) VertexAdditionalBinaryFunctions ¶
func (r_ RenderPipelineFunctionsDescriptor) VertexAdditionalBinaryFunctions() []FunctionObject
The vertex functions to add to the render pipeline. Full Topic
type RenderPipelineReflection ¶
Information about the arguments of a graphics function. Full Topic
func NewRenderPipelineReflection ¶
func NewRenderPipelineReflection() RenderPipelineReflection
func RenderPipelineReflectionFrom ¶
func RenderPipelineReflectionFrom(ptr unsafe.Pointer) RenderPipelineReflection
func (RenderPipelineReflection) Init ¶
func (r_ RenderPipelineReflection) Init() RenderPipelineReflection
type RenderPipelineStateObject ¶
A concrete type for the PRenderPipelineState protocol.
func (RenderPipelineStateObject) Device ¶
func (r_ RenderPipelineStateObject) Device() DeviceObject
The device instance that creates the pipeline state. Full Topic
func (RenderPipelineStateObject) FunctionHandleWithFunctionStage ¶
func (r_ RenderPipelineStateObject) FunctionHandleWithFunctionStage(function FunctionObject, stage RenderStages) FunctionHandleObject
Creates a function handle for a shader. Full Topic
func (RenderPipelineStateObject) HasDevice ¶
func (r_ RenderPipelineStateObject) HasDevice() bool
func (RenderPipelineStateObject) HasFunctionHandleWithFunctionStage ¶
func (r_ RenderPipelineStateObject) HasFunctionHandleWithFunctionStage() bool
func (RenderPipelineStateObject) HasImageblockMemoryLengthForDimensions ¶
func (r_ RenderPipelineStateObject) HasImageblockMemoryLengthForDimensions() bool
func (RenderPipelineStateObject) HasImageblockSampleLength ¶
func (r_ RenderPipelineStateObject) HasImageblockSampleLength() bool
func (RenderPipelineStateObject) HasLabel ¶
func (r_ RenderPipelineStateObject) HasLabel() bool
func (RenderPipelineStateObject) HasMaxTotalThreadsPerThreadgroup ¶
func (r_ RenderPipelineStateObject) HasMaxTotalThreadsPerThreadgroup() bool
func (RenderPipelineStateObject) HasNewIntersectionFunctionTableWithDescriptorStage ¶
func (r_ RenderPipelineStateObject) HasNewIntersectionFunctionTableWithDescriptorStage() bool
func (RenderPipelineStateObject) HasNewRenderPipelineStateWithAdditionalBinaryFunctionsError ¶
func (r_ RenderPipelineStateObject) HasNewRenderPipelineStateWithAdditionalBinaryFunctionsError() bool
func (RenderPipelineStateObject) HasNewVisibleFunctionTableWithDescriptorStage ¶
func (r_ RenderPipelineStateObject) HasNewVisibleFunctionTableWithDescriptorStage() bool
func (RenderPipelineStateObject) HasSupportIndirectCommandBuffers ¶
func (r_ RenderPipelineStateObject) HasSupportIndirectCommandBuffers() bool
func (RenderPipelineStateObject) HasThreadgroupSizeMatchesTileSize ¶
func (r_ RenderPipelineStateObject) HasThreadgroupSizeMatchesTileSize() bool
func (RenderPipelineStateObject) ImageblockMemoryLengthForDimensions ¶
func (r_ RenderPipelineStateObject) ImageblockMemoryLengthForDimensions(imageblockDimensions Size) uint
Returns the length of an imageblock’s memory for the specified imageblock dimensions. Full Topic
func (RenderPipelineStateObject) ImageblockSampleLength ¶
func (r_ RenderPipelineStateObject) ImageblockSampleLength() uint
The memory size, in byes, of the render pipeline’s imageblock for a single sample. Full Topic
func (RenderPipelineStateObject) Label ¶
func (r_ RenderPipelineStateObject) Label() string
A string that helps you identify the render pipeline state during debugging. Full Topic
func (RenderPipelineStateObject) MaxTotalThreadsPerThreadgroup ¶
func (r_ RenderPipelineStateObject) MaxTotalThreadsPerThreadgroup() uint
The largest number of threads the pipeline state can have in a single tile shader threadgroup. Full Topic
func (RenderPipelineStateObject) NewIntersectionFunctionTableWithDescriptorStage ¶
func (r_ RenderPipelineStateObject) NewIntersectionFunctionTableWithDescriptorStage(descriptor IntersectionFunctionTableDescriptor, stage RenderStages) IntersectionFunctionTableObject
Creates a new intersection function table. Full Topic
func (RenderPipelineStateObject) NewRenderPipelineStateWithAdditionalBinaryFunctionsError ¶
func (r_ RenderPipelineStateObject) NewRenderPipelineStateWithAdditionalBinaryFunctionsError(additionalBinaryFunctions RenderPipelineFunctionsDescriptor, error foundation.Error) RenderPipelineStateObject
Creates a new pipeline state that’s a copy of the current pipeline state with additional shaders. Full Topic
func (RenderPipelineStateObject) NewVisibleFunctionTableWithDescriptorStage ¶
func (r_ RenderPipelineStateObject) NewVisibleFunctionTableWithDescriptorStage(descriptor VisibleFunctionTableDescriptor, stage RenderStages) VisibleFunctionTableObject
Creates a new visible function table. Full Topic
func (RenderPipelineStateObject) SupportIndirectCommandBuffers ¶
func (r_ RenderPipelineStateObject) SupportIndirectCommandBuffers() bool
A Boolean value that indicates whether the render pipeline supports encoding commands into an indirect command buffer. Full Topic
func (RenderPipelineStateObject) ThreadgroupSizeMatchesTileSize ¶
func (r_ RenderPipelineStateObject) ThreadgroupSizeMatchesTileSize() bool
A Boolean value that indicates whether the pipeline state needs a threadgroup’s size to equal a tile’s size. Full Topic
type RenderStages ¶
type RenderStages uint
The stages in a render pass that triggers a synchronization command. Full Topic
const ( RenderStageFragment RenderStages = 2 RenderStageTile RenderStages = 4 RenderStageVertex RenderStages = 1 )
type ResourceObject ¶
A concrete type for the PResource protocol.
func (ResourceObject) AllocatedSize ¶
func (r_ ResourceObject) AllocatedSize() uint
The size of the resource, in bytes. Full Topic
func (ResourceObject) CpuCacheMode ¶
func (r_ ResourceObject) CpuCacheMode() CPUCacheMode
The CPU cache mode that defines the CPU mapping of the resource. Full Topic
func (ResourceObject) Device ¶
func (r_ ResourceObject) Device() DeviceObject
The device object that created the resource. Full Topic
func (ResourceObject) HasAllocatedSize ¶
func (r_ ResourceObject) HasAllocatedSize() bool
func (ResourceObject) HasCpuCacheMode ¶
func (r_ ResourceObject) HasCpuCacheMode() bool
func (ResourceObject) HasDevice ¶
func (r_ ResourceObject) HasDevice() bool
func (ResourceObject) HasHazardTrackingMode ¶
func (r_ ResourceObject) HasHazardTrackingMode() bool
func (ResourceObject) HasHeap ¶
func (r_ ResourceObject) HasHeap() bool
func (ResourceObject) HasHeapOffset ¶
func (r_ ResourceObject) HasHeapOffset() bool
func (ResourceObject) HasIsAliasable ¶
func (r_ ResourceObject) HasIsAliasable() bool
func (ResourceObject) HasLabel ¶
func (r_ ResourceObject) HasLabel() bool
func (ResourceObject) HasMakeAliasable ¶
func (r_ ResourceObject) HasMakeAliasable() bool
func (ResourceObject) HasResourceOptions ¶
func (r_ ResourceObject) HasResourceOptions() bool
func (ResourceObject) HasSetLabel ¶
func (r_ ResourceObject) HasSetLabel() bool
func (ResourceObject) HasSetPurgeableState ¶
func (r_ ResourceObject) HasSetPurgeableState() bool
func (ResourceObject) HasStorageMode ¶
func (r_ ResourceObject) HasStorageMode() bool
func (ResourceObject) HazardTrackingMode ¶
func (r_ ResourceObject) HazardTrackingMode() HazardTrackingMode
A mode that determines whether Metal tracks and synchronizes resource access. Full Topic
func (ResourceObject) Heap ¶
func (r_ ResourceObject) Heap() HeapObject
The heap on which the resource is allocated, if any. Full Topic
func (ResourceObject) HeapOffset ¶
func (r_ ResourceObject) HeapOffset() uint
The distance, in bytes, from the beginning of the heap to the first byte of the resource, if you allocated the resource on a heap. Full Topic
func (ResourceObject) IsAliasable ¶
func (r_ ResourceObject) IsAliasable() bool
A Boolean value that indicates whether future heap resource allocations may alias against the resource’s memory. Full Topic
func (ResourceObject) Label ¶
func (r_ ResourceObject) Label() string
A string that identifies the resource. Full Topic
func (ResourceObject) MakeAliasable ¶
func (r_ ResourceObject) MakeAliasable()
Allows future heap resource allocations to alias against the resource’s memory. Full Topic
func (ResourceObject) ResourceOptions ¶
func (r_ ResourceObject) ResourceOptions() ResourceOptions
The storage mode, CPU cache mode, and hazard tracking mode of the resource. Full Topic
func (ResourceObject) SetLabel ¶
func (r_ ResourceObject) SetLabel(value string)
A string that identifies the resource. Full Topic
func (ResourceObject) SetPurgeableState ¶
func (r_ ResourceObject) SetPurgeableState(state PurgeableState) PurgeableState
Specifies or queries the resource’s purgeable state. Full Topic
func (ResourceObject) StorageMode ¶
func (r_ ResourceObject) StorageMode() StorageMode
The location and access permissions of the resource. Full Topic
type ResourceOptions ¶
type ResourceOptions uint
Optional arguments used to set the behavior of a resource. Full Topic
const ( ResourceCPUCacheModeDefaultCache ResourceOptions = 0 ResourceCPUCacheModeWriteCombined ResourceOptions = 1 ResourceHazardTrackingModeDefault ResourceOptions = 0 ResourceHazardTrackingModeTracked ResourceOptions = 512 ResourceHazardTrackingModeUntracked ResourceOptions = 256 ResourceOptionCPUCacheModeDefault ResourceOptions = 0 ResourceOptionCPUCacheModeWriteCombined ResourceOptions = 1 ResourceStorageModeManaged ResourceOptions = 16 ResourceStorageModeMemoryless ResourceOptions = 48 ResourceStorageModePrivate ResourceOptions = 32 )
type ResourceStateCommandEncoderObject ¶
A concrete type for the PResourceStateCommandEncoder protocol.
func (ResourceStateCommandEncoderObject) HasUpdateFence ¶
func (r_ ResourceStateCommandEncoderObject) HasUpdateFence() bool
func (ResourceStateCommandEncoderObject) HasUpdateTextureMappingModeIndirectBufferIndirectBufferOffset ¶
func (r_ ResourceStateCommandEncoderObject) HasUpdateTextureMappingModeIndirectBufferIndirectBufferOffset() bool
func (ResourceStateCommandEncoderObject) HasUpdateTextureMappingModeRegionMipLevelSlice ¶
func (r_ ResourceStateCommandEncoderObject) HasUpdateTextureMappingModeRegionMipLevelSlice() bool
func (ResourceStateCommandEncoderObject) HasUpdateTextureMappingsModeRegionsMipLevelsSlicesNumRegions ¶
func (r_ ResourceStateCommandEncoderObject) HasUpdateTextureMappingsModeRegionsMipLevelsSlicesNumRegions() bool
func (ResourceStateCommandEncoderObject) HasWaitForFence ¶
func (r_ ResourceStateCommandEncoderObject) HasWaitForFence() bool
func (ResourceStateCommandEncoderObject) UpdateFence ¶
func (r_ ResourceStateCommandEncoderObject) UpdateFence(fence FenceObject)
Updates the given fence to capture all GPU work that the command encoder has enqueued up to this point. Full Topic
func (ResourceStateCommandEncoderObject) UpdateTextureMappingModeIndirectBufferIndirectBufferOffset ¶
func (r_ ResourceStateCommandEncoderObject) UpdateTextureMappingModeIndirectBufferIndirectBufferOffset(texture TextureObject, mode SparseTextureMappingMode, indirectBuffer BufferObject, indirectBufferOffset uint)
Encodes a command to update a texture’s memory mappings, specifying the parameters indirectly. Full Topic
func (ResourceStateCommandEncoderObject) UpdateTextureMappingModeRegionMipLevelSlice ¶
func (r_ ResourceStateCommandEncoderObject) UpdateTextureMappingModeRegionMipLevelSlice(texture TextureObject, mode SparseTextureMappingMode, region Region, mipLevel uint, slice uint)
Encodes a command to update the texture mappings for a region in a single texture mipmap. Full Topic
func (ResourceStateCommandEncoderObject) UpdateTextureMappingsModeRegionsMipLevelsSlicesNumRegions ¶
func (r_ ResourceStateCommandEncoderObject) UpdateTextureMappingsModeRegionsMipLevelsSlicesNumRegions(texture TextureObject, mode SparseTextureMappingMode, regions *Region, mipLevels *uint, slices *uint, numRegions uint)
Encodes a command to update memory mappings for multiple regions inside a texture. Full Topic
func (ResourceStateCommandEncoderObject) WaitForFence ¶
func (r_ ResourceStateCommandEncoderObject) WaitForFence(fence FenceObject)
Prevents the command encoder from enqueuing further GPU commands until the given fence is reached. Full Topic
type ResourceStatePassDescriptor ¶
A configuration for a resource state pass, used to create a resource state command encoder. Full Topic
func NewResourceStatePassDescriptor ¶
func NewResourceStatePassDescriptor() ResourceStatePassDescriptor
func ResourceStatePassDescriptorFrom ¶
func ResourceStatePassDescriptorFrom(ptr unsafe.Pointer) ResourceStatePassDescriptor
func ResourceStatePassDescriptor_ResourceStatePassDescriptor ¶
func ResourceStatePassDescriptor_ResourceStatePassDescriptor() ResourceStatePassDescriptor
Creates a new resource state pass descriptor. Full Topic
func (ResourceStatePassDescriptor) Init ¶
func (r_ ResourceStatePassDescriptor) Init() ResourceStatePassDescriptor
func (ResourceStatePassDescriptor) SampleBufferAttachments ¶
func (r_ ResourceStatePassDescriptor) SampleBufferAttachments() ResourceStatePassSampleBufferAttachmentDescriptorArray
The array of sample buffers that the resource state pass can access. Full Topic
type ResourceStatePassSampleBufferAttachmentDescriptor ¶
A description of where to store GPU counter information at the start and end of a resource state pass. Full Topic
func NewResourceStatePassSampleBufferAttachmentDescriptor ¶
func NewResourceStatePassSampleBufferAttachmentDescriptor() ResourceStatePassSampleBufferAttachmentDescriptor
func ResourceStatePassSampleBufferAttachmentDescriptorFrom ¶
func ResourceStatePassSampleBufferAttachmentDescriptorFrom(ptr unsafe.Pointer) ResourceStatePassSampleBufferAttachmentDescriptor
func (ResourceStatePassSampleBufferAttachmentDescriptor) EndOfEncoderSampleIndex ¶
func (r_ ResourceStatePassSampleBufferAttachmentDescriptor) EndOfEncoderSampleIndex() uint
The index the Metal device object should use to store GPU counters when ending the resource state pass. Full Topic
func (ResourceStatePassSampleBufferAttachmentDescriptor) SampleBuffer ¶
func (r_ ResourceStatePassSampleBufferAttachmentDescriptor) SampleBuffer() CounterSampleBufferObject
A specialized memory buffer that the GPU uses to store its counter data during the resource state pass. Full Topic
func (ResourceStatePassSampleBufferAttachmentDescriptor) SetEndOfEncoderSampleIndex ¶
func (r_ ResourceStatePassSampleBufferAttachmentDescriptor) SetEndOfEncoderSampleIndex(value uint)
The index the Metal device object should use to store GPU counters when ending the resource state pass. Full Topic
func (ResourceStatePassSampleBufferAttachmentDescriptor) SetSampleBuffer ¶
func (r_ ResourceStatePassSampleBufferAttachmentDescriptor) SetSampleBuffer(value PCounterSampleBuffer)
A specialized memory buffer that the GPU uses to store its counter data during the resource state pass. Full Topic
func (ResourceStatePassSampleBufferAttachmentDescriptor) SetSampleBufferObject ¶
func (r_ ResourceStatePassSampleBufferAttachmentDescriptor) SetSampleBufferObject(valueObject objc.IObject)
A specialized memory buffer that the GPU uses to store its counter data during the resource state pass. Full Topic
func (ResourceStatePassSampleBufferAttachmentDescriptor) SetStartOfEncoderSampleIndex ¶
func (r_ ResourceStatePassSampleBufferAttachmentDescriptor) SetStartOfEncoderSampleIndex(value uint)
The index the Metal device object should use to store GPU counters when starting the resource state pass. Full Topic
func (ResourceStatePassSampleBufferAttachmentDescriptor) StartOfEncoderSampleIndex ¶
func (r_ ResourceStatePassSampleBufferAttachmentDescriptor) StartOfEncoderSampleIndex() uint
The index the Metal device object should use to store GPU counters when starting the resource state pass. Full Topic
type ResourceStatePassSampleBufferAttachmentDescriptorArray ¶
An array of sample buffer attachments for a resource state pass. Full Topic
func NewResourceStatePassSampleBufferAttachmentDescriptorArray ¶
func NewResourceStatePassSampleBufferAttachmentDescriptorArray() ResourceStatePassSampleBufferAttachmentDescriptorArray
func ResourceStatePassSampleBufferAttachmentDescriptorArrayFrom ¶
func ResourceStatePassSampleBufferAttachmentDescriptorArrayFrom(ptr unsafe.Pointer) ResourceStatePassSampleBufferAttachmentDescriptorArray
func (ResourceStatePassSampleBufferAttachmentDescriptorArray) ObjectAtIndexedSubscript ¶
func (r_ ResourceStatePassSampleBufferAttachmentDescriptorArray) ObjectAtIndexedSubscript(attachmentIndex uint) ResourceStatePassSampleBufferAttachmentDescriptor
Returns the descriptor object for the specified sample buffer attachment. Full Topic
func (ResourceStatePassSampleBufferAttachmentDescriptorArray) SetObjectAtIndexedSubscript ¶
func (r_ ResourceStatePassSampleBufferAttachmentDescriptorArray) SetObjectAtIndexedSubscript(attachment IResourceStatePassSampleBufferAttachmentDescriptor, attachmentIndex uint)
Sets the descriptor object for the specified sample buffer attachment. Full Topic
type ResourceUsage ¶
type ResourceUsage uint
Options that describe how a graphics or compute function uses an argument buffer’s resource. Full Topic
const ( ResourceUsageRead ResourceUsage = 1 ResourceUsageSample ResourceUsage = 4 ResourceUsageWrite ResourceUsage = 2 )
type SamplePosition ¶
A sample position on a subpixel grid. Full Topic
type SamplerAddressMode ¶
type SamplerAddressMode uint
Modes that determine the texture coordinate at each pixel when a fetch falls outside the bounds of a texture. Full Topic
const ( SamplerAddressModeClampToBorderColor SamplerAddressMode = 5 SamplerAddressModeClampToEdge SamplerAddressMode = 0 SamplerAddressModeClampToZero SamplerAddressMode = 4 SamplerAddressModeMirrorClampToEdge SamplerAddressMode = 1 SamplerAddressModeMirrorRepeat SamplerAddressMode = 3 SamplerAddressModeRepeat SamplerAddressMode = 2 )
type SamplerBorderColor ¶
type SamplerBorderColor uint
Values that determine the border color for clamped texture values when the sampler address mode is MTLSamplerAddressModeClampToBorderColor. Full Topic
const ( SamplerBorderColorOpaqueBlack SamplerBorderColor = 1 SamplerBorderColorOpaqueWhite SamplerBorderColor = 2 SamplerBorderColorTransparentBlack SamplerBorderColor = 0 )
type SamplerDescriptor ¶
An object that you use to configure a texture sampler. Full Topic
func NewSamplerDescriptor ¶
func NewSamplerDescriptor() SamplerDescriptor
func SamplerDescriptorFrom ¶
func SamplerDescriptorFrom(ptr unsafe.Pointer) SamplerDescriptor
func (SamplerDescriptor) BorderColor ¶
func (s_ SamplerDescriptor) BorderColor() SamplerBorderColor
The border color for clamped texture values. Full Topic
func (SamplerDescriptor) CompareFunction ¶
func (s_ SamplerDescriptor) CompareFunction() CompareFunction
The sampler comparison function used when performing a sample compare operation on a depth texture. Full Topic
func (SamplerDescriptor) Init ¶
func (s_ SamplerDescriptor) Init() SamplerDescriptor
func (SamplerDescriptor) Label ¶
func (s_ SamplerDescriptor) Label() string
A string that identifies the sampler. Full Topic
func (SamplerDescriptor) LodAverage ¶
func (s_ SamplerDescriptor) LodAverage() bool
A Boolean value that specifies whether the GPU can use an average level of detail (LOD) when sampling from a texture. Full Topic
func (SamplerDescriptor) LodMaxClamp ¶
func (s_ SamplerDescriptor) LodMaxClamp() float64
The maximum level of detail (LOD) to use when sampling from a texture. Full Topic
func (SamplerDescriptor) LodMinClamp ¶
func (s_ SamplerDescriptor) LodMinClamp() float64
The minimum level of detail (LOD) to use when sampling from a texture. Full Topic
func (SamplerDescriptor) MagFilter ¶
func (s_ SamplerDescriptor) MagFilter() SamplerMinMagFilter
The filtering operation for combining pixels within one mipmap level when the sample footprint is smaller than a pixel (magnification). Full Topic
func (SamplerDescriptor) MaxAnisotropy ¶
func (s_ SamplerDescriptor) MaxAnisotropy() uint
The number of samples that can be taken to improve the quality of sample footprints that are anisotropic. Full Topic
func (SamplerDescriptor) MinFilter ¶
func (s_ SamplerDescriptor) MinFilter() SamplerMinMagFilter
The filtering option for combining pixels within one mipmap level when the sample footprint is larger than a pixel (minification). Full Topic
func (SamplerDescriptor) MipFilter ¶
func (s_ SamplerDescriptor) MipFilter() SamplerMipFilter
The filtering option for combining pixels between two mipmap levels. Full Topic
func (SamplerDescriptor) NormalizedCoordinates ¶
func (s_ SamplerDescriptor) NormalizedCoordinates() bool
A Boolean value that indicates whether texture coordinates are normalized to the range [0.0, 1.0]. Full Topic
func (SamplerDescriptor) RAddressMode ¶
func (s_ SamplerDescriptor) RAddressMode() SamplerAddressMode
The address mode for the texture depth (r) coordinate. Full Topic
func (SamplerDescriptor) SAddressMode ¶
func (s_ SamplerDescriptor) SAddressMode() SamplerAddressMode
The address mode for the texture width (s) coordinate. Full Topic
func (SamplerDescriptor) SetBorderColor ¶
func (s_ SamplerDescriptor) SetBorderColor(value SamplerBorderColor)
The border color for clamped texture values. Full Topic
func (SamplerDescriptor) SetCompareFunction ¶
func (s_ SamplerDescriptor) SetCompareFunction(value CompareFunction)
The sampler comparison function used when performing a sample compare operation on a depth texture. Full Topic
func (SamplerDescriptor) SetLabel ¶
func (s_ SamplerDescriptor) SetLabel(value string)
A string that identifies the sampler. Full Topic
func (SamplerDescriptor) SetLodAverage ¶
func (s_ SamplerDescriptor) SetLodAverage(value bool)
A Boolean value that specifies whether the GPU can use an average level of detail (LOD) when sampling from a texture. Full Topic
func (SamplerDescriptor) SetLodMaxClamp ¶
func (s_ SamplerDescriptor) SetLodMaxClamp(value float64)
The maximum level of detail (LOD) to use when sampling from a texture. Full Topic
func (SamplerDescriptor) SetLodMinClamp ¶
func (s_ SamplerDescriptor) SetLodMinClamp(value float64)
The minimum level of detail (LOD) to use when sampling from a texture. Full Topic
func (SamplerDescriptor) SetMagFilter ¶
func (s_ SamplerDescriptor) SetMagFilter(value SamplerMinMagFilter)
The filtering operation for combining pixels within one mipmap level when the sample footprint is smaller than a pixel (magnification). Full Topic
func (SamplerDescriptor) SetMaxAnisotropy ¶
func (s_ SamplerDescriptor) SetMaxAnisotropy(value uint)
The number of samples that can be taken to improve the quality of sample footprints that are anisotropic. Full Topic
func (SamplerDescriptor) SetMinFilter ¶
func (s_ SamplerDescriptor) SetMinFilter(value SamplerMinMagFilter)
The filtering option for combining pixels within one mipmap level when the sample footprint is larger than a pixel (minification). Full Topic
func (SamplerDescriptor) SetMipFilter ¶
func (s_ SamplerDescriptor) SetMipFilter(value SamplerMipFilter)
The filtering option for combining pixels between two mipmap levels. Full Topic
func (SamplerDescriptor) SetNormalizedCoordinates ¶
func (s_ SamplerDescriptor) SetNormalizedCoordinates(value bool)
A Boolean value that indicates whether texture coordinates are normalized to the range [0.0, 1.0]. Full Topic
func (SamplerDescriptor) SetRAddressMode ¶
func (s_ SamplerDescriptor) SetRAddressMode(value SamplerAddressMode)
The address mode for the texture depth (r) coordinate. Full Topic
func (SamplerDescriptor) SetSAddressMode ¶
func (s_ SamplerDescriptor) SetSAddressMode(value SamplerAddressMode)
The address mode for the texture width (s) coordinate. Full Topic
func (SamplerDescriptor) SetSupportArgumentBuffers ¶
func (s_ SamplerDescriptor) SetSupportArgumentBuffers(value bool)
A Boolean value that specifies whether the sampler can be encoded into an argument buffer. Full Topic
func (SamplerDescriptor) SetTAddressMode ¶
func (s_ SamplerDescriptor) SetTAddressMode(value SamplerAddressMode)
The address mode for the texture height (t) coordinate. Full Topic
func (SamplerDescriptor) SupportArgumentBuffers ¶
func (s_ SamplerDescriptor) SupportArgumentBuffers() bool
A Boolean value that specifies whether the sampler can be encoded into an argument buffer. Full Topic
func (SamplerDescriptor) TAddressMode ¶
func (s_ SamplerDescriptor) TAddressMode() SamplerAddressMode
The address mode for the texture height (t) coordinate. Full Topic
type SamplerMinMagFilter ¶
type SamplerMinMagFilter uint
Filtering options for determining which pixel value is returned within a mipmap level. Full Topic
const ( SamplerMinMagFilterLinear SamplerMinMagFilter = 1 SamplerMinMagFilterNearest SamplerMinMagFilter = 0 )
type SamplerMipFilter ¶
type SamplerMipFilter uint
Filtering options for determining what pixel value is returned with multiple mipmap levels. Full Topic
const ( SamplerMipFilterLinear SamplerMipFilter = 2 SamplerMipFilterNearest SamplerMipFilter = 1 SamplerMipFilterNotMipmapped SamplerMipFilter = 0 )
type SamplerStateObject ¶
A concrete type for the PSamplerState protocol.
func (SamplerStateObject) Device ¶
func (s_ SamplerStateObject) Device() DeviceObject
The device object that created the sampler. Full Topic
func (SamplerStateObject) HasDevice ¶
func (s_ SamplerStateObject) HasDevice() bool
func (SamplerStateObject) HasLabel ¶
func (s_ SamplerStateObject) HasLabel() bool
func (SamplerStateObject) Label ¶
func (s_ SamplerStateObject) Label() string
A string that identifies the sampler. Full Topic
type ScissorRect ¶
A rectangle for the scissor fragment test. Full Topic
type SharedEventHandle ¶
type SharedEventHandle struct {
}An object you use to recreate a shareable event. Full Topic
func NewSharedEventHandle ¶
func NewSharedEventHandle() SharedEventHandle
func SharedEventHandleFrom ¶
func SharedEventHandleFrom(ptr unsafe.Pointer) SharedEventHandle
func (SharedEventHandle) Init ¶
func (s_ SharedEventHandle) Init() SharedEventHandle
func (SharedEventHandle) Label ¶
func (s_ SharedEventHandle) Label() string
A string that identifies the shareable event. Full Topic
type SharedEventListener ¶
type SharedEventListener struct {
}A listener for shareable event notifications. Full Topic
func NewSharedEventListener ¶
func NewSharedEventListener() SharedEventListener
func NewSharedEventListenerWithDispatchQueue ¶
func NewSharedEventListenerWithDispatchQueue(dispatchQueue dispatch.Queue) SharedEventListener
Creates a new shareable event listener with a specific dispatch queue. Full Topic
func SharedEventListenerFrom ¶
func SharedEventListenerFrom(ptr unsafe.Pointer) SharedEventListener
func (SharedEventListener) DispatchQueue ¶
func (s_ SharedEventListener) DispatchQueue() dispatch.Queue
The dispatch queue used to dispatch any notifications. Full Topic
func (SharedEventListener) Init ¶
func (s_ SharedEventListener) Init() SharedEventListener
func (SharedEventListener) InitWithDispatchQueue ¶
func (s_ SharedEventListener) InitWithDispatchQueue(dispatchQueue dispatch.Queue) SharedEventListener
type SharedEventNotificationBlock ¶
type SharedEventNotificationBlock = func(arg0 SharedEventObject, value uint64)
A block of code invoked after a shareable event’s signal value equals or exceeds a given value. Full Topic
type SharedEventObject ¶
type SharedEventObject struct {
}A concrete type for the PSharedEvent protocol.
func (SharedEventObject) HasNewSharedEventHandle ¶
func (s_ SharedEventObject) HasNewSharedEventHandle() bool
func (SharedEventObject) HasNotifyListenerAtValueBlock ¶
func (s_ SharedEventObject) HasNotifyListenerAtValueBlock() bool
func (SharedEventObject) HasSetSignaledValue ¶
func (s_ SharedEventObject) HasSetSignaledValue() bool
func (SharedEventObject) HasSignaledValue ¶
func (s_ SharedEventObject) HasSignaledValue() bool
func (SharedEventObject) NewSharedEventHandle ¶
func (s_ SharedEventObject) NewSharedEventHandle() SharedEventHandle
Creates a new shareable event handle. Full Topic
func (SharedEventObject) NotifyListenerAtValueBlock ¶
func (s_ SharedEventObject) NotifyListenerAtValueBlock(listener SharedEventListener, value uint64, block SharedEventNotificationBlock)
Schedules a notification handler to be called after the shareable event’s signal value equals or exceeds a given value. Full Topic
func (SharedEventObject) SetSignaledValue ¶
func (s_ SharedEventObject) SetSignaledValue(value uint64)
The current signal value for the shareable event. Full Topic
func (SharedEventObject) SignaledValue ¶
func (s_ SharedEventObject) SignaledValue() uint64
The current signal value for the shareable event. Full Topic
type SharedTextureHandle ¶
type SharedTextureHandle struct {
}A texture handle that can be shared across process address space boundaries. Full Topic
func NewSharedTextureHandle ¶
func NewSharedTextureHandle() SharedTextureHandle
func SharedTextureHandleFrom ¶
func SharedTextureHandleFrom(ptr unsafe.Pointer) SharedTextureHandle
func (SharedTextureHandle) Device ¶
func (s_ SharedTextureHandle) Device() DeviceObject
The device object that created the texture. Full Topic
func (SharedTextureHandle) Init ¶
func (s_ SharedTextureHandle) Init() SharedTextureHandle
func (SharedTextureHandle) Label ¶
func (s_ SharedTextureHandle) Label() string
A string that identifies the texture. Full Topic
type Size ¶
The dimensions of an object. Full Topic
type SizeAndAlign ¶
The size and alignment of a resource, in bytes. Full Topic
type SparseTextureMappingMode ¶
type SparseTextureMappingMode uint
Options for sparse texture mapping. Full Topic
const ( SparseTextureMappingModeMap SparseTextureMappingMode = 0 SparseTextureMappingModeUnmap SparseTextureMappingMode = 1 )
type SparseTextureRegionAlignmentMode ¶
type SparseTextureRegionAlignmentMode uint
Options used when converting between a pixel-based region within a texture to a tile-based region. Full Topic
const ( SparseTextureRegionAlignmentModeInward SparseTextureRegionAlignmentMode = 1 SparseTextureRegionAlignmentModeOutward SparseTextureRegionAlignmentMode = 0 )
type StageInRegionIndirectArguments ¶
The data layout required for the arguments needed to specify the stage-in region. Full Topic
type StageInputOutputDescriptor ¶
An object that describes the input and output data of a function. Full Topic
func NewStageInputOutputDescriptor ¶
func NewStageInputOutputDescriptor() StageInputOutputDescriptor
func StageInputOutputDescriptorFrom ¶
func StageInputOutputDescriptorFrom(ptr unsafe.Pointer) StageInputOutputDescriptor
func StageInputOutputDescriptor_StageInputOutputDescriptor ¶
func StageInputOutputDescriptor_StageInputOutputDescriptor() StageInputOutputDescriptor
[Full Topic]
func (StageInputOutputDescriptor) Attributes ¶
func (s_ StageInputOutputDescriptor) Attributes() AttributeDescriptorArray
An array that describes where and how to fetch data for the function. Full Topic
func (StageInputOutputDescriptor) IndexBufferIndex ¶
func (s_ StageInputOutputDescriptor) IndexBufferIndex() uint
The location of the index buffer for a compute function using indexed thread addressing. Full Topic
func (StageInputOutputDescriptor) IndexType ¶
func (s_ StageInputOutputDescriptor) IndexType() IndexType
The data type of the indices stored in the index buffer. Full Topic
func (StageInputOutputDescriptor) Init ¶
func (s_ StageInputOutputDescriptor) Init() StageInputOutputDescriptor
func (StageInputOutputDescriptor) Layouts ¶
func (s_ StageInputOutputDescriptor) Layouts() BufferLayoutDescriptorArray
An array that describes how data is fetched for the function. Full Topic
func (StageInputOutputDescriptor) Reset ¶
func (s_ StageInputOutputDescriptor) Reset()
Resets the default state for the descriptor. Full Topic
func (StageInputOutputDescriptor) SetIndexBufferIndex ¶
func (s_ StageInputOutputDescriptor) SetIndexBufferIndex(value uint)
The location of the index buffer for a compute function using indexed thread addressing. Full Topic
func (StageInputOutputDescriptor) SetIndexType ¶
func (s_ StageInputOutputDescriptor) SetIndexType(value IndexType)
The data type of the indices stored in the index buffer. Full Topic
type StencilDescriptor ¶
An object that defines the front-facing or back-facing stencil operations of a depth and stencil state object. Full Topic
func NewStencilDescriptor ¶
func NewStencilDescriptor() StencilDescriptor
func StencilDescriptorFrom ¶
func StencilDescriptorFrom(ptr unsafe.Pointer) StencilDescriptor
func (StencilDescriptor) DepthFailureOperation ¶
func (s_ StencilDescriptor) DepthFailureOperation() StencilOperation
The operation that is performed to update the values in the stencil attachment when the stencil test passes, but the depth test fails. Full Topic
func (StencilDescriptor) DepthStencilPassOperation ¶
func (s_ StencilDescriptor) DepthStencilPassOperation() StencilOperation
The operation that is performed to update the values in the stencil attachment when both the stencil test and the depth test pass. Full Topic
func (StencilDescriptor) Init ¶
func (s_ StencilDescriptor) Init() StencilDescriptor
func (StencilDescriptor) ReadMask ¶
func (s_ StencilDescriptor) ReadMask() uint32
A bitmask that determines from which bits that stencil comparison tests can read. Full Topic
func (StencilDescriptor) SetDepthFailureOperation ¶
func (s_ StencilDescriptor) SetDepthFailureOperation(value StencilOperation)
The operation that is performed to update the values in the stencil attachment when the stencil test passes, but the depth test fails. Full Topic
func (StencilDescriptor) SetDepthStencilPassOperation ¶
func (s_ StencilDescriptor) SetDepthStencilPassOperation(value StencilOperation)
The operation that is performed to update the values in the stencil attachment when both the stencil test and the depth test pass. Full Topic
func (StencilDescriptor) SetReadMask ¶
func (s_ StencilDescriptor) SetReadMask(value uint32)
A bitmask that determines from which bits that stencil comparison tests can read. Full Topic
func (StencilDescriptor) SetStencilCompareFunction ¶
func (s_ StencilDescriptor) SetStencilCompareFunction(value CompareFunction)
The comparison that is performed between the masked reference value and a masked value in the stencil attachment. Full Topic
func (StencilDescriptor) SetStencilFailureOperation ¶
func (s_ StencilDescriptor) SetStencilFailureOperation(value StencilOperation)
The operation that is performed to update the values in the stencil attachment when the stencil test fails. Full Topic
func (StencilDescriptor) SetWriteMask ¶
func (s_ StencilDescriptor) SetWriteMask(value uint32)
A bitmask that determines to which bits that stencil operations can write. Full Topic
func (StencilDescriptor) StencilCompareFunction ¶
func (s_ StencilDescriptor) StencilCompareFunction() CompareFunction
The comparison that is performed between the masked reference value and a masked value in the stencil attachment. Full Topic
func (StencilDescriptor) StencilFailureOperation ¶
func (s_ StencilDescriptor) StencilFailureOperation() StencilOperation
The operation that is performed to update the values in the stencil attachment when the stencil test fails. Full Topic
func (StencilDescriptor) WriteMask ¶
func (s_ StencilDescriptor) WriteMask() uint32
A bitmask that determines to which bits that stencil operations can write. Full Topic
type StencilOperation ¶
type StencilOperation uint
The operation performed on a currently stored stencil value when a comparison test passes or fails. Full Topic
const ( StencilOperationDecrementClamp StencilOperation = 4 StencilOperationDecrementWrap StencilOperation = 7 StencilOperationIncrementClamp StencilOperation = 3 StencilOperationIncrementWrap StencilOperation = 6 StencilOperationInvert StencilOperation = 5 StencilOperationKeep StencilOperation = 0 StencilOperationReplace StencilOperation = 2 StencilOperationZero StencilOperation = 1 )
type StepFunction ¶
type StepFunction uint
The frequency with which a function fetches attribute data. Full Topic
const ( StepFunctionConstant StepFunction = 0 StepFunctionPerInstance StepFunction = 2 StepFunctionPerPatch StepFunction = 3 StepFunctionPerPatchControlPoint StepFunction = 4 StepFunctionPerVertex StepFunction = 1 StepFunctionThreadPositionInGridX StepFunction = 5 StepFunctionThreadPositionInGridXIndexed StepFunction = 7 StepFunctionThreadPositionInGridY StepFunction = 6 StepFunctionThreadPositionInGridYIndexed StepFunction = 8 )
type StitchedLibraryDescriptor ¶
A description of a new library of procedurally generated functions. Full Topic
func NewStitchedLibraryDescriptor ¶
func NewStitchedLibraryDescriptor() StitchedLibraryDescriptor
func StitchedLibraryDescriptorFrom ¶
func StitchedLibraryDescriptorFrom(ptr unsafe.Pointer) StitchedLibraryDescriptor
func (StitchedLibraryDescriptor) FunctionGraphs ¶
func (s_ StitchedLibraryDescriptor) FunctionGraphs() []FunctionStitchingGraph
The function graphs that define the new stitched library’s functions. Full Topic
func (StitchedLibraryDescriptor) Functions ¶
func (s_ StitchedLibraryDescriptor) Functions() []FunctionObject
The list of functions for creating the stitched library. Full Topic
func (StitchedLibraryDescriptor) Init ¶
func (s_ StitchedLibraryDescriptor) Init() StitchedLibraryDescriptor
func (StitchedLibraryDescriptor) SetFunctionGraphs ¶
func (s_ StitchedLibraryDescriptor) SetFunctionGraphs(value []IFunctionStitchingGraph)
The function graphs that define the new stitched library’s functions. Full Topic
func (StitchedLibraryDescriptor) SetFunctions ¶
func (s_ StitchedLibraryDescriptor) SetFunctions(value []PFunction)
The list of functions for creating the stitched library. Full Topic
type StorageMode ¶
type StorageMode uint
Options for the memory location and access permissions for a resource. Full Topic
const ( StorageModeManaged StorageMode = 1 StorageModeMemoryless StorageMode = 3 StorageModePrivate StorageMode = 2 )
type StoreAction ¶
type StoreAction uint
Types of actions performed for an attachment at the end of a rendering pass. Full Topic
const ( StoreActionCustomSampleDepthStore StoreAction = 5 StoreActionDontCare StoreAction = 0 StoreActionMultisampleResolve StoreAction = 2 StoreActionStore StoreAction = 1 StoreActionStoreAndMultisampleResolve StoreAction = 3 StoreActionUnknown StoreAction = 4 )
type StoreActionOptions ¶
type StoreActionOptions uint
Options that modify a store action. Full Topic
const ( StoreActionOptionCustomSamplePositions StoreActionOptions = 1 StoreActionOptionNone StoreActionOptions = 0 )
type StructMember ¶
An object that provides information about a field in a structure. Full Topic
func NewStructMember ¶
func NewStructMember() StructMember
func StructMemberFrom ¶
func StructMemberFrom(ptr unsafe.Pointer) StructMember
func (StructMember) ArgumentIndex ¶
func (s_ StructMember) ArgumentIndex() uint
The index in the argument table that corresponds to the struct member. Full Topic
func (StructMember) ArrayType ¶
func (s_ StructMember) ArrayType() ArrayType
Provides a description of the underlying array when the struct member holds an array. Full Topic
func (StructMember) DataType ¶
func (s_ StructMember) DataType() DataType
The data type of the struct member. Full Topic
func (StructMember) Init ¶
func (s_ StructMember) Init() StructMember
func (StructMember) Name ¶
func (s_ StructMember) Name() string
The name of the struct member. Full Topic
func (StructMember) Offset ¶
func (s_ StructMember) Offset() uint
The location of this member relative to the start of its struct, in bytes. Full Topic
func (StructMember) PointerType ¶
func (s_ StructMember) PointerType() PointerType
Provides a description of the underlying pointer when the struct member holds a pointer. Full Topic
func (StructMember) StructType ¶
func (s_ StructMember) StructType() StructType
Provides a description of the underlying struct when the struct member holds a struct. Full Topic
func (StructMember) TextureReferenceType ¶
func (s_ StructMember) TextureReferenceType() TextureReferenceType
Provides a description of the underlying texture when the struct member holds a texture. Full Topic
type StructType ¶
type StructType struct {
Type
}
A description of a structure. Full Topic
func NewStructType ¶
func NewStructType() StructType
func StructTypeFrom ¶
func StructTypeFrom(ptr unsafe.Pointer) StructType
func (StructType) Init ¶
func (s_ StructType) Init() StructType
func (StructType) MemberByName ¶
func (s_ StructType) MemberByName(name string) StructMember
Provides a representation of a struct member. Full Topic
func (StructType) Members ¶
func (s_ StructType) Members() []StructMember
An array of objects that describe the fields in the struct. Full Topic
type TessellationControlPointIndexType ¶
type TessellationControlPointIndexType uint
Options for specifying the size of the control point indices in a control point index buffer. Full Topic
const ( TessellationControlPointIndexTypeNone TessellationControlPointIndexType = 0 TessellationControlPointIndexTypeUInt16 TessellationControlPointIndexType = 1 TessellationControlPointIndexTypeUInt32 TessellationControlPointIndexType = 2 )
type TessellationFactorFormat ¶
type TessellationFactorFormat uint
Options for specifying the format of the tessellation factors in a tessellation factor buffer. Full Topic
const (
TessellationFactorFormatHalf TessellationFactorFormat = 0
)
type TessellationFactorStepFunction ¶
type TessellationFactorStepFunction uint
Options for specifying the step function that determines the tessellation factors for a patch from the tessellation factor buffer. Full Topic
const ( TessellationFactorStepFunctionConstant TessellationFactorStepFunction = 0 TessellationFactorStepFunctionPerInstance TessellationFactorStepFunction = 2 TessellationFactorStepFunctionPerPatch TessellationFactorStepFunction = 1 TessellationFactorStepFunctionPerPatchAndPerInstance TessellationFactorStepFunction = 3 )
type TessellationPartitionMode ¶
type TessellationPartitionMode uint
Options for specifying the partitioning mode that the tessellator uses to derive the number and spacing of segments for subdividing a corresponding edge. Full Topic
const ( TessellationPartitionModeFractionalEven TessellationPartitionMode = 3 TessellationPartitionModeFractionalOdd TessellationPartitionMode = 2 TessellationPartitionModeInteger TessellationPartitionMode = 1 TessellationPartitionModePow2 TessellationPartitionMode = 0 )
type TextureDescriptor ¶
An object that you use to configure new Metal texture objects. Full Topic
func NewTextureDescriptor ¶
func NewTextureDescriptor() TextureDescriptor
func TextureDescriptorFrom ¶
func TextureDescriptorFrom(ptr unsafe.Pointer) TextureDescriptor
func TextureDescriptor_Texture2DDescriptorWithPixelFormatWidthHeightMipmapped ¶
func TextureDescriptor_Texture2DDescriptorWithPixelFormatWidthHeightMipmapped(pixelFormat PixelFormat, width uint, height uint, mipmapped bool) TextureDescriptor
Creates a texture descriptor object for a 2D texture. Full Topic
func TextureDescriptor_TextureBufferDescriptorWithPixelFormatWidthResourceOptionsUsage ¶
func TextureDescriptor_TextureBufferDescriptorWithPixelFormatWidthResourceOptionsUsage(pixelFormat PixelFormat, width uint, resourceOptions ResourceOptions, usage TextureUsage) TextureDescriptor
Creates a texture descriptor object for a texture buffer. Full Topic
func TextureDescriptor_TextureCubeDescriptorWithPixelFormatSizeMipmapped ¶
func TextureDescriptor_TextureCubeDescriptorWithPixelFormatSizeMipmapped(pixelFormat PixelFormat, size uint, mipmapped bool) TextureDescriptor
Creates a texture descriptor object for a cube texture. Full Topic
func (TextureDescriptor) AllowGPUOptimizedContents ¶
func (t_ TextureDescriptor) AllowGPUOptimizedContents() bool
A Boolean value indicating whether the GPU is allowed to adjust the texture's contents to improve GPU performance. Full Topic
func (TextureDescriptor) ArrayLength ¶
func (t_ TextureDescriptor) ArrayLength() uint
The number of array elements for this texture. Full Topic
func (TextureDescriptor) CompressionType ¶
func (t_ TextureDescriptor) CompressionType() TextureCompressionType
[Full Topic]
func (TextureDescriptor) CpuCacheMode ¶
func (t_ TextureDescriptor) CpuCacheMode() CPUCacheMode
The CPU cache mode used for the CPU mapping of the texture. Full Topic
func (TextureDescriptor) Depth ¶
func (t_ TextureDescriptor) Depth() uint
The depth of the texture image for the base level mipmap, in pixels. Full Topic
func (TextureDescriptor) HazardTrackingMode ¶
func (t_ TextureDescriptor) HazardTrackingMode() HazardTrackingMode
The texture's hazard tracking mode. Full Topic
func (TextureDescriptor) Height ¶
func (t_ TextureDescriptor) Height() uint
The height of the texture image for the base level mipmap, in pixels. Full Topic
func (TextureDescriptor) Init ¶
func (t_ TextureDescriptor) Init() TextureDescriptor
func (TextureDescriptor) MipmapLevelCount ¶
func (t_ TextureDescriptor) MipmapLevelCount() uint
The number of mipmap levels for this texture. Full Topic
func (TextureDescriptor) PixelFormat ¶
func (t_ TextureDescriptor) PixelFormat() PixelFormat
The size and bit layout of all pixels in the texture. Full Topic
func (TextureDescriptor) ResourceOptions ¶
func (t_ TextureDescriptor) ResourceOptions() ResourceOptions
The behavior of a new memory allocation. Full Topic
func (TextureDescriptor) SampleCount ¶
func (t_ TextureDescriptor) SampleCount() uint
The number of samples in each fragment. Full Topic
func (TextureDescriptor) SetAllowGPUOptimizedContents ¶
func (t_ TextureDescriptor) SetAllowGPUOptimizedContents(value bool)
A Boolean value indicating whether the GPU is allowed to adjust the texture's contents to improve GPU performance. Full Topic
func (TextureDescriptor) SetArrayLength ¶
func (t_ TextureDescriptor) SetArrayLength(value uint)
The number of array elements for this texture. Full Topic
func (TextureDescriptor) SetCompressionType ¶
func (t_ TextureDescriptor) SetCompressionType(value TextureCompressionType)
[Full Topic]
func (TextureDescriptor) SetCpuCacheMode ¶
func (t_ TextureDescriptor) SetCpuCacheMode(value CPUCacheMode)
The CPU cache mode used for the CPU mapping of the texture. Full Topic
func (TextureDescriptor) SetDepth ¶
func (t_ TextureDescriptor) SetDepth(value uint)
The depth of the texture image for the base level mipmap, in pixels. Full Topic
func (TextureDescriptor) SetHazardTrackingMode ¶
func (t_ TextureDescriptor) SetHazardTrackingMode(value HazardTrackingMode)
The texture's hazard tracking mode. Full Topic
func (TextureDescriptor) SetHeight ¶
func (t_ TextureDescriptor) SetHeight(value uint)
The height of the texture image for the base level mipmap, in pixels. Full Topic
func (TextureDescriptor) SetMipmapLevelCount ¶
func (t_ TextureDescriptor) SetMipmapLevelCount(value uint)
The number of mipmap levels for this texture. Full Topic
func (TextureDescriptor) SetPixelFormat ¶
func (t_ TextureDescriptor) SetPixelFormat(value PixelFormat)
The size and bit layout of all pixels in the texture. Full Topic
func (TextureDescriptor) SetResourceOptions ¶
func (t_ TextureDescriptor) SetResourceOptions(value ResourceOptions)
The behavior of a new memory allocation. Full Topic
func (TextureDescriptor) SetSampleCount ¶
func (t_ TextureDescriptor) SetSampleCount(value uint)
The number of samples in each fragment. Full Topic
func (TextureDescriptor) SetStorageMode ¶
func (t_ TextureDescriptor) SetStorageMode(value StorageMode)
The location and access permissions of the texture. Full Topic
func (TextureDescriptor) SetSwizzle ¶
func (t_ TextureDescriptor) SetSwizzle(value TextureSwizzleChannels)
The pattern you want the GPU to apply to pixels when you read or sample pixels from the texture. Full Topic
func (TextureDescriptor) SetTextureType ¶
func (t_ TextureDescriptor) SetTextureType(value TextureType)
The dimension and arrangement of texture image data. Full Topic
func (TextureDescriptor) SetUsage ¶
func (t_ TextureDescriptor) SetUsage(value TextureUsage)
Options that determine how you can use the texture. Full Topic
func (TextureDescriptor) SetWidth ¶
func (t_ TextureDescriptor) SetWidth(value uint)
The width of the texture image for the base level mipmap, in pixels. Full Topic
func (TextureDescriptor) StorageMode ¶
func (t_ TextureDescriptor) StorageMode() StorageMode
The location and access permissions of the texture. Full Topic
func (TextureDescriptor) Swizzle ¶
func (t_ TextureDescriptor) Swizzle() TextureSwizzleChannels
The pattern you want the GPU to apply to pixels when you read or sample pixels from the texture. Full Topic
func (TextureDescriptor) TextureType ¶
func (t_ TextureDescriptor) TextureType() TextureType
The dimension and arrangement of texture image data. Full Topic
func (TextureDescriptor) Usage ¶
func (t_ TextureDescriptor) Usage() TextureUsage
Options that determine how you can use the texture. Full Topic
func (TextureDescriptor) Width ¶
func (t_ TextureDescriptor) Width() uint
The width of the texture image for the base level mipmap, in pixels. Full Topic
type TextureObject ¶
A concrete type for the PTexture protocol.
func (TextureObject) AllowGPUOptimizedContents ¶
func (t_ TextureObject) AllowGPUOptimizedContents() bool
A Boolean value indicating whether the GPU is allowed to adjust the contents of the texture to improve GPU performance. Full Topic
func (TextureObject) ArrayLength ¶
func (t_ TextureObject) ArrayLength() uint
The number of slices in the texture array. Full Topic
func (TextureObject) Buffer ¶
func (t_ TextureObject) Buffer() BufferObject
The source buffer used to create this texture, if any. Full Topic
func (TextureObject) BufferBytesPerRow ¶
func (t_ TextureObject) BufferBytesPerRow() uint
The number of bytes in each row of the texture’s source buffer. Full Topic
func (TextureObject) BufferOffset ¶
func (t_ TextureObject) BufferOffset() uint
The offset in the source buffer where the texture’s data comes from. Full Topic
func (TextureObject) CompressionType ¶
func (t_ TextureObject) CompressionType() TextureCompressionType
[Full Topic]
func (TextureObject) Depth ¶
func (t_ TextureObject) Depth() uint
The depth of the texture image for the base level mipmap, in pixels. Full Topic
func (TextureObject) FirstMipmapInTail ¶
func (t_ TextureObject) FirstMipmapInTail() uint
The index of the first mipmap in the tail. Full Topic
func (TextureObject) GetBytesBytesPerRowBytesPerImageFromRegionMipmapLevelSlice ¶
func (t_ TextureObject) GetBytesBytesPerRowBytesPerImageFromRegionMipmapLevelSlice(pixelBytes unsafe.Pointer, bytesPerRow uint, bytesPerImage uint, region Region, level uint, slice uint)
Copies pixel data from the texture to a buffer in system memory. Full Topic
func (TextureObject) GetBytesBytesPerRowFromRegionMipmapLevel ¶
func (t_ TextureObject) GetBytesBytesPerRowFromRegionMipmapLevel(pixelBytes unsafe.Pointer, bytesPerRow uint, region Region, level uint)
Copies pixel data from the first slice of the texture to a buffer in system memory. Full Topic
func (TextureObject) HasAllowGPUOptimizedContents ¶
func (t_ TextureObject) HasAllowGPUOptimizedContents() bool
func (TextureObject) HasArrayLength ¶
func (t_ TextureObject) HasArrayLength() bool
func (TextureObject) HasBuffer ¶
func (t_ TextureObject) HasBuffer() bool
func (TextureObject) HasBufferBytesPerRow ¶
func (t_ TextureObject) HasBufferBytesPerRow() bool
func (TextureObject) HasBufferOffset ¶
func (t_ TextureObject) HasBufferOffset() bool
func (TextureObject) HasCompressionType ¶
func (t_ TextureObject) HasCompressionType() bool
func (TextureObject) HasDepth ¶
func (t_ TextureObject) HasDepth() bool
func (TextureObject) HasFirstMipmapInTail ¶
func (t_ TextureObject) HasFirstMipmapInTail() bool
func (TextureObject) HasGetBytesBytesPerRowBytesPerImageFromRegionMipmapLevelSlice ¶
func (t_ TextureObject) HasGetBytesBytesPerRowBytesPerImageFromRegionMipmapLevelSlice() bool
func (TextureObject) HasGetBytesBytesPerRowFromRegionMipmapLevel ¶
func (t_ TextureObject) HasGetBytesBytesPerRowFromRegionMipmapLevel() bool
func (TextureObject) HasHeight ¶
func (t_ TextureObject) HasHeight() bool
func (TextureObject) HasIosurface ¶
func (t_ TextureObject) HasIosurface() bool
func (TextureObject) HasIosurfacePlane ¶
func (t_ TextureObject) HasIosurfacePlane() bool
func (TextureObject) HasIsFramebufferOnly ¶
func (t_ TextureObject) HasIsFramebufferOnly() bool
func (TextureObject) HasIsShareable ¶
func (t_ TextureObject) HasIsShareable() bool
func (TextureObject) HasIsSparse ¶
func (t_ TextureObject) HasIsSparse() bool
func (TextureObject) HasMipmapLevelCount ¶
func (t_ TextureObject) HasMipmapLevelCount() bool
func (TextureObject) HasNewRemoteTextureViewForDevice ¶
func (t_ TextureObject) HasNewRemoteTextureViewForDevice() bool
func (TextureObject) HasNewSharedTextureHandle ¶
func (t_ TextureObject) HasNewSharedTextureHandle() bool
func (TextureObject) HasNewTextureViewWithPixelFormat ¶
func (t_ TextureObject) HasNewTextureViewWithPixelFormat() bool
func (TextureObject) HasNewTextureViewWithPixelFormatTextureTypeLevelsSlices ¶
func (t_ TextureObject) HasNewTextureViewWithPixelFormatTextureTypeLevelsSlices() bool
func (TextureObject) HasNewTextureViewWithPixelFormatTextureTypeLevelsSlicesSwizzle ¶
func (t_ TextureObject) HasNewTextureViewWithPixelFormatTextureTypeLevelsSlicesSwizzle() bool
func (TextureObject) HasParentRelativeLevel ¶
func (t_ TextureObject) HasParentRelativeLevel() bool
func (TextureObject) HasParentRelativeSlice ¶
func (t_ TextureObject) HasParentRelativeSlice() bool
func (TextureObject) HasParentTexture ¶
func (t_ TextureObject) HasParentTexture() bool
func (TextureObject) HasPixelFormat ¶
func (t_ TextureObject) HasPixelFormat() bool
func (TextureObject) HasRemoteStorageTexture ¶
func (t_ TextureObject) HasRemoteStorageTexture() bool
func (TextureObject) HasReplaceRegionMipmapLevelSliceWithBytesBytesPerRowBytesPerImage ¶
func (t_ TextureObject) HasReplaceRegionMipmapLevelSliceWithBytesBytesPerRowBytesPerImage() bool
func (TextureObject) HasReplaceRegionMipmapLevelWithBytesBytesPerRow ¶
func (t_ TextureObject) HasReplaceRegionMipmapLevelWithBytesBytesPerRow() bool
func (TextureObject) HasSampleCount ¶
func (t_ TextureObject) HasSampleCount() bool
func (TextureObject) HasSwizzle ¶
func (t_ TextureObject) HasSwizzle() bool
func (TextureObject) HasTailSizeInBytes ¶
func (t_ TextureObject) HasTailSizeInBytes() bool
func (TextureObject) HasTextureType ¶
func (t_ TextureObject) HasTextureType() bool
func (TextureObject) HasUsage ¶
func (t_ TextureObject) HasUsage() bool
func (TextureObject) HasWidth ¶
func (t_ TextureObject) HasWidth() bool
func (TextureObject) Height ¶
func (t_ TextureObject) Height() uint
The height of the texture image for the base level mipmap, in pixels. Full Topic
func (TextureObject) Iosurface ¶
func (t_ TextureObject) Iosurface() iosurface.Ref
A reference to the IOSurface the texture was created from, if any. Full Topic
func (TextureObject) IosurfacePlane ¶
func (t_ TextureObject) IosurfacePlane() uint
The plane of the IOSurface to reference if any. Full Topic
func (TextureObject) IsFramebufferOnly ¶
func (t_ TextureObject) IsFramebufferOnly() bool
A Boolean value that indicates whether the texture can only be used as a render target. Full Topic
func (TextureObject) IsShareable ¶
func (t_ TextureObject) IsShareable() bool
A Boolean indicating whether this texture can be shared with other processes. Full Topic
func (TextureObject) IsSparse ¶
func (t_ TextureObject) IsSparse() bool
A Boolean value that indicates whether this is a sparse texture. Full Topic
func (TextureObject) MipmapLevelCount ¶
func (t_ TextureObject) MipmapLevelCount() uint
The number of mipmap levels in the texture. Full Topic
func (TextureObject) NewRemoteTextureViewForDevice ¶
func (t_ TextureObject) NewRemoteTextureViewForDevice(device DeviceObject) TextureObject
Creates a remote texture view for another GPU in the same peer group. Full Topic
func (TextureObject) NewSharedTextureHandle ¶
func (t_ TextureObject) NewSharedTextureHandle() SharedTextureHandle
Creates a new texture handle from a shareable texture. Full Topic
func (TextureObject) NewTextureViewWithPixelFormat ¶
func (t_ TextureObject) NewTextureViewWithPixelFormat(pixelFormat PixelFormat) TextureObject
Creates a new view of the texture, reinterpreting its data using a different pixel format. Full Topic
func (TextureObject) NewTextureViewWithPixelFormatTextureTypeLevelsSlices ¶
func (t_ TextureObject) NewTextureViewWithPixelFormatTextureTypeLevelsSlices(pixelFormat PixelFormat, textureType TextureType, levelRange foundation.Range, sliceRange foundation.Range) TextureObject
Creates a new view of the texture, reinterpreting a subset of its data using a different type and pixel format. Full Topic
func (TextureObject) NewTextureViewWithPixelFormatTextureTypeLevelsSlicesSwizzle ¶
func (t_ TextureObject) NewTextureViewWithPixelFormatTextureTypeLevelsSlicesSwizzle(pixelFormat PixelFormat, textureType TextureType, levelRange foundation.Range, sliceRange foundation.Range, swizzle TextureSwizzleChannels) TextureObject
Creates a new view of the texture, reinterpreting a subset of its data using a different type, pixel format, and swizzle pattern. Full Topic
func (TextureObject) ParentRelativeLevel ¶
func (t_ TextureObject) ParentRelativeLevel() uint
The base level of the parent texture used to create this texture. Full Topic
func (TextureObject) ParentRelativeSlice ¶
func (t_ TextureObject) ParentRelativeSlice() uint
The base slice of the parent texture used to create this texture. Full Topic
func (TextureObject) ParentTexture ¶
func (t_ TextureObject) ParentTexture() TextureObject
The parent texture used to create this texture, if any. Full Topic
func (TextureObject) PixelFormat ¶
func (t_ TextureObject) PixelFormat() PixelFormat
The format of pixels in the texture. Full Topic
func (TextureObject) RemoteStorageTexture ¶
func (t_ TextureObject) RemoteStorageTexture() TextureObject
The texture on another GPU that the texture was created from, if any. Full Topic
func (TextureObject) ReplaceRegionMipmapLevelSliceWithBytesBytesPerRowBytesPerImage ¶
func (t_ TextureObject) ReplaceRegionMipmapLevelSliceWithBytesBytesPerRowBytesPerImage(region Region, level uint, slice uint, pixelBytes unsafe.Pointer, bytesPerRow uint, bytesPerImage uint)
Copies pixel data into a section of a texture slice. Full Topic
func (TextureObject) ReplaceRegionMipmapLevelWithBytesBytesPerRow ¶
func (t_ TextureObject) ReplaceRegionMipmapLevelWithBytesBytesPerRow(region Region, level uint, pixelBytes unsafe.Pointer, bytesPerRow uint)
Copies a block of pixels into a section of texture slice 0. Full Topic
func (TextureObject) SampleCount ¶
func (t_ TextureObject) SampleCount() uint
The number of samples in each pixel. Full Topic
func (TextureObject) Swizzle ¶
func (t_ TextureObject) Swizzle() TextureSwizzleChannels
The pattern that the GPU applies to pixels when you read or sample pixels from the texture. Full Topic
func (TextureObject) TailSizeInBytes ¶
func (t_ TextureObject) TailSizeInBytes() uint
The size of the sparse texture tail, in bytes. Full Topic
func (TextureObject) TextureType ¶
func (t_ TextureObject) TextureType() TextureType
The dimension and arrangement of the texture image data. Full Topic
func (TextureObject) Usage ¶
func (t_ TextureObject) Usage() TextureUsage
Options that determine how you can use the texture. Full Topic
func (TextureObject) Width ¶
func (t_ TextureObject) Width() uint
The width of the texture image for the base level mipmap, in pixels. Full Topic
type TextureReferenceType ¶
type TextureReferenceType struct {
Type
}
A description of a texture. Full Topic
func NewTextureReferenceType ¶
func NewTextureReferenceType() TextureReferenceType
func TextureReferenceTypeFrom ¶
func TextureReferenceTypeFrom(ptr unsafe.Pointer) TextureReferenceType
func (TextureReferenceType) Access ¶
func (t_ TextureReferenceType) Access() objc.Object
The texture's read/write access to the argument. Full Topic
func (TextureReferenceType) Init ¶
func (t_ TextureReferenceType) Init() TextureReferenceType
func (TextureReferenceType) IsDepthTexture ¶
func (t_ TextureReferenceType) IsDepthTexture() bool
A Boolean value that indicates whether the texture is a depth texture. Full Topic
func (TextureReferenceType) TextureDataType ¶
func (t_ TextureReferenceType) TextureDataType() DataType
The data type of the texture. Full Topic
func (TextureReferenceType) TextureType ¶
func (t_ TextureReferenceType) TextureType() TextureType
The texture type of the texture. Full Topic
type TextureSwizzle ¶
type TextureSwizzle uint8
A set of options to choose from when creating a texture swizzle pattern. Full Topic
const ( TextureSwizzleAlpha TextureSwizzle = 5 TextureSwizzleBlue TextureSwizzle = 4 TextureSwizzleGreen TextureSwizzle = 3 TextureSwizzleOne TextureSwizzle = 1 TextureSwizzleRed TextureSwizzle = 2 TextureSwizzleZero TextureSwizzle = 0 )
type TextureSwizzleChannels ¶
A pattern that modifies the data read or sampled from a texture by rearranging or duplicating the elements of a vector. Full Topic
type TextureType ¶
type TextureType uint
The dimension of each image, including whether multiple images are arranged into an array or a cube. Full Topic
const ( TextureType1D TextureType = 0 TextureType1DArray TextureType = 1 TextureType2D TextureType = 2 TextureType2DArray TextureType = 3 TextureType2DMultisample TextureType = 4 TextureType2DMultisampleArray TextureType = 8 TextureType3D TextureType = 7 TextureTypeCube TextureType = 5 TextureTypeCubeArray TextureType = 6 TextureTypeTextureBuffer TextureType = 9 )
type TextureUsage ¶
type TextureUsage uint
An enumeration for the various options that determine how you can use a texture. Full Topic
const ( TextureUsagePixelFormatView TextureUsage = 16 TextureUsageRenderTarget TextureUsage = 4 TextureUsageShaderRead TextureUsage = 1 TextureUsageShaderWrite TextureUsage = 2 TextureUsageUnknown TextureUsage = 0 )
type TileRenderPipelineColorAttachmentDescriptor ¶
A description of a tile-shading render pipeline’s color render target. Full Topic
func NewTileRenderPipelineColorAttachmentDescriptor ¶
func NewTileRenderPipelineColorAttachmentDescriptor() TileRenderPipelineColorAttachmentDescriptor
func TileRenderPipelineColorAttachmentDescriptorFrom ¶
func TileRenderPipelineColorAttachmentDescriptorFrom(ptr unsafe.Pointer) TileRenderPipelineColorAttachmentDescriptor
func (TileRenderPipelineColorAttachmentDescriptor) PixelFormat ¶
func (t_ TileRenderPipelineColorAttachmentDescriptor) PixelFormat() PixelFormat
The pixel format associated with the tile shading render pipeline. Full Topic
func (TileRenderPipelineColorAttachmentDescriptor) SetPixelFormat ¶
func (t_ TileRenderPipelineColorAttachmentDescriptor) SetPixelFormat(value PixelFormat)
The pixel format associated with the tile shading render pipeline. Full Topic
type TileRenderPipelineColorAttachmentDescriptorArray ¶
An array of color attachment descriptors for the tile render pipeline. Full Topic
func NewTileRenderPipelineColorAttachmentDescriptorArray ¶
func NewTileRenderPipelineColorAttachmentDescriptorArray() TileRenderPipelineColorAttachmentDescriptorArray
func TileRenderPipelineColorAttachmentDescriptorArrayFrom ¶
func TileRenderPipelineColorAttachmentDescriptorArrayFrom(ptr unsafe.Pointer) TileRenderPipelineColorAttachmentDescriptorArray
func (TileRenderPipelineColorAttachmentDescriptorArray) ObjectAtIndexedSubscript ¶
func (t_ TileRenderPipelineColorAttachmentDescriptorArray) ObjectAtIndexedSubscript(attachmentIndex uint) TileRenderPipelineColorAttachmentDescriptor
Returns the render pipeline state for the specified color attachment. Full Topic
func (TileRenderPipelineColorAttachmentDescriptorArray) SetObjectAtIndexedSubscript ¶
func (t_ TileRenderPipelineColorAttachmentDescriptorArray) SetObjectAtIndexedSubscript(attachment ITileRenderPipelineColorAttachmentDescriptor, attachmentIndex uint)
Sets the render pipeline state for a specified color attachment. Full Topic
type TileRenderPipelineDescriptor ¶
An object that configures new render pipeline state objects for tile shading. Full Topic
func NewTileRenderPipelineDescriptor ¶
func NewTileRenderPipelineDescriptor() TileRenderPipelineDescriptor
func TileRenderPipelineDescriptorFrom ¶
func TileRenderPipelineDescriptorFrom(ptr unsafe.Pointer) TileRenderPipelineDescriptor
func (TileRenderPipelineDescriptor) BinaryArchives ¶
func (t_ TileRenderPipelineDescriptor) BinaryArchives() []BinaryArchiveObject
An array of binary archives to search for precompiled versions of the shader. Full Topic
func (TileRenderPipelineDescriptor) ColorAttachments ¶
func (t_ TileRenderPipelineDescriptor) ColorAttachments() TileRenderPipelineColorAttachmentDescriptorArray
An array of attachments that store color data. Full Topic
func (TileRenderPipelineDescriptor) Init ¶
func (t_ TileRenderPipelineDescriptor) Init() TileRenderPipelineDescriptor
func (TileRenderPipelineDescriptor) Label ¶
func (t_ TileRenderPipelineDescriptor) Label() string
A string that identifies the tile pipeline descriptor. Full Topic
func (TileRenderPipelineDescriptor) LinkedFunctions ¶
func (t_ TileRenderPipelineDescriptor) LinkedFunctions() LinkedFunctions
Functions that you can specify as function arguments for the tile shader when encoding commands that use the pipeline. Full Topic
func (TileRenderPipelineDescriptor) MaxCallStackDepth ¶
func (t_ TileRenderPipelineDescriptor) MaxCallStackDepth() uint
The maximum function call depth from the top-most shader function. Full Topic
func (TileRenderPipelineDescriptor) MaxTotalThreadsPerThreadgroup ¶
func (t_ TileRenderPipelineDescriptor) MaxTotalThreadsPerThreadgroup() uint
The maximum number of threads in a threadgroup when dispatching a command using the pipeline. Full Topic
func (TileRenderPipelineDescriptor) PreloadedLibraries ¶
func (t_ TileRenderPipelineDescriptor) PreloadedLibraries() []DynamicLibraryObject
[Full Topic]
func (TileRenderPipelineDescriptor) RasterSampleCount ¶
func (t_ TileRenderPipelineDescriptor) RasterSampleCount() uint
The number of samples in each fragment. Full Topic
func (TileRenderPipelineDescriptor) Reset ¶
func (t_ TileRenderPipelineDescriptor) Reset()
Specifies the default rendering pipeline state values for the descriptor. Full Topic
func (TileRenderPipelineDescriptor) SetBinaryArchives ¶
func (t_ TileRenderPipelineDescriptor) SetBinaryArchives(value []PBinaryArchive)
An array of binary archives to search for precompiled versions of the shader. Full Topic
func (TileRenderPipelineDescriptor) SetLabel ¶
func (t_ TileRenderPipelineDescriptor) SetLabel(value string)
A string that identifies the tile pipeline descriptor. Full Topic
func (TileRenderPipelineDescriptor) SetLinkedFunctions ¶
func (t_ TileRenderPipelineDescriptor) SetLinkedFunctions(value ILinkedFunctions)
Functions that you can specify as function arguments for the tile shader when encoding commands that use the pipeline. Full Topic
func (TileRenderPipelineDescriptor) SetMaxCallStackDepth ¶
func (t_ TileRenderPipelineDescriptor) SetMaxCallStackDepth(value uint)
The maximum function call depth from the top-most shader function. Full Topic
func (TileRenderPipelineDescriptor) SetMaxTotalThreadsPerThreadgroup ¶
func (t_ TileRenderPipelineDescriptor) SetMaxTotalThreadsPerThreadgroup(value uint)
The maximum number of threads in a threadgroup when dispatching a command using the pipeline. Full Topic
func (TileRenderPipelineDescriptor) SetPreloadedLibraries ¶
func (t_ TileRenderPipelineDescriptor) SetPreloadedLibraries(value []PDynamicLibrary)
[Full Topic]
func (TileRenderPipelineDescriptor) SetRasterSampleCount ¶
func (t_ TileRenderPipelineDescriptor) SetRasterSampleCount(value uint)
The number of samples in each fragment. Full Topic
func (TileRenderPipelineDescriptor) SetSupportAddingBinaryFunctions ¶
func (t_ TileRenderPipelineDescriptor) SetSupportAddingBinaryFunctions(value bool)
A Boolean value that indicates whether you can use the pipeline to create new pipelines by adding binary functions to its callable functions list. Full Topic
func (TileRenderPipelineDescriptor) SetThreadgroupSizeMatchesTileSize ¶
func (t_ TileRenderPipelineDescriptor) SetThreadgroupSizeMatchesTileSize(value bool)
A Boolean value that indicates whether all threadgroups for this pipeline completely cover tiles. Full Topic
func (TileRenderPipelineDescriptor) SetTileFunction ¶
func (t_ TileRenderPipelineDescriptor) SetTileFunction(value PFunction)
The compute kernel or fragment function the pipeline calls. Full Topic
func (TileRenderPipelineDescriptor) SetTileFunctionObject ¶
func (t_ TileRenderPipelineDescriptor) SetTileFunctionObject(valueObject objc.IObject)
The compute kernel or fragment function the pipeline calls. Full Topic
func (TileRenderPipelineDescriptor) SupportAddingBinaryFunctions ¶
func (t_ TileRenderPipelineDescriptor) SupportAddingBinaryFunctions() bool
A Boolean value that indicates whether you can use the pipeline to create new pipelines by adding binary functions to its callable functions list. Full Topic
func (TileRenderPipelineDescriptor) ThreadgroupSizeMatchesTileSize ¶
func (t_ TileRenderPipelineDescriptor) ThreadgroupSizeMatchesTileSize() bool
A Boolean value that indicates whether all threadgroups for this pipeline completely cover tiles. Full Topic
func (TileRenderPipelineDescriptor) TileBuffers ¶
func (t_ TileRenderPipelineDescriptor) TileBuffers() PipelineBufferDescriptorArray
An array that contains the buffer mutability options for a render pipeline’s tile function. Full Topic
func (TileRenderPipelineDescriptor) TileFunction ¶
func (t_ TileRenderPipelineDescriptor) TileFunction() FunctionObject
The compute kernel or fragment function the pipeline calls. Full Topic
type Timestamp ¶
type Timestamp uint64
The number of nanoseconds for a point in absolute time or Mach absolute time. Full Topic
type TriangleFillMode ¶
type TriangleFillMode uint
Specifies how to rasterize triangle and triangle strip primitives. Full Topic
const ( TriangleFillModeFill TriangleFillMode = 0 TriangleFillModeLines TriangleFillMode = 1 )
type TriangleTessellationFactorsHalf ¶
type TriangleTessellationFactorsHalf struct { EdgeTessellationFactor [3]uint16 InsideTessellationFactor uint16 }
The per-patch tessellation factors for a triangle patch. Full Topic
type Type ¶
A description of a data type. Full Topic
func (Type) DataType ¶
The data type of the function argument. Full Topic
type VertexAmplificationViewMapping ¶
type VertexAmplificationViewMapping struct { ViewportArrayIndexOffset uint32 RenderTargetArrayIndexOffset uint32 }
An offset applied to a render target index and viewport index. Full Topic
type VertexAttribute ¶
An object that represents an attribute of a vertex function. Full Topic
func NewVertexAttribute ¶
func NewVertexAttribute() VertexAttribute
func VertexAttributeFrom ¶
func VertexAttributeFrom(ptr unsafe.Pointer) VertexAttribute
func (VertexAttribute) AttributeIndex ¶
func (v_ VertexAttribute) AttributeIndex() uint
The index of the attribute, as declared in Metal shader source code. Full Topic
func (VertexAttribute) AttributeType ¶
func (v_ VertexAttribute) AttributeType() DataType
The data type for the attribute, as declared in Metal shader source code. Full Topic
func (VertexAttribute) Init ¶
func (v_ VertexAttribute) Init() VertexAttribute
func (VertexAttribute) IsActive ¶
func (v_ VertexAttribute) IsActive() bool
A Boolean value that indicates whether this vertex attribute is active. Full Topic
func (VertexAttribute) IsPatchControlPointData ¶
func (v_ VertexAttribute) IsPatchControlPointData() bool
A Boolean value that indicates whether this vertex attribute represents control point data. Full Topic
func (VertexAttribute) IsPatchData ¶
func (v_ VertexAttribute) IsPatchData() bool
A Boolean value that indicates whether this vertex attribute represents patch data. Full Topic
func (VertexAttribute) Name ¶
func (v_ VertexAttribute) Name() string
The name of the attribute. Full Topic
type VertexAttributeDescriptor ¶
An object that determines how to store attribute data in memory and map it to the arguments of a vertex function. Full Topic
func NewVertexAttributeDescriptor ¶
func NewVertexAttributeDescriptor() VertexAttributeDescriptor
func VertexAttributeDescriptorFrom ¶
func VertexAttributeDescriptorFrom(ptr unsafe.Pointer) VertexAttributeDescriptor
func (VertexAttributeDescriptor) BufferIndex ¶
func (v_ VertexAttributeDescriptor) BufferIndex() uint
The index in the argument table for the associated vertex buffer. Full Topic
func (VertexAttributeDescriptor) Format ¶
func (v_ VertexAttributeDescriptor) Format() VertexFormat
The format of the vertex attribute. Full Topic
func (VertexAttributeDescriptor) Init ¶
func (v_ VertexAttributeDescriptor) Init() VertexAttributeDescriptor
func (VertexAttributeDescriptor) Offset ¶
func (v_ VertexAttributeDescriptor) Offset() uint
The location of an attribute in vertex data, determined by the byte offset from the start of the vertex data. Full Topic
func (VertexAttributeDescriptor) SetBufferIndex ¶
func (v_ VertexAttributeDescriptor) SetBufferIndex(value uint)
The index in the argument table for the associated vertex buffer. Full Topic
func (VertexAttributeDescriptor) SetFormat ¶
func (v_ VertexAttributeDescriptor) SetFormat(value VertexFormat)
The format of the vertex attribute. Full Topic
func (VertexAttributeDescriptor) SetOffset ¶
func (v_ VertexAttributeDescriptor) SetOffset(value uint)
The location of an attribute in vertex data, determined by the byte offset from the start of the vertex data. Full Topic
type VertexAttributeDescriptorArray ¶
An array of vertex attribute descriptor objects. Full Topic
func NewVertexAttributeDescriptorArray ¶
func NewVertexAttributeDescriptorArray() VertexAttributeDescriptorArray
func VertexAttributeDescriptorArrayFrom ¶
func VertexAttributeDescriptorArrayFrom(ptr unsafe.Pointer) VertexAttributeDescriptorArray
func (VertexAttributeDescriptorArray) Init ¶
func (v_ VertexAttributeDescriptorArray) Init() VertexAttributeDescriptorArray
func (VertexAttributeDescriptorArray) ObjectAtIndexedSubscript ¶
func (v_ VertexAttributeDescriptorArray) ObjectAtIndexedSubscript(index uint) VertexAttributeDescriptor
Returns the state of the specified vertex attribute. Full Topic
func (VertexAttributeDescriptorArray) SetObjectAtIndexedSubscript ¶
func (v_ VertexAttributeDescriptorArray) SetObjectAtIndexedSubscript(attributeDesc IVertexAttributeDescriptor, index uint)
Sets state for the specified vertex attribute. Full Topic
type VertexBufferLayoutDescriptor ¶
An object that configures how a render pipeline fetches data to send to the vertex function. Full Topic
func NewVertexBufferLayoutDescriptor ¶
func NewVertexBufferLayoutDescriptor() VertexBufferLayoutDescriptor
func VertexBufferLayoutDescriptorFrom ¶
func VertexBufferLayoutDescriptorFrom(ptr unsafe.Pointer) VertexBufferLayoutDescriptor
func (VertexBufferLayoutDescriptor) Init ¶
func (v_ VertexBufferLayoutDescriptor) Init() VertexBufferLayoutDescriptor
func (VertexBufferLayoutDescriptor) SetStepFunction ¶
func (v_ VertexBufferLayoutDescriptor) SetStepFunction(value VertexStepFunction)
The circumstances under which the vertex and its attributes are presented to the vertex function. Full Topic
func (VertexBufferLayoutDescriptor) SetStepRate ¶
func (v_ VertexBufferLayoutDescriptor) SetStepRate(value uint)
The interval at which the vertex and its attributes are presented to the vertex function. Full Topic
func (VertexBufferLayoutDescriptor) SetStride ¶
func (v_ VertexBufferLayoutDescriptor) SetStride(value uint)
The number of bytes between the first byte of two consecutive vertices in a buffer. Full Topic
func (VertexBufferLayoutDescriptor) StepFunction ¶
func (v_ VertexBufferLayoutDescriptor) StepFunction() VertexStepFunction
The circumstances under which the vertex and its attributes are presented to the vertex function. Full Topic
func (VertexBufferLayoutDescriptor) StepRate ¶
func (v_ VertexBufferLayoutDescriptor) StepRate() uint
The interval at which the vertex and its attributes are presented to the vertex function. Full Topic
func (VertexBufferLayoutDescriptor) Stride ¶
func (v_ VertexBufferLayoutDescriptor) Stride() uint
The number of bytes between the first byte of two consecutive vertices in a buffer. Full Topic
type VertexBufferLayoutDescriptorArray ¶
An array of vertex buffer layout descriptor objects. Full Topic
func NewVertexBufferLayoutDescriptorArray ¶
func NewVertexBufferLayoutDescriptorArray() VertexBufferLayoutDescriptorArray
func VertexBufferLayoutDescriptorArrayFrom ¶
func VertexBufferLayoutDescriptorArrayFrom(ptr unsafe.Pointer) VertexBufferLayoutDescriptorArray
func (VertexBufferLayoutDescriptorArray) Init ¶
func (v_ VertexBufferLayoutDescriptorArray) Init() VertexBufferLayoutDescriptorArray
func (VertexBufferLayoutDescriptorArray) ObjectAtIndexedSubscript ¶
func (v_ VertexBufferLayoutDescriptorArray) ObjectAtIndexedSubscript(index uint) VertexBufferLayoutDescriptor
Returns the state of the specified vertex buffer layout. Full Topic
func (VertexBufferLayoutDescriptorArray) SetObjectAtIndexedSubscript ¶
func (v_ VertexBufferLayoutDescriptorArray) SetObjectAtIndexedSubscript(bufferDesc IVertexBufferLayoutDescriptor, index uint)
Sets the state of the specified vertex buffer layout. Full Topic
type VertexDescriptor ¶
An object that describes how to organize and map data to a vertex function. Full Topic
func NewVertexDescriptor ¶
func NewVertexDescriptor() VertexDescriptor
func VertexDescriptorFrom ¶
func VertexDescriptorFrom(ptr unsafe.Pointer) VertexDescriptor
func VertexDescriptor_VertexDescriptor ¶
func VertexDescriptor_VertexDescriptor() VertexDescriptor
Creates and returns a new vertex descriptor. Full Topic
func (VertexDescriptor) Attributes ¶
func (v_ VertexDescriptor) Attributes() VertexAttributeDescriptorArray
An array of state data that describes how vertex attribute data is stored in memory and is mapped to arguments for a vertex shader function. Full Topic
func (VertexDescriptor) Init ¶
func (v_ VertexDescriptor) Init() VertexDescriptor
func (VertexDescriptor) Layouts ¶
func (v_ VertexDescriptor) Layouts() VertexBufferLayoutDescriptorArray
An array of state data that describes how data are fetched by a vertex shader function when rendering primitives. Full Topic
func (VertexDescriptor) Reset ¶
func (v_ VertexDescriptor) Reset()
Resets the default state for the vertex descriptor. Full Topic
type VertexFormat ¶
type VertexFormat uint
Values that specify the organization of function vertex data. Full Topic
const ( VertexFormatChar VertexFormat = 46 VertexFormatChar2 VertexFormat = 4 VertexFormatChar2Normalized VertexFormat = 10 VertexFormatChar3 VertexFormat = 5 VertexFormatChar3Normalized VertexFormat = 11 VertexFormatChar4 VertexFormat = 6 VertexFormatChar4Normalized VertexFormat = 12 VertexFormatCharNormalized VertexFormat = 48 VertexFormatFloat VertexFormat = 28 VertexFormatFloat2 VertexFormat = 29 VertexFormatFloat3 VertexFormat = 30 VertexFormatFloat4 VertexFormat = 31 VertexFormatHalf VertexFormat = 53 VertexFormatHalf2 VertexFormat = 25 VertexFormatHalf3 VertexFormat = 26 VertexFormatHalf4 VertexFormat = 27 VertexFormatInt VertexFormat = 32 VertexFormatInt1010102Normalized VertexFormat = 40 VertexFormatInt2 VertexFormat = 33 VertexFormatInt3 VertexFormat = 34 VertexFormatInt4 VertexFormat = 35 VertexFormatInvalid VertexFormat = 0 VertexFormatShort VertexFormat = 50 VertexFormatShort2 VertexFormat = 16 VertexFormatShort2Normalized VertexFormat = 22 VertexFormatShort3 VertexFormat = 17 VertexFormatShort3Normalized VertexFormat = 23 VertexFormatShort4 VertexFormat = 18 VertexFormatShort4Normalized VertexFormat = 24 VertexFormatShortNormalized VertexFormat = 52 VertexFormatUChar VertexFormat = 45 VertexFormatUChar2 VertexFormat = 1 VertexFormatUChar2Normalized VertexFormat = 7 VertexFormatUChar3 VertexFormat = 2 VertexFormatUChar3Normalized VertexFormat = 8 VertexFormatUChar4 VertexFormat = 3 VertexFormatUChar4Normalized VertexFormat = 9 VertexFormatUChar4Normalized_BGRA VertexFormat = 42 VertexFormatUCharNormalized VertexFormat = 47 VertexFormatUInt VertexFormat = 36 VertexFormatUInt1010102Normalized VertexFormat = 41 VertexFormatUInt2 VertexFormat = 37 VertexFormatUInt3 VertexFormat = 38 VertexFormatUInt4 VertexFormat = 39 VertexFormatUShort VertexFormat = 49 VertexFormatUShort2 VertexFormat = 13 VertexFormatUShort2Normalized VertexFormat = 19 VertexFormatUShort3 VertexFormat = 14 VertexFormatUShort3Normalized VertexFormat = 20 VertexFormatUShort4 VertexFormat = 15 VertexFormatUShort4Normalized VertexFormat = 21 VertexFormatUShortNormalized VertexFormat = 51 )
type VertexStepFunction ¶
type VertexStepFunction uint
The frequency with which the vertex function or post-tessellation vertex function fetches attribute data. Full Topic
const ( VertexStepFunctionConstant VertexStepFunction = 0 VertexStepFunctionPerInstance VertexStepFunction = 2 VertexStepFunctionPerPatch VertexStepFunction = 3 VertexStepFunctionPerPatchControlPoint VertexStepFunction = 4 VertexStepFunctionPerVertex VertexStepFunction = 1 )
type Viewport ¶
type Viewport struct { OriginX float64 OriginY float64 Width float64 Height float64 Znear float64 Zfar float64 }
A 3D rectangular region for the viewport clipping. Full Topic
type VisibilityResultMode ¶
type VisibilityResultMode uint
The mode that determines what, if anything, the GPU writes to the results buffer, after the GPU executes the render pass. Full Topic
const ( VisibilityResultModeBoolean VisibilityResultMode = 1 VisibilityResultModeCounting VisibilityResultMode = 2 VisibilityResultModeDisabled VisibilityResultMode = 0 )
type VisibleFunctionTableDescriptor ¶
A specification of how to create a visible function table. Full Topic
func NewVisibleFunctionTableDescriptor ¶
func NewVisibleFunctionTableDescriptor() VisibleFunctionTableDescriptor
func VisibleFunctionTableDescriptorFrom ¶
func VisibleFunctionTableDescriptorFrom(ptr unsafe.Pointer) VisibleFunctionTableDescriptor
func VisibleFunctionTableDescriptor_VisibleFunctionTableDescriptor ¶
func VisibleFunctionTableDescriptor_VisibleFunctionTableDescriptor() VisibleFunctionTableDescriptor
Creates a default visible function table descriptor. Full Topic
func (VisibleFunctionTableDescriptor) FunctionCount ¶
func (v_ VisibleFunctionTableDescriptor) FunctionCount() uint
The number of entries in the function table. Full Topic
func (VisibleFunctionTableDescriptor) Init ¶
func (v_ VisibleFunctionTableDescriptor) Init() VisibleFunctionTableDescriptor
func (VisibleFunctionTableDescriptor) SetFunctionCount ¶
func (v_ VisibleFunctionTableDescriptor) SetFunctionCount(value uint)
The number of entries in the function table. Full Topic
type VisibleFunctionTableObject ¶
A concrete type for the PVisibleFunctionTable protocol.
func (VisibleFunctionTableObject) HasSetFunctionAtIndex ¶
func (v_ VisibleFunctionTableObject) HasSetFunctionAtIndex() bool
func (VisibleFunctionTableObject) HasSetFunctionsWithRange ¶
func (v_ VisibleFunctionTableObject) HasSetFunctionsWithRange() bool
func (VisibleFunctionTableObject) SetFunctionAtIndex ¶
func (v_ VisibleFunctionTableObject) SetFunctionAtIndex(function FunctionHandleObject, index uint)
Sets a table entry to point to a callable function. Full Topic
func (VisibleFunctionTableObject) SetFunctionsWithRange ¶
func (v_ VisibleFunctionTableObject) SetFunctionsWithRange(functions FunctionHandleObject, range_ foundation.Range)
Sets a range of table entries to point to an array of callable functions. Full Topic
Source Files ¶
- acceleration_structure_bounding_box_geometry_descriptor.gen.go
- acceleration_structure_command_encoder_protocol.gen.go
- acceleration_structure_descriptor.gen.go
- acceleration_structure_geometry_descriptor.gen.go
- acceleration_structure_motion_bounding_box_geometry_descriptor.gen.go
- acceleration_structure_motion_triangle_geometry_descriptor.gen.go
- acceleration_structure_protocol.gen.go
- acceleration_structure_triangle_geometry_descriptor.gen.go
- aliastypes.gen.go
- argument.gen.go
- argument_descriptor.gen.go
- argument_encoder_protocol.gen.go
- array_type.gen.go
- attribute.gen.go
- attribute_descriptor.gen.go
- attribute_descriptor_array.gen.go
- binary_archive_descriptor.gen.go
- binary_archive_protocol.gen.go
- blit_command_encoder_protocol.gen.go
- blit_pass_descriptor.gen.go
- blit_pass_sample_buffer_attachment_descriptor.gen.go
- blit_pass_sample_buffer_attachment_descriptor_array.gen.go
- buffer_layout_descriptor.gen.go
- buffer_layout_descriptor_array.gen.go
- buffer_protocol.gen.go
- capture_descriptor.gen.go
- capture_manager.gen.go
- capture_scope_protocol.gen.go
- command_buffer_descriptor.gen.go
- command_buffer_encoder_info_protocol.gen.go
- command_buffer_protocol.gen.go
- command_encoder_protocol.gen.go
- command_queue_protocol.gen.go
- compile_options.gen.go
- compute_command_encoder_protocol.gen.go
- compute_pass_descriptor.gen.go
- compute_pass_sample_buffer_attachment_descriptor.gen.go
- compute_pass_sample_buffer_attachment_descriptor_array.gen.go
- compute_pipeline_descriptor.gen.go
- compute_pipeline_reflection.gen.go
- compute_pipeline_state_protocol.gen.go
- counter_protocol.gen.go
- counter_sample_buffer_descriptor.gen.go
- counter_sample_buffer_protocol.gen.go
- counter_set_protocol.gen.go
- depth_stencil_descriptor.gen.go
- depth_stencil_state_protocol.gen.go
- device_protocol.gen.go
- doc.gen.go
- drawable_protocol.gen.go
- dynamic_library_protocol.gen.go
- enumtypes.gen.go
- event_protocol.gen.go
- fence_protocol.gen.go
- function_constant.gen.go
- function_constant_values.gen.go
- function_descriptor.gen.go
- function_handle_protocol.gen.go
- function_log_debug_location_protocol.gen.go
- function_log_protocol.gen.go
- function_protocol.gen.go
- function_stitching_attribute_always_inline.gen.go
- function_stitching_attribute_protocol.gen.go
- function_stitching_function_node.gen.go
- function_stitching_graph.gen.go
- function_stitching_input_node.gen.go
- function_stitching_node_protocol.gen.go
- heap_descriptor.gen.go
- heap_protocol.gen.go
- indirect_command_buffer_descriptor.gen.go
- indirect_command_buffer_protocol.gen.go
- indirect_compute_command_protocol.gen.go
- indirect_render_command_protocol.gen.go
- instance_acceleration_structure_descriptor.gen.go
- intersection_function_descriptor.gen.go
- intersection_function_table_descriptor.gen.go
- intersection_function_table_protocol.gen.go
- library_protocol.gen.go
- linked_functions.gen.go
- log_container_protocol.gen.go
- metal.go
- metal_custom.go
- metal_structs.go
- motion_keyframe_data.gen.go
- parallel_render_command_encoder_protocol.gen.go
- pipeline_buffer_descriptor.gen.go
- pipeline_buffer_descriptor_array.gen.go
- pointer_type.gen.go
- primitive_acceleration_structure_descriptor.gen.go
- rasterization_rate_layer_array.gen.go
- rasterization_rate_layer_descriptor.gen.go
- rasterization_rate_map_descriptor.gen.go
- rasterization_rate_map_protocol.gen.go
- rasterization_rate_sample_array.gen.go
- render_command_encoder_protocol.gen.go
- render_pass_attachment_descriptor.gen.go
- render_pass_color_attachment_descriptor.gen.go
- render_pass_color_attachment_descriptor_array.gen.go
- render_pass_depth_attachment_descriptor.gen.go
- render_pass_descriptor.gen.go
- render_pass_sample_buffer_attachment_descriptor.gen.go
- render_pass_sample_buffer_attachment_descriptor_array.gen.go
- render_pass_stencil_attachment_descriptor.gen.go
- render_pipeline_color_attachment_descriptor.gen.go
- render_pipeline_color_attachment_descriptor_array.gen.go
- render_pipeline_descriptor.gen.go
- render_pipeline_functions_descriptor.gen.go
- render_pipeline_reflection.gen.go
- render_pipeline_state_protocol.gen.go
- resource_protocol.gen.go
- resource_state_command_encoder_protocol.gen.go
- resource_state_pass_descriptor.gen.go
- resource_state_pass_sample_buffer_attachment_descriptor.gen.go
- resource_state_pass_sample_buffer_attachment_descriptor_array.gen.go
- sampler_descriptor.gen.go
- sampler_state_protocol.gen.go
- shared_event_handle.gen.go
- shared_event_listener.gen.go
- shared_event_protocol.gen.go
- shared_texture_handle.gen.go
- stage_input_output_descriptor.gen.go
- stencil_descriptor.gen.go
- stitched_library_descriptor.gen.go
- struct_member.gen.go
- struct_type.gen.go
- texture_descriptor.gen.go
- texture_protocol.gen.go
- texture_reference_type.gen.go
- tile_render_pipeline_color_attachment_descriptor.gen.go
- tile_render_pipeline_color_attachment_descriptor_array.gen.go
- tile_render_pipeline_descriptor.gen.go
- type.gen.go
- vertex_attribute.gen.go
- vertex_attribute_descriptor.gen.go
- vertex_attribute_descriptor_array.gen.go
- vertex_buffer_layout_descriptor.gen.go
- vertex_buffer_layout_descriptor_array.gen.go
- vertex_descriptor.gen.go
- visible_function_table_descriptor.gen.go
- visible_function_table_protocol.gen.go