iogpu

package
v0.6.17 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 22, 2026 License: MIT Imports: 12 Imported by: 0

Documentation

Overview

Package iogpu provides Go bindings for the iogpu framework.

Key Types

Code generated from Apple documentation. DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewVoidBlock

func NewVoidBlock(handler VoidHandler) (objc.ID, func())

NewVoidBlock wraps a Go VoidHandler as an Objective-C block. The caller must defer the returned cleanup function.

Used by:

Types

type CFArray

type CFArray struct {
}

CFArray

type CFDictionary

type CFDictionary struct {
}

CFDictionary

type CFRuntimeBase

type CFRuntimeBase struct {
	Field1 uint64
	Field2 uint64
}

CFRuntimeBase

type CFString

type CFString struct {
}

CFString

type CommandBufferStorageBusyQueue

type CommandBufferStorageBusyQueue struct {
	Tqh_first IOGPUMetalCommandBufferStorageRef
	Tqh_last  *uintptr
}

CommandBufferStorageBusyQueue

type GpuStorageQueue

type GpuStorageQueue struct {
	Field1 IOGPUMetalCommandBufferStorageRef
	Field2 *uintptr
}

GpuStorageQueue

type IIOGPUMTLEvent

type IIOGPUMTLEvent interface {
	objectivec.IObject

	EnableBarrier() bool
	SetEnableBarrier(value bool)
	EventName() uint32
	SupportsRollback() bool
	InitWithDeviceRef(ref *uintptr) IOGPUMTLEvent
	InitWithDeviceRefOptions(ref *uintptr, options uint64) IOGPUMTLEvent
	// contains filtered or unexported methods
}

An interface definition for the IOGPUMTLEvent class.

Methods

type IIOGPUMTLFence

type IIOGPUMTLFence interface {
	objectivec.IObject

	InitWithDevice(device *uintptr) IOGPUMTLFence
}

An interface definition for the IOGPUMTLFence class.

Methods

type IIOGPUMTLLateEvalEvent

type IIOGPUMTLLateEvalEvent interface {
	objectivec.IObject

	SignaledValue() uint64
	SetSignaledValue(value uint64)
	InitWithDevice(device *uintptr) IOGPUMTLLateEvalEvent
}

An interface definition for the IOGPUMTLLateEvalEvent class.

Methods

type IIOGPUMetal4CommandBuffer

type IIOGPUMetal4CommandBuffer interface {
	metal.MTL4CommandBuffer

	AkPrivateResourceList() objectivec.IObject
	AkResourceList() objectivec.IObject
	AllocCommandBufferResourceAtIndex(index uint32)
	AllocDebugBuffer()
	AllocateSidebandBuffer(buffer uint32)
	BeginIOGPUCommandBufferWithAllocatorOptions(allocator objectivec.IObject, options objectivec.IObject)
	BeginSegment(segment unsafe.Pointer)
	CommandBufferStorage() *IOGPUMetalCommandBufferStorage
	CommitEncoder()
	CopyBufferMappingsFromBufferToBufferOperationsCount(buffer objectivec.IObject, buffer2 objectivec.IObject, operations unsafe.Pointer, count uint64)
	EncodePostMappingWaitEventPostMappingValueTimeout(event objectivec.IObject, value uint64, timeout uint32)
	EncodeSignalEventValue(event objectivec.IObject, value uint64)
	EncodeWaitForEventValue(event objectivec.IObject, value uint64)
	EncodeWaitForEventValueTimeout(event objectivec.IObject, value uint64, timeout uint32)
	EndCurrentSegment()
	FillCommandBufferArgs(args *IOGPUCommandQueueCommandBufferArgs)
	GetCurrentKernelCommandBufferPointerEnd(pointer unsafe.Pointer, end unsafe.Pointer)
	GetCurrentKernelCommandBufferStartCurrentEnd(start unsafe.Pointer, current unsafe.Pointer, end unsafe.Pointer)
	GetDebugBufferPointerStartEnd(start unsafe.Pointer, end unsafe.Pointer)
	GetSegmentListPointerStartCurrentEnd(start unsafe.Pointer, current unsafe.Pointer, end unsafe.Pointer)
	GrowDebugBuffer(buffer uint32)
	GrowKernelCommandBuffer(buffer uint64)
	GrowSegmentList()
	GrowSidebandBuffer(buffer uint32)
	IoGPUResourceList() *IOGPUResourceList
	ProtectionOptions() uint64
	ResetCommandBuffer()
	SetCurrentKernelCommandBufferPointer(pointer unsafe.Pointer)
	SetCurrentSegmentListPointer(pointer unsafe.Pointer)
	SetProtectionOptions(options uint64)
	UpdateBufferMappingsHeapOperationsCount(mappings objectivec.IObject, heap objectivec.IObject, operations unsafe.Pointer, count uint64)
	UseInternalResidencySet(set objectivec.IObject)
	UseInternalResidencySetsCount(sets []objectivec.IObject, count uint64)
	InitWithDevice(device objectivec.IObject) IOGPUMetal4CommandBuffer
	// contains filtered or unexported methods
}

An interface definition for the IOGPUMetal4CommandBuffer class.

Methods

type IIOGPUMetal4CommandQueue

type IIOGPUMetal4CommandQueue interface {
	metal.MTL4CommandQueue

	AddInternalResidencySet(set objectivec.IObject)
	AddInternalResidencySetsCount(sets []objectivec.IObject, count uint64)
	AllocateMappingCommandBuffer()
	CommandAllocator() objectivec.IObject
	CommandBufferCompleteCommandAllocatorCommandAllocatorGenerationStorageSubmissionIDStartTimeCompletionTimeKernelErrorErrorCommitFeedbackCommitComplete(complete objectivec.IObject, allocator objectivec.IObject, generation uint32, storage *IOGPUMetalCommandBufferStorage, id uint64, time uint64, time2 uint64, kernelError uint32, underlyingError objectivec.IObject, feedback objectivec.IObject, complete2 bool)
	CommitFillArgsCountArgsArgsSizeCommitFeedback(args []objectivec.IObject, count uint64, args2 uint64, size uint32, feedback objectivec.IObject)
	CommitMappingCommandBuffer()
	EndTier1MappingCommands()
	PreCommitCountOptions(commit []objectivec.IObject, count uint64, options objectivec.IObject) objectivec.IObject
	RemoveInternalResidencySet(set objectivec.IObject)
	RemoveInternalResidencySetsCount(sets []objectivec.IObject, count uint64)
	SetScheduledHandler(handler VoidHandler)
	SupportsBackgroundAppRole() bool
	WaitForEventValueTimeout(event objectivec.IObject, value uint64, timeout uint16)
	InitIOGPUMTL4CommandQueueDescriptorArgsArgsSize(queue objectivec.IObject, descriptor objectivec.IObject, args *IOGPUDeviceNewCommandQueueArgs, size uint32) IOGPUMetal4CommandQueue
	InitWithDevice(device objectivec.IObject) IOGPUMetal4CommandQueue
	InitWithDeviceDescriptor(device objectivec.IObject, descriptor objectivec.IObject) IOGPUMetal4CommandQueue
	InitWithDeviceDescriptorArgsArgsSize(device objectivec.IObject, descriptor objectivec.IObject, args *IOGPUDeviceNewCommandQueueArgs, size uint32) IOGPUMetal4CommandQueue
	// contains filtered or unexported methods
}

An interface definition for the IOGPUMetal4CommandQueue class.

Methods

type IIOGPUMetalBlitCommandEncoder

type IIOGPUMetalBlitCommandEncoder interface {
	IIOGPUMetalCommandEncoder

	CopyFromTextureSourceSliceSourceLevelToTextureDestinationSliceDestinationLevelSliceCountLevelCount(texture objectivec.IObject, slice uint64, level uint64, texture2 objectivec.IObject, slice2 uint64, level2 uint64, count uint64, count2 uint64)
	CopyFromTextureToTexture(texture objectivec.IObject, texture2 objectivec.IObject)
	CopyIndirectCommandBufferSourceRangeDestinationDestinationIndex(buffer objectivec.IObject, range_ foundation.NSRange, destination objectivec.IObject, index uint64)
	FillBufferRangePattern4(buffer objectivec.IObject, range_ foundation.NSRange, pattern4 uint32)
	FillTextureLevelSliceRegionBytesLength(texture objectivec.IObject, level uint64, slice uint64, region unsafe.Pointer, bytes []byte)
	FillTextureLevelSliceRegionColor(texture objectivec.IObject, level uint64, slice uint64, region unsafe.Pointer, color unsafe.Pointer)
	FillTextureLevelSliceRegionColorPixelFormat(texture objectivec.IObject, level uint64, slice uint64, region unsafe.Pointer, color unsafe.Pointer, format uint64)
	GetType() uint64
	OptimizeContentsForCPUAccess(cPUAccess objectivec.IObject)
	OptimizeContentsForCPUAccessSliceLevel(cPUAccess objectivec.IObject, slice uint64, level uint64)
	OptimizeContentsForGPUAccess(gPUAccess objectivec.IObject)
	OptimizeContentsForGPUAccessSliceLevel(gPUAccess objectivec.IObject, slice uint64, level uint64)
	OptimizeIndirectCommandBufferWithRange(buffer objectivec.IObject, range_ foundation.NSRange)
	ResetCommandsInBufferWithRange(buffer objectivec.IObject, range_ foundation.NSRange)
	ResolveCountersInRangeDestinationBufferDestinationOffset(counters objectivec.IObject, range_ foundation.NSRange, buffer objectivec.IObject, offset uint64)
	SampleCountersInBufferAtSampleIndexWithBarrier(buffer objectivec.IObject, index uint64, barrier bool)
	SynchronizeResource(resource objectivec.IObject)
	SynchronizeTextureSliceLevel(texture objectivec.IObject, slice uint64, level uint64)
	UpdateFence(fence objectivec.IObject)
	WaitForFence(fence objectivec.IObject)
}

An interface definition for the IOGPUMetalBlitCommandEncoder class.

Methods

type IIOGPUMetalBuffer

type IIOGPUMetalBuffer interface {
	IIOGPUMetalResource

	AddDebugMarkerRange(marker objectivec.IObject, range_ foundation.NSRange)
	Contents() unsafe.Pointer
	DetachBacking() bool
	DidModifyRange(range_ foundation.NSRange)
	FormattedDescription(description uint64) objectivec.IObject
	Iosurface() iosurface.IOSurfaceRef
	Length() uint64
	NewLinearTextureWithDescriptorOffsetBytesPerRowBytesPerImage(descriptor objectivec.IObject, offset uint64, row uint64, image uint64) objectivec.IObject
	NewRemoteBufferViewForDevice(device objectivec.IObject) objectivec.IObject
	PlacementSparsePageSize() int64
	RemoteStorageBuffer() unsafe.Pointer
	RemoveAllDebugMarkers()
	ReplaceBackingWithBytesNoCopyLengthDeallocator(copy_ unsafe.Pointer, length uint64, deallocator VoidHandler) bool
	ReplaceBackingWithRangesReadOnly(ranges objectivec.IObject, only bool) bool
	InitStandinWithDeviceBytesNoCopyLengthDeallocator(device objectivec.IObject, copy_ unsafe.Pointer, length uint64, deallocator VoidHandler) IOGPUMetalBuffer
	InitWithDeviceAddressRangesAddressRangeCountLengthOptionsGpuAddressArgsArgsSize(device objectivec.IObject, ranges *IOGPUAddressRange, count uint64, length uint64, options uint64, address uint64, args *IOGPUNewResourceArgs, size uint32) IOGPUMetalBuffer
	InitWithDeviceIosurfaceArgsArgsSize(device objectivec.IObject, iosurface iosurface.IOSurfaceRef, args *IOGPUNewResourceArgs, size uint32) IOGPUMetalBuffer
	InitWithDeviceIosurfaceGpuAddressArgsArgsSize(device objectivec.IObject, iosurface iosurface.IOSurfaceRef, address uint64, args *IOGPUNewResourceArgs, size uint32) IOGPUMetalBuffer
	InitWithDevicePointerLengthAlignmentOptionsSysMemSizeGpuAddressArgsArgsSizeDeallocator(device objectivec.IObject, pointer unsafe.Pointer, length uint64, alignment uint32, options uint64, size uint64, address uint64, args *IOGPUNewResourceArgs, size2 uint32, deallocator VoidHandler) IOGPUMetalBuffer
	InitWithDevicePointerLengthAlignmentOptionsSysMemSizeGpuAddressGpuTagArgsArgsSizeDeallocator(device objectivec.IObject, pointer unsafe.Pointer, length uint64, alignment uint32, options uint64, size uint64, address uint64, tag uint64, args *IOGPUNewResourceArgs, size2 uint32, deallocator VoidHandler) IOGPUMetalBuffer
	InitWithDevicePointerLengthAlignmentOptionsSysMemSizeGpuAddressGpuTagPlacementSparsePageSizeArgsArgsSizeDeallocator(device objectivec.IObject, pointer unsafe.Pointer, length uint64, alignment uint32, options uint64, size uint64, address uint64, tag uint64, size2 int64, args *IOGPUNewResourceArgs, size3 uint32, deallocator VoidHandler) IOGPUMetalBuffer
	InitWithDevicePointerLengthAlignmentOptionsSysMemSizeGpuAddressGpuTagPlacementSparsePageSizePlacementSparseResidencyBytesArgsArgsSizeDeallocator(device objectivec.IObject, pointer unsafe.Pointer, length uint64, alignment uint32, options uint64, size uint64, address uint64, tag uint64, size2 int64, bytes uint64, args *IOGPUNewResourceArgs, size3 uint32, deallocator VoidHandler) IOGPUMetalBuffer
	InitWithDevicePointerLengthOptionsSysMemSizeGpuAddressArgsArgsSizeDeallocator(device objectivec.IObject, pointer unsafe.Pointer, length uint64, options uint64, size uint64, address uint64, args *IOGPUNewResourceArgs, size2 uint32, deallocator VoidHandler) IOGPUMetalBuffer
	InitWithDevicePointerLengthOptionsSysMemSizeVidMemSizeArgsArgsSizeDeallocator(device objectivec.IObject, pointer unsafe.Pointer, length uint64, options uint64, size uint64, size2 uint64, args *IOGPUNewResourceArgs, size3 uint32, deallocator VoidHandler) IOGPUMetalBuffer
	InitWithDeviceRemoteStorageBufferArgsArgsSize(device objectivec.IObject, buffer objectivec.IObject, args *IOGPUNewResourceArgs, size uint32) IOGPUMetalBuffer
	InitWithHeapResourceOffsetLength(heap objectivec.IObject, resource objectivec.IObject, offset uint64, length uint64) IOGPUMetalBuffer
	InitWithHeapResourceOffsetLengthGpuTag(heap objectivec.IObject, resource objectivec.IObject, offset uint64, length uint64, tag uint64) IOGPUMetalBuffer
	InitWithPrimaryBufferHeapIndexBufferIndexBufferOffsetLengthArgsArgsSize(buffer objectivec.IObject, index int16, index2 int16, offset uint64, length uint64, args *IOGPUNewResourceArgs, size uint32) IOGPUMetalBuffer
	InitWithPrimaryBufferHeapIndexBufferIndexBufferOffsetLengthArgsArgsSizeGpuTag(buffer objectivec.IObject, index int16, index2 int16, offset uint64, length uint64, args *IOGPUNewResourceArgs, size uint32, tag uint64) IOGPUMetalBuffer
	// contains filtered or unexported methods
}

An interface definition for the IOGPUMetalBuffer class.

Methods

type IIOGPUMetalCommandBuffer

type IIOGPUMetalCommandBuffer interface {
	metal.MTLCommandBuffer

	AddPurgedHeap(heap objectivec.IObject)
	AddPurgedResource(resource objectivec.IObject)
	AkPrivateResourceList() objectivec.IObject
	AkResourceList() objectivec.IObject
	AllocCommandBufferResourceAtIndex(index uint32)
	AllocDebugBuffer()
	AllocateSidebandBuffer(buffer uint32)
	BeginSegment(segment unsafe.Pointer)
	CommandBufferResourceInfo() *IOGPUMetalCommandBufferResourceInfo
	CommandBufferStorage() *IOGPUMetalCommandBufferStorage
	CommitAndReset()
	CommitEncoder()
	DidCompleteWithStartTimeEndTimeError(time uint64, time2 uint64, error_ objectivec.IObject)
	DoCorruptCBSPI(cbspi int)
	EncodeConditionalAbortEvent(event objectivec.IObject)
	EncodeSignalEventValueAgentMask(event objectivec.IObject, value uint64, mask uint64)
	EncodeSignalEventScheduledValue(scheduled objectivec.IObject, value uint64)
	EncodeSubmitSleepMS(ms uint32)
	EncodeWaitForEventValueTimeout(event objectivec.IObject, value uint64, timeout uint32)
	EndCurrentSegment()
	FillCommandBufferArgsCommandQueue(args *IOGPUCommandQueueCommandBufferArgs, queue objectivec.IObject)
	GetCurrentKernelCommandBufferPointerEnd(pointer unsafe.Pointer, end unsafe.Pointer)
	GetCurrentKernelCommandBufferStartCurrentEnd(start unsafe.Pointer, current unsafe.Pointer, end unsafe.Pointer)
	GetDebugBufferPointerStartEnd(start unsafe.Pointer, end unsafe.Pointer)
	GetSegmentListHeader() *IOGPUSegmentListHeader
	GetSegmentListLockedPeerIndex(index *uint32) bool
	GetSegmentListPointerStartCurrentEnd(start unsafe.Pointer, current unsafe.Pointer, end unsafe.Pointer)
	GpuFaultAddress() uint64
	GrowDebugBuffer(buffer uint32)
	GrowKernelCommandBuffer(buffer uint64)
	GrowSegmentList()
	GrowSidebandBuffer(buffer uint32)
	IoGPUResourceList() *IOGPUResourceList
	KernelCommandCollectTimeStamp()
	KprintfBytesLength(bytes string, length uint64)
	ProtectionOptions() uint64
	SetCurrentCommandEncoder(encoder objectivec.IObject)
	SetCurrentKernelCommandBufferPointer(pointer unsafe.Pointer)
	SetCurrentSegmentListPointer(pointer unsafe.Pointer)
	SetProtectionOptions(options uint64)
	SetResponsibleTaskIDsCount(iDs []uint32, count uint32)
	SetSegmentListLockedPeerIndex(index uint32)
	UseInternalResidencySet(set objectivec.IObject)
	UseInternalResidencySetsCount(sets []objectivec.IObject, count uint64)
	Validate()
	InitWithQueueRetainedReferences(queue objectivec.IObject, references bool) IOGPUMetalCommandBuffer
	InitWithQueueRetainedReferencesSynchronousDebugMode(queue objectivec.IObject, references bool, mode bool) IOGPUMetalCommandBuffer
	// contains filtered or unexported methods
}

An interface definition for the IOGPUMetalCommandBuffer class.

Methods

type IIOGPUMetalCommandEncoder

type IIOGPUMetalCommandEncoder interface {
	metal.MTLCommandEncoder

	InitWithCommandBuffer(buffer objectivec.IObject) IOGPUMetalCommandEncoder
}

An interface definition for the IOGPUMetalCommandEncoder class.

Methods

type IIOGPUMetalCommandQueue

type IIOGPUMetalCommandQueue interface {
	metal.MTLCommandQueue

	AddInternalResidencySet(set objectivec.IObject)
	AddInternalResidencySetsCount(sets []objectivec.IObject, count uint64)
	DispatchAvailableCompletionNotifications()
	GetBackgroundGPUPriority() uint64
	GetGPUPriority() uint64
	RemoveInternalResidencySet(set objectivec.IObject)
	RemoveInternalResidencySetsCount(sets []objectivec.IObject, count uint64)
	SetBackgroundGPUPriority(gPUPriority uint64) bool
	SetBackgroundGPUPriorityOffset(gPUPriority uint64, offset uint16) bool
	SetCompletionQueue(queue objectivec.IObject)
	SetGPUPriority(gPUPriority uint64) bool
	SetGPUPriorityOffset(gPUPriority uint64, offset uint16) bool
	SubmitCommandBuffersCount(buffers []objectivec.IObject, count uint64)
	SupportsBackgroundAppRole() bool
	InitWithDeviceDescriptor(device objectivec.IObject, descriptor objectivec.IObject) IOGPUMetalCommandQueue
	InitWithDeviceDescriptorArgsArgsSize(device objectivec.IObject, descriptor objectivec.IObject, args *IOGPUDeviceNewCommandQueueArgs, size uint32) IOGPUMetalCommandQueue
	// contains filtered or unexported methods
}

An interface definition for the IOGPUMetalCommandQueue class.

Methods

type IIOGPUMetalComputeCommandEncoder

type IIOGPUMetalComputeCommandEncoder interface {
	IIOGPUMetalCommandEncoder

	ExecuteCommandsInBufferIndirectBufferIndirectBufferOffset(buffer objectivec.IObject, buffer2 objectivec.IObject, offset uint64)
	ExecuteCommandsInBufferWithRange(buffer objectivec.IObject, range_ foundation.NSRange)
	GetBufferContentsAtIndex(index uint64) unsafe.Pointer
	GetComputePipelineState() objectivec.IObject
	GetType() uint64
	MemoryBarrierWithResourcesCount(resources []objectivec.IObject, count uint64)
	MemoryBarrierWithScope(scope uint64)
	SampleCountersInBufferAtSampleIndexWithBarrier(buffer objectivec.IObject, index uint64, barrier bool)
	SetAccelerationStructureAtBufferIndex(structure objectivec.IObject, index uint64)
	SetFunctionTableAtIndex(table objectivec.IObject, index uint64)
	SetFunctionTablesWithRange(tables []objectivec.IObject, range_ foundation.NSRange)
	SetIntersectionFunctionTableAtBufferIndex(table objectivec.IObject, index uint64)
	SetIntersectionFunctionTablesWithBufferRange(tables []objectivec.IObject, range_ foundation.NSRange)
	SetVisibleFunctionTableAtBufferIndex(table objectivec.IObject, index uint64)
	SetVisibleFunctionTablesWithBufferRange(tables []objectivec.IObject, range_ foundation.NSRange)
	UpdateFence(fence objectivec.IObject)
	UseHeap(heap objectivec.IObject)
	UseHeapsCount(heaps []objectivec.IObject, count uint64)
	UseResourceUsage(resource objectivec.IObject, usage uint64)
	UseResourcesCountUsage(resources []objectivec.IObject, count uint64, usage uint64)
	WaitForFence(fence objectivec.IObject)
}

An interface definition for the IOGPUMetalComputeCommandEncoder class.

Methods

type IIOGPUMetalDevice

type IIOGPUMetalDevice interface {
	metal.MTLDevice

	AcceleratorPort() uint32
	AkPrivateResourceListPool() objectivec.IObject
	AkResourceListPool() objectivec.IObject
	AllocBufferSubDataWithLengthOptionsAlignmentHeapIndexBufferIndexBufferOffset(length uint64, options uint64, alignment uint64, index *int16, index2 *int16, offset *uint64) objectivec.IObject
	AllocBufferSubDataWithLengthOptionsAlignmentHeapIndexBufferIndexBufferOffsetParentAddressParentLength(length uint64, options uint64, alignment uint64, index *int16, index2 *int16, offset *uint64, address uint64, length2 uint64) objectivec.IObject
	BufferClass() objectivec.Class
	CmdBufArgsSize() uint32
	DeallocBufferSubDataHeapIndexBufferIndexBufferOffsetLength(data objectivec.IObject, index int16, index2 int16, offset uint64, length uint64)
	DedicatedMemorySize() uint64
	DeviceRef() uintptr
	GetBuiltInGPUPropertiesTransferRate(gPUProperties *uint64, rate *uint64)
	GetExternalGPUPropertiesTransferRate(gPUProperties *uint64, rate *uint64)
	GetSlottedGPUPropertiesTransferRate(gPUProperties *uint64, rate *uint64)
	GetSurfaceModeWidthHeightForId(mode *uint64, width *uint32, height *uint32, id uint32) int
	HwResourcePoolCount() uint32
	HwResourcePools() []objectivec.IObject
	IndirectArgumentBufferDecodingData() objectivec.IObject
	InitialDebugBufferShmemSize() IOGPUMetalDevice
	InitialIOKernelCommandListShmemSize() IOGPUMetalDevice
	InitialKernelCommandShmemSize() IOGPUMetalDevice
	InitialSegmentListShmemSize() IOGPUMetalDevice
	InitialSidebandShmemSize() IOGPUMetalDevice
	IsBuiltIn() bool
	IsSlotted() bool
	LaunchMappingThread()
	MemoryInfo() IIOGPUMemoryInfo
	NewAccelerationStructureWithBufferOffset(buffer objectivec.IObject, offset uint64) objectivec.IObject
	NewAccelerationStructureWithBufferOffsetResourceIndex(buffer objectivec.IObject, offset uint64, index uint64) objectivec.IObject
	NewAccelerationStructureWithSizeResourceIndex(size uint64, index uint64) objectivec.IObject
	NewArgumentEncoderWithLayout(layout objectivec.IObject) objectivec.IObject
	NewDevicePoolAliasedCommandAllocator() objectivec.IObject
	NewEventWithOptions(options int64) objectivec.IObject
	NewGLDrawable() objectivec.IObject
	NewIOHandleWithURLCompressionTypeError(url foundation.NSURL, type_ int64) (objectivec.IObject, error)
	NewIndirectArgumentBufferLayoutWithStructType(type_ objectivec.IObject) objectivec.IObject
	NewIndirectArgumentEncoderWithLayout(layout objectivec.IObject) objectivec.IObject
	NewIntersectionFunctionTableWithDescriptor(descriptor objectivec.IObject) objectivec.IObject
	NewLateEvalEvent() objectivec.IObject
	NewTiledTextureWithBytesNoCopyLengthDeallocatorDescriptorOffsetBytesPerRow(copy_ unsafe.Pointer, length uint64, deallocator VoidHandler, descriptor objectivec.IObject, offset uint64, row uint64) objectivec.IObject
	NewTiledTextureWithBytesNoCopyLengthDescriptorOffsetBytesPerRow(copy_ unsafe.Pointer, length uint64, descriptor objectivec.IObject, offset uint64, row uint64) objectivec.IObject
	NewUncachedIOFileHandleWithURLCompressionMethodError(url foundation.NSURL, method int64) (objectivec.IObject, error)
	NewUncachedIOFileHandleWithURLError(url foundation.NSURL) (objectivec.IObject, error)
	NewUncachedIOHandleWithURLCompressionTypeError(url foundation.NSURL, type_ int64) (objectivec.IObject, error)
	NewUncachedIOHandleWithURLError(url foundation.NSURL) (objectivec.IObject, error)
	NumCommandBuffers() int
	ReleasePeerConnection(connection objectivec.IObject)
	RetainPeerConnection(connection objectivec.IObject) bool
	SetComputePipelineStateCommandShmemSize(size uint32)
	SetHwResourcePoolCount(pool []objectivec.IObject, count int)
	SetIndirectArgumentBufferDecodingData(data objectivec.IObject)
	SetSegmentListShmemSize(size uint32)
	SharedMemorySize() uint64
	SupportPriorityBand() bool
	SupportsBackgroundAppRole() bool
	SupportsResourceDetachBacking() bool
	SupportsVertexAmplification() bool
	UpdateGPUSelectionProperties()
	InitWithAcceleratorPort(port uint32) IOGPUMetalDevice
	InitWithAcceleratorPortOptions(port uint32, options uint64) IOGPUMetalDevice
	Headless() bool
	LowPower() bool
	Removable() bool
	// contains filtered or unexported methods
}

An interface definition for the IOGPUMetalDevice class.

Methods

type IIOGPUMetalDeviceAssertion

type IIOGPUMetalDeviceAssertion interface {
	objectivec.IObject

	InitWithDeviceAssertionTypeOptions(device objectivec.IObject, type_ uint64, options uint64) IOGPUMetalDeviceAssertion
}

An interface definition for the IOGPUMetalDeviceAssertion class.

Methods

type IIOGPUMetalDeviceShmem

type IIOGPUMetalDeviceShmem interface {
	objectivec.IObject

	ShmemID() uint32
	ShmemSize() uint32
	VirtualAddress() unsafe.Pointer
	InitWithDeviceShmemSizeShmemType(device objectivec.IObject, size uint32, type_ int) IOGPUMetalDeviceShmem
}

An interface definition for the IOGPUMetalDeviceShmem class.

Methods

type IIOGPUMetalFence

type IIOGPUMetalFence interface {
	metal.MTLFence

	InitWithDevice(device objectivec.IObject) IOGPUMetalFence
	DebugDescription() string
	Description() string
	Hash() uint64
	Superclass() objectivec.Class
}

An interface definition for the IOGPUMetalFence class.

Methods

type IIOGPUMetalGLDrawable

type IIOGPUMetalGLDrawable interface {
	objectivec.IObject

	ClearDrawable() int
	Height() uint32
	LookupIOSurfaceAtIndex(index uint64) objectivec.IObject
	SetDrawableSurfaceModeColorDepthModeFaceLevelVolatileFixedSourceScaleOptionsScaledWidthScaledHeight(surface uint32, mode uint64, mode2 uint32, face uint32, level uint32, volatile uint32, source uint32, options uint32, width uint32, height uint32) int
	SetSwapIntervalLimit(interval int, limit int) int
	SetSwapRectXYWH(x uint32, y uint32, w uint32, h uint32) int
	SignalSharedEventValueOperation(event objectivec.IObject, value uint64, operation uint64) int
	SurfaceHeight() uint32
	SurfaceWidth() uint32
	Width() uint32
	WindowMode() uint64
	InitWithDevice(device objectivec.IObject) IOGPUMetalGLDrawable
}

An interface definition for the IOGPUMetalGLDrawable class.

Methods

type IIOGPUMetalHeap

type IIOGPUMetalHeap interface {
	metal.MTLHeap

	DeallocHeapSubResource()
	DetachBacking() bool
	GlobalTraceObjectID() uint64
	GpuAddress() uint64
	MaxCompatiblePlacementSparsePageSize() int64
	NewAccelerationStructureWithSizeOffsetResourceIndex(size uint64, offset uint64, index uint64) objectivec.IObject
	NewAccelerationStructureWithSizeResourceIndex(size uint64, index uint64) objectivec.IObject
	NewSubResourceAtOffsetWithLengthAlignmentOptions(offset uint64, length uint64, alignment uint64, options uint64) objectivec.IObject
	NewSubResourceWithLengthAlignmentOptionsOffset(length uint64, alignment uint64, options uint64, offset *uint64) objectivec.IObject
	ProtectionOptions() uint64
	ReplaceBackingWithRangesReadOnly(ranges objectivec.IObject, only bool) bool
	UnpinMemoryAtOffsetWithLength(offset uint64, length uint64)
	InitWithDeviceSizeOptionsArgsArgsSize(device objectivec.IObject, size uint64, options uint64, args *IOGPUNewResourceArgs, size2 uint32) IOGPUMetalHeap
	InitWithDeviceSizeOptionsArgsArgsSizeDesc(device objectivec.IObject, size uint64, options uint64, args *IOGPUNewResourceArgs, size2 uint32, desc objectivec.IObject) IOGPUMetalHeap
	UnfilteredResourceOptions() uint64
}

An interface definition for the IOGPUMetalHeap class.

Methods

type IIOGPUMetalIOCommandBuffer

type IIOGPUMetalIOCommandBuffer interface {
	metal.MTLIOCommandBuffer

	Barrier()
	BarrierComplete(complete int64)
	CompleteCommandCallbackBlocks()
	CreateCommandList()
	DidCompleteWithStatus(status int64)
	EncodeSignalEventValue(event objectivec.IObject, value uint64)
	EncodeWaitForEventValue(event objectivec.IObject, value uint64)
	GetCommandBufferBytes(bytes uint32) unsafe.Pointer
	GlobalTraceObjectID() uint64
	GrowKernelCommandBuffer(buffer uint32)
	HasFollowOnWork() bool
	IsCommitted() bool
	LoadBufferOffsetSizeHandleHandleOffset(buffer objectivec.IObject, offset uint64, size uint64, handle objectivec.IObject, offset2 uint64)
	LoadTextureSliceLevelSizeBytesPerRowBytesPerImageDstOriginHandleHandleOffset(texture objectivec.IObject, slice uint64, level uint64, size unsafe.Pointer, row uint64, image uint64, origin unsafe.Pointer, handle objectivec.IObject, offset uint64)
	ValidateNotificationCount() bool
	InitWithQueue(queue objectivec.IObject) IOGPUMetalIOCommandBuffer
	InitWithQueueResourceListRetained(queue objectivec.IObject, list objectivec.IObject, retained bool) IOGPUMetalIOCommandBuffer
}

An interface definition for the IOGPUMetalIOCommandBuffer class.

Methods

type IIOGPUMetalIOCommandQueue

type IIOGPUMetalIOCommandQueue interface {
	metal.MTLIOCommandQueue

	Barrier()
	CommandBufferComplete()
	CommitCommandBuffer(buffer objectivec.IObject)
	DidCompleteWithStatus(complete objectivec.IObject, status int64)
	EnqueueCommandBuffer(buffer objectivec.IObject)
	GetDecompressionQueue() objectivec.IObject
	GetPriority() int64
	GlobalTraceObjectID() uint64
	LaunchIOGPUIOThreads()
	LaunchIOWorkerThreads()
	SubmitAvailableCommands()
	InitWithDeviceDescriptor(device objectivec.IObject, descriptor objectivec.IObject) IOGPUMetalIOCommandQueue
	// contains filtered or unexported methods
}

An interface definition for the IOGPUMetalIOCommandQueue class.

Methods

type IIOGPUMetalIOHandleRaw

type IIOGPUMetalIOHandleRaw interface {
	IMTLIOHandleRaw

	GlobalTraceObjectID() uint64
	SetLabel(label objectivec.IObject)
	VnioID() uint32
	InitWithDevicePathErrorUncached(device objectivec.IObject, path string, error_ []objectivec.IObject, uncached bool) IOGPUMetalIOHandleRaw
}

An interface definition for the IOGPUMetalIOHandleRaw class.

Methods

type IIOGPUMetalIndirectArgumentEncoder

type IIOGPUMetalIndirectArgumentEncoder interface {
	IMTLIndirectArgumentEncoder

	ConstantDataAtIndex(index uint64) unsafe.Pointer
	EncodedLength() uint64
	SetBufferOffsetAtIndex(buffer objectivec.IObject, offset uint64, index uint64)
	SetBuffersOffsetsWithRange(buffers []objectivec.IObject, offsets *uint64, range_ foundation.NSRange)
	SetFunctionTableAtIndex(table objectivec.IObject, index uint64)
	SetFunctionTablesWithRange(tables []objectivec.IObject, range_ foundation.NSRange)
	SetIndirectArgumentBufferOffset(buffer objectivec.IObject, offset uint64)
	SetIndirectCommandBufferAtIndex(buffer objectivec.IObject, index uint64)
	SetIndirectCommandBuffersWithRange(buffers []objectivec.IObject, range_ foundation.NSRange)
	SetIntersectionFunctionTableAtBufferIndex(table objectivec.IObject, index uint64)
	SetIntersectionFunctionTableAtIndex(table objectivec.IObject, index uint64)
	SetIntersectionFunctionTablesWithBufferRange(tables []objectivec.IObject, range_ foundation.NSRange)
	SetIntersectionFunctionTablesWithRange(tables []objectivec.IObject, range_ foundation.NSRange)
	SetSamplerStateAtIndex(state objectivec.IObject, index uint64)
	SetSamplerStatesWithRange(states []objectivec.IObject, range_ foundation.NSRange)
	SetTextureAtIndex(texture objectivec.IObject, index uint64)
	SetTexturesWithRange(textures []objectivec.IObject, range_ foundation.NSRange)
	SetVisibleFunctionTableAtBufferIndex(table objectivec.IObject, index uint64)
	SetVisibleFunctionTableAtIndex(table objectivec.IObject, index uint64)
	SetVisibleFunctionTablesWithBufferRange(tables []objectivec.IObject, range_ foundation.NSRange)
	SetVisibleFunctionTablesWithRange(tables []objectivec.IObject, range_ foundation.NSRange)
}

An interface definition for the IOGPUMetalIndirectArgumentEncoder class.

Methods

type IIOGPUMetalIndirectComputeCommand

type IIOGPUMetalIndirectComputeCommand interface {
	metal.MTLIndirectComputeCommand
}

An interface definition for the IOGPUMetalIndirectComputeCommand class.

type IIOGPUMetalIndirectRenderCommand

type IIOGPUMetalIndirectRenderCommand interface {
	metal.MTLIndirectRenderCommand
}

An interface definition for the IOGPUMetalIndirectRenderCommand class.

type IIOGPUMetalIntersectionFunctionTable

type IIOGPUMetalIntersectionFunctionTable interface {
	IIOGPUMetalResource

	BufferAddressAtIndex(index uint64) uint64
	GlobalBuffer() unsafe.Pointer
	SetGlobalBuffer(value unsafe.Pointer)
	GlobalBufferOffset() uint64
	SetGlobalBufferOffset(value uint64)
	GpuHandle() uint64
	GpuResourceID() metal.MTLResourceID
	ResourceIndex() uint64
	SetBufferOffsetAtIndex(buffer objectivec.IObject, offset uint64, index uint64)
	SetBuffersOffsetsWithRange(buffers []objectivec.IObject, offsets *uint64, range_ foundation.NSRange)
	SetFunctionAtIndex(function objectivec.IObject, index uint64)
	SetFunctionsWithRange(functions []objectivec.IObject, range_ foundation.NSRange)
	SetOpaqueCurveIntersectionFunctionWithSignatureAtIndex(signature uint64, index uint64)
	SetOpaqueCurveIntersectionFunctionWithSignatureWithRange(signature uint64, range_ foundation.NSRange)
	SetOpaqueTriangleIntersectionFunctionWithSignatureAtIndex(signature uint64, index uint64)
	SetOpaqueTriangleIntersectionFunctionWithSignatureWithRange(signature uint64, range_ foundation.NSRange)
	SetVisibleFunctionTableAtBufferIndex(table objectivec.IObject, index uint64)
	SetVisibleFunctionTablesWithBufferRange(tables []objectivec.IObject, range_ foundation.NSRange)
	UniqueIdentifier() uint64
	VisibleFunctionTable() IIOGPUMetalResource
	InitWithVisibleFunctionTable(table objectivec.IObject) IOGPUMetalIntersectionFunctionTable
}

An interface definition for the IOGPUMetalIntersectionFunctionTable class.

Methods

type IIOGPUMetalParallelRenderCommandEncoder

type IIOGPUMetalParallelRenderCommandEncoder interface {
	metal.MTLParallelRenderCommandEncoder

	GetType() uint64
	IsMemorylessRender() bool
	InitWithCommandBufferRenderPassDescriptor(buffer objectivec.IObject, descriptor objectivec.IObject) IOGPUMetalParallelRenderCommandEncoder
	// contains filtered or unexported methods
}

An interface definition for the IOGPUMetalParallelRenderCommandEncoder class.

Methods

type IIOGPUMetalPooledResource

type IIOGPUMetalPooledResource interface {
	IIOGPUMetalResource
}

An interface definition for the IOGPUMetalPooledResource class.

type IIOGPUMetalRenderCommandEncoder

type IIOGPUMetalRenderCommandEncoder interface {
	IIOGPUMetalCommandEncoder

	ExecuteCommandsInBufferIndirectBufferIndirectBufferOffset(buffer objectivec.IObject, buffer2 objectivec.IObject, offset uint64)
	ExecuteCommandsInBufferWithRange(buffer objectivec.IObject, range_ foundation.NSRange)
	GetFragmentBufferContentsAtIndex(index uint64) unsafe.Pointer
	GetRenderPipelineState() objectivec.IObject
	GetType() uint64
	GetVertexBufferContentsAtIndex(index uint64) unsafe.Pointer
	IsMemorylessRender() bool
	MemoryBarrierWithResourcesCountAfterStagesBeforeStages(resources []objectivec.IObject, count uint64, stages uint64, stages2 uint64)
	MemoryBarrierWithScopeAfterStagesBeforeStages(scope uint64, stages uint64, stages2 uint64)
	SampleCountersInBufferAtSampleIndexWithBarrier(buffer objectivec.IObject, index uint64, barrier bool)
	SetColorStoreActionAtIndex(action uint64, index uint64)
	SetColorStoreActionOptionsAtIndex(options uint64, index uint64)
	SetDepthCleared()
	SetDepthClipModeSPI(spi uint64)
	SetDepthStoreAction(action uint64)
	SetDepthStoreActionOptions(options uint64)
	SetFragmentAccelerationStructureAtBufferIndex(structure objectivec.IObject, index uint64)
	SetFragmentIntersectionFunctionTableAtBufferIndex(table objectivec.IObject, index uint64)
	SetFragmentIntersectionFunctionTablesWithBufferRange(tables []objectivec.IObject, range_ foundation.NSRange)
	SetFragmentVisibleFunctionTableAtBufferIndex(table objectivec.IObject, index uint64)
	SetFragmentVisibleFunctionTablesWithBufferRange(tables []objectivec.IObject, range_ foundation.NSRange)
	SetMeshAccelerationStructureAtBufferIndex(structure objectivec.IObject, index uint64)
	SetMeshIntersectionFunctionTableAtBufferIndex(table objectivec.IObject, index uint64)
	SetMeshIntersectionFunctionTablesWithBufferRange(tables []objectivec.IObject, range_ foundation.NSRange)
	SetObjectAccelerationStructureAtBufferIndex(structure objectivec.IObject, index uint64)
	SetObjectIntersectionFunctionTableAtBufferIndex(table objectivec.IObject, index uint64)
	SetObjectIntersectionFunctionTablesWithBufferRange(tables []objectivec.IObject, range_ foundation.NSRange)
	SetStencilCleared()
	SetStencilStoreAction(action uint64)
	SetStencilStoreActionOptions(options uint64)
	SetTileAccelerationStructureAtBufferIndex(structure objectivec.IObject, index uint64)
	SetTileIntersectionFunctionTableAtBufferIndex(table objectivec.IObject, index uint64)
	SetTileIntersectionFunctionTablesWithBufferRange(tables []objectivec.IObject, range_ foundation.NSRange)
	SetTileVisibleFunctionTableAtBufferIndex(table objectivec.IObject, index uint64)
	SetTileVisibleFunctionTablesWithBufferRange(tables []objectivec.IObject, range_ foundation.NSRange)
	SetVertexAccelerationStructureAtBufferIndex(structure objectivec.IObject, index uint64)
	SetVertexAmplificationCountViewMappings(count uint64, mappings unsafe.Pointer)
	SetVertexIntersectionFunctionTableAtBufferIndex(table objectivec.IObject, index uint64)
	SetVertexIntersectionFunctionTablesWithBufferRange(tables []objectivec.IObject, range_ foundation.NSRange)
	SetVertexVisibleFunctionTableAtBufferIndex(table objectivec.IObject, index uint64)
	SetVertexVisibleFunctionTablesWithBufferRange(tables []objectivec.IObject, range_ foundation.NSRange)
	TextureBarrier()
	UpdateFenceAfterStages(fence objectivec.IObject, stages uint64)
	UseHeap(heap objectivec.IObject)
	UseHeapStages(heap objectivec.IObject, stages uint64)
	UseHeapsCount(heaps []objectivec.IObject, count uint64)
	UseHeapsCountStages(heaps []objectivec.IObject, count uint64, stages uint64)
	UseResourceUsage(resource objectivec.IObject, usage uint64)
	UseResourceUsageStages(resource objectivec.IObject, usage uint64, stages uint64)
	UseResourcesCountUsage(resources []objectivec.IObject, count uint64, usage uint64)
	UseResourcesCountUsageStages(resources []objectivec.IObject, count uint64, usage uint64, stages uint64)
	WaitForFenceBeforeStages(fence objectivec.IObject, stages uint64)
	InitWithCommandBufferDescriptor(buffer objectivec.IObject, descriptor objectivec.IObject) IOGPUMetalRenderCommandEncoder
}

An interface definition for the IOGPUMetalRenderCommandEncoder class.

Methods

type IIOGPUMetalResidencySet

type IIOGPUMetalResidencySet interface {
	IMTLObjectWithLabel

	AddAllocation(allocation objectivec.IObject)
	AddAllocationsCount(allocations []objectivec.IObject, count uint64)
	AllAllocations() foundation.INSArray
	AllCommittedAllocations() foundation.INSArray
	AllocatedSize() uint64
	AllocationCount() uint64
	Commit()
	ContainsAllocation(allocation objectivec.IObject) bool
	CountForAllocation(allocation objectivec.IObject) uint64
	CurrentGeneration() uint64
	SetCurrentGeneration(value uint64)
	Device() unsafe.Pointer
	EndResidency()
	ExpiredGeneration() uint64
	SetExpiredGeneration(value uint64)
	GenerationForAllocation(allocation objectivec.IObject) uint64
	RemoveAllAllocations()
	RemoveAllocation(allocation objectivec.IObject)
	RemoveAllocationsCount(allocations []objectivec.IObject, count uint64)
	RequestResidency()
	InitWithDeviceDescriptorArgsArgsSize(device objectivec.IObject, descriptor objectivec.IObject, args *IOGPUNewResourceArgs, size uint64) IOGPUMetalResidencySet
	DebugDescription() string
	Description() string
	Hash() uint64
	Label() string
	Superclass() objectivec.Class
	// contains filtered or unexported methods
}

An interface definition for the IOGPUMetalResidencySet class.

Methods

type IIOGPUMetalResource

type IIOGPUMetalResource interface {
	metal.MTLResource

	AllocationID() uint64
	AnnotateResource(resource corefoundation.CFDictionaryRef)
	AttachedResourceInfoTraceEmitter() objectivec.IObject
	SetAttachedResourceInfoTraceEmitter(value objectivec.IObject)
	CopyAnnotationDictionaryObj_key_nameObj_dict(dictionary uint64, obj_key_name corefoundation.CFStringRef, obj_dict corefoundation.CFDictionaryRef) corefoundation.CFDictionaryRef
	CopyAnnotations() corefoundation.CFArrayRef
	DoesAliasAllResourcesCount(resources []objectivec.IObject, count uint64) bool
	DoesAliasAnyResourcesCount(resources []objectivec.IObject, count uint64) bool
	DoesAliasResource(resource objectivec.IObject) bool
	EmitResourceInfoTraceEvent()
	GpuAddress() uint64
	IsComplete() bool
	IsPurgeable() bool
	IsWriteComplete() bool
	MetadataVirtualAddress() unsafe.Pointer
	ProtectionOptions() uint64
	ReleaseStrongDevice()
	ResourceID() uint32
	ResourceRef() unsafe.Pointer
	ResourceSize() uint64
	ResponsibleProcess() int
	SetResponsibleProcess(value int)
	RetainedLabel() objectivec.IObject
	UnfilteredResourceOptions() uint64
	VirtualAddress() unsafe.Pointer
	WaitUntilComplete()
	WeakDevice() IIOGPUMetalDevice
	InitMemorylessDescriptor(memoryless objectivec.IObject, descriptor objectivec.IObject) IOGPUMetalResource
	InitStandinWithDevice(device objectivec.IObject) IOGPUMetalResource
	InitWithDeviceOptionsArgsArgsSize(device objectivec.IObject, options uint64, args *IOGPUNewResourceArgs, size uint32) IOGPUMetalResource
	InitWithDeviceRemoteStorageResourceOptionsArgsArgsSize(device objectivec.IObject, resource objectivec.IObject, options uint64, args *IOGPUNewResourceArgs, size uint32) IOGPUMetalResource
	InitWithResource(resource objectivec.IObject) IOGPUMetalResource
	DebugDescription() string
	Description() string
	Hash() uint64
	Superclass() objectivec.Class
	// contains filtered or unexported methods
}

An interface definition for the IOGPUMetalResource class.

Methods

type IIOGPUMetalResourceStateCommandEncoder

type IIOGPUMetalResourceStateCommandEncoder interface {
	IIOGPUMetalCommandEncoder

	GetType() uint64
	MoveTextureMappingsFromTextureSourceSliceSourceLevelSourceOriginSourceSizeToTextureDestinationSliceDestinationLevelDestinationOrigin(texture objectivec.IObject, slice uint64, level uint64, origin unsafe.Pointer, size unsafe.Pointer, texture2 objectivec.IObject, slice2 uint64, level2 uint64, origin2 unsafe.Pointer)
	UpdateTextureMappingModeIndirectBufferIndirectBufferOffset(mapping objectivec.IObject, mode uint64, buffer objectivec.IObject, offset uint64)
	UpdateTextureMappingModeRegionMipLevelSlice(mapping objectivec.IObject, mode uint64, region unsafe.Pointer, level uint64, slice uint64)
	UpdateTextureMappingsModeRegionsMipLevelsSlicesNumRegions(mappings objectivec.IObject, mode uint64, regions unsafe.Pointer, levels *uint64, slices *uint64, regions2 uint64)
}

An interface definition for the IOGPUMetalResourceStateCommandEncoder class.

Methods

type IIOGPUMetalTensor

type IIOGPUMetalTensor interface {
	IIOGPUMetalResource

	Buffer() unsafe.Pointer
	DataType() int64
	Dimensions() metal.MTLTensorExtents
	GetBytesStridesFromSlice(bytes unsafe.Pointer, strides objectivec.IObject, slice MTLTensorSlice)
	GetBytesStridesFromSliceOriginSliceDimensions(bytes unsafe.Pointer, strides objectivec.IObject, origin objectivec.IObject, dimensions objectivec.IObject)
	GpuResourceID() metal.MTLResourceID
	InternalMTLBuffer() objectivec.IObject
	Iosurface() iosurface.IOSurfaceRef
	IsTensorViewableWithReshapedDescriptor(descriptor objectivec.IObject) bool
	NewTensorViewWithReshapedDescriptorError(descriptor objectivec.IObject) (objectivec.IObject, error)
	NewTensorViewWithSliceError(slice MTLTensorSlice) (objectivec.IObject, error)
	Offset() uint64
	ParentTensor() unsafe.Pointer
	Plane() uint64
	ReplaceSliceWithBytesStrides(slice MTLTensorSlice, bytes unsafe.Pointer, strides objectivec.IObject)
	ReplaceSliceOriginSliceDimensionsWithBytesStrides(origin objectivec.IObject, dimensions objectivec.IObject, bytes unsafe.Pointer, strides objectivec.IObject)
	ResourceIndex() uint64
	Strides() metal.MTLTensorExtents
	Usage() uint64
	InitWithBuffer(buffer objectivec.IObject) IOGPUMetalTensor
	BufferOffset() uint64
}

An interface definition for the IOGPUMetalTensor class.

Methods

type IIOGPUMetalTexture

type IIOGPUMetalTexture interface {
	IIOGPUMetalResource

	AllowGPUOptimizedContents() bool
	ArrayLength() uint64
	Buffer() IIOGPUMetalBuffer
	BufferBytesPerRow() uint64
	BufferOffset() uint64
	CompressionFeedback() int64
	CopyFromPixelsRowBytesImageBytesToSliceMipmapLevelOriginSize(pixels unsafe.Pointer, bytes uint64, bytes2 uint64, slice uint64, level uint64, origin unsafe.Pointer, size unsafe.Pointer)
	CopyFromSliceMipmapLevelOriginSizeToPixelsRowBytesImageBytes(slice uint64, level uint64, origin unsafe.Pointer, size unsafe.Pointer, pixels unsafe.Pointer, bytes uint64, bytes2 uint64)
	Depth() uint64
	DidModifyData()
	FormattedDescription(description uint64) objectivec.IObject
	GetBytesBytesPerRowFromRegionMipmapLevel(bytes unsafe.Pointer, row uint64, region unsafe.Pointer, level uint64)
	GpuHandle() uint64
	GpuResourceID() metal.MTLResourceID
	Height() uint64
	Iosurface() iosurface.IOSurfaceRef
	IosurfacePlane() uint64
	IsCompressed() bool
	IsDrawable() bool
	IsFramebufferOnly() bool
	IsShareable() bool
	IsSparse() bool
	MipmapLevelCount() uint64
	NewRemoteTextureViewForDevice(device objectivec.IObject) objectivec.IObject
	NewSharedTextureHandle() objectivec.IObject
	NumFaces() uint64
	ParentRelativeLevel() uint64
	ParentRelativeSlice() uint64
	ParentTexture() IIOGPUMetalTexture
	PixelFormat() uint64
	PlacementSparsePageSize() int64
	RemoteStorageTexture() unsafe.Pointer
	ReplaceRegionMipmapLevelWithBytesBytesPerRow(region unsafe.Pointer, level uint64, bytes unsafe.Pointer, row uint64)
	RootResource() IIOGPUMetalResource
	RootResourceIsSuballocatedBuffer() bool
	Rotation() uint64
	SampleCount() uint64
	Swizzle() unsafe.Pointer
	SwizzleKey() uint32
	TextureType() uint64
	UniqueIdentifier() uint64
	Usage() uint64
	Width() uint64
	InitWithBufferDescriptorOffsetBytesPerRow(buffer objectivec.IObject, descriptor objectivec.IObject, offset uint64, row uint64) IOGPUMetalTexture
	InitWithBufferDescriptorSysMemOffsetSysMemRowBytesVidMemSizeVidMemRowBytesArgsArgsSize(buffer objectivec.IObject, descriptor objectivec.IObject, offset uint64, bytes uint64, size uint64, bytes2 uint64, args *IOGPUNewResourceArgs, size2 uint32) IOGPUMetalTexture
	InitWithBufferDescriptorSysMemOffsetSysMemRowBytesVidMemSizeVidMemRowBytesArgsArgsSizeIsStrideTexture(buffer objectivec.IObject, descriptor objectivec.IObject, offset uint64, bytes uint64, size uint64, bytes2 uint64, args *IOGPUNewResourceArgs, size2 uint32, texture bool) IOGPUMetalTexture
	InitWithCompressedTexturePixelFormatTextureTypeLevelSlice(texture objectivec.IObject, format uint64, type_ uint64, level uint64, slice uint64) IOGPUMetalTexture
	InitWithDeviceDescriptorIosurfacePlaneFieldArgsArgsSize(device objectivec.IObject, descriptor objectivec.IObject, iosurface iosurface.IOSurfaceRef, plane uint32, field uint32, args *IOGPUNewResourceArgs, size uint32) IOGPUMetalTexture
	InitWithDeviceDescriptorPlacementSparseBytesPlacementSparsePageSizePlacementSparseMetaDataBytesArgsArgsSize(device objectivec.IObject, descriptor objectivec.IObject, bytes uint64, size int64, bytes2 uint64, args *IOGPUNewResourceArgs, size2 uint32) IOGPUMetalTexture
	InitWithDeviceDescriptorPlacementSparseBytesPlacementSparsePageSizePlacementSparseMetaDataBytesPlacementSparseResidencyBytesArgsArgsSize(device objectivec.IObject, descriptor objectivec.IObject, bytes uint64, size int64, bytes2 uint64, bytes3 uint64, args *IOGPUNewResourceArgs, size2 uint32) IOGPUMetalTexture
	InitWithDeviceDescriptorSysMemPointerSysMemSizeSysMemLengthSysMemRowBytesArgsArgsSizeDeallocator(device objectivec.IObject, descriptor objectivec.IObject, pointer unsafe.Pointer, size uint64, length uint64, bytes uint64, args *IOGPUNewResourceArgs, size2 uint32, deallocator VoidHandler) IOGPUMetalTexture
	InitWithDeviceDescriptorSysMemSizeSysMemRowBytesVidMemSizeVidMemRowBytesArgsArgsSize(device objectivec.IObject, descriptor objectivec.IObject, size uint64, bytes uint64, size2 uint64, bytes2 uint64, args *IOGPUNewResourceArgs, size3 uint32) IOGPUMetalTexture
	InitWithDeviceRemoteStorageTextureArgsArgsSize(device objectivec.IObject, texture objectivec.IObject, args *IOGPUNewResourceArgs, size uint32) IOGPUMetalTexture
	InitWithHeapResourceOffsetLengthDeviceDescriptor(heap objectivec.IObject, resource objectivec.IObject, offset uint64, length uint64, device objectivec.IObject, descriptor objectivec.IObject) IOGPUMetalTexture
	InitWithPrimaryBufferHeapIndexBufferIndexBufferOffsetLengthDescriptorSysMemRowBytesVidMemSizeVidMemRowBytesArgsArgsSize(buffer objectivec.IObject, index int16, index2 int16, offset uint64, length uint64, descriptor objectivec.IObject, bytes uint64, size uint64, bytes2 uint64, args *IOGPUNewResourceArgs, size2 uint32) IOGPUMetalTexture
	InitWithTexturePixelFormat(texture objectivec.IObject, format uint64) IOGPUMetalTexture
	InitWithTexturePixelFormatTextureTypeLevelsSlices(texture objectivec.IObject, format uint64, type_ uint64, levels foundation.NSRange, slices foundation.NSRange) IOGPUMetalTexture
	InitWithTexturePixelFormatTextureTypeLevelsSlicesSwizzle(texture objectivec.IObject, format uint64, type_ uint64, levels foundation.NSRange, slices foundation.NSRange, swizzle unsafe.Pointer) IOGPUMetalTexture
	InitWithTextureInternalPixelFormatTextureTypeLevelsSlicesSwizzleCompressedView(internal objectivec.IObject, format uint64, type_ uint64, levels foundation.NSRange, slices foundation.NSRange, swizzle unsafe.Pointer, view bool) IOGPUMetalTexture
	FramebufferOnly() bool
	Shareable() bool
}

An interface definition for the IOGPUMetalTexture class.

Methods

type IIOGPUMetalTextureLayout

type IIOGPUMetalTextureLayout interface {
	objectivec.IObject

	InitWithDeviceDescriptor(device objectivec.IObject, descriptor objectivec.IObject) IOGPUMetalTextureLayout
}

An interface definition for the IOGPUMetalTextureLayout class.

Methods

type IIOGPUMetalVisibleFunctionTable

type IIOGPUMetalVisibleFunctionTable interface {
	IIOGPUMetalBuffer

	BufferAddressAtIndex(index uint64) uint64
	GlobalBuffer() unsafe.Pointer
	SetGlobalBuffer(value unsafe.Pointer)
	GlobalBufferOffset() uint64
	SetGlobalBufferOffset(value uint64)
	GpuHandle() uint64
	GpuResourceID() metal.MTLResourceID
	SetBufferOffsetAtIndex(buffer objectivec.IObject, offset uint64, index uint64)
	SetBuffersOffsetsWithRange(buffers []objectivec.IObject, offsets *uint64, range_ foundation.NSRange)
	SetFunctionAtIndex(function objectivec.IObject, index uint64)
	SetFunctionsWithRange(functions []objectivec.IObject, range_ foundation.NSRange)
	SetValueAtIndex(value uint64, index uint64)
	SetValueWithRange(value uint64, range_ foundation.NSRange)
	SetVisibleFunctionTableAtBufferIndex(table objectivec.IObject, index uint64)
	SetVisibleFunctionTablesWithBufferRange(tables []objectivec.IObject, range_ foundation.NSRange)
	ResourceIndex() uint64
	UniqueIdentifier() uint64
}

An interface definition for the IOGPUMetalVisibleFunctionTable class.

Methods

type IMTLDebugCommandEncoder

type IMTLDebugCommandEncoder interface {
	objectivec.IObject
}

An interface definition for the MTLDebugCommandEncoder class.

type IMTLIOHandleCompressed

type IMTLIOHandleCompressed interface {
	objectivec.IObject
}

An interface definition for the MTLIOHandleCompressed class.

type IMTLIOHandleRaw

type IMTLIOHandleRaw interface {
	objectivec.IObject
}

An interface definition for the MTLIOHandleRaw class.

type IMTLIndirectArgumentEncoder

type IMTLIndirectArgumentEncoder interface {
	objectivec.IObject
}

An interface definition for the MTLIndirectArgumentEncoder class.

type IMTLObjectWithLabel

type IMTLObjectWithLabel interface {
	objectivec.IObject
}

An interface definition for the MTLObjectWithLabel class.

type IOGPUAddressRange

type IOGPUAddressRange struct {
	Field1 uint64
	Field2 uint64
}

IOGPUAddressRange

type IOGPUClientSharedGlobalRO

type IOGPUClientSharedGlobalRO struct {
}

IOGPUClientSharedGlobalRO

type IOGPUClientSharedGlobalRORef

type IOGPUClientSharedGlobalRORef = _undefined

type IOGPUClientSharedRO

type IOGPUClientSharedRO struct {
}

IOGPUClientSharedRO

type IOGPUClientSharedRORef

type IOGPUClientSharedRORef = _undefined

type IOGPUCommandQueue

type IOGPUCommandQueue struct {
}

IOGPUCommandQueue

type IOGPUCommandQueueCommandBufferArgs

type IOGPUCommandQueueCommandBufferArgs struct {
	Field1 uint32
	Field2 uint32
	Field3 uint32
	Field4 unsafe.Pointer
	Field5 unsafe.Pointer
	Field6 uint32
	Field7 uint64
}

IOGPUCommandQueueCommandBufferArgs

type IOGPUDevice

type IOGPUDevice struct {
	Field1  CFRuntimeBase
	Field2  uint32
	Field3  uint32
	Field4  *uint32
	Field5  *uint32
	Field6  int32
	Field7  uint32
	Field8  uint32
	Field9  uint32
	Field10 uint32
	Field11 OSUnfairLockS
	Field12 uint64
	Field13 uint64
	Field14 uint64
	Field15 uint64
	Field16 IOGPUDeviceCommPageRef
	Field17 IOGPUClientSharedGlobalRORef
	Field18 func()
	Field19 OSUnfairLockS
	Field20 ShmemlogList
	Field21 uint64
	Field22 uint64
	Field23 uint64
	Field24 IOGPUDeviceConfigData
}

IOGPUDevice

type IOGPUDeviceCommPage

type IOGPUDeviceCommPage struct {
}

IOGPUDeviceCommPage

type IOGPUDeviceCommPageRef

type IOGPUDeviceCommPageRef = _undefined

type IOGPUDeviceConfigData

type IOGPUDeviceConfigData struct {
	Field1  uint32
	Field2  uint32
	Field3  uint64
	Field4  uint64
	Field5  uint32
	Field6  uint32
	Field7  uint64
	Field8  uint64
	Field9  uint64
	Field10 uint32
	Field11 uint32
}

IOGPUDeviceConfigData

type IOGPUDeviceNewCommandQueueArgs

type IOGPUDeviceNewCommandQueueArgs struct {
	Field1 [1024]int8
	Field2 int32
	Field3 uint8
	Field4 uint8
	Field5 [2]uint8
}

IOGPUDeviceNewCommandQueueArgs

type IOGPUDeviceRef

type IOGPUDeviceRef = _undefined

type IOGPUDrawableSurfaceConfig

type IOGPUDrawableSurfaceConfig struct {
	Window_mode uint64
	Width       int32
	Height      int32
	Sfc_width   int32
	Sfc_height  int32
	Config_bits uint32
	Status_bits uint32
	Texture_ram uint64
}

IOGPUDrawableSurfaceConfig

type IOGPUGLDrawable

type IOGPUGLDrawable struct {
}

IOGPUGLDrawable

type IOGPUIOCommandQueue

type IOGPUIOCommandQueue struct {
}

IOGPUIOCommandQueue

type IOGPUIOKernelCommandListHeader

type IOGPUIOKernelCommandListHeader struct {
	Field1 uint32
	Field2 uint32
}

IOGPUIOKernelCommandListHeader

type IOGPUKernelCommandSignalEventAgentArgs

type IOGPUKernelCommandSignalEventAgentArgs struct {
	Field1 uint32
	Field2 uint32
	Field3 uint64
	Field4 uint64
}

IOGPUKernelCommandSignalEventAgentArgs

type IOGPUKernelCommandSignalOrWaitEventArgs

type IOGPUKernelCommandSignalOrWaitEventArgs struct {
	Field1 uint32
	Field2 uint32
	Field3 uint64
}

IOGPUKernelCommandSignalOrWaitEventArgs

type IOGPUMTLEvent

type IOGPUMTLEvent struct {
	objectivec.Object
}

Methods

func IOGPUMTLEventFromID

func IOGPUMTLEventFromID(id objc.ID) IOGPUMTLEvent

IOGPUMTLEventFromID constructs a IOGPUMTLEvent from an objc.ID.

func NewGPUMTLEventWithDeviceRef

func NewGPUMTLEventWithDeviceRef(ref *uintptr) IOGPUMTLEvent

func NewGPUMTLEventWithDeviceRefOptions

func NewGPUMTLEventWithDeviceRefOptions(ref *uintptr, options uint64) IOGPUMTLEvent

func NewIOGPUMTLEvent

func NewIOGPUMTLEvent() IOGPUMTLEvent

NewIOGPUMTLEvent creates a new IOGPUMTLEvent instance.

func (IOGPUMTLEvent) Autorelease

func (i IOGPUMTLEvent) Autorelease() IOGPUMTLEvent

Autorelease adds the receiver to the current autorelease pool.

func (IOGPUMTLEvent) CanEncodeIOGPUKernelConditionalEventAbortCommandArgs

func (i IOGPUMTLEvent) CanEncodeIOGPUKernelConditionalEventAbortCommandArgs() bool

CanEncodeIOGPUKernelConditionalEventAbortCommandArgs reports whether the receiver responds to the private selector _encodeIOGPUKernelConditionalEventAbortCommandArgs:.

func (IOGPUMTLEvent) CanEncodeIOGPUKernelSignalEventAgentCommandArgsValueAgentMask

func (i IOGPUMTLEvent) CanEncodeIOGPUKernelSignalEventAgentCommandArgsValueAgentMask() bool

CanEncodeIOGPUKernelSignalEventAgentCommandArgsValueAgentMask reports whether the receiver responds to the private selector _encodeIOGPUKernelSignalEventAgentCommandArgs:value:agentMask:.

func (IOGPUMTLEvent) CanEncodeIOGPUKernelSignalEventCommandArgsValue

func (i IOGPUMTLEvent) CanEncodeIOGPUKernelSignalEventCommandArgsValue() bool

CanEncodeIOGPUKernelSignalEventCommandArgsValue reports whether the receiver responds to the private selector _encodeIOGPUKernelSignalEventCommandArgs:value:.

func (IOGPUMTLEvent) CanEncodeIOGPUKernelSignalEventScheduledCommandArgs

func (i IOGPUMTLEvent) CanEncodeIOGPUKernelSignalEventScheduledCommandArgs() bool

CanEncodeIOGPUKernelSignalEventScheduledCommandArgs reports whether the receiver responds to the private selector _encodeIOGPUKernelSignalEventScheduledCommandArgs:.

func (IOGPUMTLEvent) CanEncodeIOGPUKernelWaitEventCommandArgsValueTimeout

func (i IOGPUMTLEvent) CanEncodeIOGPUKernelWaitEventCommandArgsValueTimeout() bool

CanEncodeIOGPUKernelWaitEventCommandArgsValueTimeout reports whether the receiver responds to the private selector _encodeIOGPUKernelWaitEventCommandArgs:value:timeout:.

func (IOGPUMTLEvent) CanIsSharedEvent

func (i IOGPUMTLEvent) CanIsSharedEvent() bool

CanIsSharedEvent reports whether the receiver responds to the private selector _isSharedEvent.

func (IOGPUMTLEvent) EnableBarrier

func (i IOGPUMTLEvent) EnableBarrier() bool

func (IOGPUMTLEvent) EncodeIOGPUKernelConditionalEventAbortCommandArgs

func (i IOGPUMTLEvent) EncodeIOGPUKernelConditionalEventAbortCommandArgs(args *IOGPUKernelCommandSignalOrWaitEventArgs) (uint32, error)

EncodeIOGPUKernelConditionalEventAbortCommandArgs is an exported wrapper for the private method _encodeIOGPUKernelConditionalEventAbortCommandArgs.

func (IOGPUMTLEvent) EncodeIOGPUKernelSignalEventAgentCommandArgsValueAgentMask

func (i IOGPUMTLEvent) EncodeIOGPUKernelSignalEventAgentCommandArgsValueAgentMask(args *IOGPUKernelCommandSignalEventAgentArgs, value uint64, mask uint64) (uint32, error)

EncodeIOGPUKernelSignalEventAgentCommandArgsValueAgentMask is an exported wrapper for the private method _encodeIOGPUKernelSignalEventAgentCommandArgsValueAgentMask.

func (IOGPUMTLEvent) EncodeIOGPUKernelSignalEventCommandArgsValue

func (i IOGPUMTLEvent) EncodeIOGPUKernelSignalEventCommandArgsValue(args *IOGPUKernelCommandSignalOrWaitEventArgs, value uint64) (uint32, error)

EncodeIOGPUKernelSignalEventCommandArgsValue is an exported wrapper for the private method _encodeIOGPUKernelSignalEventCommandArgsValue.

func (IOGPUMTLEvent) EncodeIOGPUKernelSignalEventScheduledCommandArgs

func (i IOGPUMTLEvent) EncodeIOGPUKernelSignalEventScheduledCommandArgs(args *IOGPUKernelCommandSignalOrWaitEventArgs) (uint32, error)

EncodeIOGPUKernelSignalEventScheduledCommandArgs is an exported wrapper for the private method _encodeIOGPUKernelSignalEventScheduledCommandArgs.

func (IOGPUMTLEvent) EncodeIOGPUKernelWaitEventCommandArgsValueTimeout

func (i IOGPUMTLEvent) EncodeIOGPUKernelWaitEventCommandArgsValueTimeout(args *IOGPUKernelCommandSignalOrWaitEventArgs, value uint64, timeout uint32) (uint32, error)

EncodeIOGPUKernelWaitEventCommandArgsValueTimeout is an exported wrapper for the private method _encodeIOGPUKernelWaitEventCommandArgsValueTimeout.

func (IOGPUMTLEvent) EventName

func (i IOGPUMTLEvent) EventName() uint32

func (IOGPUMTLEvent) Init

func (i IOGPUMTLEvent) Init() IOGPUMTLEvent

Init initializes the instance.

func (IOGPUMTLEvent) InitWithDeviceRef

func (i IOGPUMTLEvent) InitWithDeviceRef(ref *uintptr) IOGPUMTLEvent

func (IOGPUMTLEvent) InitWithDeviceRefOptions

func (i IOGPUMTLEvent) InitWithDeviceRefOptions(ref *uintptr, options uint64) IOGPUMTLEvent

func (IOGPUMTLEvent) IsSharedEvent

func (i IOGPUMTLEvent) IsSharedEvent() (bool, error)

IsSharedEvent is an exported wrapper for the private method _isSharedEvent.

func (IOGPUMTLEvent) SetEnableBarrier

func (i IOGPUMTLEvent) SetEnableBarrier(value bool)

func (IOGPUMTLEvent) SupportsRollback

func (i IOGPUMTLEvent) SupportsRollback() bool

type IOGPUMTLEventClass

type IOGPUMTLEventClass struct {
	// contains filtered or unexported fields
}

func GetIOGPUMTLEventClass

func GetIOGPUMTLEventClass() IOGPUMTLEventClass

GetIOGPUMTLEventClass returns the class object for IOGPUMTLEvent.

func (IOGPUMTLEventClass) Alloc

func (ic IOGPUMTLEventClass) Alloc() IOGPUMTLEvent

Alloc allocates memory for a new instance of the class.

func (IOGPUMTLEventClass) Class

func (ic IOGPUMTLEventClass) Class() objc.Class

Class returns the underlying Objective-C class pointer.

type IOGPUMTLFence

type IOGPUMTLFence struct {
	objectivec.Object
}

Methods

func IOGPUMTLFenceFromID

func IOGPUMTLFenceFromID(id objc.ID) IOGPUMTLFence

IOGPUMTLFenceFromID constructs a IOGPUMTLFence from an objc.ID.

func NewGPUMTLFenceWithDevice

func NewGPUMTLFenceWithDevice(device *uintptr) IOGPUMTLFence

func NewIOGPUMTLFence

func NewIOGPUMTLFence() IOGPUMTLFence

NewIOGPUMTLFence creates a new IOGPUMTLFence instance.

func (IOGPUMTLFence) Autorelease

func (i IOGPUMTLFence) Autorelease() IOGPUMTLFence

Autorelease adds the receiver to the current autorelease pool.

func (IOGPUMTLFence) Init

func (i IOGPUMTLFence) Init() IOGPUMTLFence

Init initializes the instance.

func (IOGPUMTLFence) InitWithDevice

func (i IOGPUMTLFence) InitWithDevice(device *uintptr) IOGPUMTLFence

type IOGPUMTLFenceClass

type IOGPUMTLFenceClass struct {
	// contains filtered or unexported fields
}

func GetIOGPUMTLFenceClass

func GetIOGPUMTLFenceClass() IOGPUMTLFenceClass

GetIOGPUMTLFenceClass returns the class object for IOGPUMTLFence.

func (IOGPUMTLFenceClass) Alloc

func (ic IOGPUMTLFenceClass) Alloc() IOGPUMTLFence

Alloc allocates memory for a new instance of the class.

func (IOGPUMTLFenceClass) Class

func (ic IOGPUMTLFenceClass) Class() objc.Class

Class returns the underlying Objective-C class pointer.

type IOGPUMTLIdKey

type IOGPUMTLIdKey struct {
}

IOGPUMTLIdKey

type IOGPUMTLLateEvalEvent

type IOGPUMTLLateEvalEvent struct {
	objectivec.Object
}

Methods

func IOGPUMTLLateEvalEventFromID

func IOGPUMTLLateEvalEventFromID(id objc.ID) IOGPUMTLLateEvalEvent

IOGPUMTLLateEvalEventFromID constructs a IOGPUMTLLateEvalEvent from an objc.ID.

func NewGPUMTLLateEvalEventWithDevice

func NewGPUMTLLateEvalEventWithDevice(device *uintptr) IOGPUMTLLateEvalEvent

func NewIOGPUMTLLateEvalEvent

func NewIOGPUMTLLateEvalEvent() IOGPUMTLLateEvalEvent

NewIOGPUMTLLateEvalEvent creates a new IOGPUMTLLateEvalEvent instance.

func (IOGPUMTLLateEvalEvent) Autorelease

Autorelease adds the receiver to the current autorelease pool.

func (IOGPUMTLLateEvalEvent) Init

Init initializes the instance.

func (IOGPUMTLLateEvalEvent) InitWithDevice

func (i IOGPUMTLLateEvalEvent) InitWithDevice(device *uintptr) IOGPUMTLLateEvalEvent

func (IOGPUMTLLateEvalEvent) SetSignaledValue

func (i IOGPUMTLLateEvalEvent) SetSignaledValue(value uint64)

func (IOGPUMTLLateEvalEvent) SignaledValue

func (i IOGPUMTLLateEvalEvent) SignaledValue() uint64

type IOGPUMTLLateEvalEventClass

type IOGPUMTLLateEvalEventClass struct {
	// contains filtered or unexported fields
}

func GetIOGPUMTLLateEvalEventClass

func GetIOGPUMTLLateEvalEventClass() IOGPUMTLLateEvalEventClass

GetIOGPUMTLLateEvalEventClass returns the class object for IOGPUMTLLateEvalEvent.

func (IOGPUMTLLateEvalEventClass) Alloc

Alloc allocates memory for a new instance of the class.

func (IOGPUMTLLateEvalEventClass) Class

Class returns the underlying Objective-C class pointer.

type IOGPUMemoryInfo

type IOGPUMemoryInfo struct {
	objectivec.Object
}

Methods

func IOGPUMemoryInfoFromID

func IOGPUMemoryInfoFromID(id objc.ID) IOGPUMemoryInfo

IOGPUMemoryInfoFromID constructs a IOGPUMemoryInfo from an objc.ID.

func NewIOGPUMemoryInfo

func NewIOGPUMemoryInfo() IOGPUMemoryInfo

NewIOGPUMemoryInfo creates a new IOGPUMemoryInfo instance.

func (IOGPUMemoryInfo) AddDataSource

func (i IOGPUMemoryInfo) AddDataSource(source VoidHandler) unsafe.Pointer

func (IOGPUMemoryInfo) AddDataSourceSync

func (i IOGPUMemoryInfo) AddDataSourceSync(ctx context.Context) error

AddDataSourceSync is a synchronous wrapper around IOGPUMemoryInfo.AddDataSource. It blocks until the completion handler fires or the context is cancelled.

func (IOGPUMemoryInfo) AddResourceToList

func (i IOGPUMemoryInfo) AddResourceToList(list objectivec.IObject)

func (IOGPUMemoryInfo) AnnotationList

func (i IOGPUMemoryInfo) AnnotationList() corefoundation.CFArrayRef

func (IOGPUMemoryInfo) Autorelease

func (i IOGPUMemoryInfo) Autorelease() IOGPUMemoryInfo

Autorelease adds the receiver to the current autorelease pool.

func (IOGPUMemoryInfo) GetAnnotationListAndEmitResourceInfo

func (i IOGPUMemoryInfo) GetAnnotationListAndEmitResourceInfo() corefoundation.CFArrayRef

func (IOGPUMemoryInfo) Init

Init initializes the instance.

func (IOGPUMemoryInfo) Lock

func (i IOGPUMemoryInfo) Lock()

func (IOGPUMemoryInfo) RemoveDataSource

func (i IOGPUMemoryInfo) RemoveDataSource(source unsafe.Pointer)

func (IOGPUMemoryInfo) RemoveResourceFromList

func (i IOGPUMemoryInfo) RemoveResourceFromList(list objectivec.IObject)

func (IOGPUMemoryInfo) Shutdown

func (i IOGPUMemoryInfo) Shutdown()

func (IOGPUMemoryInfo) Unlock

func (i IOGPUMemoryInfo) Unlock()

type IOGPUMemoryInfoClass

type IOGPUMemoryInfoClass struct {
	// contains filtered or unexported fields
}

func GetIOGPUMemoryInfoClass

func GetIOGPUMemoryInfoClass() IOGPUMemoryInfoClass

GetIOGPUMemoryInfoClass returns the class object for IOGPUMemoryInfo.

func (IOGPUMemoryInfoClass) Alloc

Alloc allocates memory for a new instance of the class.

func (IOGPUMemoryInfoClass) Class

func (ic IOGPUMemoryInfoClass) Class() objc.Class

Class returns the underlying Objective-C class pointer.

type IOGPUMetal4CommandAllocator

type IOGPUMetal4CommandAllocator struct {
	metal.MTL4CommandAllocatorObject
}

Methods

func IOGPUMetal4CommandAllocatorFromID

func IOGPUMetal4CommandAllocatorFromID(id objc.ID) IOGPUMetal4CommandAllocator

IOGPUMetal4CommandAllocatorFromID constructs a IOGPUMetal4CommandAllocator from an objc.ID.

func NewGPUMetal4CommandAllocatorWithDevice

func NewGPUMetal4CommandAllocatorWithDevice(device objectivec.IObject) IOGPUMetal4CommandAllocator

func NewGPUMetal4CommandAllocatorWithDeviceAndAliasToDevicePools

func NewGPUMetal4CommandAllocatorWithDeviceAndAliasToDevicePools(pools objectivec.IObject) IOGPUMetal4CommandAllocator

func NewGPUMetal4CommandAllocatorWithDeviceDescriptor

func NewGPUMetal4CommandAllocatorWithDeviceDescriptor(device objectivec.IObject, descriptor objectivec.IObject) IOGPUMetal4CommandAllocator

func NewIOGPUMetal4CommandAllocator

func NewIOGPUMetal4CommandAllocator() IOGPUMetal4CommandAllocator

NewIOGPUMetal4CommandAllocator creates a new IOGPUMetal4CommandAllocator instance.

func (IOGPUMetal4CommandAllocator) Autorelease

Autorelease adds the receiver to the current autorelease pool.

func (IOGPUMetal4CommandAllocator) GetCommandBufferStorageRetainReferences

func (i IOGPUMetal4CommandAllocator) GetCommandBufferStorageRetainReferences(storage uint64, references bool) *IOGPUMetalCommandBufferStorage

func (IOGPUMetal4CommandAllocator) GetGeneration

func (i IOGPUMetal4CommandAllocator) GetGeneration() uint32

func (IOGPUMetal4CommandAllocator) Init

Init initializes the instance.

func (IOGPUMetal4CommandAllocator) InitAllocatorWithDevice

func (IOGPUMetal4CommandAllocator) InitWithDevice

func (IOGPUMetal4CommandAllocator) InitWithDeviceAndAliasToDevicePools

func (i IOGPUMetal4CommandAllocator) InitWithDeviceAndAliasToDevicePools(pools objectivec.IObject) IOGPUMetal4CommandAllocator

func (IOGPUMetal4CommandAllocator) InitWithDeviceDescriptor

func (i IOGPUMetal4CommandAllocator) InitWithDeviceDescriptor(device objectivec.IObject, descriptor objectivec.IObject) IOGPUMetal4CommandAllocator

func (IOGPUMetal4CommandAllocator) ReturnCommandBufferStorageCommandAllocatorGeneration

func (i IOGPUMetal4CommandAllocator) ReturnCommandBufferStorageCommandAllocatorGeneration(storage *IOGPUMetalCommandBufferStorage, generation uint32)

func (IOGPUMetal4CommandAllocator) SetCurrentCommandEncoder

func (i IOGPUMetal4CommandAllocator) SetCurrentCommandEncoder(encoder objectivec.IObject)

func (IOGPUMetal4CommandAllocator) SetHwResourcePoolCount

func (i IOGPUMetal4CommandAllocator) SetHwResourcePoolCount(pool []objectivec.IObject, count uint32)

type IOGPUMetal4CommandAllocatorClass

type IOGPUMetal4CommandAllocatorClass struct {
	// contains filtered or unexported fields
}

func GetIOGPUMetal4CommandAllocatorClass

func GetIOGPUMetal4CommandAllocatorClass() IOGPUMetal4CommandAllocatorClass

GetIOGPUMetal4CommandAllocatorClass returns the class object for IOGPUMetal4CommandAllocator.

func (IOGPUMetal4CommandAllocatorClass) Alloc

Alloc allocates memory for a new instance of the class.

func (IOGPUMetal4CommandAllocatorClass) Class

Class returns the underlying Objective-C class pointer.

type IOGPUMetal4CommandBuffer

type IOGPUMetal4CommandBuffer struct {
	metal.MTL4CommandBufferObject
}

Methods

func IOGPUMetal4CommandBufferFromID

func IOGPUMetal4CommandBufferFromID(id objc.ID) IOGPUMetal4CommandBuffer

IOGPUMetal4CommandBufferFromID constructs a IOGPUMetal4CommandBuffer from an objc.ID.

func NewGPUMetal4CommandBufferWithDevice

func NewGPUMetal4CommandBufferWithDevice(device objectivec.IObject) IOGPUMetal4CommandBuffer

func NewIOGPUMetal4CommandBuffer

func NewIOGPUMetal4CommandBuffer() IOGPUMetal4CommandBuffer

NewIOGPUMetal4CommandBuffer creates a new IOGPUMetal4CommandBuffer instance.

func (IOGPUMetal4CommandBuffer) AkPrivateResourceList

func (i IOGPUMetal4CommandBuffer) AkPrivateResourceList() objectivec.IObject

func (IOGPUMetal4CommandBuffer) AkResourceList

func (i IOGPUMetal4CommandBuffer) AkResourceList() objectivec.IObject

func (IOGPUMetal4CommandBuffer) AllocCommandBufferResourceAtIndex

func (i IOGPUMetal4CommandBuffer) AllocCommandBufferResourceAtIndex(index uint32)

func (IOGPUMetal4CommandBuffer) AllocDebugBuffer

func (i IOGPUMetal4CommandBuffer) AllocDebugBuffer()

func (IOGPUMetal4CommandBuffer) AllocateSidebandBuffer

func (i IOGPUMetal4CommandBuffer) AllocateSidebandBuffer(buffer uint32)

func (IOGPUMetal4CommandBuffer) Autorelease

Autorelease adds the receiver to the current autorelease pool.

func (IOGPUMetal4CommandBuffer) BeginIOGPUCommandBufferWithAllocatorOptions

func (i IOGPUMetal4CommandBuffer) BeginIOGPUCommandBufferWithAllocatorOptions(allocator objectivec.IObject, options objectivec.IObject)

func (IOGPUMetal4CommandBuffer) BeginSegment

func (i IOGPUMetal4CommandBuffer) BeginSegment(segment unsafe.Pointer)

func (IOGPUMetal4CommandBuffer) CanReserveKernelCommandBufferSpace

func (i IOGPUMetal4CommandBuffer) CanReserveKernelCommandBufferSpace() bool

CanReserveKernelCommandBufferSpace reports whether the receiver responds to the private selector _reserveKernelCommandBufferSpace:.

func (IOGPUMetal4CommandBuffer) CommandBufferStorage

func (i IOGPUMetal4CommandBuffer) CommandBufferStorage() *IOGPUMetalCommandBufferStorage

func (IOGPUMetal4CommandBuffer) CommitEncoder

func (i IOGPUMetal4CommandBuffer) CommitEncoder()

func (IOGPUMetal4CommandBuffer) CopyBufferMappingsFromBufferToBufferOperationsCount

func (i IOGPUMetal4CommandBuffer) CopyBufferMappingsFromBufferToBufferOperationsCount(buffer objectivec.IObject, buffer2 objectivec.IObject, operations unsafe.Pointer, count uint64)

func (IOGPUMetal4CommandBuffer) EncodePostMappingWaitEventPostMappingValueTimeout

func (i IOGPUMetal4CommandBuffer) EncodePostMappingWaitEventPostMappingValueTimeout(event objectivec.IObject, value uint64, timeout uint32)

func (IOGPUMetal4CommandBuffer) EncodeSignalEventValue

func (i IOGPUMetal4CommandBuffer) EncodeSignalEventValue(event objectivec.IObject, value uint64)

func (IOGPUMetal4CommandBuffer) EncodeWaitForEventValue

func (i IOGPUMetal4CommandBuffer) EncodeWaitForEventValue(event objectivec.IObject, value uint64)

func (IOGPUMetal4CommandBuffer) EncodeWaitForEventValueTimeout

func (i IOGPUMetal4CommandBuffer) EncodeWaitForEventValueTimeout(event objectivec.IObject, value uint64, timeout uint32)

func (IOGPUMetal4CommandBuffer) EndCurrentSegment

func (i IOGPUMetal4CommandBuffer) EndCurrentSegment()

func (IOGPUMetal4CommandBuffer) FillCommandBufferArgs

func (i IOGPUMetal4CommandBuffer) FillCommandBufferArgs(args *IOGPUCommandQueueCommandBufferArgs)

func (IOGPUMetal4CommandBuffer) GetCurrentKernelCommandBufferPointerEnd

func (i IOGPUMetal4CommandBuffer) GetCurrentKernelCommandBufferPointerEnd(pointer unsafe.Pointer, end unsafe.Pointer)

func (IOGPUMetal4CommandBuffer) GetCurrentKernelCommandBufferStartCurrentEnd

func (i IOGPUMetal4CommandBuffer) GetCurrentKernelCommandBufferStartCurrentEnd(start unsafe.Pointer, current unsafe.Pointer, end unsafe.Pointer)

func (IOGPUMetal4CommandBuffer) GetDebugBufferPointerStartEnd

func (i IOGPUMetal4CommandBuffer) GetDebugBufferPointerStartEnd(start unsafe.Pointer, end unsafe.Pointer)

func (IOGPUMetal4CommandBuffer) GetSegmentListPointerStartCurrentEnd

func (i IOGPUMetal4CommandBuffer) GetSegmentListPointerStartCurrentEnd(start unsafe.Pointer, current unsafe.Pointer, end unsafe.Pointer)

func (IOGPUMetal4CommandBuffer) GrowDebugBuffer

func (i IOGPUMetal4CommandBuffer) GrowDebugBuffer(buffer uint32)

func (IOGPUMetal4CommandBuffer) GrowKernelCommandBuffer

func (i IOGPUMetal4CommandBuffer) GrowKernelCommandBuffer(buffer uint64)

func (IOGPUMetal4CommandBuffer) GrowSegmentList

func (i IOGPUMetal4CommandBuffer) GrowSegmentList()

func (IOGPUMetal4CommandBuffer) GrowSidebandBuffer

func (i IOGPUMetal4CommandBuffer) GrowSidebandBuffer(buffer uint32)

func (IOGPUMetal4CommandBuffer) Init

Init initializes the instance.

func (IOGPUMetal4CommandBuffer) InitWithDevice

func (IOGPUMetal4CommandBuffer) IoGPUResourceList

func (i IOGPUMetal4CommandBuffer) IoGPUResourceList() *IOGPUResourceList

func (IOGPUMetal4CommandBuffer) ProtectionOptions

func (i IOGPUMetal4CommandBuffer) ProtectionOptions() uint64

func (IOGPUMetal4CommandBuffer) ReserveKernelCommandBufferSpace

func (i IOGPUMetal4CommandBuffer) ReserveKernelCommandBufferSpace(space uint64) (unsafe.Pointer, error)

ReserveKernelCommandBufferSpace is an exported wrapper for the private method _reserveKernelCommandBufferSpace.

func (IOGPUMetal4CommandBuffer) ResetCommandBuffer

func (i IOGPUMetal4CommandBuffer) ResetCommandBuffer()

func (IOGPUMetal4CommandBuffer) SetCurrentKernelCommandBufferPointer

func (i IOGPUMetal4CommandBuffer) SetCurrentKernelCommandBufferPointer(pointer unsafe.Pointer)

func (IOGPUMetal4CommandBuffer) SetCurrentSegmentListPointer

func (i IOGPUMetal4CommandBuffer) SetCurrentSegmentListPointer(pointer unsafe.Pointer)

func (IOGPUMetal4CommandBuffer) SetProtectionOptions

func (i IOGPUMetal4CommandBuffer) SetProtectionOptions(options uint64)

func (IOGPUMetal4CommandBuffer) UpdateBufferMappingsHeapOperationsCount

func (i IOGPUMetal4CommandBuffer) UpdateBufferMappingsHeapOperationsCount(mappings objectivec.IObject, heap objectivec.IObject, operations unsafe.Pointer, count uint64)

func (IOGPUMetal4CommandBuffer) UseInternalResidencySet

func (i IOGPUMetal4CommandBuffer) UseInternalResidencySet(set objectivec.IObject)

func (IOGPUMetal4CommandBuffer) UseInternalResidencySetsCount

func (i IOGPUMetal4CommandBuffer) UseInternalResidencySetsCount(sets []objectivec.IObject, count uint64)

type IOGPUMetal4CommandBufferClass

type IOGPUMetal4CommandBufferClass struct {
	// contains filtered or unexported fields
}

func GetIOGPUMetal4CommandBufferClass

func GetIOGPUMetal4CommandBufferClass() IOGPUMetal4CommandBufferClass

GetIOGPUMetal4CommandBufferClass returns the class object for IOGPUMetal4CommandBuffer.

func (IOGPUMetal4CommandBufferClass) Alloc

Alloc allocates memory for a new instance of the class.

func (IOGPUMetal4CommandBufferClass) Class

Class returns the underlying Objective-C class pointer.

type IOGPUMetal4CommandQueue

type IOGPUMetal4CommandQueue struct {
	metal.MTL4CommandQueueObject
}

Methods

func IOGPUMetal4CommandQueueFromID

func IOGPUMetal4CommandQueueFromID(id objc.ID) IOGPUMetal4CommandQueue

IOGPUMetal4CommandQueueFromID constructs a IOGPUMetal4CommandQueue from an objc.ID.

func NewGPUMetal4CommandQueueIOGPUMTL4CommandQueueDescriptorArgsArgsSize

func NewGPUMetal4CommandQueueIOGPUMTL4CommandQueueDescriptorArgsArgsSize(queue objectivec.IObject, descriptor objectivec.IObject, args *IOGPUDeviceNewCommandQueueArgs, size uint32) IOGPUMetal4CommandQueue

func NewGPUMetal4CommandQueueWithDevice

func NewGPUMetal4CommandQueueWithDevice(device objectivec.IObject) IOGPUMetal4CommandQueue

func NewGPUMetal4CommandQueueWithDeviceDescriptor

func NewGPUMetal4CommandQueueWithDeviceDescriptor(device objectivec.IObject, descriptor objectivec.IObject) IOGPUMetal4CommandQueue

func NewGPUMetal4CommandQueueWithDeviceDescriptorArgsArgsSize

func NewGPUMetal4CommandQueueWithDeviceDescriptorArgsArgsSize(device objectivec.IObject, descriptor objectivec.IObject, args *IOGPUDeviceNewCommandQueueArgs, size uint32) IOGPUMetal4CommandQueue

func NewIOGPUMetal4CommandQueue

func NewIOGPUMetal4CommandQueue() IOGPUMetal4CommandQueue

NewIOGPUMetal4CommandQueue creates a new IOGPUMetal4CommandQueue instance.

func (IOGPUMetal4CommandQueue) AddInternalResidencySet

func (i IOGPUMetal4CommandQueue) AddInternalResidencySet(set objectivec.IObject)

func (IOGPUMetal4CommandQueue) AddInternalResidencySetsCount

func (i IOGPUMetal4CommandQueue) AddInternalResidencySetsCount(sets []objectivec.IObject, count uint64)

func (IOGPUMetal4CommandQueue) AllocateMappingCommandBuffer

func (i IOGPUMetal4CommandQueue) AllocateMappingCommandBuffer()

func (IOGPUMetal4CommandQueue) Autorelease

Autorelease adds the receiver to the current autorelease pool.

func (IOGPUMetal4CommandQueue) CanCommitCountCommitFeedback

func (i IOGPUMetal4CommandQueue) CanCommitCountCommitFeedback() bool

CanCommitCountCommitFeedback reports whether the receiver responds to the private selector _commit:count:commitFeedback:.

func (IOGPUMetal4CommandQueue) CommandAllocator

func (i IOGPUMetal4CommandQueue) CommandAllocator() objectivec.IObject

func (IOGPUMetal4CommandQueue) CommandBufferCompleteCommandAllocatorCommandAllocatorGenerationStorageSubmissionIDStartTimeCompletionTimeKernelErrorErrorCommitFeedbackCommitComplete

func (i IOGPUMetal4CommandQueue) CommandBufferCompleteCommandAllocatorCommandAllocatorGenerationStorageSubmissionIDStartTimeCompletionTimeKernelErrorErrorCommitFeedbackCommitComplete(complete objectivec.IObject, allocator objectivec.IObject, generation uint32, storage *IOGPUMetalCommandBufferStorage, id uint64, time uint64, time2 uint64, kernelError uint32, underlyingError objectivec.IObject, feedback objectivec.IObject, complete2 bool)

func (IOGPUMetal4CommandQueue) CommitCountCommitFeedback

func (i IOGPUMetal4CommandQueue) CommitCountCommitFeedback(_commit []objectivec.IObject, count uint64, feedback objectivec.IObject) error

CommitCountCommitFeedback is an exported wrapper for the private method _commitCountCommitFeedback.

func (IOGPUMetal4CommandQueue) CommitFillArgsCountArgsArgsSizeCommitFeedback

func (i IOGPUMetal4CommandQueue) CommitFillArgsCountArgsArgsSizeCommitFeedback(args []objectivec.IObject, count uint64, args2 uint64, size uint32, feedback objectivec.IObject)

func (IOGPUMetal4CommandQueue) CommitMappingCommandBuffer

func (i IOGPUMetal4CommandQueue) CommitMappingCommandBuffer()

func (IOGPUMetal4CommandQueue) EndTier1MappingCommands

func (i IOGPUMetal4CommandQueue) EndTier1MappingCommands()

func (IOGPUMetal4CommandQueue) Init

Init initializes the instance.

func (IOGPUMetal4CommandQueue) InitIOGPUMTL4CommandQueueDescriptorArgsArgsSize

func (i IOGPUMetal4CommandQueue) InitIOGPUMTL4CommandQueueDescriptorArgsArgsSize(queue objectivec.IObject, descriptor objectivec.IObject, args *IOGPUDeviceNewCommandQueueArgs, size uint32) IOGPUMetal4CommandQueue

func (IOGPUMetal4CommandQueue) InitWithDevice

func (IOGPUMetal4CommandQueue) InitWithDeviceDescriptor

func (i IOGPUMetal4CommandQueue) InitWithDeviceDescriptor(device objectivec.IObject, descriptor objectivec.IObject) IOGPUMetal4CommandQueue

func (IOGPUMetal4CommandQueue) InitWithDeviceDescriptorArgsArgsSize

func (i IOGPUMetal4CommandQueue) InitWithDeviceDescriptorArgsArgsSize(device objectivec.IObject, descriptor objectivec.IObject, args *IOGPUDeviceNewCommandQueueArgs, size uint32) IOGPUMetal4CommandQueue

func (IOGPUMetal4CommandQueue) PreCommitCountOptions

func (i IOGPUMetal4CommandQueue) PreCommitCountOptions(commit []objectivec.IObject, count uint64, options objectivec.IObject) objectivec.IObject

func (IOGPUMetal4CommandQueue) RemoveInternalResidencySet

func (i IOGPUMetal4CommandQueue) RemoveInternalResidencySet(set objectivec.IObject)

func (IOGPUMetal4CommandQueue) RemoveInternalResidencySetsCount

func (i IOGPUMetal4CommandQueue) RemoveInternalResidencySetsCount(sets []objectivec.IObject, count uint64)

func (IOGPUMetal4CommandQueue) SetScheduledHandler

func (i IOGPUMetal4CommandQueue) SetScheduledHandler(handler VoidHandler)

func (IOGPUMetal4CommandQueue) SetScheduledHandlerSync

func (i IOGPUMetal4CommandQueue) SetScheduledHandlerSync(ctx context.Context) error

SetScheduledHandlerSync is a synchronous wrapper around IOGPUMetal4CommandQueue.SetScheduledHandler. It blocks until the completion handler fires or the context is cancelled.

func (IOGPUMetal4CommandQueue) SupportsBackgroundAppRole

func (i IOGPUMetal4CommandQueue) SupportsBackgroundAppRole() bool

func (IOGPUMetal4CommandQueue) WaitForEventValueTimeout

func (i IOGPUMetal4CommandQueue) WaitForEventValueTimeout(event objectivec.IObject, value uint64, timeout uint16)

type IOGPUMetal4CommandQueueClass

type IOGPUMetal4CommandQueueClass struct {
	// contains filtered or unexported fields
}

func GetIOGPUMetal4CommandQueueClass

func GetIOGPUMetal4CommandQueueClass() IOGPUMetal4CommandQueueClass

GetIOGPUMetal4CommandQueueClass returns the class object for IOGPUMetal4CommandQueue.

func (IOGPUMetal4CommandQueueClass) Alloc

Alloc allocates memory for a new instance of the class.

func (IOGPUMetal4CommandQueueClass) Class

Class returns the underlying Objective-C class pointer.

type IOGPUMetal4ComputeCommandEncoder

type IOGPUMetal4ComputeCommandEncoder struct {
	metal.MTL4ComputeCommandEncoderObject
}

Methods

func IOGPUMetal4ComputeCommandEncoderFromID

func IOGPUMetal4ComputeCommandEncoderFromID(id objc.ID) IOGPUMetal4ComputeCommandEncoder

IOGPUMetal4ComputeCommandEncoderFromID constructs a IOGPUMetal4ComputeCommandEncoder from an objc.ID.

func NewGPUMetal4ComputeCommandEncoderWithCommandAllocator

func NewGPUMetal4ComputeCommandEncoderWithCommandAllocator(allocator objectivec.IObject) IOGPUMetal4ComputeCommandEncoder

func NewIOGPUMetal4ComputeCommandEncoder

func NewIOGPUMetal4ComputeCommandEncoder() IOGPUMetal4ComputeCommandEncoder

NewIOGPUMetal4ComputeCommandEncoder creates a new IOGPUMetal4ComputeCommandEncoder instance.

func (IOGPUMetal4ComputeCommandEncoder) Autorelease

Autorelease adds the receiver to the current autorelease pool.

func (IOGPUMetal4ComputeCommandEncoder) GetType

func (IOGPUMetal4ComputeCommandEncoder) Init

Init initializes the instance.

func (IOGPUMetal4ComputeCommandEncoder) InitWithCommandAllocator

type IOGPUMetal4ComputeCommandEncoderClass

type IOGPUMetal4ComputeCommandEncoderClass struct {
	// contains filtered or unexported fields
}

func GetIOGPUMetal4ComputeCommandEncoderClass

func GetIOGPUMetal4ComputeCommandEncoderClass() IOGPUMetal4ComputeCommandEncoderClass

GetIOGPUMetal4ComputeCommandEncoderClass returns the class object for IOGPUMetal4ComputeCommandEncoder.

func (IOGPUMetal4ComputeCommandEncoderClass) Alloc

Alloc allocates memory for a new instance of the class.

func (IOGPUMetal4ComputeCommandEncoderClass) Class

Class returns the underlying Objective-C class pointer.

type IOGPUMetal4MachineLearningCommandEncoder

type IOGPUMetal4MachineLearningCommandEncoder struct {
	metal.MTL4MachineLearningCommandEncoderObject
}

Methods

func IOGPUMetal4MachineLearningCommandEncoderFromID

func IOGPUMetal4MachineLearningCommandEncoderFromID(id objc.ID) IOGPUMetal4MachineLearningCommandEncoder

IOGPUMetal4MachineLearningCommandEncoderFromID constructs a IOGPUMetal4MachineLearningCommandEncoder from an objc.ID.

func NewGPUMetal4MachineLearningCommandEncoderWithCommandBufferAllocator

func NewGPUMetal4MachineLearningCommandEncoderWithCommandBufferAllocator(buffer objectivec.IObject, allocator objectivec.IObject) IOGPUMetal4MachineLearningCommandEncoder

func NewIOGPUMetal4MachineLearningCommandEncoder

func NewIOGPUMetal4MachineLearningCommandEncoder() IOGPUMetal4MachineLearningCommandEncoder

NewIOGPUMetal4MachineLearningCommandEncoder creates a new IOGPUMetal4MachineLearningCommandEncoder instance.

func (IOGPUMetal4MachineLearningCommandEncoder) Autorelease

Autorelease adds the receiver to the current autorelease pool.

func (IOGPUMetal4MachineLearningCommandEncoder) GetType

func (IOGPUMetal4MachineLearningCommandEncoder) Init

Init initializes the instance.

func (IOGPUMetal4MachineLearningCommandEncoder) InitWithCommandBufferAllocator

type IOGPUMetal4MachineLearningCommandEncoderClass

type IOGPUMetal4MachineLearningCommandEncoderClass struct {
	// contains filtered or unexported fields
}

func GetIOGPUMetal4MachineLearningCommandEncoderClass

func GetIOGPUMetal4MachineLearningCommandEncoderClass() IOGPUMetal4MachineLearningCommandEncoderClass

GetIOGPUMetal4MachineLearningCommandEncoderClass returns the class object for IOGPUMetal4MachineLearningCommandEncoder.

func (IOGPUMetal4MachineLearningCommandEncoderClass) Alloc

Alloc allocates memory for a new instance of the class.

func (IOGPUMetal4MachineLearningCommandEncoderClass) Class

Class returns the underlying Objective-C class pointer.

type IOGPUMetal4RenderCommandEncoder

type IOGPUMetal4RenderCommandEncoder struct {
	metal.MTL4RenderCommandEncoderObject
}

Methods

func IOGPUMetal4RenderCommandEncoderFromID

func IOGPUMetal4RenderCommandEncoderFromID(id objc.ID) IOGPUMetal4RenderCommandEncoder

IOGPUMetal4RenderCommandEncoderFromID constructs a IOGPUMetal4RenderCommandEncoder from an objc.ID.

func NewGPUMetal4RenderCommandEncoderWithCommandAllocator

func NewGPUMetal4RenderCommandEncoderWithCommandAllocator(allocator objectivec.IObject) IOGPUMetal4RenderCommandEncoder

func NewIOGPUMetal4RenderCommandEncoder

func NewIOGPUMetal4RenderCommandEncoder() IOGPUMetal4RenderCommandEncoder

NewIOGPUMetal4RenderCommandEncoder creates a new IOGPUMetal4RenderCommandEncoder instance.

func (IOGPUMetal4RenderCommandEncoder) Autorelease

Autorelease adds the receiver to the current autorelease pool.

func (IOGPUMetal4RenderCommandEncoder) GetType

func (IOGPUMetal4RenderCommandEncoder) Init

Init initializes the instance.

func (IOGPUMetal4RenderCommandEncoder) InitWithCommandAllocator

type IOGPUMetal4RenderCommandEncoderClass

type IOGPUMetal4RenderCommandEncoderClass struct {
	// contains filtered or unexported fields
}

func GetIOGPUMetal4RenderCommandEncoderClass

func GetIOGPUMetal4RenderCommandEncoderClass() IOGPUMetal4RenderCommandEncoderClass

GetIOGPUMetal4RenderCommandEncoderClass returns the class object for IOGPUMetal4RenderCommandEncoder.

func (IOGPUMetal4RenderCommandEncoderClass) Alloc

Alloc allocates memory for a new instance of the class.

func (IOGPUMetal4RenderCommandEncoderClass) Class

Class returns the underlying Objective-C class pointer.

type IOGPUMetalAccelerationStructure

type IOGPUMetalAccelerationStructure struct {
	IOGPUMetalResource
}

Methods

func IOGPUMetalAccelerationStructureFromID

func IOGPUMetalAccelerationStructureFromID(id objc.ID) IOGPUMetalAccelerationStructure

IOGPUMetalAccelerationStructureFromID constructs a IOGPUMetalAccelerationStructure from an objc.ID.

func NewGPUMetalAccelerationStructureMemorylessDescriptor

func NewGPUMetalAccelerationStructureMemorylessDescriptor(memoryless objectivec.IObject, descriptor objectivec.IObject) IOGPUMetalAccelerationStructure

func NewGPUMetalAccelerationStructureStandinWithDevice

func NewGPUMetalAccelerationStructureStandinWithDevice(device objectivec.IObject) IOGPUMetalAccelerationStructure

func NewGPUMetalAccelerationStructureWithBufferOffset

func NewGPUMetalAccelerationStructureWithBufferOffset(buffer objectivec.IObject, offset uint64) IOGPUMetalAccelerationStructure

func NewGPUMetalAccelerationStructureWithBufferOffsetResourceIndex

func NewGPUMetalAccelerationStructureWithBufferOffsetResourceIndex(buffer objectivec.IObject, offset uint64, index uint64) IOGPUMetalAccelerationStructure

func NewGPUMetalAccelerationStructureWithDeviceOptionsArgsArgsSize

func NewGPUMetalAccelerationStructureWithDeviceOptionsArgsArgsSize(device objectivec.IObject, options uint64, args *IOGPUNewResourceArgs, size uint32) IOGPUMetalAccelerationStructure

func NewGPUMetalAccelerationStructureWithDeviceRemoteStorageResourceOptionsArgsArgsSize

func NewGPUMetalAccelerationStructureWithDeviceRemoteStorageResourceOptionsArgsArgsSize(device objectivec.IObject, resource objectivec.IObject, options uint64, args *IOGPUNewResourceArgs, size uint32) IOGPUMetalAccelerationStructure

func NewGPUMetalAccelerationStructureWithResource

func NewGPUMetalAccelerationStructureWithResource(resource objectivec.IObject) IOGPUMetalAccelerationStructure

func NewIOGPUMetalAccelerationStructure

func NewIOGPUMetalAccelerationStructure() IOGPUMetalAccelerationStructure

NewIOGPUMetalAccelerationStructure creates a new IOGPUMetalAccelerationStructure instance.

func (IOGPUMetalAccelerationStructure) AccelerationStructureUniqueIdentifier

func (i IOGPUMetalAccelerationStructure) AccelerationStructureUniqueIdentifier() uint64

func (IOGPUMetalAccelerationStructure) Autorelease

Autorelease adds the receiver to the current autorelease pool.

func (IOGPUMetalAccelerationStructure) Buffer

func (IOGPUMetalAccelerationStructure) BufferOffset

func (i IOGPUMetalAccelerationStructure) BufferOffset() uint64

func (IOGPUMetalAccelerationStructure) CopyPropertiesFromBuffer

func (i IOGPUMetalAccelerationStructure) CopyPropertiesFromBuffer(buffer objectivec.IObject)

func (IOGPUMetalAccelerationStructure) Descriptor

func (IOGPUMetalAccelerationStructure) GpuHandle

func (IOGPUMetalAccelerationStructure) GpuResourceID

func (IOGPUMetalAccelerationStructure) Init

Init initializes the instance.

func (IOGPUMetalAccelerationStructure) InitWithBufferOffset

func (IOGPUMetalAccelerationStructure) InitWithBufferOffsetResourceIndex

func (i IOGPUMetalAccelerationStructure) InitWithBufferOffsetResourceIndex(buffer objectivec.IObject, offset uint64, index uint64) IOGPUMetalAccelerationStructure

func (IOGPUMetalAccelerationStructure) ResourceIndex

func (i IOGPUMetalAccelerationStructure) ResourceIndex() uint64

func (IOGPUMetalAccelerationStructure) SetDescriptor

func (IOGPUMetalAccelerationStructure) Size

func (IOGPUMetalAccelerationStructure) UniqueIdentifier

func (i IOGPUMetalAccelerationStructure) UniqueIdentifier() uint64

type IOGPUMetalAccelerationStructureClass

type IOGPUMetalAccelerationStructureClass struct {
	// contains filtered or unexported fields
}

func GetIOGPUMetalAccelerationStructureClass

func GetIOGPUMetalAccelerationStructureClass() IOGPUMetalAccelerationStructureClass

GetIOGPUMetalAccelerationStructureClass returns the class object for IOGPUMetalAccelerationStructure.

func (IOGPUMetalAccelerationStructureClass) Alloc

Alloc allocates memory for a new instance of the class.

func (IOGPUMetalAccelerationStructureClass) Class

Class returns the underlying Objective-C class pointer.

type IOGPUMetalBlitCommandEncoder

type IOGPUMetalBlitCommandEncoder struct {
	IOGPUMetalCommandEncoder
}

Methods

func IOGPUMetalBlitCommandEncoderFromID

func IOGPUMetalBlitCommandEncoderFromID(id objc.ID) IOGPUMetalBlitCommandEncoder

IOGPUMetalBlitCommandEncoderFromID constructs a IOGPUMetalBlitCommandEncoder from an objc.ID.

func NewGPUMetalBlitCommandEncoderWithCommandBuffer

func NewGPUMetalBlitCommandEncoderWithCommandBuffer(buffer objectivec.IObject) IOGPUMetalBlitCommandEncoder

func NewIOGPUMetalBlitCommandEncoder

func NewIOGPUMetalBlitCommandEncoder() IOGPUMetalBlitCommandEncoder

NewIOGPUMetalBlitCommandEncoder creates a new IOGPUMetalBlitCommandEncoder instance.

func (IOGPUMetalBlitCommandEncoder) Autorelease

Autorelease adds the receiver to the current autorelease pool.

func (IOGPUMetalBlitCommandEncoder) CopyFromTextureSourceSliceSourceLevelToTextureDestinationSliceDestinationLevelSliceCountLevelCount

func (i IOGPUMetalBlitCommandEncoder) CopyFromTextureSourceSliceSourceLevelToTextureDestinationSliceDestinationLevelSliceCountLevelCount(texture objectivec.IObject, slice uint64, level uint64, texture2 objectivec.IObject, slice2 uint64, level2 uint64, count uint64, count2 uint64)

func (IOGPUMetalBlitCommandEncoder) CopyFromTextureToTexture

func (i IOGPUMetalBlitCommandEncoder) CopyFromTextureToTexture(texture objectivec.IObject, texture2 objectivec.IObject)

func (IOGPUMetalBlitCommandEncoder) CopyIndirectCommandBufferSourceRangeDestinationDestinationIndex

func (i IOGPUMetalBlitCommandEncoder) CopyIndirectCommandBufferSourceRangeDestinationDestinationIndex(buffer objectivec.IObject, range_ foundation.NSRange, destination objectivec.IObject, index uint64)

func (IOGPUMetalBlitCommandEncoder) FillBufferRangePattern4

func (i IOGPUMetalBlitCommandEncoder) FillBufferRangePattern4(buffer objectivec.IObject, range_ foundation.NSRange, pattern4 uint32)

func (IOGPUMetalBlitCommandEncoder) FillTextureLevelSliceRegionBytesLength

func (i IOGPUMetalBlitCommandEncoder) FillTextureLevelSliceRegionBytesLength(texture objectivec.IObject, level uint64, slice uint64, region unsafe.Pointer, bytes []byte)

func (IOGPUMetalBlitCommandEncoder) FillTextureLevelSliceRegionColor

func (i IOGPUMetalBlitCommandEncoder) FillTextureLevelSliceRegionColor(texture objectivec.IObject, level uint64, slice uint64, region unsafe.Pointer, color unsafe.Pointer)

func (IOGPUMetalBlitCommandEncoder) FillTextureLevelSliceRegionColorPixelFormat

func (i IOGPUMetalBlitCommandEncoder) FillTextureLevelSliceRegionColorPixelFormat(texture objectivec.IObject, level uint64, slice uint64, region unsafe.Pointer, color unsafe.Pointer, format uint64)

func (IOGPUMetalBlitCommandEncoder) GetType

func (IOGPUMetalBlitCommandEncoder) Init

Init initializes the instance.

func (IOGPUMetalBlitCommandEncoder) OptimizeContentsForCPUAccess

func (i IOGPUMetalBlitCommandEncoder) OptimizeContentsForCPUAccess(cPUAccess objectivec.IObject)

func (IOGPUMetalBlitCommandEncoder) OptimizeContentsForCPUAccessSliceLevel

func (i IOGPUMetalBlitCommandEncoder) OptimizeContentsForCPUAccessSliceLevel(cPUAccess objectivec.IObject, slice uint64, level uint64)

func (IOGPUMetalBlitCommandEncoder) OptimizeContentsForGPUAccess

func (i IOGPUMetalBlitCommandEncoder) OptimizeContentsForGPUAccess(gPUAccess objectivec.IObject)

func (IOGPUMetalBlitCommandEncoder) OptimizeContentsForGPUAccessSliceLevel

func (i IOGPUMetalBlitCommandEncoder) OptimizeContentsForGPUAccessSliceLevel(gPUAccess objectivec.IObject, slice uint64, level uint64)

func (IOGPUMetalBlitCommandEncoder) OptimizeIndirectCommandBufferWithRange

func (i IOGPUMetalBlitCommandEncoder) OptimizeIndirectCommandBufferWithRange(buffer objectivec.IObject, range_ foundation.NSRange)

func (IOGPUMetalBlitCommandEncoder) ResetCommandsInBufferWithRange

func (i IOGPUMetalBlitCommandEncoder) ResetCommandsInBufferWithRange(buffer objectivec.IObject, range_ foundation.NSRange)

func (IOGPUMetalBlitCommandEncoder) ResolveCountersInRangeDestinationBufferDestinationOffset

func (i IOGPUMetalBlitCommandEncoder) ResolveCountersInRangeDestinationBufferDestinationOffset(counters objectivec.IObject, range_ foundation.NSRange, buffer objectivec.IObject, offset uint64)

func (IOGPUMetalBlitCommandEncoder) SampleCountersInBufferAtSampleIndexWithBarrier

func (i IOGPUMetalBlitCommandEncoder) SampleCountersInBufferAtSampleIndexWithBarrier(buffer objectivec.IObject, index uint64, barrier bool)

func (IOGPUMetalBlitCommandEncoder) SynchronizeResource

func (i IOGPUMetalBlitCommandEncoder) SynchronizeResource(resource objectivec.IObject)

func (IOGPUMetalBlitCommandEncoder) SynchronizeTextureSliceLevel

func (i IOGPUMetalBlitCommandEncoder) SynchronizeTextureSliceLevel(texture objectivec.IObject, slice uint64, level uint64)

func (IOGPUMetalBlitCommandEncoder) UpdateFence

func (i IOGPUMetalBlitCommandEncoder) UpdateFence(fence objectivec.IObject)

func (IOGPUMetalBlitCommandEncoder) WaitForFence

func (i IOGPUMetalBlitCommandEncoder) WaitForFence(fence objectivec.IObject)

type IOGPUMetalBlitCommandEncoderClass

type IOGPUMetalBlitCommandEncoderClass struct {
	// contains filtered or unexported fields
}

func GetIOGPUMetalBlitCommandEncoderClass

func GetIOGPUMetalBlitCommandEncoderClass() IOGPUMetalBlitCommandEncoderClass

GetIOGPUMetalBlitCommandEncoderClass returns the class object for IOGPUMetalBlitCommandEncoder.

func (IOGPUMetalBlitCommandEncoderClass) Alloc

Alloc allocates memory for a new instance of the class.

func (IOGPUMetalBlitCommandEncoderClass) Class

Class returns the underlying Objective-C class pointer.

type IOGPUMetalBuffer

type IOGPUMetalBuffer struct {
	IOGPUMetalResource
}

Methods

func IOGPUMetalBufferFromID

func IOGPUMetalBufferFromID(id objc.ID) IOGPUMetalBuffer

IOGPUMetalBufferFromID constructs a IOGPUMetalBuffer from an objc.ID.

func NewGPUMetalBufferMemorylessDescriptor

func NewGPUMetalBufferMemorylessDescriptor(memoryless objectivec.IObject, descriptor objectivec.IObject) IOGPUMetalBuffer

func NewGPUMetalBufferStandinWithDevice

func NewGPUMetalBufferStandinWithDevice(device objectivec.IObject) IOGPUMetalBuffer

func NewGPUMetalBufferWithDeviceAddressRangesAddressRangeCountLengthOptionsGpuAddressArgsArgsSize

func NewGPUMetalBufferWithDeviceAddressRangesAddressRangeCountLengthOptionsGpuAddressArgsArgsSize(device objectivec.IObject, ranges *IOGPUAddressRange, count uint64, length uint64, options uint64, address uint64, args *IOGPUNewResourceArgs, size uint32) IOGPUMetalBuffer

func NewGPUMetalBufferWithDeviceIosurfaceArgsArgsSize

func NewGPUMetalBufferWithDeviceIosurfaceArgsArgsSize(device objectivec.IObject, iosurface iosurface.IOSurfaceRef, args *IOGPUNewResourceArgs, size uint32) IOGPUMetalBuffer

func NewGPUMetalBufferWithDeviceIosurfaceGpuAddressArgsArgsSize

func NewGPUMetalBufferWithDeviceIosurfaceGpuAddressArgsArgsSize(device objectivec.IObject, iosurface iosurface.IOSurfaceRef, address uint64, args *IOGPUNewResourceArgs, size uint32) IOGPUMetalBuffer

func NewGPUMetalBufferWithDeviceOptionsArgsArgsSize

func NewGPUMetalBufferWithDeviceOptionsArgsArgsSize(device objectivec.IObject, options uint64, args *IOGPUNewResourceArgs, size uint32) IOGPUMetalBuffer

func NewGPUMetalBufferWithDeviceRemoteStorageBufferArgsArgsSize

func NewGPUMetalBufferWithDeviceRemoteStorageBufferArgsArgsSize(device objectivec.IObject, buffer objectivec.IObject, args *IOGPUNewResourceArgs, size uint32) IOGPUMetalBuffer

func NewGPUMetalBufferWithDeviceRemoteStorageResourceOptionsArgsArgsSize

func NewGPUMetalBufferWithDeviceRemoteStorageResourceOptionsArgsArgsSize(device objectivec.IObject, resource objectivec.IObject, options uint64, args *IOGPUNewResourceArgs, size uint32) IOGPUMetalBuffer

func NewGPUMetalBufferWithHeapResourceOffsetLength

func NewGPUMetalBufferWithHeapResourceOffsetLength(heap objectivec.IObject, resource objectivec.IObject, offset uint64, length uint64) IOGPUMetalBuffer

func NewGPUMetalBufferWithHeapResourceOffsetLengthGpuTag

func NewGPUMetalBufferWithHeapResourceOffsetLengthGpuTag(heap objectivec.IObject, resource objectivec.IObject, offset uint64, length uint64, tag uint64) IOGPUMetalBuffer

func NewGPUMetalBufferWithPrimaryBufferHeapIndexBufferIndexBufferOffsetLengthArgsArgsSize

func NewGPUMetalBufferWithPrimaryBufferHeapIndexBufferIndexBufferOffsetLengthArgsArgsSize(buffer objectivec.IObject, index int16, index2 int16, offset uint64, length uint64, args *IOGPUNewResourceArgs, size uint32) IOGPUMetalBuffer

func NewGPUMetalBufferWithPrimaryBufferHeapIndexBufferIndexBufferOffsetLengthArgsArgsSizeGpuTag

func NewGPUMetalBufferWithPrimaryBufferHeapIndexBufferIndexBufferOffsetLengthArgsArgsSizeGpuTag(buffer objectivec.IObject, index int16, index2 int16, offset uint64, length uint64, args *IOGPUNewResourceArgs, size uint32, tag uint64) IOGPUMetalBuffer

func NewGPUMetalBufferWithResource

func NewGPUMetalBufferWithResource(resource objectivec.IObject) IOGPUMetalBuffer

func NewIOGPUMetalBuffer

func NewIOGPUMetalBuffer() IOGPUMetalBuffer

NewIOGPUMetalBuffer creates a new IOGPUMetalBuffer instance.

func (IOGPUMetalBuffer) AddDebugMarkerRange

func (i IOGPUMetalBuffer) AddDebugMarkerRange(marker objectivec.IObject, range_ foundation.NSRange)

func (IOGPUMetalBuffer) AneIOSurface

func (i IOGPUMetalBuffer) AneIOSurface() (iosurface.IOSurfaceRef, error)

AneIOSurface is an exported wrapper for the private property _aneIOSurface.

func (IOGPUMetalBuffer) Autorelease

func (i IOGPUMetalBuffer) Autorelease() IOGPUMetalBuffer

Autorelease adds the receiver to the current autorelease pool.

func (IOGPUMetalBuffer) CanAneIOSurface

func (i IOGPUMetalBuffer) CanAneIOSurface() bool

CanAneIOSurface reports whether the receiver responds to the private selector _aneIOSurface.

func (IOGPUMetalBuffer) Contents

func (i IOGPUMetalBuffer) Contents() unsafe.Pointer

func (IOGPUMetalBuffer) DetachBacking

func (i IOGPUMetalBuffer) DetachBacking() bool

func (IOGPUMetalBuffer) DidModifyRange

func (i IOGPUMetalBuffer) DidModifyRange(range_ foundation.NSRange)

func (IOGPUMetalBuffer) FormattedDescription

func (i IOGPUMetalBuffer) FormattedDescription(description uint64) objectivec.IObject

func (IOGPUMetalBuffer) Init

Init initializes the instance.

func (IOGPUMetalBuffer) InitStandinWithDeviceBytesNoCopyLengthDeallocator

func (i IOGPUMetalBuffer) InitStandinWithDeviceBytesNoCopyLengthDeallocator(device objectivec.IObject, copy_ unsafe.Pointer, length uint64, deallocator VoidHandler) IOGPUMetalBuffer

func (IOGPUMetalBuffer) InitStandinWithDeviceBytesNoCopyLengthDeallocatorSync

func (i IOGPUMetalBuffer) InitStandinWithDeviceBytesNoCopyLengthDeallocatorSync(ctx context.Context, device objectivec.IObject, copy_ unsafe.Pointer, length uint64) error

InitStandinWithDeviceBytesNoCopyLengthDeallocatorSync is a synchronous wrapper around IOGPUMetalBuffer.InitStandinWithDeviceBytesNoCopyLengthDeallocator. It blocks until the completion handler fires or the context is cancelled.

func (IOGPUMetalBuffer) InitWithDeviceAddressRangesAddressRangeCountLengthOptionsGpuAddressArgsArgsSize

func (i IOGPUMetalBuffer) InitWithDeviceAddressRangesAddressRangeCountLengthOptionsGpuAddressArgsArgsSize(device objectivec.IObject, ranges *IOGPUAddressRange, count uint64, length uint64, options uint64, address uint64, args *IOGPUNewResourceArgs, size uint32) IOGPUMetalBuffer

func (IOGPUMetalBuffer) InitWithDeviceIosurfaceArgsArgsSize

func (i IOGPUMetalBuffer) InitWithDeviceIosurfaceArgsArgsSize(device objectivec.IObject, iosurface iosurface.IOSurfaceRef, args *IOGPUNewResourceArgs, size uint32) IOGPUMetalBuffer

func (IOGPUMetalBuffer) InitWithDeviceIosurfaceGpuAddressArgsArgsSize

func (i IOGPUMetalBuffer) InitWithDeviceIosurfaceGpuAddressArgsArgsSize(device objectivec.IObject, iosurface iosurface.IOSurfaceRef, address uint64, args *IOGPUNewResourceArgs, size uint32) IOGPUMetalBuffer

func (IOGPUMetalBuffer) InitWithDevicePointerLengthAlignmentOptionsSysMemSizeGpuAddressArgsArgsSizeDeallocator

func (i IOGPUMetalBuffer) InitWithDevicePointerLengthAlignmentOptionsSysMemSizeGpuAddressArgsArgsSizeDeallocator(device objectivec.IObject, pointer unsafe.Pointer, length uint64, alignment uint32, options uint64, size uint64, address uint64, args *IOGPUNewResourceArgs, size2 uint32, deallocator VoidHandler) IOGPUMetalBuffer

func (IOGPUMetalBuffer) InitWithDevicePointerLengthAlignmentOptionsSysMemSizeGpuAddressArgsArgsSizeDeallocatorSync

func (i IOGPUMetalBuffer) InitWithDevicePointerLengthAlignmentOptionsSysMemSizeGpuAddressArgsArgsSizeDeallocatorSync(ctx context.Context, device objectivec.IObject, pointer unsafe.Pointer, length uint64, alignment uint32, options uint64, size uint64, address uint64, args *IOGPUNewResourceArgs, size2 uint32) error

InitWithDevicePointerLengthAlignmentOptionsSysMemSizeGpuAddressArgsArgsSizeDeallocatorSync is a synchronous wrapper around IOGPUMetalBuffer.InitWithDevicePointerLengthAlignmentOptionsSysMemSizeGpuAddressArgsArgsSizeDeallocator. It blocks until the completion handler fires or the context is cancelled.

func (IOGPUMetalBuffer) InitWithDevicePointerLengthAlignmentOptionsSysMemSizeGpuAddressGpuTagArgsArgsSizeDeallocator

func (i IOGPUMetalBuffer) InitWithDevicePointerLengthAlignmentOptionsSysMemSizeGpuAddressGpuTagArgsArgsSizeDeallocator(device objectivec.IObject, pointer unsafe.Pointer, length uint64, alignment uint32, options uint64, size uint64, address uint64, tag uint64, args *IOGPUNewResourceArgs, size2 uint32, deallocator VoidHandler) IOGPUMetalBuffer

func (IOGPUMetalBuffer) InitWithDevicePointerLengthAlignmentOptionsSysMemSizeGpuAddressGpuTagArgsArgsSizeDeallocatorSync

func (i IOGPUMetalBuffer) InitWithDevicePointerLengthAlignmentOptionsSysMemSizeGpuAddressGpuTagArgsArgsSizeDeallocatorSync(ctx context.Context, device objectivec.IObject, pointer unsafe.Pointer, length uint64, alignment uint32, options uint64, size uint64, address uint64, tag uint64, args *IOGPUNewResourceArgs, size2 uint32) error

InitWithDevicePointerLengthAlignmentOptionsSysMemSizeGpuAddressGpuTagArgsArgsSizeDeallocatorSync is a synchronous wrapper around IOGPUMetalBuffer.InitWithDevicePointerLengthAlignmentOptionsSysMemSizeGpuAddressGpuTagArgsArgsSizeDeallocator. It blocks until the completion handler fires or the context is cancelled.

func (IOGPUMetalBuffer) InitWithDevicePointerLengthAlignmentOptionsSysMemSizeGpuAddressGpuTagPlacementSparsePageSizeArgsArgsSizeDeallocator

func (i IOGPUMetalBuffer) InitWithDevicePointerLengthAlignmentOptionsSysMemSizeGpuAddressGpuTagPlacementSparsePageSizeArgsArgsSizeDeallocator(device objectivec.IObject, pointer unsafe.Pointer, length uint64, alignment uint32, options uint64, size uint64, address uint64, tag uint64, size2 int64, args *IOGPUNewResourceArgs, size3 uint32, deallocator VoidHandler) IOGPUMetalBuffer

func (IOGPUMetalBuffer) InitWithDevicePointerLengthAlignmentOptionsSysMemSizeGpuAddressGpuTagPlacementSparsePageSizeArgsArgsSizeDeallocatorSync

func (i IOGPUMetalBuffer) InitWithDevicePointerLengthAlignmentOptionsSysMemSizeGpuAddressGpuTagPlacementSparsePageSizeArgsArgsSizeDeallocatorSync(ctx context.Context, device objectivec.IObject, pointer unsafe.Pointer, length uint64, alignment uint32, options uint64, size uint64, address uint64, tag uint64, size2 int64, args *IOGPUNewResourceArgs, size3 uint32) error

InitWithDevicePointerLengthAlignmentOptionsSysMemSizeGpuAddressGpuTagPlacementSparsePageSizeArgsArgsSizeDeallocatorSync is a synchronous wrapper around IOGPUMetalBuffer.InitWithDevicePointerLengthAlignmentOptionsSysMemSizeGpuAddressGpuTagPlacementSparsePageSizeArgsArgsSizeDeallocator. It blocks until the completion handler fires or the context is cancelled.

func (IOGPUMetalBuffer) InitWithDevicePointerLengthAlignmentOptionsSysMemSizeGpuAddressGpuTagPlacementSparsePageSizePlacementSparseResidencyBytesArgsArgsSizeDeallocator

func (i IOGPUMetalBuffer) InitWithDevicePointerLengthAlignmentOptionsSysMemSizeGpuAddressGpuTagPlacementSparsePageSizePlacementSparseResidencyBytesArgsArgsSizeDeallocator(device objectivec.IObject, pointer unsafe.Pointer, length uint64, alignment uint32, options uint64, size uint64, address uint64, tag uint64, size2 int64, bytes uint64, args *IOGPUNewResourceArgs, size3 uint32, deallocator VoidHandler) IOGPUMetalBuffer

func (IOGPUMetalBuffer) InitWithDevicePointerLengthAlignmentOptionsSysMemSizeGpuAddressGpuTagPlacementSparsePageSizePlacementSparseResidencyBytesArgsArgsSizeDeallocatorSync

func (i IOGPUMetalBuffer) InitWithDevicePointerLengthAlignmentOptionsSysMemSizeGpuAddressGpuTagPlacementSparsePageSizePlacementSparseResidencyBytesArgsArgsSizeDeallocatorSync(ctx context.Context, device objectivec.IObject, pointer unsafe.Pointer, length uint64, alignment uint32, options uint64, size uint64, address uint64, tag uint64, size2 int64, bytes uint64, args *IOGPUNewResourceArgs, size3 uint32) error

InitWithDevicePointerLengthAlignmentOptionsSysMemSizeGpuAddressGpuTagPlacementSparsePageSizePlacementSparseResidencyBytesArgsArgsSizeDeallocatorSync is a synchronous wrapper around IOGPUMetalBuffer.InitWithDevicePointerLengthAlignmentOptionsSysMemSizeGpuAddressGpuTagPlacementSparsePageSizePlacementSparseResidencyBytesArgsArgsSizeDeallocator. It blocks until the completion handler fires or the context is cancelled.

func (IOGPUMetalBuffer) InitWithDevicePointerLengthOptionsSysMemSizeGpuAddressArgsArgsSizeDeallocator

func (i IOGPUMetalBuffer) InitWithDevicePointerLengthOptionsSysMemSizeGpuAddressArgsArgsSizeDeallocator(device objectivec.IObject, pointer unsafe.Pointer, length uint64, options uint64, size uint64, address uint64, args *IOGPUNewResourceArgs, size2 uint32, deallocator VoidHandler) IOGPUMetalBuffer

func (IOGPUMetalBuffer) InitWithDevicePointerLengthOptionsSysMemSizeGpuAddressArgsArgsSizeDeallocatorSync

func (i IOGPUMetalBuffer) InitWithDevicePointerLengthOptionsSysMemSizeGpuAddressArgsArgsSizeDeallocatorSync(ctx context.Context, device objectivec.IObject, pointer unsafe.Pointer, length uint64, options uint64, size uint64, address uint64, args *IOGPUNewResourceArgs, size2 uint32) error

InitWithDevicePointerLengthOptionsSysMemSizeGpuAddressArgsArgsSizeDeallocatorSync is a synchronous wrapper around IOGPUMetalBuffer.InitWithDevicePointerLengthOptionsSysMemSizeGpuAddressArgsArgsSizeDeallocator. It blocks until the completion handler fires or the context is cancelled.

func (IOGPUMetalBuffer) InitWithDevicePointerLengthOptionsSysMemSizeVidMemSizeArgsArgsSizeDeallocator

func (i IOGPUMetalBuffer) InitWithDevicePointerLengthOptionsSysMemSizeVidMemSizeArgsArgsSizeDeallocator(device objectivec.IObject, pointer unsafe.Pointer, length uint64, options uint64, size uint64, size2 uint64, args *IOGPUNewResourceArgs, size3 uint32, deallocator VoidHandler) IOGPUMetalBuffer

func (IOGPUMetalBuffer) InitWithDevicePointerLengthOptionsSysMemSizeVidMemSizeArgsArgsSizeDeallocatorSync

func (i IOGPUMetalBuffer) InitWithDevicePointerLengthOptionsSysMemSizeVidMemSizeArgsArgsSizeDeallocatorSync(ctx context.Context, device objectivec.IObject, pointer unsafe.Pointer, length uint64, options uint64, size uint64, size2 uint64, args *IOGPUNewResourceArgs, size3 uint32) error

InitWithDevicePointerLengthOptionsSysMemSizeVidMemSizeArgsArgsSizeDeallocatorSync is a synchronous wrapper around IOGPUMetalBuffer.InitWithDevicePointerLengthOptionsSysMemSizeVidMemSizeArgsArgsSizeDeallocator. It blocks until the completion handler fires or the context is cancelled.

func (IOGPUMetalBuffer) InitWithDeviceRemoteStorageBufferArgsArgsSize

func (i IOGPUMetalBuffer) InitWithDeviceRemoteStorageBufferArgsArgsSize(device objectivec.IObject, buffer objectivec.IObject, args *IOGPUNewResourceArgs, size uint32) IOGPUMetalBuffer

func (IOGPUMetalBuffer) InitWithHeapResourceOffsetLength

func (i IOGPUMetalBuffer) InitWithHeapResourceOffsetLength(heap objectivec.IObject, resource objectivec.IObject, offset uint64, length uint64) IOGPUMetalBuffer

func (IOGPUMetalBuffer) InitWithHeapResourceOffsetLengthGpuTag

func (i IOGPUMetalBuffer) InitWithHeapResourceOffsetLengthGpuTag(heap objectivec.IObject, resource objectivec.IObject, offset uint64, length uint64, tag uint64) IOGPUMetalBuffer

func (IOGPUMetalBuffer) InitWithPrimaryBufferHeapIndexBufferIndexBufferOffsetLengthArgsArgsSize

func (i IOGPUMetalBuffer) InitWithPrimaryBufferHeapIndexBufferIndexBufferOffsetLengthArgsArgsSize(buffer objectivec.IObject, index int16, index2 int16, offset uint64, length uint64, args *IOGPUNewResourceArgs, size uint32) IOGPUMetalBuffer

func (IOGPUMetalBuffer) InitWithPrimaryBufferHeapIndexBufferIndexBufferOffsetLengthArgsArgsSizeGpuTag

func (i IOGPUMetalBuffer) InitWithPrimaryBufferHeapIndexBufferIndexBufferOffsetLengthArgsArgsSizeGpuTag(buffer objectivec.IObject, index int16, index2 int16, offset uint64, length uint64, args *IOGPUNewResourceArgs, size uint32, tag uint64) IOGPUMetalBuffer

func (IOGPUMetalBuffer) Iosurface

func (i IOGPUMetalBuffer) Iosurface() iosurface.IOSurfaceRef

func (IOGPUMetalBuffer) Length

func (i IOGPUMetalBuffer) Length() uint64

func (IOGPUMetalBuffer) NewLinearTextureWithDescriptorOffsetBytesPerRowBytesPerImage

func (i IOGPUMetalBuffer) NewLinearTextureWithDescriptorOffsetBytesPerRowBytesPerImage(descriptor objectivec.IObject, offset uint64, row uint64, image uint64) objectivec.IObject

func (IOGPUMetalBuffer) NewRemoteBufferViewForDevice

func (i IOGPUMetalBuffer) NewRemoteBufferViewForDevice(device objectivec.IObject) objectivec.IObject

func (IOGPUMetalBuffer) PlacementSparsePageSize

func (i IOGPUMetalBuffer) PlacementSparsePageSize() int64

func (IOGPUMetalBuffer) RemoteStorageBuffer

func (i IOGPUMetalBuffer) RemoteStorageBuffer() unsafe.Pointer

func (IOGPUMetalBuffer) RemoveAllDebugMarkers

func (i IOGPUMetalBuffer) RemoveAllDebugMarkers()

func (IOGPUMetalBuffer) ReplaceBackingWithBytesNoCopyLengthDeallocator

func (i IOGPUMetalBuffer) ReplaceBackingWithBytesNoCopyLengthDeallocator(copy_ unsafe.Pointer, length uint64, deallocator VoidHandler) bool

func (IOGPUMetalBuffer) ReplaceBackingWithBytesNoCopyLengthDeallocatorSync

func (i IOGPUMetalBuffer) ReplaceBackingWithBytesNoCopyLengthDeallocatorSync(ctx context.Context, copy_ unsafe.Pointer, length uint64) error

ReplaceBackingWithBytesNoCopyLengthDeallocatorSync is a synchronous wrapper around IOGPUMetalBuffer.ReplaceBackingWithBytesNoCopyLengthDeallocator. It blocks until the completion handler fires or the context is cancelled.

func (IOGPUMetalBuffer) ReplaceBackingWithRangesReadOnly

func (i IOGPUMetalBuffer) ReplaceBackingWithRangesReadOnly(ranges objectivec.IObject, only bool) bool

type IOGPUMetalBufferClass

type IOGPUMetalBufferClass struct {
	// contains filtered or unexported fields
}

func GetIOGPUMetalBufferClass

func GetIOGPUMetalBufferClass() IOGPUMetalBufferClass

GetIOGPUMetalBufferClass returns the class object for IOGPUMetalBuffer.

func (IOGPUMetalBufferClass) Alloc

Alloc allocates memory for a new instance of the class.

func (IOGPUMetalBufferClass) Class

func (ic IOGPUMetalBufferClass) Class() objc.Class

Class returns the underlying Objective-C class pointer.

type IOGPUMetalCommandBuffer

type IOGPUMetalCommandBuffer struct {
	metal.MTLCommandBufferObject
}

Methods

func IOGPUMetalCommandBufferFromID

func IOGPUMetalCommandBufferFromID(id objc.ID) IOGPUMetalCommandBuffer

IOGPUMetalCommandBufferFromID constructs a IOGPUMetalCommandBuffer from an objc.ID.

func NewGPUMetalCommandBufferWithQueueRetainedReferences

func NewGPUMetalCommandBufferWithQueueRetainedReferences(queue objectivec.IObject, references bool) IOGPUMetalCommandBuffer

func NewGPUMetalCommandBufferWithQueueRetainedReferencesSynchronousDebugMode

func NewGPUMetalCommandBufferWithQueueRetainedReferencesSynchronousDebugMode(queue objectivec.IObject, references bool, mode bool) IOGPUMetalCommandBuffer

func NewIOGPUMetalCommandBuffer

func NewIOGPUMetalCommandBuffer() IOGPUMetalCommandBuffer

NewIOGPUMetalCommandBuffer creates a new IOGPUMetalCommandBuffer instance.

func (IOGPUMetalCommandBuffer) AddPurgedHeap

func (i IOGPUMetalCommandBuffer) AddPurgedHeap(heap objectivec.IObject)

func (IOGPUMetalCommandBuffer) AddPurgedResource

func (i IOGPUMetalCommandBuffer) AddPurgedResource(resource objectivec.IObject)

func (IOGPUMetalCommandBuffer) AkPrivateResourceList

func (i IOGPUMetalCommandBuffer) AkPrivateResourceList() objectivec.IObject

func (IOGPUMetalCommandBuffer) AkResourceList

func (i IOGPUMetalCommandBuffer) AkResourceList() objectivec.IObject

func (IOGPUMetalCommandBuffer) AllocCommandBufferResourceAtIndex

func (i IOGPUMetalCommandBuffer) AllocCommandBufferResourceAtIndex(index uint32)

func (IOGPUMetalCommandBuffer) AllocDebugBuffer

func (i IOGPUMetalCommandBuffer) AllocDebugBuffer()

func (IOGPUMetalCommandBuffer) AllocateSidebandBuffer

func (i IOGPUMetalCommandBuffer) AllocateSidebandBuffer(buffer uint32)

func (IOGPUMetalCommandBuffer) Autorelease

Autorelease adds the receiver to the current autorelease pool.

func (IOGPUMetalCommandBuffer) BeginSegment

func (i IOGPUMetalCommandBuffer) BeginSegment(segment unsafe.Pointer)

func (IOGPUMetalCommandBuffer) CanDebugBytesLengthOutput_type

func (i IOGPUMetalCommandBuffer) CanDebugBytesLengthOutput_type() bool

CanDebugBytesLengthOutput_type reports whether the receiver responds to the private selector _debugBytes:length:output_type:.

func (IOGPUMetalCommandBuffer) CanEncodePurgedResources

func (i IOGPUMetalCommandBuffer) CanEncodePurgedResources() bool

CanEncodePurgedResources reports whether the receiver responds to the private selector _encodePurgedResources.

func (IOGPUMetalCommandBuffer) CanReserveKernelCommandBufferSpace

func (i IOGPUMetalCommandBuffer) CanReserveKernelCommandBufferSpace() bool

CanReserveKernelCommandBufferSpace reports whether the receiver responds to the private selector _reserveKernelCommandBufferSpace:.

func (IOGPUMetalCommandBuffer) CommandBufferResourceInfo

func (i IOGPUMetalCommandBuffer) CommandBufferResourceInfo() *IOGPUMetalCommandBufferResourceInfo

func (IOGPUMetalCommandBuffer) CommandBufferStorage

func (i IOGPUMetalCommandBuffer) CommandBufferStorage() *IOGPUMetalCommandBufferStorage

func (IOGPUMetalCommandBuffer) CommitAndReset

func (i IOGPUMetalCommandBuffer) CommitAndReset()

func (IOGPUMetalCommandBuffer) CommitEncoder

func (i IOGPUMetalCommandBuffer) CommitEncoder()

func (IOGPUMetalCommandBuffer) DebugBytesLengthOutput_type

func (i IOGPUMetalCommandBuffer) DebugBytesLengthOutput_type(bytes string, length uint64, output_type uint32) error

DebugBytesLengthOutput_type is an exported wrapper for the private method _debugBytesLengthOutput_type.

func (IOGPUMetalCommandBuffer) DidCompleteWithStartTimeEndTimeError

func (i IOGPUMetalCommandBuffer) DidCompleteWithStartTimeEndTimeError(time uint64, time2 uint64, error_ objectivec.IObject)

func (IOGPUMetalCommandBuffer) DoCorruptCBSPI

func (i IOGPUMetalCommandBuffer) DoCorruptCBSPI(cbspi int)

func (IOGPUMetalCommandBuffer) EncodeConditionalAbortEvent

func (i IOGPUMetalCommandBuffer) EncodeConditionalAbortEvent(event objectivec.IObject)

func (IOGPUMetalCommandBuffer) EncodePurgedResources

func (i IOGPUMetalCommandBuffer) EncodePurgedResources() error

EncodePurgedResources is an exported wrapper for the private method _encodePurgedResources.

func (IOGPUMetalCommandBuffer) EncodeSignalEventScheduledValue

func (i IOGPUMetalCommandBuffer) EncodeSignalEventScheduledValue(scheduled objectivec.IObject, value uint64)

func (IOGPUMetalCommandBuffer) EncodeSignalEventValueAgentMask

func (i IOGPUMetalCommandBuffer) EncodeSignalEventValueAgentMask(event objectivec.IObject, value uint64, mask uint64)

func (IOGPUMetalCommandBuffer) EncodeSubmitSleepMS

func (i IOGPUMetalCommandBuffer) EncodeSubmitSleepMS(ms uint32)

func (IOGPUMetalCommandBuffer) EncodeWaitForEventValueTimeout

func (i IOGPUMetalCommandBuffer) EncodeWaitForEventValueTimeout(event objectivec.IObject, value uint64, timeout uint32)

func (IOGPUMetalCommandBuffer) EndCurrentSegment

func (i IOGPUMetalCommandBuffer) EndCurrentSegment()

func (IOGPUMetalCommandBuffer) FillCommandBufferArgsCommandQueue

func (i IOGPUMetalCommandBuffer) FillCommandBufferArgsCommandQueue(args *IOGPUCommandQueueCommandBufferArgs, queue objectivec.IObject)

func (IOGPUMetalCommandBuffer) GetCurrentKernelCommandBufferPointerEnd

func (i IOGPUMetalCommandBuffer) GetCurrentKernelCommandBufferPointerEnd(pointer unsafe.Pointer, end unsafe.Pointer)

func (IOGPUMetalCommandBuffer) GetCurrentKernelCommandBufferStartCurrentEnd

func (i IOGPUMetalCommandBuffer) GetCurrentKernelCommandBufferStartCurrentEnd(start unsafe.Pointer, current unsafe.Pointer, end unsafe.Pointer)

func (IOGPUMetalCommandBuffer) GetDebugBufferPointerStartEnd

func (i IOGPUMetalCommandBuffer) GetDebugBufferPointerStartEnd(start unsafe.Pointer, end unsafe.Pointer)

func (IOGPUMetalCommandBuffer) GetSegmentListHeader

func (i IOGPUMetalCommandBuffer) GetSegmentListHeader() *IOGPUSegmentListHeader

func (IOGPUMetalCommandBuffer) GetSegmentListLockedPeerIndex

func (i IOGPUMetalCommandBuffer) GetSegmentListLockedPeerIndex(index *uint32) bool

func (IOGPUMetalCommandBuffer) GetSegmentListPointerStartCurrentEnd

func (i IOGPUMetalCommandBuffer) GetSegmentListPointerStartCurrentEnd(start unsafe.Pointer, current unsafe.Pointer, end unsafe.Pointer)

func (IOGPUMetalCommandBuffer) GpuFaultAddress

func (i IOGPUMetalCommandBuffer) GpuFaultAddress() uint64

func (IOGPUMetalCommandBuffer) GrowDebugBuffer

func (i IOGPUMetalCommandBuffer) GrowDebugBuffer(buffer uint32)

func (IOGPUMetalCommandBuffer) GrowKernelCommandBuffer

func (i IOGPUMetalCommandBuffer) GrowKernelCommandBuffer(buffer uint64)

func (IOGPUMetalCommandBuffer) GrowSegmentList

func (i IOGPUMetalCommandBuffer) GrowSegmentList()

func (IOGPUMetalCommandBuffer) GrowSidebandBuffer

func (i IOGPUMetalCommandBuffer) GrowSidebandBuffer(buffer uint32)

func (IOGPUMetalCommandBuffer) Init

Init initializes the instance.

func (IOGPUMetalCommandBuffer) InitWithQueueRetainedReferences

func (i IOGPUMetalCommandBuffer) InitWithQueueRetainedReferences(queue objectivec.IObject, references bool) IOGPUMetalCommandBuffer

func (IOGPUMetalCommandBuffer) InitWithQueueRetainedReferencesSynchronousDebugMode

func (i IOGPUMetalCommandBuffer) InitWithQueueRetainedReferencesSynchronousDebugMode(queue objectivec.IObject, references bool, mode bool) IOGPUMetalCommandBuffer

func (IOGPUMetalCommandBuffer) IoGPUResourceList

func (i IOGPUMetalCommandBuffer) IoGPUResourceList() *IOGPUResourceList

func (IOGPUMetalCommandBuffer) KernelCommandCollectTimeStamp

func (i IOGPUMetalCommandBuffer) KernelCommandCollectTimeStamp()

func (IOGPUMetalCommandBuffer) KprintfBytesLength

func (i IOGPUMetalCommandBuffer) KprintfBytesLength(bytes string, length uint64)

func (IOGPUMetalCommandBuffer) ProtectionOptions

func (i IOGPUMetalCommandBuffer) ProtectionOptions() uint64

func (IOGPUMetalCommandBuffer) ReserveKernelCommandBufferSpace

func (i IOGPUMetalCommandBuffer) ReserveKernelCommandBufferSpace(space uint64) (unsafe.Pointer, error)

ReserveKernelCommandBufferSpace is an exported wrapper for the private method _reserveKernelCommandBufferSpace.

func (IOGPUMetalCommandBuffer) SetCurrentCommandEncoder

func (i IOGPUMetalCommandBuffer) SetCurrentCommandEncoder(encoder objectivec.IObject)

func (IOGPUMetalCommandBuffer) SetCurrentKernelCommandBufferPointer

func (i IOGPUMetalCommandBuffer) SetCurrentKernelCommandBufferPointer(pointer unsafe.Pointer)

func (IOGPUMetalCommandBuffer) SetCurrentSegmentListPointer

func (i IOGPUMetalCommandBuffer) SetCurrentSegmentListPointer(pointer unsafe.Pointer)

func (IOGPUMetalCommandBuffer) SetProtectionOptions

func (i IOGPUMetalCommandBuffer) SetProtectionOptions(options uint64)

func (IOGPUMetalCommandBuffer) SetResponsibleTaskIDsCount

func (i IOGPUMetalCommandBuffer) SetResponsibleTaskIDsCount(iDs []uint32, count uint32)

func (IOGPUMetalCommandBuffer) SetSegmentListLockedPeerIndex

func (i IOGPUMetalCommandBuffer) SetSegmentListLockedPeerIndex(index uint32)

func (IOGPUMetalCommandBuffer) UseInternalResidencySet

func (i IOGPUMetalCommandBuffer) UseInternalResidencySet(set objectivec.IObject)

func (IOGPUMetalCommandBuffer) UseInternalResidencySetsCount

func (i IOGPUMetalCommandBuffer) UseInternalResidencySetsCount(sets []objectivec.IObject, count uint64)

func (IOGPUMetalCommandBuffer) Validate

func (i IOGPUMetalCommandBuffer) Validate()

type IOGPUMetalCommandBufferClass

type IOGPUMetalCommandBufferClass struct {
	// contains filtered or unexported fields
}

func GetIOGPUMetalCommandBufferClass

func GetIOGPUMetalCommandBufferClass() IOGPUMetalCommandBufferClass

GetIOGPUMetalCommandBufferClass returns the class object for IOGPUMetalCommandBuffer.

func (IOGPUMetalCommandBufferClass) Alloc

Alloc allocates memory for a new instance of the class.

func (IOGPUMetalCommandBufferClass) Class

Class returns the underlying Objective-C class pointer.

type IOGPUMetalCommandBufferResourceInfo

type IOGPUMetalCommandBufferResourceInfo struct {
	Field1 uint64
	Field2 *uint32
	Field3 *uint32
	Field4 *uint32
	Field5 objectivec.Object
	Field6 IOGPUResourceInfo
}

IOGPUMetalCommandBufferResourceInfo

type IOGPUMetalCommandBufferResourceInfoRef

type IOGPUMetalCommandBufferResourceInfoRef = _undefined

type IOGPUMetalCommandBufferSidebandBuffer

type IOGPUMetalCommandBufferSidebandBuffer struct {
	Field1 objectivec.Object
	Field2 *byte
	Field3 *byte
	Field4 *byte
}

IOGPUMetalCommandBufferSidebandBuffer

type IOGPUMetalCommandBufferStorage

type IOGPUMetalCommandBufferStorage struct {
	Field1  objectivec.Object
	Field2  IOGPUMetalCommandBufferStoragePoolRef
	Field3  [2]uint64
	Field4  objectivec.Object
	Field5  *byte
	Field6  *byte
	Field7  *byte
	Field8  IOGPUMetalCommandBufferSidebandBuffer
	Field9  objectivec.Object
	Field10 *byte
	Field11 *byte
	Field12 IOGPUSegmentListHeaderRef
	Field13 IOGPUSegmentResourceListHeaderRef
	Field14 IOGPUSegmentResourceDescriptorGroupRef
	Field15 IOGPUResourceList
	Field16 objectivec.Object
	Field17 objectivec.Object
	Field18 uint64
	Field19 uint64
	Field20 objc.ID
	Field21 IOGPUMetalCommandBufferResourceInfoRef
	Field22 uint64
	Field23 objc.ID
	Field24 uint32
	Field25 uint64
	Field26 IOGPUSegmentListShmemHeaderRef
	Field27 IOGPUSegmentKernelCommmandListHeaderRef
	Field28 uint32
	Field29 uint32
	Field30 int32
	Field31 int32
	Field32 uint32
	Field33 IOGPUSegmentResourceListHeaderRef
	Field34 IOGPUSegmentResourceDescriptorGroupRef
	Field35 uint32
	Field36 objectivec.Object
	Field37 *byte
	Field38 *byte
	Field39 SIOGPUKernelCommandSetResourceGroupsArgsRef
	Field40 [2]objectivec.Object
	Field41 bool
}

IOGPUMetalCommandBufferStorage

type IOGPUMetalCommandBufferStoragePool

type IOGPUMetalCommandBufferStoragePool struct {
	Field1 GpuStorageQueue
	Field2 OSUnfairLockS
	Field3 int32
	Field4 int32
	Field5 int32
	Field6 objectivec.Object
	Field7 unsafe.Pointer
}

IOGPUMetalCommandBufferStoragePool

type IOGPUMetalCommandBufferStoragePoolRef

type IOGPUMetalCommandBufferStoragePoolRef = _undefined

type IOGPUMetalCommandBufferStorageRef

type IOGPUMetalCommandBufferStorageRef = _undefined

type IOGPUMetalCommandEncoder

type IOGPUMetalCommandEncoder struct {
	metal.MTLCommandEncoderObject
}

Methods

func IOGPUMetalCommandEncoderFromID

func IOGPUMetalCommandEncoderFromID(id objc.ID) IOGPUMetalCommandEncoder

IOGPUMetalCommandEncoderFromID constructs a IOGPUMetalCommandEncoder from an objc.ID.

func NewGPUMetalCommandEncoderWithCommandBuffer

func NewGPUMetalCommandEncoderWithCommandBuffer(buffer objectivec.IObject) IOGPUMetalCommandEncoder

func NewIOGPUMetalCommandEncoder

func NewIOGPUMetalCommandEncoder() IOGPUMetalCommandEncoder

NewIOGPUMetalCommandEncoder creates a new IOGPUMetalCommandEncoder instance.

func (IOGPUMetalCommandEncoder) Autorelease

Autorelease adds the receiver to the current autorelease pool.

func (IOGPUMetalCommandEncoder) Init

Init initializes the instance.

func (IOGPUMetalCommandEncoder) InitWithCommandBuffer

func (i IOGPUMetalCommandEncoder) InitWithCommandBuffer(buffer objectivec.IObject) IOGPUMetalCommandEncoder

type IOGPUMetalCommandEncoderClass

type IOGPUMetalCommandEncoderClass struct {
	// contains filtered or unexported fields
}

func GetIOGPUMetalCommandEncoderClass

func GetIOGPUMetalCommandEncoderClass() IOGPUMetalCommandEncoderClass

GetIOGPUMetalCommandEncoderClass returns the class object for IOGPUMetalCommandEncoder.

func (IOGPUMetalCommandEncoderClass) Alloc

Alloc allocates memory for a new instance of the class.

func (IOGPUMetalCommandEncoderClass) Class

Class returns the underlying Objective-C class pointer.

type IOGPUMetalCommandQueue

type IOGPUMetalCommandQueue struct {
	metal.MTLCommandQueueObject
}

Methods

func IOGPUMetalCommandQueueFromID

func IOGPUMetalCommandQueueFromID(id objc.ID) IOGPUMetalCommandQueue

IOGPUMetalCommandQueueFromID constructs a IOGPUMetalCommandQueue from an objc.ID.

func NewGPUMetalCommandQueueWithDeviceDescriptor

func NewGPUMetalCommandQueueWithDeviceDescriptor(device objectivec.IObject, descriptor objectivec.IObject) IOGPUMetalCommandQueue

func NewGPUMetalCommandQueueWithDeviceDescriptorArgsArgsSize

func NewGPUMetalCommandQueueWithDeviceDescriptorArgsArgsSize(device objectivec.IObject, descriptor objectivec.IObject, args *IOGPUDeviceNewCommandQueueArgs, size uint32) IOGPUMetalCommandQueue

func NewIOGPUMetalCommandQueue

func NewIOGPUMetalCommandQueue() IOGPUMetalCommandQueue

NewIOGPUMetalCommandQueue creates a new IOGPUMetalCommandQueue instance.

func (IOGPUMetalCommandQueue) AddInternalResidencySet

func (i IOGPUMetalCommandQueue) AddInternalResidencySet(set objectivec.IObject)

func (IOGPUMetalCommandQueue) AddInternalResidencySetsCount

func (i IOGPUMetalCommandQueue) AddInternalResidencySetsCount(sets []objectivec.IObject, count uint64)

func (IOGPUMetalCommandQueue) Autorelease

Autorelease adds the receiver to the current autorelease pool.

func (IOGPUMetalCommandQueue) CanSetGPUPriorityBackgroundPriority

func (i IOGPUMetalCommandQueue) CanSetGPUPriorityBackgroundPriority() bool

CanSetGPUPriorityBackgroundPriority reports whether the receiver responds to the private selector _setGPUPriority:backgroundPriority:.

func (IOGPUMetalCommandQueue) DispatchAvailableCompletionNotifications

func (i IOGPUMetalCommandQueue) DispatchAvailableCompletionNotifications()

func (IOGPUMetalCommandQueue) GetBackgroundGPUPriority

func (i IOGPUMetalCommandQueue) GetBackgroundGPUPriority() uint64

func (IOGPUMetalCommandQueue) GetGPUPriority

func (i IOGPUMetalCommandQueue) GetGPUPriority() uint64

func (IOGPUMetalCommandQueue) Init

Init initializes the instance.

func (IOGPUMetalCommandQueue) InitWithDeviceDescriptor

func (i IOGPUMetalCommandQueue) InitWithDeviceDescriptor(device objectivec.IObject, descriptor objectivec.IObject) IOGPUMetalCommandQueue

func (IOGPUMetalCommandQueue) InitWithDeviceDescriptorArgsArgsSize

func (i IOGPUMetalCommandQueue) InitWithDeviceDescriptorArgsArgsSize(device objectivec.IObject, descriptor objectivec.IObject, args *IOGPUDeviceNewCommandQueueArgs, size uint32) IOGPUMetalCommandQueue

func (IOGPUMetalCommandQueue) RemoveInternalResidencySet

func (i IOGPUMetalCommandQueue) RemoveInternalResidencySet(set objectivec.IObject)

func (IOGPUMetalCommandQueue) RemoveInternalResidencySetsCount

func (i IOGPUMetalCommandQueue) RemoveInternalResidencySetsCount(sets []objectivec.IObject, count uint64)

func (IOGPUMetalCommandQueue) SetBackgroundGPUPriority

func (i IOGPUMetalCommandQueue) SetBackgroundGPUPriority(gPUPriority uint64) bool

func (IOGPUMetalCommandQueue) SetBackgroundGPUPriorityOffset

func (i IOGPUMetalCommandQueue) SetBackgroundGPUPriorityOffset(gPUPriority uint64, offset uint16) bool

func (IOGPUMetalCommandQueue) SetCompletionQueue

func (i IOGPUMetalCommandQueue) SetCompletionQueue(queue objectivec.IObject)

func (IOGPUMetalCommandQueue) SetGPUPriority

func (i IOGPUMetalCommandQueue) SetGPUPriority(gPUPriority uint64) bool

func (IOGPUMetalCommandQueue) SetGPUPriorityBackgroundPriority

func (i IOGPUMetalCommandQueue) SetGPUPriorityBackgroundPriority(gPUPriority uint64, priority uint64) (bool, error)

SetGPUPriorityBackgroundPriority is an exported wrapper for the private method _setGPUPriorityBackgroundPriority.

func (IOGPUMetalCommandQueue) SetGPUPriorityOffset

func (i IOGPUMetalCommandQueue) SetGPUPriorityOffset(gPUPriority uint64, offset uint16) bool

func (IOGPUMetalCommandQueue) SubmitCommandBuffersCount

func (i IOGPUMetalCommandQueue) SubmitCommandBuffersCount(buffers []objectivec.IObject, count uint64)

func (IOGPUMetalCommandQueue) SupportsBackgroundAppRole

func (i IOGPUMetalCommandQueue) SupportsBackgroundAppRole() bool

type IOGPUMetalCommandQueueClass

type IOGPUMetalCommandQueueClass struct {
	// contains filtered or unexported fields
}

func GetIOGPUMetalCommandQueueClass

func GetIOGPUMetalCommandQueueClass() IOGPUMetalCommandQueueClass

GetIOGPUMetalCommandQueueClass returns the class object for IOGPUMetalCommandQueue.

func (IOGPUMetalCommandQueueClass) Alloc

Alloc allocates memory for a new instance of the class.

func (IOGPUMetalCommandQueueClass) Class

Class returns the underlying Objective-C class pointer.

type IOGPUMetalComputeCommandEncoder

type IOGPUMetalComputeCommandEncoder struct {
	IOGPUMetalCommandEncoder
}

Methods

func IOGPUMetalComputeCommandEncoderFromID

func IOGPUMetalComputeCommandEncoderFromID(id objc.ID) IOGPUMetalComputeCommandEncoder

IOGPUMetalComputeCommandEncoderFromID constructs a IOGPUMetalComputeCommandEncoder from an objc.ID.

func NewGPUMetalComputeCommandEncoderWithCommandBuffer

func NewGPUMetalComputeCommandEncoderWithCommandBuffer(buffer objectivec.IObject) IOGPUMetalComputeCommandEncoder

func NewIOGPUMetalComputeCommandEncoder

func NewIOGPUMetalComputeCommandEncoder() IOGPUMetalComputeCommandEncoder

NewIOGPUMetalComputeCommandEncoder creates a new IOGPUMetalComputeCommandEncoder instance.

func (IOGPUMetalComputeCommandEncoder) Autorelease

Autorelease adds the receiver to the current autorelease pool.

func (IOGPUMetalComputeCommandEncoder) ExecuteCommandsInBufferIndirectBufferIndirectBufferOffset

func (i IOGPUMetalComputeCommandEncoder) ExecuteCommandsInBufferIndirectBufferIndirectBufferOffset(buffer objectivec.IObject, buffer2 objectivec.IObject, offset uint64)

func (IOGPUMetalComputeCommandEncoder) ExecuteCommandsInBufferWithRange

func (i IOGPUMetalComputeCommandEncoder) ExecuteCommandsInBufferWithRange(buffer objectivec.IObject, range_ foundation.NSRange)

func (IOGPUMetalComputeCommandEncoder) GetBufferContentsAtIndex

func (i IOGPUMetalComputeCommandEncoder) GetBufferContentsAtIndex(index uint64) unsafe.Pointer

func (IOGPUMetalComputeCommandEncoder) GetComputePipelineState

func (i IOGPUMetalComputeCommandEncoder) GetComputePipelineState() objectivec.IObject

func (IOGPUMetalComputeCommandEncoder) GetType

func (IOGPUMetalComputeCommandEncoder) Init

Init initializes the instance.

func (IOGPUMetalComputeCommandEncoder) MemoryBarrierWithResourcesCount

func (i IOGPUMetalComputeCommandEncoder) MemoryBarrierWithResourcesCount(resources []objectivec.IObject, count uint64)

func (IOGPUMetalComputeCommandEncoder) MemoryBarrierWithScope

func (i IOGPUMetalComputeCommandEncoder) MemoryBarrierWithScope(scope uint64)

func (IOGPUMetalComputeCommandEncoder) SampleCountersInBufferAtSampleIndexWithBarrier

func (i IOGPUMetalComputeCommandEncoder) SampleCountersInBufferAtSampleIndexWithBarrier(buffer objectivec.IObject, index uint64, barrier bool)

func (IOGPUMetalComputeCommandEncoder) SetAccelerationStructureAtBufferIndex

func (i IOGPUMetalComputeCommandEncoder) SetAccelerationStructureAtBufferIndex(structure objectivec.IObject, index uint64)

func (IOGPUMetalComputeCommandEncoder) SetFunctionTableAtIndex

func (i IOGPUMetalComputeCommandEncoder) SetFunctionTableAtIndex(table objectivec.IObject, index uint64)

func (IOGPUMetalComputeCommandEncoder) SetFunctionTablesWithRange

func (i IOGPUMetalComputeCommandEncoder) SetFunctionTablesWithRange(tables []objectivec.IObject, range_ foundation.NSRange)

func (IOGPUMetalComputeCommandEncoder) SetIntersectionFunctionTableAtBufferIndex

func (i IOGPUMetalComputeCommandEncoder) SetIntersectionFunctionTableAtBufferIndex(table objectivec.IObject, index uint64)

func (IOGPUMetalComputeCommandEncoder) SetIntersectionFunctionTablesWithBufferRange

func (i IOGPUMetalComputeCommandEncoder) SetIntersectionFunctionTablesWithBufferRange(tables []objectivec.IObject, range_ foundation.NSRange)

func (IOGPUMetalComputeCommandEncoder) SetVisibleFunctionTableAtBufferIndex

func (i IOGPUMetalComputeCommandEncoder) SetVisibleFunctionTableAtBufferIndex(table objectivec.IObject, index uint64)

func (IOGPUMetalComputeCommandEncoder) SetVisibleFunctionTablesWithBufferRange

func (i IOGPUMetalComputeCommandEncoder) SetVisibleFunctionTablesWithBufferRange(tables []objectivec.IObject, range_ foundation.NSRange)

func (IOGPUMetalComputeCommandEncoder) UpdateFence

func (i IOGPUMetalComputeCommandEncoder) UpdateFence(fence objectivec.IObject)

func (IOGPUMetalComputeCommandEncoder) UseHeap

func (IOGPUMetalComputeCommandEncoder) UseHeapsCount

func (i IOGPUMetalComputeCommandEncoder) UseHeapsCount(heaps []objectivec.IObject, count uint64)

func (IOGPUMetalComputeCommandEncoder) UseResourceUsage

func (i IOGPUMetalComputeCommandEncoder) UseResourceUsage(resource objectivec.IObject, usage uint64)

func (IOGPUMetalComputeCommandEncoder) UseResourcesCountUsage

func (i IOGPUMetalComputeCommandEncoder) UseResourcesCountUsage(resources []objectivec.IObject, count uint64, usage uint64)

func (IOGPUMetalComputeCommandEncoder) WaitForFence

func (i IOGPUMetalComputeCommandEncoder) WaitForFence(fence objectivec.IObject)

type IOGPUMetalComputeCommandEncoderClass

type IOGPUMetalComputeCommandEncoderClass struct {
	// contains filtered or unexported fields
}

func GetIOGPUMetalComputeCommandEncoderClass

func GetIOGPUMetalComputeCommandEncoderClass() IOGPUMetalComputeCommandEncoderClass

GetIOGPUMetalComputeCommandEncoderClass returns the class object for IOGPUMetalComputeCommandEncoder.

func (IOGPUMetalComputeCommandEncoderClass) Alloc

Alloc allocates memory for a new instance of the class.

func (IOGPUMetalComputeCommandEncoderClass) Class

Class returns the underlying Objective-C class pointer.

type IOGPUMetalDebugCommandEncoder

type IOGPUMetalDebugCommandEncoder struct {
	objectivec.Object
}

Methods

func IOGPUMetalDebugCommandEncoderFromID

func IOGPUMetalDebugCommandEncoderFromID(id objc.ID) IOGPUMetalDebugCommandEncoder

IOGPUMetalDebugCommandEncoderFromID constructs a IOGPUMetalDebugCommandEncoder from an objc.ID.

func NewGPUMetalDebugCommandEncoderWithCommandBuffer

func NewGPUMetalDebugCommandEncoderWithCommandBuffer(buffer objectivec.IObject) IOGPUMetalDebugCommandEncoder

func NewIOGPUMetalDebugCommandEncoder

func NewIOGPUMetalDebugCommandEncoder() IOGPUMetalDebugCommandEncoder

NewIOGPUMetalDebugCommandEncoder creates a new IOGPUMetalDebugCommandEncoder instance.

func (IOGPUMetalDebugCommandEncoder) AddAPIResource

func (i IOGPUMetalDebugCommandEncoder) AddAPIResource(aPIResource objectivec.IObject)

func (IOGPUMetalDebugCommandEncoder) AddDebugResourceListInfoFlag

func (i IOGPUMetalDebugCommandEncoder) AddDebugResourceListInfoFlag(info *IOGPUResourceInfo, flag uint32) uint32

func (IOGPUMetalDebugCommandEncoder) Autorelease

Autorelease adds the receiver to the current autorelease pool.

func (IOGPUMetalDebugCommandEncoder) DebugBytesLengthOutput_type

func (i IOGPUMetalDebugCommandEncoder) DebugBytesLengthOutput_type(bytes string, length uint64, output_type uint32)

func (IOGPUMetalDebugCommandEncoder) EndEncoding

func (i IOGPUMetalDebugCommandEncoder) EndEncoding()

func (IOGPUMetalDebugCommandEncoder) IOLogBytesLength

func (i IOGPUMetalDebugCommandEncoder) IOLogBytesLength(bytes string, length uint64)

func (IOGPUMetalDebugCommandEncoder) Init

Init initializes the instance.

func (IOGPUMetalDebugCommandEncoder) InitWithCommandBuffer

func (IOGPUMetalDebugCommandEncoder) KprintfBytesLength

func (i IOGPUMetalDebugCommandEncoder) KprintfBytesLength(bytes string, length uint64)

func (IOGPUMetalDebugCommandEncoder) ReserveKernelCommandBufferSpace

func (i IOGPUMetalDebugCommandEncoder) ReserveKernelCommandBufferSpace(space uint64) unsafe.Pointer

func (IOGPUMetalDebugCommandEncoder) RestartDebugPass

func (i IOGPUMetalDebugCommandEncoder) RestartDebugPass()

type IOGPUMetalDebugCommandEncoderClass

type IOGPUMetalDebugCommandEncoderClass struct {
	// contains filtered or unexported fields
}

func GetIOGPUMetalDebugCommandEncoderClass

func GetIOGPUMetalDebugCommandEncoderClass() IOGPUMetalDebugCommandEncoderClass

GetIOGPUMetalDebugCommandEncoderClass returns the class object for IOGPUMetalDebugCommandEncoder.

func (IOGPUMetalDebugCommandEncoderClass) Alloc

Alloc allocates memory for a new instance of the class.

func (IOGPUMetalDebugCommandEncoderClass) Class

Class returns the underlying Objective-C class pointer.

type IOGPUMetalDevice

type IOGPUMetalDevice struct {
	metal.MTLDeviceObject
}

Methods

func IOGPUMetalDeviceFromID

func IOGPUMetalDeviceFromID(id objc.ID) IOGPUMetalDevice

IOGPUMetalDeviceFromID constructs a IOGPUMetalDevice from an objc.ID.

func NewGPUMetalDeviceWithAcceleratorPort

func NewGPUMetalDeviceWithAcceleratorPort(port uint32) IOGPUMetalDevice

func NewGPUMetalDeviceWithAcceleratorPortOptions

func NewGPUMetalDeviceWithAcceleratorPortOptions(port uint32, options uint64) IOGPUMetalDevice

func NewIOGPUMetalDevice

func NewIOGPUMetalDevice() IOGPUMetalDevice

NewIOGPUMetalDevice creates a new IOGPUMetalDevice instance.

func (IOGPUMetalDevice) AcceleratorPort

func (i IOGPUMetalDevice) AcceleratorPort() uint32

func (IOGPUMetalDevice) AddResource

func (i IOGPUMetalDevice) AddResource(resource objectivec.IObject) error

AddResource is an exported wrapper for the private method _addResource.

func (IOGPUMetalDevice) AkPrivateResourceListPool

func (i IOGPUMetalDevice) AkPrivateResourceListPool() objectivec.IObject

func (IOGPUMetalDevice) AkResourceListPool

func (i IOGPUMetalDevice) AkResourceListPool() objectivec.IObject

func (IOGPUMetalDevice) AllocBufferSubDataWithLengthOptionsAlignmentHeapIndexBufferIndexBufferOffset

func (i IOGPUMetalDevice) AllocBufferSubDataWithLengthOptionsAlignmentHeapIndexBufferIndexBufferOffset(length uint64, options uint64, alignment uint64, index *int16, index2 *int16, offset *uint64) objectivec.IObject

func (IOGPUMetalDevice) AllocBufferSubDataWithLengthOptionsAlignmentHeapIndexBufferIndexBufferOffsetParentAddressParentLength

func (i IOGPUMetalDevice) AllocBufferSubDataWithLengthOptionsAlignmentHeapIndexBufferIndexBufferOffsetParentAddressParentLength(length uint64, options uint64, alignment uint64, index *int16, index2 *int16, offset *uint64, address uint64, length2 uint64) objectivec.IObject

func (IOGPUMetalDevice) Autorelease

func (i IOGPUMetalDevice) Autorelease() IOGPUMetalDevice

Autorelease adds the receiver to the current autorelease pool.

func (IOGPUMetalDevice) BufferClass

func (i IOGPUMetalDevice) BufferClass() objectivec.Class

func (IOGPUMetalDevice) CanAddResource

func (i IOGPUMetalDevice) CanAddResource() bool

CanAddResource reports whether the receiver responds to the private selector _addResource:.

func (IOGPUMetalDevice) CanDeviceWrapper

func (i IOGPUMetalDevice) CanDeviceWrapper() bool

CanDeviceWrapper reports whether the receiver responds to the private selector _deviceWrapper.

func (IOGPUMetalDevice) CanPurgeDevice

func (i IOGPUMetalDevice) CanPurgeDevice() bool

CanPurgeDevice reports whether the receiver responds to the private selector _purgeDevice.

func (IOGPUMetalDevice) CanRemoveResource

func (i IOGPUMetalDevice) CanRemoveResource() bool

CanRemoveResource reports whether the receiver responds to the private selector _removeResource:.

func (IOGPUMetalDevice) CanSetAcceleratorService

func (i IOGPUMetalDevice) CanSetAcceleratorService() bool

CanSetAcceleratorService reports whether the receiver responds to the private selector _setAcceleratorService:.

func (IOGPUMetalDevice) CanSetDeviceWrapper

func (i IOGPUMetalDevice) CanSetDeviceWrapper() bool

CanSetDeviceWrapper reports whether the receiver responds to the private selector _setDeviceWrapper:.

func (IOGPUMetalDevice) CmdBufArgsSize

func (i IOGPUMetalDevice) CmdBufArgsSize() uint32

func (IOGPUMetalDevice) DeallocBufferSubDataHeapIndexBufferIndexBufferOffsetLength

func (i IOGPUMetalDevice) DeallocBufferSubDataHeapIndexBufferIndexBufferOffsetLength(data objectivec.IObject, index int16, index2 int16, offset uint64, length uint64)

func (IOGPUMetalDevice) DedicatedMemorySize

func (i IOGPUMetalDevice) DedicatedMemorySize() uint64

func (IOGPUMetalDevice) DeviceRef

func (i IOGPUMetalDevice) DeviceRef() uintptr

func (IOGPUMetalDevice) DeviceWrapper

func (i IOGPUMetalDevice) DeviceWrapper() (objectivec.IObject, error)

DeviceWrapper is an exported wrapper for the private method _deviceWrapper.

func (IOGPUMetalDevice) GetBuiltInGPUPropertiesTransferRate

func (i IOGPUMetalDevice) GetBuiltInGPUPropertiesTransferRate(gPUProperties *uint64, rate *uint64)

func (IOGPUMetalDevice) GetExternalGPUPropertiesTransferRate

func (i IOGPUMetalDevice) GetExternalGPUPropertiesTransferRate(gPUProperties *uint64, rate *uint64)

func (IOGPUMetalDevice) GetSlottedGPUPropertiesTransferRate

func (i IOGPUMetalDevice) GetSlottedGPUPropertiesTransferRate(gPUProperties *uint64, rate *uint64)

func (IOGPUMetalDevice) GetSurfaceModeWidthHeightForId

func (i IOGPUMetalDevice) GetSurfaceModeWidthHeightForId(mode *uint64, width *uint32, height *uint32, id uint32) int

func (IOGPUMetalDevice) Headless

func (i IOGPUMetalDevice) Headless() bool

func (IOGPUMetalDevice) HwResourcePoolCount

func (i IOGPUMetalDevice) HwResourcePoolCount() uint32

func (IOGPUMetalDevice) HwResourcePools

func (i IOGPUMetalDevice) HwResourcePools() []objectivec.IObject

func (IOGPUMetalDevice) IndirectArgumentBufferDecodingData

func (i IOGPUMetalDevice) IndirectArgumentBufferDecodingData() objectivec.IObject

func (IOGPUMetalDevice) Init

Init initializes the instance.

func (IOGPUMetalDevice) InitWithAcceleratorPort

func (i IOGPUMetalDevice) InitWithAcceleratorPort(port uint32) IOGPUMetalDevice

func (IOGPUMetalDevice) InitWithAcceleratorPortOptions

func (i IOGPUMetalDevice) InitWithAcceleratorPortOptions(port uint32, options uint64) IOGPUMetalDevice

func (IOGPUMetalDevice) InitialDebugBufferShmemSize

func (i IOGPUMetalDevice) InitialDebugBufferShmemSize() IOGPUMetalDevice

func (IOGPUMetalDevice) InitialIOKernelCommandListShmemSize

func (i IOGPUMetalDevice) InitialIOKernelCommandListShmemSize() IOGPUMetalDevice

func (IOGPUMetalDevice) InitialKernelCommandShmemSize

func (i IOGPUMetalDevice) InitialKernelCommandShmemSize() IOGPUMetalDevice

func (IOGPUMetalDevice) InitialSegmentListShmemSize

func (i IOGPUMetalDevice) InitialSegmentListShmemSize() IOGPUMetalDevice

func (IOGPUMetalDevice) InitialSidebandShmemSize

func (i IOGPUMetalDevice) InitialSidebandShmemSize() IOGPUMetalDevice

func (IOGPUMetalDevice) IsBuiltIn

func (i IOGPUMetalDevice) IsBuiltIn() bool

func (IOGPUMetalDevice) IsSlotted

func (i IOGPUMetalDevice) IsSlotted() bool

func (IOGPUMetalDevice) LaunchMappingThread

func (i IOGPUMetalDevice) LaunchMappingThread()

func (IOGPUMetalDevice) LowPower

func (i IOGPUMetalDevice) LowPower() bool

func (IOGPUMetalDevice) MemoryInfo

func (i IOGPUMetalDevice) MemoryInfo() IIOGPUMemoryInfo

func (IOGPUMetalDevice) NewAccelerationStructureWithBufferOffset

func (i IOGPUMetalDevice) NewAccelerationStructureWithBufferOffset(buffer objectivec.IObject, offset uint64) objectivec.IObject

func (IOGPUMetalDevice) NewAccelerationStructureWithBufferOffsetResourceIndex

func (i IOGPUMetalDevice) NewAccelerationStructureWithBufferOffsetResourceIndex(buffer objectivec.IObject, offset uint64, index uint64) objectivec.IObject

func (IOGPUMetalDevice) NewAccelerationStructureWithSizeResourceIndex

func (i IOGPUMetalDevice) NewAccelerationStructureWithSizeResourceIndex(size uint64, index uint64) objectivec.IObject

func (IOGPUMetalDevice) NewArgumentEncoderWithLayout

func (i IOGPUMetalDevice) NewArgumentEncoderWithLayout(layout objectivec.IObject) objectivec.IObject

func (IOGPUMetalDevice) NewDevicePoolAliasedCommandAllocator

func (i IOGPUMetalDevice) NewDevicePoolAliasedCommandAllocator() objectivec.IObject

func (IOGPUMetalDevice) NewEventWithOptions

func (i IOGPUMetalDevice) NewEventWithOptions(options int64) objectivec.IObject

func (IOGPUMetalDevice) NewGLDrawable

func (i IOGPUMetalDevice) NewGLDrawable() objectivec.IObject

func (IOGPUMetalDevice) NewIOHandleWithURLCompressionTypeError

func (i IOGPUMetalDevice) NewIOHandleWithURLCompressionTypeError(url foundation.NSURL, type_ int64) (objectivec.IObject, error)

func (IOGPUMetalDevice) NewIndirectArgumentBufferLayoutWithStructType

func (i IOGPUMetalDevice) NewIndirectArgumentBufferLayoutWithStructType(type_ objectivec.IObject) objectivec.IObject

func (IOGPUMetalDevice) NewIndirectArgumentEncoderWithLayout

func (i IOGPUMetalDevice) NewIndirectArgumentEncoderWithLayout(layout objectivec.IObject) objectivec.IObject

func (IOGPUMetalDevice) NewIntersectionFunctionTableWithDescriptor

func (i IOGPUMetalDevice) NewIntersectionFunctionTableWithDescriptor(descriptor objectivec.IObject) objectivec.IObject

func (IOGPUMetalDevice) NewLateEvalEvent

func (i IOGPUMetalDevice) NewLateEvalEvent() objectivec.IObject

func (IOGPUMetalDevice) NewTiledTextureWithBytesNoCopyLengthDeallocatorDescriptorOffsetBytesPerRow

func (i IOGPUMetalDevice) NewTiledTextureWithBytesNoCopyLengthDeallocatorDescriptorOffsetBytesPerRow(copy_ unsafe.Pointer, length uint64, deallocator VoidHandler, descriptor objectivec.IObject, offset uint64, row uint64) objectivec.IObject

func (IOGPUMetalDevice) NewTiledTextureWithBytesNoCopyLengthDescriptorOffsetBytesPerRow

func (i IOGPUMetalDevice) NewTiledTextureWithBytesNoCopyLengthDescriptorOffsetBytesPerRow(copy_ unsafe.Pointer, length uint64, descriptor objectivec.IObject, offset uint64, row uint64) objectivec.IObject

func (IOGPUMetalDevice) NewUncachedIOFileHandleWithURLCompressionMethodError

func (i IOGPUMetalDevice) NewUncachedIOFileHandleWithURLCompressionMethodError(url foundation.NSURL, method int64) (objectivec.IObject, error)

func (IOGPUMetalDevice) NewUncachedIOFileHandleWithURLError

func (i IOGPUMetalDevice) NewUncachedIOFileHandleWithURLError(url foundation.NSURL) (objectivec.IObject, error)

func (IOGPUMetalDevice) NewUncachedIOHandleWithURLCompressionTypeError

func (i IOGPUMetalDevice) NewUncachedIOHandleWithURLCompressionTypeError(url foundation.NSURL, type_ int64) (objectivec.IObject, error)

func (IOGPUMetalDevice) NewUncachedIOHandleWithURLError

func (i IOGPUMetalDevice) NewUncachedIOHandleWithURLError(url foundation.NSURL) (objectivec.IObject, error)

func (IOGPUMetalDevice) NumCommandBuffers

func (i IOGPUMetalDevice) NumCommandBuffers() int

func (IOGPUMetalDevice) PurgeDevice

func (i IOGPUMetalDevice) PurgeDevice() error

PurgeDevice is an exported wrapper for the private method _purgeDevice.

func (IOGPUMetalDevice) ReleasePeerConnection

func (i IOGPUMetalDevice) ReleasePeerConnection(connection objectivec.IObject)

func (IOGPUMetalDevice) Removable

func (i IOGPUMetalDevice) Removable() bool

func (IOGPUMetalDevice) RemoveResource

func (i IOGPUMetalDevice) RemoveResource(resource objectivec.IObject) error

RemoveResource is an exported wrapper for the private method _removeResource.

func (IOGPUMetalDevice) RetainPeerConnection

func (i IOGPUMetalDevice) RetainPeerConnection(connection objectivec.IObject) bool

func (IOGPUMetalDevice) SetAcceleratorService

func (i IOGPUMetalDevice) SetAcceleratorService(service objectivec.IObject) error

SetAcceleratorService is an exported wrapper for the private method _setAcceleratorService.

func (IOGPUMetalDevice) SetComputePipelineStateCommandShmemSize

func (i IOGPUMetalDevice) SetComputePipelineStateCommandShmemSize(size uint32)

func (IOGPUMetalDevice) SetDeviceWrapper

func (i IOGPUMetalDevice) SetDeviceWrapper(wrapper objectivec.IObject) error

SetDeviceWrapper is an exported wrapper for the private method _setDeviceWrapper.

func (IOGPUMetalDevice) SetHwResourcePoolCount

func (i IOGPUMetalDevice) SetHwResourcePoolCount(pool []objectivec.IObject, count int)

func (IOGPUMetalDevice) SetIndirectArgumentBufferDecodingData

func (i IOGPUMetalDevice) SetIndirectArgumentBufferDecodingData(data objectivec.IObject)

func (IOGPUMetalDevice) SetSegmentListShmemSize

func (i IOGPUMetalDevice) SetSegmentListShmemSize(size uint32)

func (IOGPUMetalDevice) SharedMemorySize

func (i IOGPUMetalDevice) SharedMemorySize() uint64

func (IOGPUMetalDevice) SupportPriorityBand

func (i IOGPUMetalDevice) SupportPriorityBand() bool

func (IOGPUMetalDevice) SupportsBackgroundAppRole

func (i IOGPUMetalDevice) SupportsBackgroundAppRole() bool

func (IOGPUMetalDevice) SupportsResourceDetachBacking

func (i IOGPUMetalDevice) SupportsResourceDetachBacking() bool

func (IOGPUMetalDevice) SupportsVertexAmplification

func (i IOGPUMetalDevice) SupportsVertexAmplification() bool

func (IOGPUMetalDevice) UpdateGPUSelectionProperties

func (i IOGPUMetalDevice) UpdateGPUSelectionProperties()

type IOGPUMetalDeviceAssertion

type IOGPUMetalDeviceAssertion struct {
	objectivec.Object
}

Methods

func IOGPUMetalDeviceAssertionFromID

func IOGPUMetalDeviceAssertionFromID(id objc.ID) IOGPUMetalDeviceAssertion

IOGPUMetalDeviceAssertionFromID constructs a IOGPUMetalDeviceAssertion from an objc.ID.

func NewGPUMetalDeviceAssertionWithDeviceAssertionTypeOptions

func NewGPUMetalDeviceAssertionWithDeviceAssertionTypeOptions(device objectivec.IObject, type_ uint64, options uint64) IOGPUMetalDeviceAssertion

func NewIOGPUMetalDeviceAssertion

func NewIOGPUMetalDeviceAssertion() IOGPUMetalDeviceAssertion

NewIOGPUMetalDeviceAssertion creates a new IOGPUMetalDeviceAssertion instance.

func (IOGPUMetalDeviceAssertion) Autorelease

Autorelease adds the receiver to the current autorelease pool.

func (IOGPUMetalDeviceAssertion) Init

Init initializes the instance.

func (IOGPUMetalDeviceAssertion) InitWithDeviceAssertionTypeOptions

func (i IOGPUMetalDeviceAssertion) InitWithDeviceAssertionTypeOptions(device objectivec.IObject, type_ uint64, options uint64) IOGPUMetalDeviceAssertion

type IOGPUMetalDeviceAssertionClass

type IOGPUMetalDeviceAssertionClass struct {
	// contains filtered or unexported fields
}

func GetIOGPUMetalDeviceAssertionClass

func GetIOGPUMetalDeviceAssertionClass() IOGPUMetalDeviceAssertionClass

GetIOGPUMetalDeviceAssertionClass returns the class object for IOGPUMetalDeviceAssertion.

func (IOGPUMetalDeviceAssertionClass) Alloc

Alloc allocates memory for a new instance of the class.

func (IOGPUMetalDeviceAssertionClass) Class

Class returns the underlying Objective-C class pointer.

type IOGPUMetalDeviceClass

type IOGPUMetalDeviceClass struct {
	// contains filtered or unexported fields
}

func GetIOGPUMetalDeviceClass

func GetIOGPUMetalDeviceClass() IOGPUMetalDeviceClass

GetIOGPUMetalDeviceClass returns the class object for IOGPUMetalDevice.

func (IOGPUMetalDeviceClass) Alloc

Alloc allocates memory for a new instance of the class.

func (IOGPUMetalDeviceClass) Class

func (ic IOGPUMetalDeviceClass) Class() objc.Class

Class returns the underlying Objective-C class pointer.

func (IOGPUMetalDeviceClass) RegisterAcceleratorService

func (_IOGPUMetalDeviceClass IOGPUMetalDeviceClass) RegisterAcceleratorService(service objectivec.IObject)

func (IOGPUMetalDeviceClass) RegisterDevices

func (_IOGPUMetalDeviceClass IOGPUMetalDeviceClass) RegisterDevices()

type IOGPUMetalDeviceShmem

type IOGPUMetalDeviceShmem struct {
	objectivec.Object
}

Methods

func IOGPUMetalDeviceShmemFromID

func IOGPUMetalDeviceShmemFromID(id objc.ID) IOGPUMetalDeviceShmem

IOGPUMetalDeviceShmemFromID constructs a IOGPUMetalDeviceShmem from an objc.ID.

func NewGPUMetalDeviceShmemWithDeviceShmemSizeShmemType

func NewGPUMetalDeviceShmemWithDeviceShmemSizeShmemType(device objectivec.IObject, size uint32, type_ int) IOGPUMetalDeviceShmem

func NewIOGPUMetalDeviceShmem

func NewIOGPUMetalDeviceShmem() IOGPUMetalDeviceShmem

NewIOGPUMetalDeviceShmem creates a new IOGPUMetalDeviceShmem instance.

func (IOGPUMetalDeviceShmem) Autorelease

Autorelease adds the receiver to the current autorelease pool.

func (IOGPUMetalDeviceShmem) Init

Init initializes the instance.

func (IOGPUMetalDeviceShmem) InitWithDeviceShmemSizeShmemType

func (i IOGPUMetalDeviceShmem) InitWithDeviceShmemSizeShmemType(device objectivec.IObject, size uint32, type_ int) IOGPUMetalDeviceShmem

func (IOGPUMetalDeviceShmem) ShmemID

func (i IOGPUMetalDeviceShmem) ShmemID() uint32

func (IOGPUMetalDeviceShmem) ShmemSize

func (i IOGPUMetalDeviceShmem) ShmemSize() uint32

func (IOGPUMetalDeviceShmem) VirtualAddress

func (i IOGPUMetalDeviceShmem) VirtualAddress() unsafe.Pointer

type IOGPUMetalDeviceShmemClass

type IOGPUMetalDeviceShmemClass struct {
	// contains filtered or unexported fields
}

func GetIOGPUMetalDeviceShmemClass

func GetIOGPUMetalDeviceShmemClass() IOGPUMetalDeviceShmemClass

GetIOGPUMetalDeviceShmemClass returns the class object for IOGPUMetalDeviceShmem.

func (IOGPUMetalDeviceShmemClass) Alloc

Alloc allocates memory for a new instance of the class.

func (IOGPUMetalDeviceShmemClass) Class

Class returns the underlying Objective-C class pointer.

type IOGPUMetalDeviceShmemPool

type IOGPUMetalDeviceShmemPool struct {
	objectivec.Object
}

Methods

func IOGPUMetalDeviceShmemPoolFromID

func IOGPUMetalDeviceShmemPoolFromID(id objc.ID) IOGPUMetalDeviceShmemPool

IOGPUMetalDeviceShmemPoolFromID constructs a IOGPUMetalDeviceShmemPool from an objc.ID.

func NewGPUMetalDeviceShmemPoolWithDeviceResourceClassShmemSizeShmemTypeOptions

func NewGPUMetalDeviceShmemPoolWithDeviceResourceClassShmemSizeShmemTypeOptions(device objectivec.IObject, class objectivec.Class, size uint32, type_ int, options objectivec.IObject) IOGPUMetalDeviceShmemPool

func NewIOGPUMetalDeviceShmemPool

func NewIOGPUMetalDeviceShmemPool() IOGPUMetalDeviceShmemPool

NewIOGPUMetalDeviceShmemPool creates a new IOGPUMetalDeviceShmemPool instance.

func (IOGPUMetalDeviceShmemPool) AllocatedSize

func (i IOGPUMetalDeviceShmemPool) AllocatedSize() uint64

func (IOGPUMetalDeviceShmemPool) Autorelease

Autorelease adds the receiver to the current autorelease pool.

func (IOGPUMetalDeviceShmemPool) AvailableCount

func (i IOGPUMetalDeviceShmemPool) AvailableCount() int

func (IOGPUMetalDeviceShmemPool) Init

Init initializes the instance.

func (IOGPUMetalDeviceShmemPool) InitWithDeviceResourceClassShmemSizeShmemTypeOptions

func (i IOGPUMetalDeviceShmemPool) InitWithDeviceResourceClassShmemSizeShmemTypeOptions(device objectivec.IObject, class objectivec.Class, size uint32, type_ int, options objectivec.IObject) IOGPUMetalDeviceShmemPool

func (IOGPUMetalDeviceShmemPool) Prune

func (i IOGPUMetalDeviceShmemPool) Prune()

func (IOGPUMetalDeviceShmemPool) Purge

func (i IOGPUMetalDeviceShmemPool) Purge()

func (IOGPUMetalDeviceShmemPool) SetShmemSize

func (i IOGPUMetalDeviceShmemPool) SetShmemSize(size uint32)

func (IOGPUMetalDeviceShmemPool) ShmemSize

func (i IOGPUMetalDeviceShmemPool) ShmemSize() uint32

type IOGPUMetalDeviceShmemPoolClass

type IOGPUMetalDeviceShmemPoolClass struct {
	// contains filtered or unexported fields
}

func GetIOGPUMetalDeviceShmemPoolClass

func GetIOGPUMetalDeviceShmemPoolClass() IOGPUMetalDeviceShmemPoolClass

GetIOGPUMetalDeviceShmemPoolClass returns the class object for IOGPUMetalDeviceShmemPool.

func (IOGPUMetalDeviceShmemPoolClass) Alloc

Alloc allocates memory for a new instance of the class.

func (IOGPUMetalDeviceShmemPoolClass) Class

Class returns the underlying Objective-C class pointer.

type IOGPUMetalDeviceShmemPoolPrivate

type IOGPUMetalDeviceShmemPoolPrivate struct {
	Queue      ShmemPoolQueue
	Lock       OSUnfairLockS
	Count      int32
	ShmemClass objc.Class
	Device     *IOGPUMetalDevice
	ShmemSize  uint32
	ShmemType  int32
}

IOGPUMetalDeviceShmemPoolPrivate

type IOGPUMetalDeviceShmemPrivate

type IOGPUMetalDeviceShmemPrivate struct {
	Pool               *IOGPUMetalDeviceShmemPool
	Entry              [2]uint64
	Time_added         uint64
	Trim_level         int64
	Used_history       [8]int64
	Used_history_index int32
}

IOGPUMetalDeviceShmemPrivate

type IOGPUMetalFence

type IOGPUMetalFence struct {
	metal.MTLFenceObject
}

Methods

func IOGPUMetalFenceFromID

func IOGPUMetalFenceFromID(id objc.ID) IOGPUMetalFence

IOGPUMetalFenceFromID constructs a IOGPUMetalFence from an objc.ID.

func NewGPUMetalFenceWithDevice

func NewGPUMetalFenceWithDevice(device objectivec.IObject) IOGPUMetalFence

func NewIOGPUMetalFence

func NewIOGPUMetalFence() IOGPUMetalFence

NewIOGPUMetalFence creates a new IOGPUMetalFence instance.

func (IOGPUMetalFence) Autorelease

func (i IOGPUMetalFence) Autorelease() IOGPUMetalFence

Autorelease adds the receiver to the current autorelease pool.

func (IOGPUMetalFence) DebugDescription

func (i IOGPUMetalFence) DebugDescription() string

func (IOGPUMetalFence) Description

func (i IOGPUMetalFence) Description() string

func (IOGPUMetalFence) Hash

func (i IOGPUMetalFence) Hash() uint64

func (IOGPUMetalFence) Init

Init initializes the instance.

func (IOGPUMetalFence) InitWithDevice

func (i IOGPUMetalFence) InitWithDevice(device objectivec.IObject) IOGPUMetalFence

func (IOGPUMetalFence) Superclass

func (i IOGPUMetalFence) Superclass() objectivec.Class

type IOGPUMetalFenceClass

type IOGPUMetalFenceClass struct {
	// contains filtered or unexported fields
}

func GetIOGPUMetalFenceClass

func GetIOGPUMetalFenceClass() IOGPUMetalFenceClass

GetIOGPUMetalFenceClass returns the class object for IOGPUMetalFence.

func (IOGPUMetalFenceClass) Alloc

Alloc allocates memory for a new instance of the class.

func (IOGPUMetalFenceClass) Class

func (ic IOGPUMetalFenceClass) Class() objc.Class

Class returns the underlying Objective-C class pointer.

type IOGPUMetalGLDrawable

type IOGPUMetalGLDrawable struct {
	objectivec.Object
}

Methods

func IOGPUMetalGLDrawableFromID

func IOGPUMetalGLDrawableFromID(id objc.ID) IOGPUMetalGLDrawable

IOGPUMetalGLDrawableFromID constructs a IOGPUMetalGLDrawable from an objc.ID.

func NewGPUMetalGLDrawableWithDevice

func NewGPUMetalGLDrawableWithDevice(device objectivec.IObject) IOGPUMetalGLDrawable

func NewIOGPUMetalGLDrawable

func NewIOGPUMetalGLDrawable() IOGPUMetalGLDrawable

NewIOGPUMetalGLDrawable creates a new IOGPUMetalGLDrawable instance.

func (IOGPUMetalGLDrawable) Autorelease

Autorelease adds the receiver to the current autorelease pool.

func (IOGPUMetalGLDrawable) ClearDrawable

func (i IOGPUMetalGLDrawable) ClearDrawable() int

func (IOGPUMetalGLDrawable) Height

func (i IOGPUMetalGLDrawable) Height() uint32

func (IOGPUMetalGLDrawable) Init

Init initializes the instance.

func (IOGPUMetalGLDrawable) InitWithDevice

func (IOGPUMetalGLDrawable) LookupIOSurfaceAtIndex

func (i IOGPUMetalGLDrawable) LookupIOSurfaceAtIndex(index uint64) objectivec.IObject

func (IOGPUMetalGLDrawable) SetDrawableSurfaceModeColorDepthModeFaceLevelVolatileFixedSourceScaleOptionsScaledWidthScaledHeight

func (i IOGPUMetalGLDrawable) SetDrawableSurfaceModeColorDepthModeFaceLevelVolatileFixedSourceScaleOptionsScaledWidthScaledHeight(surface uint32, mode uint64, mode2 uint32, face uint32, level uint32, volatile uint32, source uint32, options uint32, width uint32, height uint32) int

func (IOGPUMetalGLDrawable) SetSwapIntervalLimit

func (i IOGPUMetalGLDrawable) SetSwapIntervalLimit(interval int, limit int) int

func (IOGPUMetalGLDrawable) SetSwapRectXYWH

func (i IOGPUMetalGLDrawable) SetSwapRectXYWH(x uint32, y uint32, w uint32, h uint32) int

func (IOGPUMetalGLDrawable) SignalSharedEventValueOperation

func (i IOGPUMetalGLDrawable) SignalSharedEventValueOperation(event objectivec.IObject, value uint64, operation uint64) int

func (IOGPUMetalGLDrawable) SurfaceHeight

func (i IOGPUMetalGLDrawable) SurfaceHeight() uint32

func (IOGPUMetalGLDrawable) SurfaceWidth

func (i IOGPUMetalGLDrawable) SurfaceWidth() uint32

func (IOGPUMetalGLDrawable) Width

func (i IOGPUMetalGLDrawable) Width() uint32

func (IOGPUMetalGLDrawable) WindowMode

func (i IOGPUMetalGLDrawable) WindowMode() uint64

type IOGPUMetalGLDrawableClass

type IOGPUMetalGLDrawableClass struct {
	// contains filtered or unexported fields
}

func GetIOGPUMetalGLDrawableClass

func GetIOGPUMetalGLDrawableClass() IOGPUMetalGLDrawableClass

GetIOGPUMetalGLDrawableClass returns the class object for IOGPUMetalGLDrawable.

func (IOGPUMetalGLDrawableClass) Alloc

Alloc allocates memory for a new instance of the class.

func (IOGPUMetalGLDrawableClass) Class

Class returns the underlying Objective-C class pointer.

type IOGPUMetalHeap

type IOGPUMetalHeap struct {
	metal.MTLHeapObject
}

Methods

func IOGPUMetalHeapFromID

func IOGPUMetalHeapFromID(id objc.ID) IOGPUMetalHeap

IOGPUMetalHeapFromID constructs a IOGPUMetalHeap from an objc.ID.

func NewGPUMetalHeapWithDeviceSizeOptionsArgsArgsSize

func NewGPUMetalHeapWithDeviceSizeOptionsArgsArgsSize(device objectivec.IObject, size uint64, options uint64, args *IOGPUNewResourceArgs, size2 uint32) IOGPUMetalHeap

func NewGPUMetalHeapWithDeviceSizeOptionsArgsArgsSizeDesc

func NewGPUMetalHeapWithDeviceSizeOptionsArgsArgsSizeDesc(device objectivec.IObject, size uint64, options uint64, args *IOGPUNewResourceArgs, size2 uint32, desc objectivec.IObject) IOGPUMetalHeap

func NewIOGPUMetalHeap

func NewIOGPUMetalHeap() IOGPUMetalHeap

NewIOGPUMetalHeap creates a new IOGPUMetalHeap instance.

func (IOGPUMetalHeap) Autorelease

func (i IOGPUMetalHeap) Autorelease() IOGPUMetalHeap

Autorelease adds the receiver to the current autorelease pool.

func (IOGPUMetalHeap) DeallocHeapSubResource

func (i IOGPUMetalHeap) DeallocHeapSubResource()

func (IOGPUMetalHeap) DetachBacking

func (i IOGPUMetalHeap) DetachBacking() bool

func (IOGPUMetalHeap) GlobalTraceObjectID

func (i IOGPUMetalHeap) GlobalTraceObjectID() uint64

func (IOGPUMetalHeap) GpuAddress

func (i IOGPUMetalHeap) GpuAddress() uint64

func (IOGPUMetalHeap) Init

func (i IOGPUMetalHeap) Init() IOGPUMetalHeap

Init initializes the instance.

func (IOGPUMetalHeap) InitWithDeviceSizeOptionsArgsArgsSize

func (i IOGPUMetalHeap) InitWithDeviceSizeOptionsArgsArgsSize(device objectivec.IObject, size uint64, options uint64, args *IOGPUNewResourceArgs, size2 uint32) IOGPUMetalHeap

func (IOGPUMetalHeap) InitWithDeviceSizeOptionsArgsArgsSizeDesc

func (i IOGPUMetalHeap) InitWithDeviceSizeOptionsArgsArgsSizeDesc(device objectivec.IObject, size uint64, options uint64, args *IOGPUNewResourceArgs, size2 uint32, desc objectivec.IObject) IOGPUMetalHeap

func (IOGPUMetalHeap) MaxCompatiblePlacementSparsePageSize

func (i IOGPUMetalHeap) MaxCompatiblePlacementSparsePageSize() int64

func (IOGPUMetalHeap) NewAccelerationStructureWithSizeOffsetResourceIndex

func (i IOGPUMetalHeap) NewAccelerationStructureWithSizeOffsetResourceIndex(size uint64, offset uint64, index uint64) objectivec.IObject

func (IOGPUMetalHeap) NewAccelerationStructureWithSizeResourceIndex

func (i IOGPUMetalHeap) NewAccelerationStructureWithSizeResourceIndex(size uint64, index uint64) objectivec.IObject

func (IOGPUMetalHeap) NewSubResourceAtOffsetWithLengthAlignmentOptions

func (i IOGPUMetalHeap) NewSubResourceAtOffsetWithLengthAlignmentOptions(offset uint64, length uint64, alignment uint64, options uint64) objectivec.IObject

func (IOGPUMetalHeap) NewSubResourceWithLengthAlignmentOptionsOffset

func (i IOGPUMetalHeap) NewSubResourceWithLengthAlignmentOptionsOffset(length uint64, alignment uint64, options uint64, offset *uint64) objectivec.IObject

func (IOGPUMetalHeap) ProtectionOptions

func (i IOGPUMetalHeap) ProtectionOptions() uint64

func (IOGPUMetalHeap) ReplaceBackingWithRangesReadOnly

func (i IOGPUMetalHeap) ReplaceBackingWithRangesReadOnly(ranges objectivec.IObject, only bool) bool

func (IOGPUMetalHeap) UnfilteredResourceOptions

func (i IOGPUMetalHeap) UnfilteredResourceOptions() uint64

func (IOGPUMetalHeap) UnpinMemoryAtOffsetWithLength

func (i IOGPUMetalHeap) UnpinMemoryAtOffsetWithLength(offset uint64, length uint64)

type IOGPUMetalHeapClass

type IOGPUMetalHeapClass struct {
	// contains filtered or unexported fields
}

func GetIOGPUMetalHeapClass

func GetIOGPUMetalHeapClass() IOGPUMetalHeapClass

GetIOGPUMetalHeapClass returns the class object for IOGPUMetalHeap.

func (IOGPUMetalHeapClass) Alloc

Alloc allocates memory for a new instance of the class.

func (IOGPUMetalHeapClass) Class

func (ic IOGPUMetalHeapClass) Class() objc.Class

Class returns the underlying Objective-C class pointer.

type IOGPUMetalIOCommandBuffer

type IOGPUMetalIOCommandBuffer struct {
	metal.MTLIOCommandBufferObject
}

Methods

func IOGPUMetalIOCommandBufferFromID

func IOGPUMetalIOCommandBufferFromID(id objc.ID) IOGPUMetalIOCommandBuffer

IOGPUMetalIOCommandBufferFromID constructs a IOGPUMetalIOCommandBuffer from an objc.ID.

func NewGPUMetalIOCommandBufferWithQueue

func NewGPUMetalIOCommandBufferWithQueue(queue objectivec.IObject) IOGPUMetalIOCommandBuffer

func NewGPUMetalIOCommandBufferWithQueueResourceListRetained

func NewGPUMetalIOCommandBufferWithQueueResourceListRetained(queue objectivec.IObject, list objectivec.IObject, retained bool) IOGPUMetalIOCommandBuffer

func NewIOGPUMetalIOCommandBuffer

func NewIOGPUMetalIOCommandBuffer() IOGPUMetalIOCommandBuffer

NewIOGPUMetalIOCommandBuffer creates a new IOGPUMetalIOCommandBuffer instance.

func (IOGPUMetalIOCommandBuffer) Autorelease

Autorelease adds the receiver to the current autorelease pool.

func (IOGPUMetalIOCommandBuffer) Barrier

func (i IOGPUMetalIOCommandBuffer) Barrier()

func (IOGPUMetalIOCommandBuffer) BarrierComplete

func (i IOGPUMetalIOCommandBuffer) BarrierComplete(complete int64)

func (IOGPUMetalIOCommandBuffer) CompleteCommandCallbackBlocks

func (i IOGPUMetalIOCommandBuffer) CompleteCommandCallbackBlocks()

func (IOGPUMetalIOCommandBuffer) CreateCommandList

func (i IOGPUMetalIOCommandBuffer) CreateCommandList()

func (IOGPUMetalIOCommandBuffer) DidCompleteWithStatus

func (i IOGPUMetalIOCommandBuffer) DidCompleteWithStatus(status int64)

func (IOGPUMetalIOCommandBuffer) EncodeSignalEventValue

func (i IOGPUMetalIOCommandBuffer) EncodeSignalEventValue(event objectivec.IObject, value uint64)

func (IOGPUMetalIOCommandBuffer) EncodeWaitForEventValue

func (i IOGPUMetalIOCommandBuffer) EncodeWaitForEventValue(event objectivec.IObject, value uint64)

func (IOGPUMetalIOCommandBuffer) GetCommandBufferBytes

func (i IOGPUMetalIOCommandBuffer) GetCommandBufferBytes(bytes uint32) unsafe.Pointer

func (IOGPUMetalIOCommandBuffer) GlobalTraceObjectID

func (i IOGPUMetalIOCommandBuffer) GlobalTraceObjectID() uint64

func (IOGPUMetalIOCommandBuffer) GrowKernelCommandBuffer

func (i IOGPUMetalIOCommandBuffer) GrowKernelCommandBuffer(buffer uint32)

func (IOGPUMetalIOCommandBuffer) HasFollowOnWork

func (i IOGPUMetalIOCommandBuffer) HasFollowOnWork() bool

func (IOGPUMetalIOCommandBuffer) Init

Init initializes the instance.

func (IOGPUMetalIOCommandBuffer) InitWithQueue

func (IOGPUMetalIOCommandBuffer) InitWithQueueResourceListRetained

func (i IOGPUMetalIOCommandBuffer) InitWithQueueResourceListRetained(queue objectivec.IObject, list objectivec.IObject, retained bool) IOGPUMetalIOCommandBuffer

func (IOGPUMetalIOCommandBuffer) IsCommitted

func (i IOGPUMetalIOCommandBuffer) IsCommitted() bool

func (IOGPUMetalIOCommandBuffer) LoadBufferOffsetSizeHandleHandleOffset

func (i IOGPUMetalIOCommandBuffer) LoadBufferOffsetSizeHandleHandleOffset(buffer objectivec.IObject, offset uint64, size uint64, handle objectivec.IObject, offset2 uint64)

func (IOGPUMetalIOCommandBuffer) LoadTextureSliceLevelSizeBytesPerRowBytesPerImageDstOriginHandleHandleOffset

func (i IOGPUMetalIOCommandBuffer) LoadTextureSliceLevelSizeBytesPerRowBytesPerImageDstOriginHandleHandleOffset(texture objectivec.IObject, slice uint64, level uint64, size unsafe.Pointer, row uint64, image uint64, origin unsafe.Pointer, handle objectivec.IObject, offset uint64)

func (IOGPUMetalIOCommandBuffer) ValidateNotificationCount

func (i IOGPUMetalIOCommandBuffer) ValidateNotificationCount() bool

type IOGPUMetalIOCommandBufferClass

type IOGPUMetalIOCommandBufferClass struct {
	// contains filtered or unexported fields
}

func GetIOGPUMetalIOCommandBufferClass

func GetIOGPUMetalIOCommandBufferClass() IOGPUMetalIOCommandBufferClass

GetIOGPUMetalIOCommandBufferClass returns the class object for IOGPUMetalIOCommandBuffer.

func (IOGPUMetalIOCommandBufferClass) Alloc

Alloc allocates memory for a new instance of the class.

func (IOGPUMetalIOCommandBufferClass) Class

Class returns the underlying Objective-C class pointer.

type IOGPUMetalIOCommandQueue

type IOGPUMetalIOCommandQueue struct {
	metal.MTLIOCommandQueueObject
}

Methods

func IOGPUMetalIOCommandQueueFromID

func IOGPUMetalIOCommandQueueFromID(id objc.ID) IOGPUMetalIOCommandQueue

IOGPUMetalIOCommandQueueFromID constructs a IOGPUMetalIOCommandQueue from an objc.ID.

func NewGPUMetalIOCommandQueueWithDeviceDescriptor

func NewGPUMetalIOCommandQueueWithDeviceDescriptor(device objectivec.IObject, descriptor objectivec.IObject) IOGPUMetalIOCommandQueue

func NewIOGPUMetalIOCommandQueue

func NewIOGPUMetalIOCommandQueue() IOGPUMetalIOCommandQueue

NewIOGPUMetalIOCommandQueue creates a new IOGPUMetalIOCommandQueue instance.

func (IOGPUMetalIOCommandQueue) Autorelease

Autorelease adds the receiver to the current autorelease pool.

func (IOGPUMetalIOCommandQueue) Barrier

func (i IOGPUMetalIOCommandQueue) Barrier()

func (IOGPUMetalIOCommandQueue) CommandBufferComplete

func (i IOGPUMetalIOCommandQueue) CommandBufferComplete()

func (IOGPUMetalIOCommandQueue) CommitCommandBuffer

func (i IOGPUMetalIOCommandQueue) CommitCommandBuffer(buffer objectivec.IObject)

func (IOGPUMetalIOCommandQueue) DidCompleteWithStatus

func (i IOGPUMetalIOCommandQueue) DidCompleteWithStatus(complete objectivec.IObject, status int64)

func (IOGPUMetalIOCommandQueue) EnqueueCommandBuffer

func (i IOGPUMetalIOCommandQueue) EnqueueCommandBuffer(buffer objectivec.IObject)

func (IOGPUMetalIOCommandQueue) GetDecompressionQueue

func (i IOGPUMetalIOCommandQueue) GetDecompressionQueue() objectivec.IObject

func (IOGPUMetalIOCommandQueue) GetPriority

func (i IOGPUMetalIOCommandQueue) GetPriority() int64

func (IOGPUMetalIOCommandQueue) GlobalTraceObjectID

func (i IOGPUMetalIOCommandQueue) GlobalTraceObjectID() uint64

func (IOGPUMetalIOCommandQueue) Init

Init initializes the instance.

func (IOGPUMetalIOCommandQueue) InitWithDeviceDescriptor

func (i IOGPUMetalIOCommandQueue) InitWithDeviceDescriptor(device objectivec.IObject, descriptor objectivec.IObject) IOGPUMetalIOCommandQueue

func (IOGPUMetalIOCommandQueue) LaunchIOGPUIOThreads

func (i IOGPUMetalIOCommandQueue) LaunchIOGPUIOThreads()

func (IOGPUMetalIOCommandQueue) LaunchIOWorkerThreads

func (i IOGPUMetalIOCommandQueue) LaunchIOWorkerThreads()

func (IOGPUMetalIOCommandQueue) SubmitAvailableCommands

func (i IOGPUMetalIOCommandQueue) SubmitAvailableCommands()

type IOGPUMetalIOCommandQueueClass

type IOGPUMetalIOCommandQueueClass struct {
	// contains filtered or unexported fields
}

func GetIOGPUMetalIOCommandQueueClass

func GetIOGPUMetalIOCommandQueueClass() IOGPUMetalIOCommandQueueClass

GetIOGPUMetalIOCommandQueueClass returns the class object for IOGPUMetalIOCommandQueue.

func (IOGPUMetalIOCommandQueueClass) Alloc

Alloc allocates memory for a new instance of the class.

func (IOGPUMetalIOCommandQueueClass) Class

Class returns the underlying Objective-C class pointer.

type IOGPUMetalIOHandleCompressed

type IOGPUMetalIOHandleCompressed struct {
	objectivec.Object
}

Methods

func IOGPUMetalIOHandleCompressedFromID

func IOGPUMetalIOHandleCompressedFromID(id objc.ID) IOGPUMetalIOHandleCompressed

IOGPUMetalIOHandleCompressedFromID constructs a IOGPUMetalIOHandleCompressed from an objc.ID.

func NewGPUMetalIOHandleCompressedWithDevicePathCompressionTypeErrorUncached

func NewGPUMetalIOHandleCompressedWithDevicePathCompressionTypeErrorUncached(device objectivec.IObject, path string, type_ int64, error_ []objectivec.IObject, uncached bool) IOGPUMetalIOHandleCompressed

func NewIOGPUMetalIOHandleCompressed

func NewIOGPUMetalIOHandleCompressed() IOGPUMetalIOHandleCompressed

NewIOGPUMetalIOHandleCompressed creates a new IOGPUMetalIOHandleCompressed instance.

func (IOGPUMetalIOHandleCompressed) Autorelease

Autorelease adds the receiver to the current autorelease pool.

func (IOGPUMetalIOHandleCompressed) GlobalTraceObjectID

func (i IOGPUMetalIOHandleCompressed) GlobalTraceObjectID() uint64

func (IOGPUMetalIOHandleCompressed) Init

Init initializes the instance.

func (IOGPUMetalIOHandleCompressed) InitWithDevicePathCompressionTypeErrorUncached

func (i IOGPUMetalIOHandleCompressed) InitWithDevicePathCompressionTypeErrorUncached(device objectivec.IObject, path string, type_ int64, error_ []objectivec.IObject, uncached bool) IOGPUMetalIOHandleCompressed

func (IOGPUMetalIOHandleCompressed) SetLabel

func (IOGPUMetalIOHandleCompressed) VnioID

type IOGPUMetalIOHandleCompressedClass

type IOGPUMetalIOHandleCompressedClass struct {
	// contains filtered or unexported fields
}

func GetIOGPUMetalIOHandleCompressedClass

func GetIOGPUMetalIOHandleCompressedClass() IOGPUMetalIOHandleCompressedClass

GetIOGPUMetalIOHandleCompressedClass returns the class object for IOGPUMetalIOHandleCompressed.

func (IOGPUMetalIOHandleCompressedClass) Alloc

Alloc allocates memory for a new instance of the class.

func (IOGPUMetalIOHandleCompressedClass) Class

Class returns the underlying Objective-C class pointer.

type IOGPUMetalIOHandleRaw

type IOGPUMetalIOHandleRaw struct {
	objectivec.Object
}

Methods

func IOGPUMetalIOHandleRawFromID

func IOGPUMetalIOHandleRawFromID(id objc.ID) IOGPUMetalIOHandleRaw

IOGPUMetalIOHandleRawFromID constructs a IOGPUMetalIOHandleRaw from an objc.ID.

func NewGPUMetalIOHandleRawWithDevicePathErrorUncached

func NewGPUMetalIOHandleRawWithDevicePathErrorUncached(device objectivec.IObject, path string, error_ []objectivec.IObject, uncached bool) IOGPUMetalIOHandleRaw

func NewIOGPUMetalIOHandleRaw

func NewIOGPUMetalIOHandleRaw() IOGPUMetalIOHandleRaw

NewIOGPUMetalIOHandleRaw creates a new IOGPUMetalIOHandleRaw instance.

func (IOGPUMetalIOHandleRaw) Autorelease

Autorelease adds the receiver to the current autorelease pool.

func (IOGPUMetalIOHandleRaw) GlobalTraceObjectID

func (i IOGPUMetalIOHandleRaw) GlobalTraceObjectID() uint64

func (IOGPUMetalIOHandleRaw) Init

Init initializes the instance.

func (IOGPUMetalIOHandleRaw) InitWithDevicePathErrorUncached

func (i IOGPUMetalIOHandleRaw) InitWithDevicePathErrorUncached(device objectivec.IObject, path string, error_ []objectivec.IObject, uncached bool) IOGPUMetalIOHandleRaw

func (IOGPUMetalIOHandleRaw) SetLabel

func (i IOGPUMetalIOHandleRaw) SetLabel(label objectivec.IObject)

func (IOGPUMetalIOHandleRaw) VnioID

func (i IOGPUMetalIOHandleRaw) VnioID() uint32

type IOGPUMetalIOHandleRawClass

type IOGPUMetalIOHandleRawClass struct {
	// contains filtered or unexported fields
}

func GetIOGPUMetalIOHandleRawClass

func GetIOGPUMetalIOHandleRawClass() IOGPUMetalIOHandleRawClass

GetIOGPUMetalIOHandleRawClass returns the class object for IOGPUMetalIOHandleRaw.

func (IOGPUMetalIOHandleRawClass) Alloc

Alloc allocates memory for a new instance of the class.

func (IOGPUMetalIOHandleRawClass) Class

Class returns the underlying Objective-C class pointer.

type IOGPUMetalIndirectArgumentEncoder

type IOGPUMetalIndirectArgumentEncoder struct {
	objectivec.Object
}

Methods

func IOGPUMetalIndirectArgumentEncoderFromID

func IOGPUMetalIndirectArgumentEncoderFromID(id objc.ID) IOGPUMetalIndirectArgumentEncoder

IOGPUMetalIndirectArgumentEncoderFromID constructs a IOGPUMetalIndirectArgumentEncoder from an objc.ID.

func NewIOGPUMetalIndirectArgumentEncoder

func NewIOGPUMetalIndirectArgumentEncoder() IOGPUMetalIndirectArgumentEncoder

NewIOGPUMetalIndirectArgumentEncoder creates a new IOGPUMetalIndirectArgumentEncoder instance.

func (IOGPUMetalIndirectArgumentEncoder) Autorelease

Autorelease adds the receiver to the current autorelease pool.

func (IOGPUMetalIndirectArgumentEncoder) ConstantDataAtIndex

func (i IOGPUMetalIndirectArgumentEncoder) ConstantDataAtIndex(index uint64) unsafe.Pointer

func (IOGPUMetalIndirectArgumentEncoder) EncodedLength

func (i IOGPUMetalIndirectArgumentEncoder) EncodedLength() uint64

func (IOGPUMetalIndirectArgumentEncoder) Init

Init initializes the instance.

func (IOGPUMetalIndirectArgumentEncoder) SetBufferOffsetAtIndex

func (i IOGPUMetalIndirectArgumentEncoder) SetBufferOffsetAtIndex(buffer objectivec.IObject, offset uint64, index uint64)

func (IOGPUMetalIndirectArgumentEncoder) SetBuffersOffsetsWithRange

func (i IOGPUMetalIndirectArgumentEncoder) SetBuffersOffsetsWithRange(buffers []objectivec.IObject, offsets *uint64, range_ foundation.NSRange)

func (IOGPUMetalIndirectArgumentEncoder) SetFunctionTableAtIndex

func (i IOGPUMetalIndirectArgumentEncoder) SetFunctionTableAtIndex(table objectivec.IObject, index uint64)

func (IOGPUMetalIndirectArgumentEncoder) SetFunctionTablesWithRange

func (i IOGPUMetalIndirectArgumentEncoder) SetFunctionTablesWithRange(tables []objectivec.IObject, range_ foundation.NSRange)

func (IOGPUMetalIndirectArgumentEncoder) SetIndirectArgumentBufferOffset

func (i IOGPUMetalIndirectArgumentEncoder) SetIndirectArgumentBufferOffset(buffer objectivec.IObject, offset uint64)

func (IOGPUMetalIndirectArgumentEncoder) SetIndirectCommandBufferAtIndex

func (i IOGPUMetalIndirectArgumentEncoder) SetIndirectCommandBufferAtIndex(buffer objectivec.IObject, index uint64)

func (IOGPUMetalIndirectArgumentEncoder) SetIndirectCommandBuffersWithRange

func (i IOGPUMetalIndirectArgumentEncoder) SetIndirectCommandBuffersWithRange(buffers []objectivec.IObject, range_ foundation.NSRange)

func (IOGPUMetalIndirectArgumentEncoder) SetIntersectionFunctionTableAtBufferIndex

func (i IOGPUMetalIndirectArgumentEncoder) SetIntersectionFunctionTableAtBufferIndex(table objectivec.IObject, index uint64)

func (IOGPUMetalIndirectArgumentEncoder) SetIntersectionFunctionTableAtIndex

func (i IOGPUMetalIndirectArgumentEncoder) SetIntersectionFunctionTableAtIndex(table objectivec.IObject, index uint64)

func (IOGPUMetalIndirectArgumentEncoder) SetIntersectionFunctionTablesWithBufferRange

func (i IOGPUMetalIndirectArgumentEncoder) SetIntersectionFunctionTablesWithBufferRange(tables []objectivec.IObject, range_ foundation.NSRange)

func (IOGPUMetalIndirectArgumentEncoder) SetIntersectionFunctionTablesWithRange

func (i IOGPUMetalIndirectArgumentEncoder) SetIntersectionFunctionTablesWithRange(tables []objectivec.IObject, range_ foundation.NSRange)

func (IOGPUMetalIndirectArgumentEncoder) SetSamplerStateAtIndex

func (i IOGPUMetalIndirectArgumentEncoder) SetSamplerStateAtIndex(state objectivec.IObject, index uint64)

func (IOGPUMetalIndirectArgumentEncoder) SetSamplerStatesWithRange

func (i IOGPUMetalIndirectArgumentEncoder) SetSamplerStatesWithRange(states []objectivec.IObject, range_ foundation.NSRange)

func (IOGPUMetalIndirectArgumentEncoder) SetTextureAtIndex

func (i IOGPUMetalIndirectArgumentEncoder) SetTextureAtIndex(texture objectivec.IObject, index uint64)

func (IOGPUMetalIndirectArgumentEncoder) SetTexturesWithRange

func (i IOGPUMetalIndirectArgumentEncoder) SetTexturesWithRange(textures []objectivec.IObject, range_ foundation.NSRange)

func (IOGPUMetalIndirectArgumentEncoder) SetVisibleFunctionTableAtBufferIndex

func (i IOGPUMetalIndirectArgumentEncoder) SetVisibleFunctionTableAtBufferIndex(table objectivec.IObject, index uint64)

func (IOGPUMetalIndirectArgumentEncoder) SetVisibleFunctionTableAtIndex

func (i IOGPUMetalIndirectArgumentEncoder) SetVisibleFunctionTableAtIndex(table objectivec.IObject, index uint64)

func (IOGPUMetalIndirectArgumentEncoder) SetVisibleFunctionTablesWithBufferRange

func (i IOGPUMetalIndirectArgumentEncoder) SetVisibleFunctionTablesWithBufferRange(tables []objectivec.IObject, range_ foundation.NSRange)

func (IOGPUMetalIndirectArgumentEncoder) SetVisibleFunctionTablesWithRange

func (i IOGPUMetalIndirectArgumentEncoder) SetVisibleFunctionTablesWithRange(tables []objectivec.IObject, range_ foundation.NSRange)

type IOGPUMetalIndirectArgumentEncoderClass

type IOGPUMetalIndirectArgumentEncoderClass struct {
	// contains filtered or unexported fields
}

func GetIOGPUMetalIndirectArgumentEncoderClass

func GetIOGPUMetalIndirectArgumentEncoderClass() IOGPUMetalIndirectArgumentEncoderClass

GetIOGPUMetalIndirectArgumentEncoderClass returns the class object for IOGPUMetalIndirectArgumentEncoder.

func (IOGPUMetalIndirectArgumentEncoderClass) Alloc

Alloc allocates memory for a new instance of the class.

func (IOGPUMetalIndirectArgumentEncoderClass) Class

Class returns the underlying Objective-C class pointer.

type IOGPUMetalIndirectCommandBuffer

type IOGPUMetalIndirectCommandBuffer struct {
	IOGPUMetalResource
}

Methods

func IOGPUMetalIndirectCommandBufferFromID

func IOGPUMetalIndirectCommandBufferFromID(id objc.ID) IOGPUMetalIndirectCommandBuffer

IOGPUMetalIndirectCommandBufferFromID constructs a IOGPUMetalIndirectCommandBuffer from an objc.ID.

func NewGPUMetalIndirectCommandBufferMemorylessDescriptor

func NewGPUMetalIndirectCommandBufferMemorylessDescriptor(memoryless objectivec.IObject, descriptor objectivec.IObject) IOGPUMetalIndirectCommandBuffer

func NewGPUMetalIndirectCommandBufferStandinWithDevice

func NewGPUMetalIndirectCommandBufferStandinWithDevice(device objectivec.IObject) IOGPUMetalIndirectCommandBuffer

func NewGPUMetalIndirectCommandBufferWithBufferDescriptorMaxCommandCount

func NewGPUMetalIndirectCommandBufferWithBufferDescriptorMaxCommandCount(buffer objectivec.IObject, descriptor objectivec.IObject, count uint64) IOGPUMetalIndirectCommandBuffer

func NewGPUMetalIndirectCommandBufferWithDeviceOptionsArgsArgsSize

func NewGPUMetalIndirectCommandBufferWithDeviceOptionsArgsArgsSize(device objectivec.IObject, options uint64, args *IOGPUNewResourceArgs, size uint32) IOGPUMetalIndirectCommandBuffer

func NewGPUMetalIndirectCommandBufferWithDeviceRemoteStorageResourceOptionsArgsArgsSize

func NewGPUMetalIndirectCommandBufferWithDeviceRemoteStorageResourceOptionsArgsArgsSize(device objectivec.IObject, resource objectivec.IObject, options uint64, args *IOGPUNewResourceArgs, size uint32) IOGPUMetalIndirectCommandBuffer

func NewGPUMetalIndirectCommandBufferWithResource

func NewGPUMetalIndirectCommandBufferWithResource(resource objectivec.IObject) IOGPUMetalIndirectCommandBuffer

func NewIOGPUMetalIndirectCommandBuffer

func NewIOGPUMetalIndirectCommandBuffer() IOGPUMetalIndirectCommandBuffer

NewIOGPUMetalIndirectCommandBuffer creates a new IOGPUMetalIndirectCommandBuffer instance.

func (IOGPUMetalIndirectCommandBuffer) Autorelease

Autorelease adds the receiver to the current autorelease pool.

func (IOGPUMetalIndirectCommandBuffer) CommandBufferType

func (i IOGPUMetalIndirectCommandBuffer) CommandBufferType() uint64

func (IOGPUMetalIndirectCommandBuffer) Descriptor

func (IOGPUMetalIndirectCommandBuffer) GetHeaderHeaderSize

func (i IOGPUMetalIndirectCommandBuffer) GetHeaderHeaderSize(header unsafe.Pointer, size *uint64)

func (IOGPUMetalIndirectCommandBuffer) GpuHandle

func (IOGPUMetalIndirectCommandBuffer) GpuResourceID

func (IOGPUMetalIndirectCommandBuffer) IndirectComputeCommandAtIndex

func (i IOGPUMetalIndirectCommandBuffer) IndirectComputeCommandAtIndex(index uint64) objectivec.IObject

func (IOGPUMetalIndirectCommandBuffer) IndirectRenderCommandAtIndex

func (i IOGPUMetalIndirectCommandBuffer) IndirectRenderCommandAtIndex(index uint64) objectivec.IObject

func (IOGPUMetalIndirectCommandBuffer) Init

Init initializes the instance.

func (IOGPUMetalIndirectCommandBuffer) InitWithBufferDescriptorMaxCommandCount

func (i IOGPUMetalIndirectCommandBuffer) InitWithBufferDescriptorMaxCommandCount(buffer objectivec.IObject, descriptor objectivec.IObject, count uint64) IOGPUMetalIndirectCommandBuffer

func (IOGPUMetalIndirectCommandBuffer) PrivateICBuffer

func (IOGPUMetalIndirectCommandBuffer) ResetWithRange

func (i IOGPUMetalIndirectCommandBuffer) ResetWithRange(range_ foundation.NSRange)

func (IOGPUMetalIndirectCommandBuffer) Size

func (IOGPUMetalIndirectCommandBuffer) UniqueIdentifier

func (i IOGPUMetalIndirectCommandBuffer) UniqueIdentifier() uint64

type IOGPUMetalIndirectCommandBufferClass

type IOGPUMetalIndirectCommandBufferClass struct {
	// contains filtered or unexported fields
}

func GetIOGPUMetalIndirectCommandBufferClass

func GetIOGPUMetalIndirectCommandBufferClass() IOGPUMetalIndirectCommandBufferClass

GetIOGPUMetalIndirectCommandBufferClass returns the class object for IOGPUMetalIndirectCommandBuffer.

func (IOGPUMetalIndirectCommandBufferClass) Alloc

Alloc allocates memory for a new instance of the class.

func (IOGPUMetalIndirectCommandBufferClass) Class

Class returns the underlying Objective-C class pointer.

type IOGPUMetalIndirectComputeCommand

type IOGPUMetalIndirectComputeCommand struct {
	metal.MTLIndirectComputeCommandObject
}

func IOGPUMetalIndirectComputeCommandFromID

func IOGPUMetalIndirectComputeCommandFromID(id objc.ID) IOGPUMetalIndirectComputeCommand

IOGPUMetalIndirectComputeCommandFromID constructs a IOGPUMetalIndirectComputeCommand from an objc.ID.

func NewIOGPUMetalIndirectComputeCommand

func NewIOGPUMetalIndirectComputeCommand() IOGPUMetalIndirectComputeCommand

NewIOGPUMetalIndirectComputeCommand creates a new IOGPUMetalIndirectComputeCommand instance.

func (IOGPUMetalIndirectComputeCommand) Autorelease

Autorelease adds the receiver to the current autorelease pool.

func (IOGPUMetalIndirectComputeCommand) Init

Init initializes the instance.

type IOGPUMetalIndirectComputeCommandClass

type IOGPUMetalIndirectComputeCommandClass struct {
	// contains filtered or unexported fields
}

func GetIOGPUMetalIndirectComputeCommandClass

func GetIOGPUMetalIndirectComputeCommandClass() IOGPUMetalIndirectComputeCommandClass

GetIOGPUMetalIndirectComputeCommandClass returns the class object for IOGPUMetalIndirectComputeCommand.

func (IOGPUMetalIndirectComputeCommandClass) Alloc

Alloc allocates memory for a new instance of the class.

func (IOGPUMetalIndirectComputeCommandClass) Class

Class returns the underlying Objective-C class pointer.

type IOGPUMetalIndirectRenderCommand

type IOGPUMetalIndirectRenderCommand struct {
	metal.MTLIndirectRenderCommandObject
}

func IOGPUMetalIndirectRenderCommandFromID

func IOGPUMetalIndirectRenderCommandFromID(id objc.ID) IOGPUMetalIndirectRenderCommand

IOGPUMetalIndirectRenderCommandFromID constructs a IOGPUMetalIndirectRenderCommand from an objc.ID.

func NewIOGPUMetalIndirectRenderCommand

func NewIOGPUMetalIndirectRenderCommand() IOGPUMetalIndirectRenderCommand

NewIOGPUMetalIndirectRenderCommand creates a new IOGPUMetalIndirectRenderCommand instance.

func (IOGPUMetalIndirectRenderCommand) Autorelease

Autorelease adds the receiver to the current autorelease pool.

func (IOGPUMetalIndirectRenderCommand) Init

Init initializes the instance.

type IOGPUMetalIndirectRenderCommandClass

type IOGPUMetalIndirectRenderCommandClass struct {
	// contains filtered or unexported fields
}

func GetIOGPUMetalIndirectRenderCommandClass

func GetIOGPUMetalIndirectRenderCommandClass() IOGPUMetalIndirectRenderCommandClass

GetIOGPUMetalIndirectRenderCommandClass returns the class object for IOGPUMetalIndirectRenderCommand.

func (IOGPUMetalIndirectRenderCommandClass) Alloc

Alloc allocates memory for a new instance of the class.

func (IOGPUMetalIndirectRenderCommandClass) Class

Class returns the underlying Objective-C class pointer.

type IOGPUMetalIntersectionFunctionTable

type IOGPUMetalIntersectionFunctionTable struct {
	IOGPUMetalResource
}

Methods

func IOGPUMetalIntersectionFunctionTableFromID

func IOGPUMetalIntersectionFunctionTableFromID(id objc.ID) IOGPUMetalIntersectionFunctionTable

IOGPUMetalIntersectionFunctionTableFromID constructs a IOGPUMetalIntersectionFunctionTable from an objc.ID.

func NewGPUMetalIntersectionFunctionTableMemorylessDescriptor

func NewGPUMetalIntersectionFunctionTableMemorylessDescriptor(memoryless objectivec.IObject, descriptor objectivec.IObject) IOGPUMetalIntersectionFunctionTable

func NewGPUMetalIntersectionFunctionTableStandinWithDevice

func NewGPUMetalIntersectionFunctionTableStandinWithDevice(device objectivec.IObject) IOGPUMetalIntersectionFunctionTable

func NewGPUMetalIntersectionFunctionTableWithDeviceOptionsArgsArgsSize

func NewGPUMetalIntersectionFunctionTableWithDeviceOptionsArgsArgsSize(device objectivec.IObject, options uint64, args *IOGPUNewResourceArgs, size uint32) IOGPUMetalIntersectionFunctionTable

func NewGPUMetalIntersectionFunctionTableWithDeviceRemoteStorageResourceOptionsArgsArgsSize

func NewGPUMetalIntersectionFunctionTableWithDeviceRemoteStorageResourceOptionsArgsArgsSize(device objectivec.IObject, resource objectivec.IObject, options uint64, args *IOGPUNewResourceArgs, size uint32) IOGPUMetalIntersectionFunctionTable

func NewGPUMetalIntersectionFunctionTableWithResource

func NewGPUMetalIntersectionFunctionTableWithResource(resource objectivec.IObject) IOGPUMetalIntersectionFunctionTable

func NewGPUMetalIntersectionFunctionTableWithVisibleFunctionTable

func NewGPUMetalIntersectionFunctionTableWithVisibleFunctionTable(table objectivec.IObject) IOGPUMetalIntersectionFunctionTable

func NewIOGPUMetalIntersectionFunctionTable

func NewIOGPUMetalIntersectionFunctionTable() IOGPUMetalIntersectionFunctionTable

NewIOGPUMetalIntersectionFunctionTable creates a new IOGPUMetalIntersectionFunctionTable instance.

func (IOGPUMetalIntersectionFunctionTable) Autorelease

Autorelease adds the receiver to the current autorelease pool.

func (IOGPUMetalIntersectionFunctionTable) BufferAddressAtIndex

func (i IOGPUMetalIntersectionFunctionTable) BufferAddressAtIndex(index uint64) uint64

func (IOGPUMetalIntersectionFunctionTable) GlobalBuffer

func (IOGPUMetalIntersectionFunctionTable) GlobalBufferOffset

func (i IOGPUMetalIntersectionFunctionTable) GlobalBufferOffset() uint64

func (IOGPUMetalIntersectionFunctionTable) GpuHandle

func (IOGPUMetalIntersectionFunctionTable) GpuResourceID

func (IOGPUMetalIntersectionFunctionTable) Init

Init initializes the instance.

func (IOGPUMetalIntersectionFunctionTable) InitWithVisibleFunctionTable

func (IOGPUMetalIntersectionFunctionTable) ResourceIndex

func (i IOGPUMetalIntersectionFunctionTable) ResourceIndex() uint64

func (IOGPUMetalIntersectionFunctionTable) SetBufferOffsetAtIndex

func (i IOGPUMetalIntersectionFunctionTable) SetBufferOffsetAtIndex(buffer objectivec.IObject, offset uint64, index uint64)

func (IOGPUMetalIntersectionFunctionTable) SetBuffersOffsetsWithRange

func (i IOGPUMetalIntersectionFunctionTable) SetBuffersOffsetsWithRange(buffers []objectivec.IObject, offsets *uint64, range_ foundation.NSRange)

func (IOGPUMetalIntersectionFunctionTable) SetFunctionAtIndex

func (i IOGPUMetalIntersectionFunctionTable) SetFunctionAtIndex(function objectivec.IObject, index uint64)

func (IOGPUMetalIntersectionFunctionTable) SetFunctionsWithRange

func (i IOGPUMetalIntersectionFunctionTable) SetFunctionsWithRange(functions []objectivec.IObject, range_ foundation.NSRange)

func (IOGPUMetalIntersectionFunctionTable) SetGlobalBuffer

func (i IOGPUMetalIntersectionFunctionTable) SetGlobalBuffer(value unsafe.Pointer)

func (IOGPUMetalIntersectionFunctionTable) SetGlobalBufferOffset

func (i IOGPUMetalIntersectionFunctionTable) SetGlobalBufferOffset(value uint64)

func (IOGPUMetalIntersectionFunctionTable) SetOpaqueCurveIntersectionFunctionWithSignatureAtIndex

func (i IOGPUMetalIntersectionFunctionTable) SetOpaqueCurveIntersectionFunctionWithSignatureAtIndex(signature uint64, index uint64)

func (IOGPUMetalIntersectionFunctionTable) SetOpaqueCurveIntersectionFunctionWithSignatureWithRange

func (i IOGPUMetalIntersectionFunctionTable) SetOpaqueCurveIntersectionFunctionWithSignatureWithRange(signature uint64, range_ foundation.NSRange)

func (IOGPUMetalIntersectionFunctionTable) SetOpaqueTriangleIntersectionFunctionWithSignatureAtIndex

func (i IOGPUMetalIntersectionFunctionTable) SetOpaqueTriangleIntersectionFunctionWithSignatureAtIndex(signature uint64, index uint64)

func (IOGPUMetalIntersectionFunctionTable) SetOpaqueTriangleIntersectionFunctionWithSignatureWithRange

func (i IOGPUMetalIntersectionFunctionTable) SetOpaqueTriangleIntersectionFunctionWithSignatureWithRange(signature uint64, range_ foundation.NSRange)

func (IOGPUMetalIntersectionFunctionTable) SetVisibleFunctionTableAtBufferIndex

func (i IOGPUMetalIntersectionFunctionTable) SetVisibleFunctionTableAtBufferIndex(table objectivec.IObject, index uint64)

func (IOGPUMetalIntersectionFunctionTable) SetVisibleFunctionTablesWithBufferRange

func (i IOGPUMetalIntersectionFunctionTable) SetVisibleFunctionTablesWithBufferRange(tables []objectivec.IObject, range_ foundation.NSRange)

func (IOGPUMetalIntersectionFunctionTable) UniqueIdentifier

func (i IOGPUMetalIntersectionFunctionTable) UniqueIdentifier() uint64

func (IOGPUMetalIntersectionFunctionTable) VisibleFunctionTable

type IOGPUMetalIntersectionFunctionTableClass

type IOGPUMetalIntersectionFunctionTableClass struct {
	// contains filtered or unexported fields
}

func GetIOGPUMetalIntersectionFunctionTableClass

func GetIOGPUMetalIntersectionFunctionTableClass() IOGPUMetalIntersectionFunctionTableClass

GetIOGPUMetalIntersectionFunctionTableClass returns the class object for IOGPUMetalIntersectionFunctionTable.

func (IOGPUMetalIntersectionFunctionTableClass) Alloc

Alloc allocates memory for a new instance of the class.

func (IOGPUMetalIntersectionFunctionTableClass) Class

Class returns the underlying Objective-C class pointer.

type IOGPUMetalMTLEvent

type IOGPUMetalMTLEvent struct {
	IOGPUMTLEvent
}

Methods

func IOGPUMetalMTLEventFromID

func IOGPUMetalMTLEventFromID(id objc.ID) IOGPUMetalMTLEvent

IOGPUMetalMTLEventFromID constructs a IOGPUMetalMTLEvent from an objc.ID.

func NewIOGPUMetalMTLEvent

func NewIOGPUMetalMTLEvent() IOGPUMetalMTLEvent

NewIOGPUMetalMTLEvent creates a new IOGPUMetalMTLEvent instance.

func NewIOGPUMetalMTLEventWithDevice

func NewIOGPUMetalMTLEventWithDevice(device objectivec.IObject) IOGPUMetalMTLEvent

func NewIOGPUMetalMTLEventWithDeviceOptions

func NewIOGPUMetalMTLEventWithDeviceOptions(device objectivec.IObject, options uint64) IOGPUMetalMTLEvent

func NewIOGPUMetalMTLEventWithDeviceRef

func NewIOGPUMetalMTLEventWithDeviceRef(ref *uintptr) IOGPUMetalMTLEvent

func NewIOGPUMetalMTLEventWithDeviceRefOptions

func NewIOGPUMetalMTLEventWithDeviceRefOptions(ref *uintptr, options uint64) IOGPUMetalMTLEvent

func (IOGPUMetalMTLEvent) Autorelease

func (i IOGPUMetalMTLEvent) Autorelease() IOGPUMetalMTLEvent

Autorelease adds the receiver to the current autorelease pool.

func (IOGPUMetalMTLEvent) DebugDescription

func (i IOGPUMetalMTLEvent) DebugDescription() string

func (IOGPUMetalMTLEvent) Description

func (i IOGPUMetalMTLEvent) Description() string

func (IOGPUMetalMTLEvent) Device

func (i IOGPUMetalMTLEvent) Device() unsafe.Pointer

func (IOGPUMetalMTLEvent) Hash

func (i IOGPUMetalMTLEvent) Hash() uint64

func (IOGPUMetalMTLEvent) Init

Init initializes the instance.

func (IOGPUMetalMTLEvent) InitWithDevice

func (i IOGPUMetalMTLEvent) InitWithDevice(device objectivec.IObject) IOGPUMetalMTLEvent

func (IOGPUMetalMTLEvent) InitWithDeviceOptions

func (i IOGPUMetalMTLEvent) InitWithDeviceOptions(device objectivec.IObject, options uint64) IOGPUMetalMTLEvent

func (IOGPUMetalMTLEvent) Label

func (i IOGPUMetalMTLEvent) Label() string

func (IOGPUMetalMTLEvent) RetainedLabel

func (i IOGPUMetalMTLEvent) RetainedLabel() objectivec.IObject

func (IOGPUMetalMTLEvent) SetLabel

func (i IOGPUMetalMTLEvent) SetLabel(value string)

func (IOGPUMetalMTLEvent) Superclass

func (i IOGPUMetalMTLEvent) Superclass() objectivec.Class

type IOGPUMetalMTLEventClass

type IOGPUMetalMTLEventClass struct {
	// contains filtered or unexported fields
}

func GetIOGPUMetalMTLEventClass

func GetIOGPUMetalMTLEventClass() IOGPUMetalMTLEventClass

GetIOGPUMetalMTLEventClass returns the class object for _IOGPUMetalMTLEvent.

func (IOGPUMetalMTLEventClass) Alloc

Alloc allocates memory for a new instance of the class.

func (IOGPUMetalMTLEventClass) Class

func (ic IOGPUMetalMTLEventClass) Class() objc.Class

Class returns the underlying Objective-C class pointer.

type IOGPUMetalMTLLateEvalEvent

type IOGPUMetalMTLLateEvalEvent struct {
	IOGPUMTLLateEvalEvent
}

Methods

func IOGPUMetalMTLLateEvalEventFromID

func IOGPUMetalMTLLateEvalEventFromID(id objc.ID) IOGPUMetalMTLLateEvalEvent

IOGPUMetalMTLLateEvalEventFromID constructs a IOGPUMetalMTLLateEvalEvent from an objc.ID.

func NewIOGPUMetalMTLLateEvalEvent

func NewIOGPUMetalMTLLateEvalEvent() IOGPUMetalMTLLateEvalEvent

NewIOGPUMetalMTLLateEvalEvent creates a new IOGPUMetalMTLLateEvalEvent instance.

func NewIOGPUMetalMTLLateEvalEventWithDevice

func NewIOGPUMetalMTLLateEvalEventWithDevice(device objectivec.IObject) IOGPUMetalMTLLateEvalEvent

func (IOGPUMetalMTLLateEvalEvent) Autorelease

Autorelease adds the receiver to the current autorelease pool.

func (IOGPUMetalMTLLateEvalEvent) DebugDescription

func (i IOGPUMetalMTLLateEvalEvent) DebugDescription() string

func (IOGPUMetalMTLLateEvalEvent) Description

func (i IOGPUMetalMTLLateEvalEvent) Description() string

func (IOGPUMetalMTLLateEvalEvent) Device

func (IOGPUMetalMTLLateEvalEvent) Hash

func (IOGPUMetalMTLLateEvalEvent) Init

Init initializes the instance.

func (IOGPUMetalMTLLateEvalEvent) Label

func (IOGPUMetalMTLLateEvalEvent) NewSharedEventHandle

func (i IOGPUMetalMTLLateEvalEvent) NewSharedEventHandle() objectivec.IObject

func (IOGPUMetalMTLLateEvalEvent) NotifyListenerAtValueBlock

func (i IOGPUMetalMTLLateEvalEvent) NotifyListenerAtValueBlock(listener objectivec.IObject, value uint64, block VoidHandler)

func (IOGPUMetalMTLLateEvalEvent) NotifyListenerAtValueBlockSync

func (i IOGPUMetalMTLLateEvalEvent) NotifyListenerAtValueBlockSync(ctx context.Context, listener objectivec.IObject, value uint64) error

NotifyListenerAtValueBlockSync is a synchronous wrapper around IOGPUMetalMTLLateEvalEvent.NotifyListenerAtValueBlock. It blocks until the completion handler fires or the context is cancelled.

func (IOGPUMetalMTLLateEvalEvent) RetainedLabel

func (i IOGPUMetalMTLLateEvalEvent) RetainedLabel() objectivec.IObject

func (IOGPUMetalMTLLateEvalEvent) SetLabel

func (i IOGPUMetalMTLLateEvalEvent) SetLabel(value string)

func (IOGPUMetalMTLLateEvalEvent) Superclass

func (IOGPUMetalMTLLateEvalEvent) WaitUntilSignaledValueTimeoutMS

func (i IOGPUMetalMTLLateEvalEvent) WaitUntilSignaledValueTimeoutMS(value uint64, ms uint64) bool

type IOGPUMetalMTLLateEvalEventClass

type IOGPUMetalMTLLateEvalEventClass struct {
	// contains filtered or unexported fields
}

func GetIOGPUMetalMTLLateEvalEventClass

func GetIOGPUMetalMTLLateEvalEventClass() IOGPUMetalMTLLateEvalEventClass

GetIOGPUMetalMTLLateEvalEventClass returns the class object for _IOGPUMetalMTLLateEvalEvent.

func (IOGPUMetalMTLLateEvalEventClass) Alloc

Alloc allocates memory for a new instance of the class.

func (IOGPUMetalMTLLateEvalEventClass) Class

Class returns the underlying Objective-C class pointer.

type IOGPUMetalParallelRenderCommandEncoder

type IOGPUMetalParallelRenderCommandEncoder struct {
	metal.MTLParallelRenderCommandEncoderObject
}

Methods

func IOGPUMetalParallelRenderCommandEncoderFromID

func IOGPUMetalParallelRenderCommandEncoderFromID(id objc.ID) IOGPUMetalParallelRenderCommandEncoder

IOGPUMetalParallelRenderCommandEncoderFromID constructs a IOGPUMetalParallelRenderCommandEncoder from an objc.ID.

func NewGPUMetalParallelRenderCommandEncoderWithCommandBufferRenderPassDescriptor

func NewGPUMetalParallelRenderCommandEncoderWithCommandBufferRenderPassDescriptor(buffer objectivec.IObject, descriptor objectivec.IObject) IOGPUMetalParallelRenderCommandEncoder

func NewIOGPUMetalParallelRenderCommandEncoder

func NewIOGPUMetalParallelRenderCommandEncoder() IOGPUMetalParallelRenderCommandEncoder

NewIOGPUMetalParallelRenderCommandEncoder creates a new IOGPUMetalParallelRenderCommandEncoder instance.

func (IOGPUMetalParallelRenderCommandEncoder) Autorelease

Autorelease adds the receiver to the current autorelease pool.

func (IOGPUMetalParallelRenderCommandEncoder) CanRenderCommandEncoderCommon

func (i IOGPUMetalParallelRenderCommandEncoder) CanRenderCommandEncoderCommon() bool

CanRenderCommandEncoderCommon reports whether the receiver responds to the private selector _renderCommandEncoderCommon.

func (IOGPUMetalParallelRenderCommandEncoder) GetType

func (IOGPUMetalParallelRenderCommandEncoder) Init

Init initializes the instance.

func (IOGPUMetalParallelRenderCommandEncoder) InitWithCommandBufferRenderPassDescriptor

func (i IOGPUMetalParallelRenderCommandEncoder) InitWithCommandBufferRenderPassDescriptor(buffer objectivec.IObject, descriptor objectivec.IObject) IOGPUMetalParallelRenderCommandEncoder

func (IOGPUMetalParallelRenderCommandEncoder) IsMemorylessRender

func (i IOGPUMetalParallelRenderCommandEncoder) IsMemorylessRender() bool

func (IOGPUMetalParallelRenderCommandEncoder) RenderCommandEncoderCommon

func (i IOGPUMetalParallelRenderCommandEncoder) RenderCommandEncoderCommon() (objectivec.IObject, error)

RenderCommandEncoderCommon is an exported wrapper for the private method _renderCommandEncoderCommon.

type IOGPUMetalParallelRenderCommandEncoderClass

type IOGPUMetalParallelRenderCommandEncoderClass struct {
	// contains filtered or unexported fields
}

func GetIOGPUMetalParallelRenderCommandEncoderClass

func GetIOGPUMetalParallelRenderCommandEncoderClass() IOGPUMetalParallelRenderCommandEncoderClass

GetIOGPUMetalParallelRenderCommandEncoderClass returns the class object for IOGPUMetalParallelRenderCommandEncoder.

func (IOGPUMetalParallelRenderCommandEncoderClass) Alloc

Alloc allocates memory for a new instance of the class.

func (IOGPUMetalParallelRenderCommandEncoderClass) Class

Class returns the underlying Objective-C class pointer.

type IOGPUMetalPooledResource

type IOGPUMetalPooledResource struct {
	IOGPUMetalResource
}

func IOGPUMetalPooledResourceFromID

func IOGPUMetalPooledResourceFromID(id objc.ID) IOGPUMetalPooledResource

IOGPUMetalPooledResourceFromID constructs a IOGPUMetalPooledResource from an objc.ID.

func NewGPUMetalPooledResourceMemorylessDescriptor

func NewGPUMetalPooledResourceMemorylessDescriptor(memoryless objectivec.IObject, descriptor objectivec.IObject) IOGPUMetalPooledResource

func NewGPUMetalPooledResourceStandinWithDevice

func NewGPUMetalPooledResourceStandinWithDevice(device objectivec.IObject) IOGPUMetalPooledResource

func NewGPUMetalPooledResourceWithDeviceOptionsArgsArgsSize

func NewGPUMetalPooledResourceWithDeviceOptionsArgsArgsSize(device objectivec.IObject, options uint64, args *IOGPUNewResourceArgs, size uint32) IOGPUMetalPooledResource

func NewGPUMetalPooledResourceWithDeviceRemoteStorageResourceOptionsArgsArgsSize

func NewGPUMetalPooledResourceWithDeviceRemoteStorageResourceOptionsArgsArgsSize(device objectivec.IObject, resource objectivec.IObject, options uint64, args *IOGPUNewResourceArgs, size uint32) IOGPUMetalPooledResource

func NewGPUMetalPooledResourceWithResource

func NewGPUMetalPooledResourceWithResource(resource objectivec.IObject) IOGPUMetalPooledResource

func NewIOGPUMetalPooledResource

func NewIOGPUMetalPooledResource() IOGPUMetalPooledResource

NewIOGPUMetalPooledResource creates a new IOGPUMetalPooledResource instance.

func (IOGPUMetalPooledResource) Autorelease

Autorelease adds the receiver to the current autorelease pool.

func (IOGPUMetalPooledResource) Init

Init initializes the instance.

type IOGPUMetalPooledResourceClass

type IOGPUMetalPooledResourceClass struct {
	// contains filtered or unexported fields
}

func GetIOGPUMetalPooledResourceClass

func GetIOGPUMetalPooledResourceClass() IOGPUMetalPooledResourceClass

GetIOGPUMetalPooledResourceClass returns the class object for IOGPUMetalPooledResource.

func (IOGPUMetalPooledResourceClass) Alloc

Alloc allocates memory for a new instance of the class.

func (IOGPUMetalPooledResourceClass) Class

Class returns the underlying Objective-C class pointer.

type IOGPUMetalRenderCommandEncoder

type IOGPUMetalRenderCommandEncoder struct {
	IOGPUMetalCommandEncoder
}

Methods

func IOGPUMetalRenderCommandEncoderFromID

func IOGPUMetalRenderCommandEncoderFromID(id objc.ID) IOGPUMetalRenderCommandEncoder

IOGPUMetalRenderCommandEncoderFromID constructs a IOGPUMetalRenderCommandEncoder from an objc.ID.

func NewGPUMetalRenderCommandEncoderWithCommandBuffer

func NewGPUMetalRenderCommandEncoderWithCommandBuffer(buffer objectivec.IObject) IOGPUMetalRenderCommandEncoder

func NewGPUMetalRenderCommandEncoderWithCommandBufferDescriptor

func NewGPUMetalRenderCommandEncoderWithCommandBufferDescriptor(buffer objectivec.IObject, descriptor objectivec.IObject) IOGPUMetalRenderCommandEncoder

func NewIOGPUMetalRenderCommandEncoder

func NewIOGPUMetalRenderCommandEncoder() IOGPUMetalRenderCommandEncoder

NewIOGPUMetalRenderCommandEncoder creates a new IOGPUMetalRenderCommandEncoder instance.

func (IOGPUMetalRenderCommandEncoder) Autorelease

Autorelease adds the receiver to the current autorelease pool.

func (IOGPUMetalRenderCommandEncoder) ExecuteCommandsInBufferIndirectBufferIndirectBufferOffset

func (i IOGPUMetalRenderCommandEncoder) ExecuteCommandsInBufferIndirectBufferIndirectBufferOffset(buffer objectivec.IObject, buffer2 objectivec.IObject, offset uint64)

func (IOGPUMetalRenderCommandEncoder) ExecuteCommandsInBufferWithRange

func (i IOGPUMetalRenderCommandEncoder) ExecuteCommandsInBufferWithRange(buffer objectivec.IObject, range_ foundation.NSRange)

func (IOGPUMetalRenderCommandEncoder) GetFragmentBufferContentsAtIndex

func (i IOGPUMetalRenderCommandEncoder) GetFragmentBufferContentsAtIndex(index uint64) unsafe.Pointer

func (IOGPUMetalRenderCommandEncoder) GetRenderPipelineState

func (i IOGPUMetalRenderCommandEncoder) GetRenderPipelineState() objectivec.IObject

func (IOGPUMetalRenderCommandEncoder) GetType

func (IOGPUMetalRenderCommandEncoder) GetVertexBufferContentsAtIndex

func (i IOGPUMetalRenderCommandEncoder) GetVertexBufferContentsAtIndex(index uint64) unsafe.Pointer

func (IOGPUMetalRenderCommandEncoder) Init

Init initializes the instance.

func (IOGPUMetalRenderCommandEncoder) InitWithCommandBufferDescriptor

func (i IOGPUMetalRenderCommandEncoder) InitWithCommandBufferDescriptor(buffer objectivec.IObject, descriptor objectivec.IObject) IOGPUMetalRenderCommandEncoder

func (IOGPUMetalRenderCommandEncoder) IsMemorylessRender

func (i IOGPUMetalRenderCommandEncoder) IsMemorylessRender() bool

func (IOGPUMetalRenderCommandEncoder) MemoryBarrierWithResourcesCountAfterStagesBeforeStages

func (i IOGPUMetalRenderCommandEncoder) MemoryBarrierWithResourcesCountAfterStagesBeforeStages(resources []objectivec.IObject, count uint64, stages uint64, stages2 uint64)

func (IOGPUMetalRenderCommandEncoder) MemoryBarrierWithScopeAfterStagesBeforeStages

func (i IOGPUMetalRenderCommandEncoder) MemoryBarrierWithScopeAfterStagesBeforeStages(scope uint64, stages uint64, stages2 uint64)

func (IOGPUMetalRenderCommandEncoder) SampleCountersInBufferAtSampleIndexWithBarrier

func (i IOGPUMetalRenderCommandEncoder) SampleCountersInBufferAtSampleIndexWithBarrier(buffer objectivec.IObject, index uint64, barrier bool)

func (IOGPUMetalRenderCommandEncoder) SetColorStoreActionAtIndex

func (i IOGPUMetalRenderCommandEncoder) SetColorStoreActionAtIndex(action uint64, index uint64)

func (IOGPUMetalRenderCommandEncoder) SetColorStoreActionOptionsAtIndex

func (i IOGPUMetalRenderCommandEncoder) SetColorStoreActionOptionsAtIndex(options uint64, index uint64)

func (IOGPUMetalRenderCommandEncoder) SetDepthCleared

func (i IOGPUMetalRenderCommandEncoder) SetDepthCleared()

func (IOGPUMetalRenderCommandEncoder) SetDepthClipModeSPI

func (i IOGPUMetalRenderCommandEncoder) SetDepthClipModeSPI(spi uint64)

func (IOGPUMetalRenderCommandEncoder) SetDepthStoreAction

func (i IOGPUMetalRenderCommandEncoder) SetDepthStoreAction(action uint64)

func (IOGPUMetalRenderCommandEncoder) SetDepthStoreActionOptions

func (i IOGPUMetalRenderCommandEncoder) SetDepthStoreActionOptions(options uint64)

func (IOGPUMetalRenderCommandEncoder) SetFragmentAccelerationStructureAtBufferIndex

func (i IOGPUMetalRenderCommandEncoder) SetFragmentAccelerationStructureAtBufferIndex(structure objectivec.IObject, index uint64)

func (IOGPUMetalRenderCommandEncoder) SetFragmentIntersectionFunctionTableAtBufferIndex

func (i IOGPUMetalRenderCommandEncoder) SetFragmentIntersectionFunctionTableAtBufferIndex(table objectivec.IObject, index uint64)

func (IOGPUMetalRenderCommandEncoder) SetFragmentIntersectionFunctionTablesWithBufferRange

func (i IOGPUMetalRenderCommandEncoder) SetFragmentIntersectionFunctionTablesWithBufferRange(tables []objectivec.IObject, range_ foundation.NSRange)

func (IOGPUMetalRenderCommandEncoder) SetFragmentVisibleFunctionTableAtBufferIndex

func (i IOGPUMetalRenderCommandEncoder) SetFragmentVisibleFunctionTableAtBufferIndex(table objectivec.IObject, index uint64)

func (IOGPUMetalRenderCommandEncoder) SetFragmentVisibleFunctionTablesWithBufferRange

func (i IOGPUMetalRenderCommandEncoder) SetFragmentVisibleFunctionTablesWithBufferRange(tables []objectivec.IObject, range_ foundation.NSRange)

func (IOGPUMetalRenderCommandEncoder) SetMeshAccelerationStructureAtBufferIndex

func (i IOGPUMetalRenderCommandEncoder) SetMeshAccelerationStructureAtBufferIndex(structure objectivec.IObject, index uint64)

func (IOGPUMetalRenderCommandEncoder) SetMeshIntersectionFunctionTableAtBufferIndex

func (i IOGPUMetalRenderCommandEncoder) SetMeshIntersectionFunctionTableAtBufferIndex(table objectivec.IObject, index uint64)

func (IOGPUMetalRenderCommandEncoder) SetMeshIntersectionFunctionTablesWithBufferRange

func (i IOGPUMetalRenderCommandEncoder) SetMeshIntersectionFunctionTablesWithBufferRange(tables []objectivec.IObject, range_ foundation.NSRange)

func (IOGPUMetalRenderCommandEncoder) SetObjectAccelerationStructureAtBufferIndex

func (i IOGPUMetalRenderCommandEncoder) SetObjectAccelerationStructureAtBufferIndex(structure objectivec.IObject, index uint64)

func (IOGPUMetalRenderCommandEncoder) SetObjectIntersectionFunctionTableAtBufferIndex

func (i IOGPUMetalRenderCommandEncoder) SetObjectIntersectionFunctionTableAtBufferIndex(table objectivec.IObject, index uint64)

func (IOGPUMetalRenderCommandEncoder) SetObjectIntersectionFunctionTablesWithBufferRange

func (i IOGPUMetalRenderCommandEncoder) SetObjectIntersectionFunctionTablesWithBufferRange(tables []objectivec.IObject, range_ foundation.NSRange)

func (IOGPUMetalRenderCommandEncoder) SetStencilCleared

func (i IOGPUMetalRenderCommandEncoder) SetStencilCleared()

func (IOGPUMetalRenderCommandEncoder) SetStencilStoreAction

func (i IOGPUMetalRenderCommandEncoder) SetStencilStoreAction(action uint64)

func (IOGPUMetalRenderCommandEncoder) SetStencilStoreActionOptions

func (i IOGPUMetalRenderCommandEncoder) SetStencilStoreActionOptions(options uint64)

func (IOGPUMetalRenderCommandEncoder) SetTileAccelerationStructureAtBufferIndex

func (i IOGPUMetalRenderCommandEncoder) SetTileAccelerationStructureAtBufferIndex(structure objectivec.IObject, index uint64)

func (IOGPUMetalRenderCommandEncoder) SetTileIntersectionFunctionTableAtBufferIndex

func (i IOGPUMetalRenderCommandEncoder) SetTileIntersectionFunctionTableAtBufferIndex(table objectivec.IObject, index uint64)

func (IOGPUMetalRenderCommandEncoder) SetTileIntersectionFunctionTablesWithBufferRange

func (i IOGPUMetalRenderCommandEncoder) SetTileIntersectionFunctionTablesWithBufferRange(tables []objectivec.IObject, range_ foundation.NSRange)

func (IOGPUMetalRenderCommandEncoder) SetTileVisibleFunctionTableAtBufferIndex

func (i IOGPUMetalRenderCommandEncoder) SetTileVisibleFunctionTableAtBufferIndex(table objectivec.IObject, index uint64)

func (IOGPUMetalRenderCommandEncoder) SetTileVisibleFunctionTablesWithBufferRange

func (i IOGPUMetalRenderCommandEncoder) SetTileVisibleFunctionTablesWithBufferRange(tables []objectivec.IObject, range_ foundation.NSRange)

func (IOGPUMetalRenderCommandEncoder) SetVertexAccelerationStructureAtBufferIndex

func (i IOGPUMetalRenderCommandEncoder) SetVertexAccelerationStructureAtBufferIndex(structure objectivec.IObject, index uint64)

func (IOGPUMetalRenderCommandEncoder) SetVertexAmplificationCountViewMappings

func (i IOGPUMetalRenderCommandEncoder) SetVertexAmplificationCountViewMappings(count uint64, mappings unsafe.Pointer)

func (IOGPUMetalRenderCommandEncoder) SetVertexIntersectionFunctionTableAtBufferIndex

func (i IOGPUMetalRenderCommandEncoder) SetVertexIntersectionFunctionTableAtBufferIndex(table objectivec.IObject, index uint64)

func (IOGPUMetalRenderCommandEncoder) SetVertexIntersectionFunctionTablesWithBufferRange

func (i IOGPUMetalRenderCommandEncoder) SetVertexIntersectionFunctionTablesWithBufferRange(tables []objectivec.IObject, range_ foundation.NSRange)

func (IOGPUMetalRenderCommandEncoder) SetVertexVisibleFunctionTableAtBufferIndex

func (i IOGPUMetalRenderCommandEncoder) SetVertexVisibleFunctionTableAtBufferIndex(table objectivec.IObject, index uint64)

func (IOGPUMetalRenderCommandEncoder) SetVertexVisibleFunctionTablesWithBufferRange

func (i IOGPUMetalRenderCommandEncoder) SetVertexVisibleFunctionTablesWithBufferRange(tables []objectivec.IObject, range_ foundation.NSRange)

func (IOGPUMetalRenderCommandEncoder) TextureBarrier

func (i IOGPUMetalRenderCommandEncoder) TextureBarrier()

func (IOGPUMetalRenderCommandEncoder) UpdateFenceAfterStages

func (i IOGPUMetalRenderCommandEncoder) UpdateFenceAfterStages(fence objectivec.IObject, stages uint64)

func (IOGPUMetalRenderCommandEncoder) UseHeap

func (IOGPUMetalRenderCommandEncoder) UseHeapStages

func (i IOGPUMetalRenderCommandEncoder) UseHeapStages(heap objectivec.IObject, stages uint64)

func (IOGPUMetalRenderCommandEncoder) UseHeapsCount

func (i IOGPUMetalRenderCommandEncoder) UseHeapsCount(heaps []objectivec.IObject, count uint64)

func (IOGPUMetalRenderCommandEncoder) UseHeapsCountStages

func (i IOGPUMetalRenderCommandEncoder) UseHeapsCountStages(heaps []objectivec.IObject, count uint64, stages uint64)

func (IOGPUMetalRenderCommandEncoder) UseResourceUsage

func (i IOGPUMetalRenderCommandEncoder) UseResourceUsage(resource objectivec.IObject, usage uint64)

func (IOGPUMetalRenderCommandEncoder) UseResourceUsageStages

func (i IOGPUMetalRenderCommandEncoder) UseResourceUsageStages(resource objectivec.IObject, usage uint64, stages uint64)

func (IOGPUMetalRenderCommandEncoder) UseResourcesCountUsage

func (i IOGPUMetalRenderCommandEncoder) UseResourcesCountUsage(resources []objectivec.IObject, count uint64, usage uint64)

func (IOGPUMetalRenderCommandEncoder) UseResourcesCountUsageStages

func (i IOGPUMetalRenderCommandEncoder) UseResourcesCountUsageStages(resources []objectivec.IObject, count uint64, usage uint64, stages uint64)

func (IOGPUMetalRenderCommandEncoder) WaitForFenceBeforeStages

func (i IOGPUMetalRenderCommandEncoder) WaitForFenceBeforeStages(fence objectivec.IObject, stages uint64)

type IOGPUMetalRenderCommandEncoderClass

type IOGPUMetalRenderCommandEncoderClass struct {
	// contains filtered or unexported fields
}

func GetIOGPUMetalRenderCommandEncoderClass

func GetIOGPUMetalRenderCommandEncoderClass() IOGPUMetalRenderCommandEncoderClass

GetIOGPUMetalRenderCommandEncoderClass returns the class object for IOGPUMetalRenderCommandEncoder.

func (IOGPUMetalRenderCommandEncoderClass) Alloc

Alloc allocates memory for a new instance of the class.

func (IOGPUMetalRenderCommandEncoderClass) Class

Class returns the underlying Objective-C class pointer.

type IOGPUMetalResidencySet

type IOGPUMetalResidencySet struct {
	objectivec.Object
}

Methods

func IOGPUMetalResidencySetFromID

func IOGPUMetalResidencySetFromID(id objc.ID) IOGPUMetalResidencySet

IOGPUMetalResidencySetFromID constructs a IOGPUMetalResidencySet from an objc.ID.

func NewGPUMetalResidencySetWithDeviceDescriptorArgsArgsSize

func NewGPUMetalResidencySetWithDeviceDescriptorArgsArgsSize(device objectivec.IObject, descriptor objectivec.IObject, args *IOGPUNewResourceArgs, size uint64) IOGPUMetalResidencySet

func NewIOGPUMetalResidencySet

func NewIOGPUMetalResidencySet() IOGPUMetalResidencySet

NewIOGPUMetalResidencySet creates a new IOGPUMetalResidencySet instance.

func (IOGPUMetalResidencySet) AddAllocation

func (i IOGPUMetalResidencySet) AddAllocation(allocation objectivec.IObject)

func (IOGPUMetalResidencySet) AddAllocationsCount

func (i IOGPUMetalResidencySet) AddAllocationsCount(allocations []objectivec.IObject, count uint64)

func (IOGPUMetalResidencySet) AllAllocations

func (i IOGPUMetalResidencySet) AllAllocations() foundation.INSArray

func (IOGPUMetalResidencySet) AllCommittedAllocations

func (i IOGPUMetalResidencySet) AllCommittedAllocations() foundation.INSArray

func (IOGPUMetalResidencySet) AllocatedSize

func (i IOGPUMetalResidencySet) AllocatedSize() uint64

func (IOGPUMetalResidencySet) AllocationCount

func (i IOGPUMetalResidencySet) AllocationCount() uint64

func (IOGPUMetalResidencySet) Autorelease

Autorelease adds the receiver to the current autorelease pool.

func (IOGPUMetalResidencySet) CanCommitAddedAllocationsCountRemovedAllocationsCount

func (i IOGPUMetalResidencySet) CanCommitAddedAllocationsCountRemovedAllocationsCount() bool

CanCommitAddedAllocationsCountRemovedAllocationsCount reports whether the receiver responds to the private selector _commitAddedAllocations:count:removedAllocations:count:.

func (IOGPUMetalResidencySet) CanCommitAddedHeapsCountRemovedHeapsCount

func (i IOGPUMetalResidencySet) CanCommitAddedHeapsCountRemovedHeapsCount() bool

CanCommitAddedHeapsCountRemovedHeapsCount reports whether the receiver responds to the private selector _commitAddedHeaps:count:removedHeaps:count:.

func (IOGPUMetalResidencySet) CanCommitAddedResourcesCountRemovedResourcesCount

func (i IOGPUMetalResidencySet) CanCommitAddedResourcesCountRemovedResourcesCount() bool

CanCommitAddedResourcesCountRemovedResourcesCount reports whether the receiver responds to the private selector _commitAddedResources:count:removedResources:count:.

func (IOGPUMetalResidencySet) Commit

func (i IOGPUMetalResidencySet) Commit()

func (IOGPUMetalResidencySet) CommitAddedAllocationsCountRemovedAllocationsCount

func (i IOGPUMetalResidencySet) CommitAddedAllocationsCountRemovedAllocationsCount(allocations []objectivec.IObject, count uint64, allocations2 []objectivec.IObject, count2 uint64) (bool, error)

CommitAddedAllocationsCountRemovedAllocationsCount is an exported wrapper for the private method _commitAddedAllocationsCountRemovedAllocationsCount.

func (IOGPUMetalResidencySet) CommitAddedHeapsCountRemovedHeapsCount

func (i IOGPUMetalResidencySet) CommitAddedHeapsCountRemovedHeapsCount(heaps []objectivec.IObject, count uint64, heaps2 []objectivec.IObject, count2 uint64) (bool, error)

CommitAddedHeapsCountRemovedHeapsCount is an exported wrapper for the private method _commitAddedHeapsCountRemovedHeapsCount.

func (IOGPUMetalResidencySet) CommitAddedResourcesCountRemovedResourcesCount

func (i IOGPUMetalResidencySet) CommitAddedResourcesCountRemovedResourcesCount(resources []objectivec.IObject, count uint64, resources2 []objectivec.IObject, count2 uint64) (bool, error)

CommitAddedResourcesCountRemovedResourcesCount is an exported wrapper for the private method _commitAddedResourcesCountRemovedResourcesCount.

func (IOGPUMetalResidencySet) ContainsAllocation

func (i IOGPUMetalResidencySet) ContainsAllocation(allocation objectivec.IObject) bool

func (IOGPUMetalResidencySet) CountForAllocation

func (i IOGPUMetalResidencySet) CountForAllocation(allocation objectivec.IObject) uint64

func (IOGPUMetalResidencySet) CurrentGeneration

func (i IOGPUMetalResidencySet) CurrentGeneration() uint64

func (IOGPUMetalResidencySet) DebugDescription

func (i IOGPUMetalResidencySet) DebugDescription() string

func (IOGPUMetalResidencySet) Description

func (i IOGPUMetalResidencySet) Description() string

func (IOGPUMetalResidencySet) Device

func (IOGPUMetalResidencySet) EndResidency

func (i IOGPUMetalResidencySet) EndResidency()

func (IOGPUMetalResidencySet) ExpiredGeneration

func (i IOGPUMetalResidencySet) ExpiredGeneration() uint64

func (IOGPUMetalResidencySet) GenerationForAllocation

func (i IOGPUMetalResidencySet) GenerationForAllocation(allocation objectivec.IObject) uint64

func (IOGPUMetalResidencySet) Hash

func (i IOGPUMetalResidencySet) Hash() uint64

func (IOGPUMetalResidencySet) Init

Init initializes the instance.

func (IOGPUMetalResidencySet) InitWithDeviceDescriptorArgsArgsSize

func (i IOGPUMetalResidencySet) InitWithDeviceDescriptorArgsArgsSize(device objectivec.IObject, descriptor objectivec.IObject, args *IOGPUNewResourceArgs, size uint64) IOGPUMetalResidencySet

func (IOGPUMetalResidencySet) Label

func (i IOGPUMetalResidencySet) Label() string

func (IOGPUMetalResidencySet) RemoveAllAllocations

func (i IOGPUMetalResidencySet) RemoveAllAllocations()

func (IOGPUMetalResidencySet) RemoveAllocation

func (i IOGPUMetalResidencySet) RemoveAllocation(allocation objectivec.IObject)

func (IOGPUMetalResidencySet) RemoveAllocationsCount

func (i IOGPUMetalResidencySet) RemoveAllocationsCount(allocations []objectivec.IObject, count uint64)

func (IOGPUMetalResidencySet) RequestResidency

func (i IOGPUMetalResidencySet) RequestResidency()

func (IOGPUMetalResidencySet) SetCurrentGeneration

func (i IOGPUMetalResidencySet) SetCurrentGeneration(value uint64)

func (IOGPUMetalResidencySet) SetExpiredGeneration

func (i IOGPUMetalResidencySet) SetExpiredGeneration(value uint64)

func (IOGPUMetalResidencySet) Superclass

func (i IOGPUMetalResidencySet) Superclass() objectivec.Class

type IOGPUMetalResidencySetClass

type IOGPUMetalResidencySetClass struct {
	// contains filtered or unexported fields
}

func GetIOGPUMetalResidencySetClass

func GetIOGPUMetalResidencySetClass() IOGPUMetalResidencySetClass

GetIOGPUMetalResidencySetClass returns the class object for IOGPUMetalResidencySet.

func (IOGPUMetalResidencySetClass) Alloc

Alloc allocates memory for a new instance of the class.

func (IOGPUMetalResidencySetClass) Class

Class returns the underlying Objective-C class pointer.

type IOGPUMetalResource

type IOGPUMetalResource struct {
	metal.MTLResourceObject
}

Methods

func IOGPUMetalResourceFromID

func IOGPUMetalResourceFromID(id objc.ID) IOGPUMetalResource

IOGPUMetalResourceFromID constructs a IOGPUMetalResource from an objc.ID.

func NewGPUMetalResourceMemorylessDescriptor

func NewGPUMetalResourceMemorylessDescriptor(memoryless objectivec.IObject, descriptor objectivec.IObject) IOGPUMetalResource

func NewGPUMetalResourceStandinWithDevice

func NewGPUMetalResourceStandinWithDevice(device objectivec.IObject) IOGPUMetalResource

func NewGPUMetalResourceWithDeviceOptionsArgsArgsSize

func NewGPUMetalResourceWithDeviceOptionsArgsArgsSize(device objectivec.IObject, options uint64, args *IOGPUNewResourceArgs, size uint32) IOGPUMetalResource

func NewGPUMetalResourceWithDeviceRemoteStorageResourceOptionsArgsArgsSize

func NewGPUMetalResourceWithDeviceRemoteStorageResourceOptionsArgsArgsSize(device objectivec.IObject, resource objectivec.IObject, options uint64, args *IOGPUNewResourceArgs, size uint32) IOGPUMetalResource

func NewGPUMetalResourceWithResource

func NewGPUMetalResourceWithResource(resource objectivec.IObject) IOGPUMetalResource

func NewIOGPUMetalResource

func NewIOGPUMetalResource() IOGPUMetalResource

NewIOGPUMetalResource creates a new IOGPUMetalResource instance.

func (IOGPUMetalResource) AllocationID

func (i IOGPUMetalResource) AllocationID() uint64

func (IOGPUMetalResource) AnnotateResource

func (i IOGPUMetalResource) AnnotateResource(resource corefoundation.CFDictionaryRef)

func (IOGPUMetalResource) AttachedResourceInfoTraceEmitter

func (i IOGPUMetalResource) AttachedResourceInfoTraceEmitter() objectivec.IObject

func (IOGPUMetalResource) Autorelease

func (i IOGPUMetalResource) Autorelease() IOGPUMetalResource

Autorelease adds the receiver to the current autorelease pool.

func (IOGPUMetalResource) CopyAnnotationDictionaryObj_key_nameObj_dict

func (i IOGPUMetalResource) CopyAnnotationDictionaryObj_key_nameObj_dict(dictionary uint64, obj_key_name corefoundation.CFStringRef, obj_dict corefoundation.CFDictionaryRef) corefoundation.CFDictionaryRef

func (IOGPUMetalResource) CopyAnnotations

func (i IOGPUMetalResource) CopyAnnotations() corefoundation.CFArrayRef

func (IOGPUMetalResource) DebugDescription

func (i IOGPUMetalResource) DebugDescription() string

func (IOGPUMetalResource) Description

func (i IOGPUMetalResource) Description() string

func (IOGPUMetalResource) DoesAliasAllResourcesCount

func (i IOGPUMetalResource) DoesAliasAllResourcesCount(resources []objectivec.IObject, count uint64) bool

func (IOGPUMetalResource) DoesAliasAnyResourcesCount

func (i IOGPUMetalResource) DoesAliasAnyResourcesCount(resources []objectivec.IObject, count uint64) bool

func (IOGPUMetalResource) DoesAliasResource

func (i IOGPUMetalResource) DoesAliasResource(resource objectivec.IObject) bool

func (IOGPUMetalResource) EmitResourceInfoTraceEvent

func (i IOGPUMetalResource) EmitResourceInfoTraceEvent()

func (IOGPUMetalResource) GpuAddress

func (i IOGPUMetalResource) GpuAddress() uint64

func (IOGPUMetalResource) Hash

func (i IOGPUMetalResource) Hash() uint64

func (IOGPUMetalResource) Init

Init initializes the instance.

func (IOGPUMetalResource) InitMemorylessDescriptor

func (i IOGPUMetalResource) InitMemorylessDescriptor(memoryless objectivec.IObject, descriptor objectivec.IObject) IOGPUMetalResource

func (IOGPUMetalResource) InitStandinWithDevice

func (i IOGPUMetalResource) InitStandinWithDevice(device objectivec.IObject) IOGPUMetalResource

func (IOGPUMetalResource) InitWithDeviceOptionsArgsArgsSize

func (i IOGPUMetalResource) InitWithDeviceOptionsArgsArgsSize(device objectivec.IObject, options uint64, args *IOGPUNewResourceArgs, size uint32) IOGPUMetalResource

func (IOGPUMetalResource) InitWithDeviceRemoteStorageResourceOptionsArgsArgsSize

func (i IOGPUMetalResource) InitWithDeviceRemoteStorageResourceOptionsArgsArgsSize(device objectivec.IObject, resource objectivec.IObject, options uint64, args *IOGPUNewResourceArgs, size uint32) IOGPUMetalResource

func (IOGPUMetalResource) InitWithResource

func (i IOGPUMetalResource) InitWithResource(resource objectivec.IObject) IOGPUMetalResource

func (IOGPUMetalResource) IsComplete

func (i IOGPUMetalResource) IsComplete() bool

func (IOGPUMetalResource) IsPurgeable

func (i IOGPUMetalResource) IsPurgeable() bool

func (IOGPUMetalResource) IsWriteComplete

func (i IOGPUMetalResource) IsWriteComplete() bool

func (IOGPUMetalResource) MetadataVirtualAddress

func (i IOGPUMetalResource) MetadataVirtualAddress() unsafe.Pointer

func (IOGPUMetalResource) ProtectionOptions

func (i IOGPUMetalResource) ProtectionOptions() uint64

func (IOGPUMetalResource) ReleaseStrongDevice

func (i IOGPUMetalResource) ReleaseStrongDevice()

func (IOGPUMetalResource) ResourceID

func (i IOGPUMetalResource) ResourceID() uint32

func (IOGPUMetalResource) ResourceRef

func (i IOGPUMetalResource) ResourceRef() unsafe.Pointer

func (IOGPUMetalResource) ResourceSize

func (i IOGPUMetalResource) ResourceSize() uint64

func (IOGPUMetalResource) ResponsibleProcess

func (i IOGPUMetalResource) ResponsibleProcess() int

func (IOGPUMetalResource) RetainedLabel

func (i IOGPUMetalResource) RetainedLabel() objectivec.IObject

func (IOGPUMetalResource) SetAttachedResourceInfoTraceEmitter

func (i IOGPUMetalResource) SetAttachedResourceInfoTraceEmitter(value objectivec.IObject)

func (IOGPUMetalResource) SetResponsibleProcess

func (i IOGPUMetalResource) SetResponsibleProcess(value int)

func (IOGPUMetalResource) Superclass

func (i IOGPUMetalResource) Superclass() objectivec.Class

func (IOGPUMetalResource) UnfilteredResourceOptions

func (i IOGPUMetalResource) UnfilteredResourceOptions() uint64

func (IOGPUMetalResource) VirtualAddress

func (i IOGPUMetalResource) VirtualAddress() unsafe.Pointer

func (IOGPUMetalResource) WaitUntilComplete

func (i IOGPUMetalResource) WaitUntilComplete()

func (IOGPUMetalResource) WeakDevice

func (i IOGPUMetalResource) WeakDevice() IIOGPUMetalDevice

type IOGPUMetalResourceClass

type IOGPUMetalResourceClass struct {
	// contains filtered or unexported fields
}

func GetIOGPUMetalResourceClass

func GetIOGPUMetalResourceClass() IOGPUMetalResourceClass

GetIOGPUMetalResourceClass returns the class object for IOGPUMetalResource.

func (IOGPUMetalResourceClass) Alloc

Alloc allocates memory for a new instance of the class.

func (IOGPUMetalResourceClass) Class

func (ic IOGPUMetalResourceClass) Class() objc.Class

Class returns the underlying Objective-C class pointer.

type IOGPUMetalResourcePool

type IOGPUMetalResourcePool struct {
	objectivec.Object
}

Methods

func IOGPUMetalResourcePoolFromID

func IOGPUMetalResourcePoolFromID(id objc.ID) IOGPUMetalResourcePool

IOGPUMetalResourcePoolFromID constructs a IOGPUMetalResourcePool from an objc.ID.

func NewGPUMetalResourcePoolWithDeviceResourceClassResourceArgsResourceArgsSizeOptions

func NewGPUMetalResourcePoolWithDeviceResourceClassResourceArgsResourceArgsSizeOptions(device objectivec.IObject, class objectivec.Class, args *IOGPUNewResourceArgs, size uint32, options objectivec.IObject) IOGPUMetalResourcePool

func NewIOGPUMetalResourcePool

func NewIOGPUMetalResourcePool() IOGPUMetalResourcePool

NewIOGPUMetalResourcePool creates a new IOGPUMetalResourcePool instance.

func (IOGPUMetalResourcePool) AllocatedSize

func (i IOGPUMetalResourcePool) AllocatedSize() uint64

func (IOGPUMetalResourcePool) Autorelease

Autorelease adds the receiver to the current autorelease pool.

func (IOGPUMetalResourcePool) AvailableCount

func (i IOGPUMetalResourcePool) AvailableCount() int

func (IOGPUMetalResourcePool) Init

Init initializes the instance.

func (IOGPUMetalResourcePool) InitWithDeviceResourceClassResourceArgsResourceArgsSizeOptions

func (i IOGPUMetalResourcePool) InitWithDeviceResourceClassResourceArgsResourceArgsSizeOptions(device objectivec.IObject, class objectivec.Class, args *IOGPUNewResourceArgs, size uint32, options objectivec.IObject) IOGPUMetalResourcePool

func (IOGPUMetalResourcePool) Purge

func (i IOGPUMetalResourcePool) Purge()

func (IOGPUMetalResourcePool) PurgeWithLock

func (i IOGPUMetalResourcePool) PurgeWithLock()

func (IOGPUMetalResourcePool) ResourceArgs

func (i IOGPUMetalResourcePool) ResourceArgs() *IOGPUNewResourceArgs

func (IOGPUMetalResourcePool) ResourceArgsSize

func (i IOGPUMetalResourcePool) ResourceArgsSize() uint32

func (IOGPUMetalResourcePool) SetResourceArgsResourceArgsSize

func (i IOGPUMetalResourcePool) SetResourceArgsResourceArgsSize(args *IOGPUNewResourceArgs, size uint32)

func (IOGPUMetalResourcePool) UpdateResourcePurgeability

func (i IOGPUMetalResourcePool) UpdateResourcePurgeability() bool

type IOGPUMetalResourcePoolClass

type IOGPUMetalResourcePoolClass struct {
	// contains filtered or unexported fields
}

func GetIOGPUMetalResourcePoolClass

func GetIOGPUMetalResourcePoolClass() IOGPUMetalResourcePoolClass

GetIOGPUMetalResourcePoolClass returns the class object for IOGPUMetalResourcePool.

func (IOGPUMetalResourcePoolClass) Alloc

Alloc allocates memory for a new instance of the class.

func (IOGPUMetalResourcePoolClass) Class

Class returns the underlying Objective-C class pointer.

type IOGPUMetalResourcePoolPrivate

type IOGPUMetalResourcePoolPrivate struct {
	VolatileQueue    IOGPUMetalResourceQueue
	NonvolatileQueue IOGPUMetalResourceQueue
	Lock             OSUnfairLockS
	Count            int32
}

IOGPUMetalResourcePoolPrivate

type IOGPUMetalResourcePrivate

type IOGPUMetalResourcePrivate struct {
	Pool            *IOGPUMetalResourcePool
	Entry           [2]uint64
	Time_added      uint64
	Pool_generation uint32
}

IOGPUMetalResourcePrivate

type IOGPUMetalResourceQueue

type IOGPUMetalResourceQueue struct {
	Tqh_first *IOGPUMetalPooledResource
	Tqh_last  objc.ID
}

IOGPUMetalResourceQueue

type IOGPUMetalResourceStateCommandEncoder

type IOGPUMetalResourceStateCommandEncoder struct {
	IOGPUMetalCommandEncoder
}

Methods

func IOGPUMetalResourceStateCommandEncoderFromID

func IOGPUMetalResourceStateCommandEncoderFromID(id objc.ID) IOGPUMetalResourceStateCommandEncoder

IOGPUMetalResourceStateCommandEncoderFromID constructs a IOGPUMetalResourceStateCommandEncoder from an objc.ID.

func NewGPUMetalResourceStateCommandEncoderWithCommandBuffer

func NewGPUMetalResourceStateCommandEncoderWithCommandBuffer(buffer objectivec.IObject) IOGPUMetalResourceStateCommandEncoder

func NewIOGPUMetalResourceStateCommandEncoder

func NewIOGPUMetalResourceStateCommandEncoder() IOGPUMetalResourceStateCommandEncoder

NewIOGPUMetalResourceStateCommandEncoder creates a new IOGPUMetalResourceStateCommandEncoder instance.

func (IOGPUMetalResourceStateCommandEncoder) Autorelease

Autorelease adds the receiver to the current autorelease pool.

func (IOGPUMetalResourceStateCommandEncoder) GetType

func (IOGPUMetalResourceStateCommandEncoder) Init

Init initializes the instance.

func (IOGPUMetalResourceStateCommandEncoder) MoveTextureMappingsFromTextureSourceSliceSourceLevelSourceOriginSourceSizeToTextureDestinationSliceDestinationLevelDestinationOrigin

func (i IOGPUMetalResourceStateCommandEncoder) MoveTextureMappingsFromTextureSourceSliceSourceLevelSourceOriginSourceSizeToTextureDestinationSliceDestinationLevelDestinationOrigin(texture objectivec.IObject, slice uint64, level uint64, origin unsafe.Pointer, size unsafe.Pointer, texture2 objectivec.IObject, slice2 uint64, level2 uint64, origin2 unsafe.Pointer)

func (IOGPUMetalResourceStateCommandEncoder) UpdateTextureMappingModeIndirectBufferIndirectBufferOffset

func (i IOGPUMetalResourceStateCommandEncoder) UpdateTextureMappingModeIndirectBufferIndirectBufferOffset(mapping objectivec.IObject, mode uint64, buffer objectivec.IObject, offset uint64)

func (IOGPUMetalResourceStateCommandEncoder) UpdateTextureMappingModeRegionMipLevelSlice

func (i IOGPUMetalResourceStateCommandEncoder) UpdateTextureMappingModeRegionMipLevelSlice(mapping objectivec.IObject, mode uint64, region unsafe.Pointer, level uint64, slice uint64)

func (IOGPUMetalResourceStateCommandEncoder) UpdateTextureMappingsModeRegionsMipLevelsSlicesNumRegions

func (i IOGPUMetalResourceStateCommandEncoder) UpdateTextureMappingsModeRegionsMipLevelsSlicesNumRegions(mappings objectivec.IObject, mode uint64, regions unsafe.Pointer, levels *uint64, slices *uint64, regions2 uint64)

type IOGPUMetalResourceStateCommandEncoderClass

type IOGPUMetalResourceStateCommandEncoderClass struct {
	// contains filtered or unexported fields
}

func GetIOGPUMetalResourceStateCommandEncoderClass

func GetIOGPUMetalResourceStateCommandEncoderClass() IOGPUMetalResourceStateCommandEncoderClass

GetIOGPUMetalResourceStateCommandEncoderClass returns the class object for IOGPUMetalResourceStateCommandEncoder.

func (IOGPUMetalResourceStateCommandEncoderClass) Alloc

Alloc allocates memory for a new instance of the class.

func (IOGPUMetalResourceStateCommandEncoderClass) Class

Class returns the underlying Objective-C class pointer.

type IOGPUMetalSuballocator

type IOGPUMetalSuballocator struct {
}

IOGPUMetalSuballocator

type IOGPUMetalTensor

type IOGPUMetalTensor struct {
	IOGPUMetalResource
}

Methods

func IOGPUMetalTensorFromID

func IOGPUMetalTensorFromID(id objc.ID) IOGPUMetalTensor

IOGPUMetalTensorFromID constructs a IOGPUMetalTensor from an objc.ID.

func NewGPUMetalTensorMemorylessDescriptor

func NewGPUMetalTensorMemorylessDescriptor(memoryless objectivec.IObject, descriptor objectivec.IObject) IOGPUMetalTensor

func NewGPUMetalTensorStandinWithDevice

func NewGPUMetalTensorStandinWithDevice(device objectivec.IObject) IOGPUMetalTensor

func NewGPUMetalTensorWithBuffer

func NewGPUMetalTensorWithBuffer(buffer objectivec.IObject) IOGPUMetalTensor

func NewGPUMetalTensorWithDeviceOptionsArgsArgsSize

func NewGPUMetalTensorWithDeviceOptionsArgsArgsSize(device objectivec.IObject, options uint64, args *IOGPUNewResourceArgs, size uint32) IOGPUMetalTensor

func NewGPUMetalTensorWithDeviceRemoteStorageResourceOptionsArgsArgsSize

func NewGPUMetalTensorWithDeviceRemoteStorageResourceOptionsArgsArgsSize(device objectivec.IObject, resource objectivec.IObject, options uint64, args *IOGPUNewResourceArgs, size uint32) IOGPUMetalTensor

func NewGPUMetalTensorWithResource

func NewGPUMetalTensorWithResource(resource objectivec.IObject) IOGPUMetalTensor

func NewIOGPUMetalTensor

func NewIOGPUMetalTensor() IOGPUMetalTensor

NewIOGPUMetalTensor creates a new IOGPUMetalTensor instance.

func (IOGPUMetalTensor) Autorelease

func (i IOGPUMetalTensor) Autorelease() IOGPUMetalTensor

Autorelease adds the receiver to the current autorelease pool.

func (IOGPUMetalTensor) Buffer

func (i IOGPUMetalTensor) Buffer() unsafe.Pointer

func (IOGPUMetalTensor) BufferOffset

func (i IOGPUMetalTensor) BufferOffset() uint64

func (IOGPUMetalTensor) DataType

func (i IOGPUMetalTensor) DataType() int64

func (IOGPUMetalTensor) Dimensions

func (i IOGPUMetalTensor) Dimensions() metal.MTLTensorExtents

func (IOGPUMetalTensor) GetBytesStridesFromSlice

func (i IOGPUMetalTensor) GetBytesStridesFromSlice(bytes unsafe.Pointer, strides objectivec.IObject, slice MTLTensorSlice)

func (IOGPUMetalTensor) GetBytesStridesFromSliceOriginSliceDimensions

func (i IOGPUMetalTensor) GetBytesStridesFromSliceOriginSliceDimensions(bytes unsafe.Pointer, strides objectivec.IObject, origin objectivec.IObject, dimensions objectivec.IObject)

func (IOGPUMetalTensor) GpuResourceID

func (i IOGPUMetalTensor) GpuResourceID() metal.MTLResourceID

func (IOGPUMetalTensor) Init

Init initializes the instance.

func (IOGPUMetalTensor) InitWithBuffer

func (i IOGPUMetalTensor) InitWithBuffer(buffer objectivec.IObject) IOGPUMetalTensor

func (IOGPUMetalTensor) InternalMTLBuffer

func (i IOGPUMetalTensor) InternalMTLBuffer() objectivec.IObject

func (IOGPUMetalTensor) Iosurface

func (i IOGPUMetalTensor) Iosurface() iosurface.IOSurfaceRef

func (IOGPUMetalTensor) IsTensorViewableWithReshapedDescriptor

func (i IOGPUMetalTensor) IsTensorViewableWithReshapedDescriptor(descriptor objectivec.IObject) bool

func (IOGPUMetalTensor) NewTensorViewWithReshapedDescriptorError

func (i IOGPUMetalTensor) NewTensorViewWithReshapedDescriptorError(descriptor objectivec.IObject) (objectivec.IObject, error)

func (IOGPUMetalTensor) NewTensorViewWithSliceError

func (i IOGPUMetalTensor) NewTensorViewWithSliceError(slice MTLTensorSlice) (objectivec.IObject, error)

func (IOGPUMetalTensor) Offset

func (i IOGPUMetalTensor) Offset() uint64

func (IOGPUMetalTensor) ParentTensor

func (i IOGPUMetalTensor) ParentTensor() unsafe.Pointer

func (IOGPUMetalTensor) Plane

func (i IOGPUMetalTensor) Plane() uint64

func (IOGPUMetalTensor) ReplaceSliceOriginSliceDimensionsWithBytesStrides

func (i IOGPUMetalTensor) ReplaceSliceOriginSliceDimensionsWithBytesStrides(origin objectivec.IObject, dimensions objectivec.IObject, bytes unsafe.Pointer, strides objectivec.IObject)

func (IOGPUMetalTensor) ReplaceSliceWithBytesStrides

func (i IOGPUMetalTensor) ReplaceSliceWithBytesStrides(slice MTLTensorSlice, bytes unsafe.Pointer, strides objectivec.IObject)

func (IOGPUMetalTensor) ResourceIndex

func (i IOGPUMetalTensor) ResourceIndex() uint64

func (IOGPUMetalTensor) Strides

func (IOGPUMetalTensor) Usage

func (i IOGPUMetalTensor) Usage() uint64

type IOGPUMetalTensorClass

type IOGPUMetalTensorClass struct {
	// contains filtered or unexported fields
}

func GetIOGPUMetalTensorClass

func GetIOGPUMetalTensorClass() IOGPUMetalTensorClass

GetIOGPUMetalTensorClass returns the class object for IOGPUMetalTensor.

func (IOGPUMetalTensorClass) Alloc

Alloc allocates memory for a new instance of the class.

func (IOGPUMetalTensorClass) Class

func (ic IOGPUMetalTensorClass) Class() objc.Class

Class returns the underlying Objective-C class pointer.

type IOGPUMetalTexture

type IOGPUMetalTexture struct {
	IOGPUMetalResource
}

Methods

func IOGPUMetalTextureFromID

func IOGPUMetalTextureFromID(id objc.ID) IOGPUMetalTexture

IOGPUMetalTextureFromID constructs a IOGPUMetalTexture from an objc.ID.

func NewGPUMetalTextureMemorylessDescriptor

func NewGPUMetalTextureMemorylessDescriptor(memoryless objectivec.IObject, descriptor objectivec.IObject) IOGPUMetalTexture

func NewGPUMetalTextureStandinWithDevice

func NewGPUMetalTextureStandinWithDevice(device objectivec.IObject) IOGPUMetalTexture

func NewGPUMetalTextureWithBufferDescriptorOffsetBytesPerRow

func NewGPUMetalTextureWithBufferDescriptorOffsetBytesPerRow(buffer objectivec.IObject, descriptor objectivec.IObject, offset uint64, row uint64) IOGPUMetalTexture

func NewGPUMetalTextureWithBufferDescriptorSysMemOffsetSysMemRowBytesVidMemSizeVidMemRowBytesArgsArgsSize

func NewGPUMetalTextureWithBufferDescriptorSysMemOffsetSysMemRowBytesVidMemSizeVidMemRowBytesArgsArgsSize(buffer objectivec.IObject, descriptor objectivec.IObject, offset uint64, bytes uint64, size uint64, bytes2 uint64, args *IOGPUNewResourceArgs, size2 uint32) IOGPUMetalTexture

func NewGPUMetalTextureWithBufferDescriptorSysMemOffsetSysMemRowBytesVidMemSizeVidMemRowBytesArgsArgsSizeIsStrideTexture

func NewGPUMetalTextureWithBufferDescriptorSysMemOffsetSysMemRowBytesVidMemSizeVidMemRowBytesArgsArgsSizeIsStrideTexture(buffer objectivec.IObject, descriptor objectivec.IObject, offset uint64, bytes uint64, size uint64, bytes2 uint64, args *IOGPUNewResourceArgs, size2 uint32, texture bool) IOGPUMetalTexture

func NewGPUMetalTextureWithCompressedTexturePixelFormatTextureTypeLevelSlice

func NewGPUMetalTextureWithCompressedTexturePixelFormatTextureTypeLevelSlice(texture objectivec.IObject, format uint64, type_ uint64, level uint64, slice uint64) IOGPUMetalTexture

func NewGPUMetalTextureWithDeviceDescriptorIosurfacePlaneFieldArgsArgsSize

func NewGPUMetalTextureWithDeviceDescriptorIosurfacePlaneFieldArgsArgsSize(device objectivec.IObject, descriptor objectivec.IObject, iosurface iosurface.IOSurfaceRef, plane uint32, field uint32, args *IOGPUNewResourceArgs, size uint32) IOGPUMetalTexture

func NewGPUMetalTextureWithDeviceDescriptorPlacementSparseBytesPlacementSparsePageSizePlacementSparseMetaDataBytesArgsArgsSize

func NewGPUMetalTextureWithDeviceDescriptorPlacementSparseBytesPlacementSparsePageSizePlacementSparseMetaDataBytesArgsArgsSize(device objectivec.IObject, descriptor objectivec.IObject, bytes uint64, size int64, bytes2 uint64, args *IOGPUNewResourceArgs, size2 uint32) IOGPUMetalTexture

func NewGPUMetalTextureWithDeviceDescriptorPlacementSparseBytesPlacementSparsePageSizePlacementSparseMetaDataBytesPlacementSparseResidencyBytesArgsArgsSize

func NewGPUMetalTextureWithDeviceDescriptorPlacementSparseBytesPlacementSparsePageSizePlacementSparseMetaDataBytesPlacementSparseResidencyBytesArgsArgsSize(device objectivec.IObject, descriptor objectivec.IObject, bytes uint64, size int64, bytes2 uint64, bytes3 uint64, args *IOGPUNewResourceArgs, size2 uint32) IOGPUMetalTexture

func NewGPUMetalTextureWithDeviceDescriptorSysMemSizeSysMemRowBytesVidMemSizeVidMemRowBytesArgsArgsSize

func NewGPUMetalTextureWithDeviceDescriptorSysMemSizeSysMemRowBytesVidMemSizeVidMemRowBytesArgsArgsSize(device objectivec.IObject, descriptor objectivec.IObject, size uint64, bytes uint64, size2 uint64, bytes2 uint64, args *IOGPUNewResourceArgs, size3 uint32) IOGPUMetalTexture

func NewGPUMetalTextureWithDeviceOptionsArgsArgsSize

func NewGPUMetalTextureWithDeviceOptionsArgsArgsSize(device objectivec.IObject, options uint64, args *IOGPUNewResourceArgs, size uint32) IOGPUMetalTexture

func NewGPUMetalTextureWithDeviceRemoteStorageResourceOptionsArgsArgsSize

func NewGPUMetalTextureWithDeviceRemoteStorageResourceOptionsArgsArgsSize(device objectivec.IObject, resource objectivec.IObject, options uint64, args *IOGPUNewResourceArgs, size uint32) IOGPUMetalTexture

func NewGPUMetalTextureWithDeviceRemoteStorageTextureArgsArgsSize

func NewGPUMetalTextureWithDeviceRemoteStorageTextureArgsArgsSize(device objectivec.IObject, texture objectivec.IObject, args *IOGPUNewResourceArgs, size uint32) IOGPUMetalTexture

func NewGPUMetalTextureWithHeapResourceOffsetLengthDeviceDescriptor

func NewGPUMetalTextureWithHeapResourceOffsetLengthDeviceDescriptor(heap objectivec.IObject, resource objectivec.IObject, offset uint64, length uint64, device objectivec.IObject, descriptor objectivec.IObject) IOGPUMetalTexture

func NewGPUMetalTextureWithPrimaryBufferHeapIndexBufferIndexBufferOffsetLengthDescriptorSysMemRowBytesVidMemSizeVidMemRowBytesArgsArgsSize

func NewGPUMetalTextureWithPrimaryBufferHeapIndexBufferIndexBufferOffsetLengthDescriptorSysMemRowBytesVidMemSizeVidMemRowBytesArgsArgsSize(buffer objectivec.IObject, index int16, index2 int16, offset uint64, length uint64, descriptor objectivec.IObject, bytes uint64, size uint64, bytes2 uint64, args *IOGPUNewResourceArgs, size2 uint32) IOGPUMetalTexture

func NewGPUMetalTextureWithResource

func NewGPUMetalTextureWithResource(resource objectivec.IObject) IOGPUMetalTexture

func NewGPUMetalTextureWithTextureInternalPixelFormatTextureTypeLevelsSlicesSwizzleCompressedView

func NewGPUMetalTextureWithTextureInternalPixelFormatTextureTypeLevelsSlicesSwizzleCompressedView(internal objectivec.IObject, format uint64, type_ uint64, levels foundation.NSRange, slices foundation.NSRange, swizzle unsafe.Pointer, view bool) IOGPUMetalTexture

func NewGPUMetalTextureWithTexturePixelFormat

func NewGPUMetalTextureWithTexturePixelFormat(texture objectivec.IObject, format uint64) IOGPUMetalTexture

func NewGPUMetalTextureWithTexturePixelFormatTextureTypeLevelsSlices

func NewGPUMetalTextureWithTexturePixelFormatTextureTypeLevelsSlices(texture objectivec.IObject, format uint64, type_ uint64, levels foundation.NSRange, slices foundation.NSRange) IOGPUMetalTexture

func NewGPUMetalTextureWithTexturePixelFormatTextureTypeLevelsSlicesSwizzle

func NewGPUMetalTextureWithTexturePixelFormatTextureTypeLevelsSlicesSwizzle(texture objectivec.IObject, format uint64, type_ uint64, levels foundation.NSRange, slices foundation.NSRange, swizzle unsafe.Pointer) IOGPUMetalTexture

func NewIOGPUMetalTexture

func NewIOGPUMetalTexture() IOGPUMetalTexture

NewIOGPUMetalTexture creates a new IOGPUMetalTexture instance.

func (IOGPUMetalTexture) AllowGPUOptimizedContents

func (i IOGPUMetalTexture) AllowGPUOptimizedContents() bool

func (IOGPUMetalTexture) ArrayLength

func (i IOGPUMetalTexture) ArrayLength() uint64

func (IOGPUMetalTexture) Autorelease

func (i IOGPUMetalTexture) Autorelease() IOGPUMetalTexture

Autorelease adds the receiver to the current autorelease pool.

func (IOGPUMetalTexture) Buffer

func (IOGPUMetalTexture) BufferBytesPerRow

func (i IOGPUMetalTexture) BufferBytesPerRow() uint64

func (IOGPUMetalTexture) BufferOffset

func (i IOGPUMetalTexture) BufferOffset() uint64

func (IOGPUMetalTexture) CompressionFeedback

func (i IOGPUMetalTexture) CompressionFeedback() int64

func (IOGPUMetalTexture) CopyFromPixelsRowBytesImageBytesToSliceMipmapLevelOriginSize

func (i IOGPUMetalTexture) CopyFromPixelsRowBytesImageBytesToSliceMipmapLevelOriginSize(pixels unsafe.Pointer, bytes uint64, bytes2 uint64, slice uint64, level uint64, origin unsafe.Pointer, size unsafe.Pointer)

func (IOGPUMetalTexture) CopyFromSliceMipmapLevelOriginSizeToPixelsRowBytesImageBytes

func (i IOGPUMetalTexture) CopyFromSliceMipmapLevelOriginSizeToPixelsRowBytesImageBytes(slice uint64, level uint64, origin unsafe.Pointer, size unsafe.Pointer, pixels unsafe.Pointer, bytes uint64, bytes2 uint64)

func (IOGPUMetalTexture) Depth

func (i IOGPUMetalTexture) Depth() uint64

func (IOGPUMetalTexture) DidModifyData

func (i IOGPUMetalTexture) DidModifyData()

func (IOGPUMetalTexture) FormattedDescription

func (i IOGPUMetalTexture) FormattedDescription(description uint64) objectivec.IObject

func (IOGPUMetalTexture) FramebufferOnly

func (i IOGPUMetalTexture) FramebufferOnly() bool

func (IOGPUMetalTexture) GetBytesBytesPerRowFromRegionMipmapLevel

func (i IOGPUMetalTexture) GetBytesBytesPerRowFromRegionMipmapLevel(bytes unsafe.Pointer, row uint64, region unsafe.Pointer, level uint64)

func (IOGPUMetalTexture) GpuHandle

func (i IOGPUMetalTexture) GpuHandle() uint64

func (IOGPUMetalTexture) GpuResourceID

func (i IOGPUMetalTexture) GpuResourceID() metal.MTLResourceID

func (IOGPUMetalTexture) Height

func (i IOGPUMetalTexture) Height() uint64

func (IOGPUMetalTexture) Init

Init initializes the instance.

func (IOGPUMetalTexture) InitWithBufferDescriptorOffsetBytesPerRow

func (i IOGPUMetalTexture) InitWithBufferDescriptorOffsetBytesPerRow(buffer objectivec.IObject, descriptor objectivec.IObject, offset uint64, row uint64) IOGPUMetalTexture

func (IOGPUMetalTexture) InitWithBufferDescriptorSysMemOffsetSysMemRowBytesVidMemSizeVidMemRowBytesArgsArgsSize

func (i IOGPUMetalTexture) InitWithBufferDescriptorSysMemOffsetSysMemRowBytesVidMemSizeVidMemRowBytesArgsArgsSize(buffer objectivec.IObject, descriptor objectivec.IObject, offset uint64, bytes uint64, size uint64, bytes2 uint64, args *IOGPUNewResourceArgs, size2 uint32) IOGPUMetalTexture

func (IOGPUMetalTexture) InitWithBufferDescriptorSysMemOffsetSysMemRowBytesVidMemSizeVidMemRowBytesArgsArgsSizeIsStrideTexture

func (i IOGPUMetalTexture) InitWithBufferDescriptorSysMemOffsetSysMemRowBytesVidMemSizeVidMemRowBytesArgsArgsSizeIsStrideTexture(buffer objectivec.IObject, descriptor objectivec.IObject, offset uint64, bytes uint64, size uint64, bytes2 uint64, args *IOGPUNewResourceArgs, size2 uint32, texture bool) IOGPUMetalTexture

func (IOGPUMetalTexture) InitWithCompressedTexturePixelFormatTextureTypeLevelSlice

func (i IOGPUMetalTexture) InitWithCompressedTexturePixelFormatTextureTypeLevelSlice(texture objectivec.IObject, format uint64, type_ uint64, level uint64, slice uint64) IOGPUMetalTexture

func (IOGPUMetalTexture) InitWithDeviceDescriptorIosurfacePlaneFieldArgsArgsSize

func (i IOGPUMetalTexture) InitWithDeviceDescriptorIosurfacePlaneFieldArgsArgsSize(device objectivec.IObject, descriptor objectivec.IObject, iosurface iosurface.IOSurfaceRef, plane uint32, field uint32, args *IOGPUNewResourceArgs, size uint32) IOGPUMetalTexture

func (IOGPUMetalTexture) InitWithDeviceDescriptorPlacementSparseBytesPlacementSparsePageSizePlacementSparseMetaDataBytesArgsArgsSize

func (i IOGPUMetalTexture) InitWithDeviceDescriptorPlacementSparseBytesPlacementSparsePageSizePlacementSparseMetaDataBytesArgsArgsSize(device objectivec.IObject, descriptor objectivec.IObject, bytes uint64, size int64, bytes2 uint64, args *IOGPUNewResourceArgs, size2 uint32) IOGPUMetalTexture

func (IOGPUMetalTexture) InitWithDeviceDescriptorPlacementSparseBytesPlacementSparsePageSizePlacementSparseMetaDataBytesPlacementSparseResidencyBytesArgsArgsSize

func (i IOGPUMetalTexture) InitWithDeviceDescriptorPlacementSparseBytesPlacementSparsePageSizePlacementSparseMetaDataBytesPlacementSparseResidencyBytesArgsArgsSize(device objectivec.IObject, descriptor objectivec.IObject, bytes uint64, size int64, bytes2 uint64, bytes3 uint64, args *IOGPUNewResourceArgs, size2 uint32) IOGPUMetalTexture

func (IOGPUMetalTexture) InitWithDeviceDescriptorSysMemPointerSysMemSizeSysMemLengthSysMemRowBytesArgsArgsSizeDeallocator

func (i IOGPUMetalTexture) InitWithDeviceDescriptorSysMemPointerSysMemSizeSysMemLengthSysMemRowBytesArgsArgsSizeDeallocator(device objectivec.IObject, descriptor objectivec.IObject, pointer unsafe.Pointer, size uint64, length uint64, bytes uint64, args *IOGPUNewResourceArgs, size2 uint32, deallocator VoidHandler) IOGPUMetalTexture

func (IOGPUMetalTexture) InitWithDeviceDescriptorSysMemPointerSysMemSizeSysMemLengthSysMemRowBytesArgsArgsSizeDeallocatorSync

func (i IOGPUMetalTexture) InitWithDeviceDescriptorSysMemPointerSysMemSizeSysMemLengthSysMemRowBytesArgsArgsSizeDeallocatorSync(ctx context.Context, device objectivec.IObject, descriptor objectivec.IObject, pointer unsafe.Pointer, size uint64, length uint64, bytes uint64, args *IOGPUNewResourceArgs, size2 uint32) error

InitWithDeviceDescriptorSysMemPointerSysMemSizeSysMemLengthSysMemRowBytesArgsArgsSizeDeallocatorSync is a synchronous wrapper around IOGPUMetalTexture.InitWithDeviceDescriptorSysMemPointerSysMemSizeSysMemLengthSysMemRowBytesArgsArgsSizeDeallocator. It blocks until the completion handler fires or the context is cancelled.

func (IOGPUMetalTexture) InitWithDeviceDescriptorSysMemSizeSysMemRowBytesVidMemSizeVidMemRowBytesArgsArgsSize

func (i IOGPUMetalTexture) InitWithDeviceDescriptorSysMemSizeSysMemRowBytesVidMemSizeVidMemRowBytesArgsArgsSize(device objectivec.IObject, descriptor objectivec.IObject, size uint64, bytes uint64, size2 uint64, bytes2 uint64, args *IOGPUNewResourceArgs, size3 uint32) IOGPUMetalTexture

func (IOGPUMetalTexture) InitWithDeviceRemoteStorageTextureArgsArgsSize

func (i IOGPUMetalTexture) InitWithDeviceRemoteStorageTextureArgsArgsSize(device objectivec.IObject, texture objectivec.IObject, args *IOGPUNewResourceArgs, size uint32) IOGPUMetalTexture

func (IOGPUMetalTexture) InitWithHeapResourceOffsetLengthDeviceDescriptor

func (i IOGPUMetalTexture) InitWithHeapResourceOffsetLengthDeviceDescriptor(heap objectivec.IObject, resource objectivec.IObject, offset uint64, length uint64, device objectivec.IObject, descriptor objectivec.IObject) IOGPUMetalTexture

func (IOGPUMetalTexture) InitWithPrimaryBufferHeapIndexBufferIndexBufferOffsetLengthDescriptorSysMemRowBytesVidMemSizeVidMemRowBytesArgsArgsSize

func (i IOGPUMetalTexture) InitWithPrimaryBufferHeapIndexBufferIndexBufferOffsetLengthDescriptorSysMemRowBytesVidMemSizeVidMemRowBytesArgsArgsSize(buffer objectivec.IObject, index int16, index2 int16, offset uint64, length uint64, descriptor objectivec.IObject, bytes uint64, size uint64, bytes2 uint64, args *IOGPUNewResourceArgs, size2 uint32) IOGPUMetalTexture

func (IOGPUMetalTexture) InitWithTextureInternalPixelFormatTextureTypeLevelsSlicesSwizzleCompressedView

func (i IOGPUMetalTexture) InitWithTextureInternalPixelFormatTextureTypeLevelsSlicesSwizzleCompressedView(internal objectivec.IObject, format uint64, type_ uint64, levels foundation.NSRange, slices foundation.NSRange, swizzle unsafe.Pointer, view bool) IOGPUMetalTexture

func (IOGPUMetalTexture) InitWithTexturePixelFormat

func (i IOGPUMetalTexture) InitWithTexturePixelFormat(texture objectivec.IObject, format uint64) IOGPUMetalTexture

func (IOGPUMetalTexture) InitWithTexturePixelFormatTextureTypeLevelsSlices

func (i IOGPUMetalTexture) InitWithTexturePixelFormatTextureTypeLevelsSlices(texture objectivec.IObject, format uint64, type_ uint64, levels foundation.NSRange, slices foundation.NSRange) IOGPUMetalTexture

func (IOGPUMetalTexture) InitWithTexturePixelFormatTextureTypeLevelsSlicesSwizzle

func (i IOGPUMetalTexture) InitWithTexturePixelFormatTextureTypeLevelsSlicesSwizzle(texture objectivec.IObject, format uint64, type_ uint64, levels foundation.NSRange, slices foundation.NSRange, swizzle unsafe.Pointer) IOGPUMetalTexture

func (IOGPUMetalTexture) Iosurface

func (IOGPUMetalTexture) IosurfacePlane

func (i IOGPUMetalTexture) IosurfacePlane() uint64

func (IOGPUMetalTexture) IsCompressed

func (i IOGPUMetalTexture) IsCompressed() bool

func (IOGPUMetalTexture) IsDrawable

func (i IOGPUMetalTexture) IsDrawable() bool

func (IOGPUMetalTexture) IsFramebufferOnly

func (i IOGPUMetalTexture) IsFramebufferOnly() bool

func (IOGPUMetalTexture) IsShareable

func (i IOGPUMetalTexture) IsShareable() bool

func (IOGPUMetalTexture) IsSparse

func (i IOGPUMetalTexture) IsSparse() bool

func (IOGPUMetalTexture) MipmapLevelCount

func (i IOGPUMetalTexture) MipmapLevelCount() uint64

func (IOGPUMetalTexture) NewRemoteTextureViewForDevice

func (i IOGPUMetalTexture) NewRemoteTextureViewForDevice(device objectivec.IObject) objectivec.IObject

func (IOGPUMetalTexture) NewSharedTextureHandle

func (i IOGPUMetalTexture) NewSharedTextureHandle() objectivec.IObject

func (IOGPUMetalTexture) NumFaces

func (i IOGPUMetalTexture) NumFaces() uint64

func (IOGPUMetalTexture) ParentRelativeLevel

func (i IOGPUMetalTexture) ParentRelativeLevel() uint64

func (IOGPUMetalTexture) ParentRelativeSlice

func (i IOGPUMetalTexture) ParentRelativeSlice() uint64

func (IOGPUMetalTexture) ParentTexture

func (i IOGPUMetalTexture) ParentTexture() IIOGPUMetalTexture

func (IOGPUMetalTexture) PixelFormat

func (i IOGPUMetalTexture) PixelFormat() uint64

func (IOGPUMetalTexture) PlacementSparsePageSize

func (i IOGPUMetalTexture) PlacementSparsePageSize() int64

func (IOGPUMetalTexture) RemoteStorageTexture

func (i IOGPUMetalTexture) RemoteStorageTexture() unsafe.Pointer

func (IOGPUMetalTexture) ReplaceRegionMipmapLevelWithBytesBytesPerRow

func (i IOGPUMetalTexture) ReplaceRegionMipmapLevelWithBytesBytesPerRow(region unsafe.Pointer, level uint64, bytes unsafe.Pointer, row uint64)

func (IOGPUMetalTexture) RootResource

func (i IOGPUMetalTexture) RootResource() IIOGPUMetalResource

func (IOGPUMetalTexture) RootResourceIsSuballocatedBuffer

func (i IOGPUMetalTexture) RootResourceIsSuballocatedBuffer() bool

func (IOGPUMetalTexture) Rotation

func (i IOGPUMetalTexture) Rotation() uint64

func (IOGPUMetalTexture) SampleCount

func (i IOGPUMetalTexture) SampleCount() uint64

func (IOGPUMetalTexture) Shareable

func (i IOGPUMetalTexture) Shareable() bool

func (IOGPUMetalTexture) Swizzle

func (i IOGPUMetalTexture) Swizzle() unsafe.Pointer

func (IOGPUMetalTexture) SwizzleKey

func (i IOGPUMetalTexture) SwizzleKey() uint32

func (IOGPUMetalTexture) TextureType

func (i IOGPUMetalTexture) TextureType() uint64

func (IOGPUMetalTexture) UniqueIdentifier

func (i IOGPUMetalTexture) UniqueIdentifier() uint64

func (IOGPUMetalTexture) Usage

func (i IOGPUMetalTexture) Usage() uint64

func (IOGPUMetalTexture) Width

func (i IOGPUMetalTexture) Width() uint64

type IOGPUMetalTextureClass

type IOGPUMetalTextureClass struct {
	// contains filtered or unexported fields
}

func GetIOGPUMetalTextureClass

func GetIOGPUMetalTextureClass() IOGPUMetalTextureClass

GetIOGPUMetalTextureClass returns the class object for IOGPUMetalTexture.

func (IOGPUMetalTextureClass) Alloc

Alloc allocates memory for a new instance of the class.

func (IOGPUMetalTextureClass) Class

func (ic IOGPUMetalTextureClass) Class() objc.Class

Class returns the underlying Objective-C class pointer.

func (IOGPUMetalTextureClass) InitNewTextureDataWithDeviceDescriptorSysMemSizeSysMemRowBytesVidMemSizeVidMemRowBytesArgs

func (_IOGPUMetalTextureClass IOGPUMetalTextureClass) InitNewTextureDataWithDeviceDescriptorSysMemSizeSysMemRowBytesVidMemSizeVidMemRowBytesArgs(device objectivec.IObject, descriptor objectivec.IObject, size uint64, bytes uint64, size2 uint64, bytes2 uint64, args *IOGPUNewResourceArgs) IOGPUMetalTexture

type IOGPUMetalTextureLayout

type IOGPUMetalTextureLayout struct {
	objectivec.Object
}

Methods

func IOGPUMetalTextureLayoutFromID

func IOGPUMetalTextureLayoutFromID(id objc.ID) IOGPUMetalTextureLayout

IOGPUMetalTextureLayoutFromID constructs a IOGPUMetalTextureLayout from an objc.ID.

func NewGPUMetalTextureLayoutWithDeviceDescriptor

func NewGPUMetalTextureLayoutWithDeviceDescriptor(device objectivec.IObject, descriptor objectivec.IObject) IOGPUMetalTextureLayout

func NewIOGPUMetalTextureLayout

func NewIOGPUMetalTextureLayout() IOGPUMetalTextureLayout

NewIOGPUMetalTextureLayout creates a new IOGPUMetalTextureLayout instance.

func (IOGPUMetalTextureLayout) Autorelease

Autorelease adds the receiver to the current autorelease pool.

func (IOGPUMetalTextureLayout) Init

Init initializes the instance.

func (IOGPUMetalTextureLayout) InitWithDeviceDescriptor

func (i IOGPUMetalTextureLayout) InitWithDeviceDescriptor(device objectivec.IObject, descriptor objectivec.IObject) IOGPUMetalTextureLayout

type IOGPUMetalTextureLayoutClass

type IOGPUMetalTextureLayoutClass struct {
	// contains filtered or unexported fields
}

func GetIOGPUMetalTextureLayoutClass

func GetIOGPUMetalTextureLayoutClass() IOGPUMetalTextureLayoutClass

GetIOGPUMetalTextureLayoutClass returns the class object for IOGPUMetalTextureLayout.

func (IOGPUMetalTextureLayoutClass) Alloc

Alloc allocates memory for a new instance of the class.

func (IOGPUMetalTextureLayoutClass) Class

Class returns the underlying Objective-C class pointer.

type IOGPUMetalVisibleFunctionTable

type IOGPUMetalVisibleFunctionTable struct {
	IOGPUMetalBuffer
}

Methods

func IOGPUMetalVisibleFunctionTableFromID

func IOGPUMetalVisibleFunctionTableFromID(id objc.ID) IOGPUMetalVisibleFunctionTable

IOGPUMetalVisibleFunctionTableFromID constructs a IOGPUMetalVisibleFunctionTable from an objc.ID.

func NewGPUMetalVisibleFunctionTableMemorylessDescriptor

func NewGPUMetalVisibleFunctionTableMemorylessDescriptor(memoryless objectivec.IObject, descriptor objectivec.IObject) IOGPUMetalVisibleFunctionTable

func NewGPUMetalVisibleFunctionTableStandinWithDevice

func NewGPUMetalVisibleFunctionTableStandinWithDevice(device objectivec.IObject) IOGPUMetalVisibleFunctionTable

func NewGPUMetalVisibleFunctionTableWithDeviceAddressRangesAddressRangeCountLengthOptionsGpuAddressArgsArgsSize

func NewGPUMetalVisibleFunctionTableWithDeviceAddressRangesAddressRangeCountLengthOptionsGpuAddressArgsArgsSize(device objectivec.IObject, ranges *IOGPUAddressRange, count uint64, length uint64, options uint64, address uint64, args *IOGPUNewResourceArgs, size uint32) IOGPUMetalVisibleFunctionTable

func NewGPUMetalVisibleFunctionTableWithDeviceIosurfaceArgsArgsSize

func NewGPUMetalVisibleFunctionTableWithDeviceIosurfaceArgsArgsSize(device objectivec.IObject, iosurface iosurface.IOSurfaceRef, args *IOGPUNewResourceArgs, size uint32) IOGPUMetalVisibleFunctionTable

func NewGPUMetalVisibleFunctionTableWithDeviceIosurfaceGpuAddressArgsArgsSize

func NewGPUMetalVisibleFunctionTableWithDeviceIosurfaceGpuAddressArgsArgsSize(device objectivec.IObject, iosurface iosurface.IOSurfaceRef, address uint64, args *IOGPUNewResourceArgs, size uint32) IOGPUMetalVisibleFunctionTable

func NewGPUMetalVisibleFunctionTableWithDeviceOptionsArgsArgsSize

func NewGPUMetalVisibleFunctionTableWithDeviceOptionsArgsArgsSize(device objectivec.IObject, options uint64, args *IOGPUNewResourceArgs, size uint32) IOGPUMetalVisibleFunctionTable

func NewGPUMetalVisibleFunctionTableWithDeviceRemoteStorageBufferArgsArgsSize

func NewGPUMetalVisibleFunctionTableWithDeviceRemoteStorageBufferArgsArgsSize(device objectivec.IObject, buffer objectivec.IObject, args *IOGPUNewResourceArgs, size uint32) IOGPUMetalVisibleFunctionTable

func NewGPUMetalVisibleFunctionTableWithDeviceRemoteStorageResourceOptionsArgsArgsSize

func NewGPUMetalVisibleFunctionTableWithDeviceRemoteStorageResourceOptionsArgsArgsSize(device objectivec.IObject, resource objectivec.IObject, options uint64, args *IOGPUNewResourceArgs, size uint32) IOGPUMetalVisibleFunctionTable

func NewGPUMetalVisibleFunctionTableWithHeapResourceOffsetLength

func NewGPUMetalVisibleFunctionTableWithHeapResourceOffsetLength(heap objectivec.IObject, resource objectivec.IObject, offset uint64, length uint64) IOGPUMetalVisibleFunctionTable

func NewGPUMetalVisibleFunctionTableWithHeapResourceOffsetLengthGpuTag

func NewGPUMetalVisibleFunctionTableWithHeapResourceOffsetLengthGpuTag(heap objectivec.IObject, resource objectivec.IObject, offset uint64, length uint64, tag uint64) IOGPUMetalVisibleFunctionTable

func NewGPUMetalVisibleFunctionTableWithPrimaryBufferHeapIndexBufferIndexBufferOffsetLengthArgsArgsSize

func NewGPUMetalVisibleFunctionTableWithPrimaryBufferHeapIndexBufferIndexBufferOffsetLengthArgsArgsSize(buffer objectivec.IObject, index int16, index2 int16, offset uint64, length uint64, args *IOGPUNewResourceArgs, size uint32) IOGPUMetalVisibleFunctionTable

func NewGPUMetalVisibleFunctionTableWithPrimaryBufferHeapIndexBufferIndexBufferOffsetLengthArgsArgsSizeGpuTag

func NewGPUMetalVisibleFunctionTableWithPrimaryBufferHeapIndexBufferIndexBufferOffsetLengthArgsArgsSizeGpuTag(buffer objectivec.IObject, index int16, index2 int16, offset uint64, length uint64, args *IOGPUNewResourceArgs, size uint32, tag uint64) IOGPUMetalVisibleFunctionTable

func NewGPUMetalVisibleFunctionTableWithResource

func NewGPUMetalVisibleFunctionTableWithResource(resource objectivec.IObject) IOGPUMetalVisibleFunctionTable

func NewIOGPUMetalVisibleFunctionTable

func NewIOGPUMetalVisibleFunctionTable() IOGPUMetalVisibleFunctionTable

NewIOGPUMetalVisibleFunctionTable creates a new IOGPUMetalVisibleFunctionTable instance.

func (IOGPUMetalVisibleFunctionTable) Autorelease

Autorelease adds the receiver to the current autorelease pool.

func (IOGPUMetalVisibleFunctionTable) BufferAddressAtIndex

func (i IOGPUMetalVisibleFunctionTable) BufferAddressAtIndex(index uint64) uint64

func (IOGPUMetalVisibleFunctionTable) GlobalBuffer

func (IOGPUMetalVisibleFunctionTable) GlobalBufferOffset

func (i IOGPUMetalVisibleFunctionTable) GlobalBufferOffset() uint64

func (IOGPUMetalVisibleFunctionTable) GpuHandle

func (i IOGPUMetalVisibleFunctionTable) GpuHandle() uint64

func (IOGPUMetalVisibleFunctionTable) GpuResourceID

func (IOGPUMetalVisibleFunctionTable) Init

Init initializes the instance.

func (IOGPUMetalVisibleFunctionTable) ResourceIndex

func (i IOGPUMetalVisibleFunctionTable) ResourceIndex() uint64

func (IOGPUMetalVisibleFunctionTable) SetBufferOffsetAtIndex

func (i IOGPUMetalVisibleFunctionTable) SetBufferOffsetAtIndex(buffer objectivec.IObject, offset uint64, index uint64)

func (IOGPUMetalVisibleFunctionTable) SetBuffersOffsetsWithRange

func (i IOGPUMetalVisibleFunctionTable) SetBuffersOffsetsWithRange(buffers []objectivec.IObject, offsets *uint64, range_ foundation.NSRange)

func (IOGPUMetalVisibleFunctionTable) SetFunctionAtIndex

func (i IOGPUMetalVisibleFunctionTable) SetFunctionAtIndex(function objectivec.IObject, index uint64)

func (IOGPUMetalVisibleFunctionTable) SetFunctionsWithRange

func (i IOGPUMetalVisibleFunctionTable) SetFunctionsWithRange(functions []objectivec.IObject, range_ foundation.NSRange)

func (IOGPUMetalVisibleFunctionTable) SetGlobalBuffer

func (i IOGPUMetalVisibleFunctionTable) SetGlobalBuffer(value unsafe.Pointer)

func (IOGPUMetalVisibleFunctionTable) SetGlobalBufferOffset

func (i IOGPUMetalVisibleFunctionTable) SetGlobalBufferOffset(value uint64)

func (IOGPUMetalVisibleFunctionTable) SetValueAtIndex

func (i IOGPUMetalVisibleFunctionTable) SetValueAtIndex(value uint64, index uint64)

func (IOGPUMetalVisibleFunctionTable) SetValueWithRange

func (i IOGPUMetalVisibleFunctionTable) SetValueWithRange(value uint64, range_ foundation.NSRange)

func (IOGPUMetalVisibleFunctionTable) SetVisibleFunctionTableAtBufferIndex

func (i IOGPUMetalVisibleFunctionTable) SetVisibleFunctionTableAtBufferIndex(table objectivec.IObject, index uint64)

func (IOGPUMetalVisibleFunctionTable) SetVisibleFunctionTablesWithBufferRange

func (i IOGPUMetalVisibleFunctionTable) SetVisibleFunctionTablesWithBufferRange(tables []objectivec.IObject, range_ foundation.NSRange)

func (IOGPUMetalVisibleFunctionTable) UniqueIdentifier

func (i IOGPUMetalVisibleFunctionTable) UniqueIdentifier() uint64

type IOGPUMetalVisibleFunctionTableClass

type IOGPUMetalVisibleFunctionTableClass struct {
	// contains filtered or unexported fields
}

func GetIOGPUMetalVisibleFunctionTableClass

func GetIOGPUMetalVisibleFunctionTableClass() IOGPUMetalVisibleFunctionTableClass

GetIOGPUMetalVisibleFunctionTableClass returns the class object for IOGPUMetalVisibleFunctionTable.

func (IOGPUMetalVisibleFunctionTableClass) Alloc

Alloc allocates memory for a new instance of the class.

func (IOGPUMetalVisibleFunctionTableClass) Class

Class returns the underlying Objective-C class pointer.

type IOGPUNewResourceArgs

type IOGPUNewResourceArgs struct {
	Field1 IOGPUNewResourceData
}

IOGPUNewResourceArgs

type IOGPUNewResourceData

type IOGPUNewResourceData struct {
	Field1  uint32
	Field2  uint32
	Field3  uint16
	Field4  uint16
	Field5  uint16
	Field6  uint16
	Field7  uint8
	Field8  uint8
	Field9  uint8
	Field10 uint8
	Field11 uint32
	Field12 uint64
	Field13 uint64
	Field14 uint64
	Field15 uint32
	Field16 uint32
	Field17 unsafe.Pointer
}

IOGPUNewResourceData

type IOGPUResource

type IOGPUResource struct {
	Field1  CFRuntimeBase
	Field2  IOGPUDeviceRef
	Field3  unsafe.Pointer
	Field4  uint64
	Field5  uint64
	Field6  uint32
	Field7  uint32
	Field8  uint64
	Field9  uint64
	Field10 IOGPUClientSharedRORef
	Field11 uint64
	Field12 uint64
	Field13 uint64
	Field14 uint64
	Field15 unsafe.Pointer
	Field16 unsafe.Pointer
}

IOGPUResource

type IOGPUResourceInfo

type IOGPUResourceInfo struct {
	Field1 unsafe.Pointer
	Field2 objectivec.Object
	Field3 objectivec.Object
	Field4 uint32
}

IOGPUResourceInfo

type IOGPUResourceList

type IOGPUResourceList struct {
	Field1  [114]uint32
	Field2  *uint32
	Field3  *uint64
	Field4  unsafe.Pointer
	Field5  uint32
	Field6  uint32
	Field7  uint32
	Field8  uint32
	Field9  uint32
	Field10 uint32
	Field11 uint32
	Field12 uint32
	Field13 IOGPUSegmentResourceDescriptorGroupRef
	Field14 uint64
	Field15 uint64
	Field16 uint32
	Field17 uint32
	Field18 uint32
	Field19 uint32
	Field20 uint32
	Field21 uint32
	Field22 uint32
	Field23 unsafe.Pointer
	Field24 unsafe.Pointer
}

IOGPUResourceList

type IOGPUSegmentKernelCommmandListHeader

type IOGPUSegmentKernelCommmandListHeader struct {
}

IOGPUSegmentKernelCommmandListHeader

type IOGPUSegmentKernelCommmandListHeaderRef

type IOGPUSegmentKernelCommmandListHeaderRef = _undefined

type IOGPUSegmentListHeader

type IOGPUSegmentListHeader struct {
	Field1 uint64
	Field2 uint32
	Field3 uint32
	Field4 unsafe.Pointer
}

IOGPUSegmentListHeader

type IOGPUSegmentListHeaderRef

type IOGPUSegmentListHeaderRef = _undefined

type IOGPUSegmentListShmemHeader

type IOGPUSegmentListShmemHeader struct {
}

IOGPUSegmentListShmemHeader

type IOGPUSegmentListShmemHeaderRef

type IOGPUSegmentListShmemHeaderRef = _undefined

type IOGPUSegmentResourceDescriptorGroup

type IOGPUSegmentResourceDescriptorGroup struct {
	Field1 [6]uint32
	Field2 [6]uint32
	Field3 [6]uint16
	Field4 uint16
	Field5 uint16
}

IOGPUSegmentResourceDescriptorGroup

type IOGPUSegmentResourceDescriptorGroupRef

type IOGPUSegmentResourceDescriptorGroupRef = _undefined

type IOGPUSegmentResourceListHeader

type IOGPUSegmentResourceListHeader struct {
	Field1 uint64
	Field2 uint32
	Field3 uint32
	Field4 uint32
	Field5 uint32
	Field6 uint32
	Field7 uint32
	Field8 unsafe.Pointer
}

IOGPUSegmentResourceListHeader

type IOGPUSegmentResourceListHeaderRef

type IOGPUSegmentResourceListHeaderRef = _undefined

type IOSurface

type IOSurface struct {
}

IOSurface

type MTLAccelerationStructureSPI

type MTLAccelerationStructureSPI interface {
	objectivec.IObject

	// AccelerationStructureUniqueIdentifier protocol.
	AccelerationStructureUniqueIdentifier() uint64

	// Buffer protocol.
	Buffer() objectivec.IObject

	// BufferOffset protocol.
	BufferOffset() uint64

	// Descriptor protocol.
	Descriptor() objectivec.IObject

	// GpuHandle protocol.
	GpuHandle() uint64

	// ResourceIndex protocol.
	ResourceIndex() uint64

	// SetDescriptor protocol.
	SetDescriptor(descriptor objectivec.IObject)

	// UniqueIdentifier protocol.
	UniqueIdentifier() uint64
}

MTLAccelerationStructureSPI protocol.

type MTLAccelerationStructureSPIObject

type MTLAccelerationStructureSPIObject struct {
	objectivec.Object
}

MTLAccelerationStructureSPIObject wraps an existing Objective-C object that conforms to the MTLAccelerationStructureSPI protocol.

func MTLAccelerationStructureSPIObjectFromID

func MTLAccelerationStructureSPIObjectFromID(id objc.ID) MTLAccelerationStructureSPIObject

MTLAccelerationStructureSPIObjectFromID constructs a MTLAccelerationStructureSPIObject from an objc.ID. The object is determined to conform to the protocol at runtime.

func (MTLAccelerationStructureSPIObject) AccelerationStructureUniqueIdentifier

func (o MTLAccelerationStructureSPIObject) AccelerationStructureUniqueIdentifier() uint64

func (MTLAccelerationStructureSPIObject) BaseObject

func (MTLAccelerationStructureSPIObject) Buffer

func (MTLAccelerationStructureSPIObject) BufferOffset

func (o MTLAccelerationStructureSPIObject) BufferOffset() uint64

func (MTLAccelerationStructureSPIObject) Descriptor

func (MTLAccelerationStructureSPIObject) GpuHandle

func (MTLAccelerationStructureSPIObject) ResourceIndex

func (o MTLAccelerationStructureSPIObject) ResourceIndex() uint64

func (MTLAccelerationStructureSPIObject) SetDescriptor

func (o MTLAccelerationStructureSPIObject) SetDescriptor(descriptor objectivec.IObject)

func (MTLAccelerationStructureSPIObject) UniqueIdentifier

func (o MTLAccelerationStructureSPIObject) UniqueIdentifier() uint64

type MTLDebugCommandEncoder

type MTLDebugCommandEncoder struct {
	objectivec.Object
}

A parent class referenced by other iogpu classes. [Full Topic]

func MTLDebugCommandEncoderFromID

func MTLDebugCommandEncoderFromID(id objc.ID) MTLDebugCommandEncoder

MTLDebugCommandEncoderFromID constructs a MTLDebugCommandEncoder from an objc.ID.

A parent class referenced by other iogpu classes.

func NewMTLDebugCommandEncoder

func NewMTLDebugCommandEncoder() MTLDebugCommandEncoder

NewMTLDebugCommandEncoder creates a new MTLDebugCommandEncoder instance.

func (MTLDebugCommandEncoder) Autorelease

Autorelease adds the receiver to the current autorelease pool.

func (MTLDebugCommandEncoder) Init

Init initializes the instance.

type MTLDebugCommandEncoderClass

type MTLDebugCommandEncoderClass struct {
	// contains filtered or unexported fields
}

func GetMTLDebugCommandEncoderClass

func GetMTLDebugCommandEncoderClass() MTLDebugCommandEncoderClass

GetMTLDebugCommandEncoderClass returns the class object for _MTLDebugCommandEncoder.

func (MTLDebugCommandEncoderClass) Alloc

Alloc allocates memory for a new instance of the class.

func (MTLDebugCommandEncoderClass) Class

Class returns the underlying Objective-C class pointer.

type MTLEvent

type MTLEvent interface {
	objectivec.IObject

	// Device protocol.
	Device() objectivec.IObject

	// Label protocol.
	Label() objectivec.IObject

	// SetLabel protocol.
	SetLabel(label objectivec.IObject)
}

MTLEvent protocol.

type MTLEventObject

type MTLEventObject struct {
	objectivec.Object
}

MTLEventObject wraps an existing Objective-C object that conforms to the MTLEvent protocol.

func MTLEventObjectFromID

func MTLEventObjectFromID(id objc.ID) MTLEventObject

MTLEventObjectFromID constructs a MTLEventObject from an objc.ID. The object is determined to conform to the protocol at runtime.

func (MTLEventObject) BaseObject

func (o MTLEventObject) BaseObject() objectivec.Object

func (MTLEventObject) Device

func (o MTLEventObject) Device() objectivec.IObject

func (MTLEventObject) Label

func (o MTLEventObject) Label() objectivec.IObject

func (MTLEventObject) SetLabel

func (o MTLEventObject) SetLabel(label objectivec.IObject)

type MTLFenceSPI

type MTLFenceSPI interface {
	objectivec.IObject
}

MTLFenceSPI protocol.

type MTLFenceSPIObject

type MTLFenceSPIObject struct {
	objectivec.Object
}

MTLFenceSPIObject wraps an existing Objective-C object that conforms to the MTLFenceSPI protocol.

func MTLFenceSPIObjectFromID

func MTLFenceSPIObjectFromID(id objc.ID) MTLFenceSPIObject

MTLFenceSPIObjectFromID constructs a MTLFenceSPIObject from an objc.ID. The object is determined to conform to the protocol at runtime.

func (MTLFenceSPIObject) BaseObject

func (o MTLFenceSPIObject) BaseObject() objectivec.Object

type MTLIOHandleCompressed

type MTLIOHandleCompressed struct {
	objectivec.Object
}

A parent class referenced by other iogpu classes. [Full Topic]

func MTLIOHandleCompressedFromID

func MTLIOHandleCompressedFromID(id objc.ID) MTLIOHandleCompressed

MTLIOHandleCompressedFromID constructs a MTLIOHandleCompressed from an objc.ID.

A parent class referenced by other iogpu classes.

func NewMTLIOHandleCompressed

func NewMTLIOHandleCompressed() MTLIOHandleCompressed

NewMTLIOHandleCompressed creates a new MTLIOHandleCompressed instance.

func (MTLIOHandleCompressed) Autorelease

Autorelease adds the receiver to the current autorelease pool.

func (MTLIOHandleCompressed) Init

Init initializes the instance.

type MTLIOHandleCompressedClass

type MTLIOHandleCompressedClass struct {
	// contains filtered or unexported fields
}

func GetMTLIOHandleCompressedClass

func GetMTLIOHandleCompressedClass() MTLIOHandleCompressedClass

GetMTLIOHandleCompressedClass returns the class object for _MTLIOHandleCompressed.

func (MTLIOHandleCompressedClass) Alloc

Alloc allocates memory for a new instance of the class.

func (MTLIOHandleCompressedClass) Class

Class returns the underlying Objective-C class pointer.

type MTLIOHandleRaw

type MTLIOHandleRaw struct {
	objectivec.Object
}

A parent class referenced by other iogpu classes. [Full Topic]

func MTLIOHandleRawFromID

func MTLIOHandleRawFromID(id objc.ID) MTLIOHandleRaw

MTLIOHandleRawFromID constructs a MTLIOHandleRaw from an objc.ID.

A parent class referenced by other iogpu classes.

func NewMTLIOHandleRaw

func NewMTLIOHandleRaw() MTLIOHandleRaw

NewMTLIOHandleRaw creates a new MTLIOHandleRaw instance.

func (MTLIOHandleRaw) Autorelease

func (m MTLIOHandleRaw) Autorelease() MTLIOHandleRaw

Autorelease adds the receiver to the current autorelease pool.

func (MTLIOHandleRaw) Init

func (m MTLIOHandleRaw) Init() MTLIOHandleRaw

Init initializes the instance.

type MTLIOHandleRawClass

type MTLIOHandleRawClass struct {
	// contains filtered or unexported fields
}

func GetMTLIOHandleRawClass

func GetMTLIOHandleRawClass() MTLIOHandleRawClass

GetMTLIOHandleRawClass returns the class object for _MTLIOHandleRaw.

func (MTLIOHandleRawClass) Alloc

Alloc allocates memory for a new instance of the class.

func (MTLIOHandleRawClass) Class

func (mc MTLIOHandleRawClass) Class() objc.Class

Class returns the underlying Objective-C class pointer.

type MTLIndirectArgumentEncoder

type MTLIndirectArgumentEncoder struct {
	objectivec.Object
}

A parent class referenced by other iogpu classes. [Full Topic]

func MTLIndirectArgumentEncoderFromID

func MTLIndirectArgumentEncoderFromID(id objc.ID) MTLIndirectArgumentEncoder

MTLIndirectArgumentEncoderFromID constructs a MTLIndirectArgumentEncoder from an objc.ID.

A parent class referenced by other iogpu classes.

func NewMTLIndirectArgumentEncoder

func NewMTLIndirectArgumentEncoder() MTLIndirectArgumentEncoder

NewMTLIndirectArgumentEncoder creates a new MTLIndirectArgumentEncoder instance.

func (MTLIndirectArgumentEncoder) Autorelease

Autorelease adds the receiver to the current autorelease pool.

func (MTLIndirectArgumentEncoder) Init

Init initializes the instance.

type MTLIndirectArgumentEncoderClass

type MTLIndirectArgumentEncoderClass struct {
	// contains filtered or unexported fields
}

func GetMTLIndirectArgumentEncoderClass

func GetMTLIndirectArgumentEncoderClass() MTLIndirectArgumentEncoderClass

GetMTLIndirectArgumentEncoderClass returns the class object for _MTLIndirectArgumentEncoder.

func (MTLIndirectArgumentEncoderClass) Alloc

Alloc allocates memory for a new instance of the class.

func (MTLIndirectArgumentEncoderClass) Class

Class returns the underlying Objective-C class pointer.

type MTLIndirectCommandBufferHeader

type MTLIndirectCommandBufferHeader struct {
	HeaderSize                          uint64
	CommandTypes                        uint32
	InheritPipelineState                bool
	InheritBuffers                      bool
	MaxVertexBufferBindCount            uint8
	MaxFragmentBufferBindCount          uint8
	MaxKernelBufferBindCount            uint8
	MaxObjectBufferBindCount            uint8
	MaxMeshBufferBindCount              uint8
	SupportRayTracing                   bool
	SupportDynamicAttributeStride       bool
	MaxKernelThreadgroupMemoryBindCount uint8
	MaxObjectThreadgroupMemoryBindCount uint8
	MaxScissorRectCount                 uint8
	MaxViewportCount                    uint8
	InheritDepthStencilState            bool
	InheritDepthBias                    bool
	InheritStencilReferenceValues       bool
	InheritDepthClipMode                bool
	InheritCullMode                     bool
	InheritFrontFacingWinding           bool
	InheritTriangleFillMode             bool
	InheritDepthTestBounds              bool
	InheritScissorRects                 bool
	InheritViewports                    bool
	InheritBlendColor                   bool
	AllowOverrideRenderStates           int64
	Size                                uint64
}

MTLIndirectCommandBufferHeader

type MTLIntersectionFunctionTableSPI

type MTLIntersectionFunctionTableSPI interface {
	objectivec.IObject

	// BufferAddressAtIndex protocol.
	BufferAddressAtIndex(index uint64) uint64

	// GlobalBuffer protocol.
	GlobalBuffer() objectivec.IObject

	// GlobalBufferOffset protocol.
	GlobalBufferOffset() uint64

	// GpuHandle protocol.
	GpuHandle() uint64

	// ResourceIndex protocol.
	ResourceIndex() uint64

	// SetGlobalBuffer protocol.
	SetGlobalBuffer(buffer objectivec.IObject)

	// SetGlobalBufferOffset protocol.
	SetGlobalBufferOffset(offset uint64)

	// UniqueIdentifier protocol.
	UniqueIdentifier() uint64
}

MTLIntersectionFunctionTableSPI protocol.

type MTLIntersectionFunctionTableSPIObject

type MTLIntersectionFunctionTableSPIObject struct {
	objectivec.Object
}

MTLIntersectionFunctionTableSPIObject wraps an existing Objective-C object that conforms to the MTLIntersectionFunctionTableSPI protocol.

func MTLIntersectionFunctionTableSPIObjectFromID

func MTLIntersectionFunctionTableSPIObjectFromID(id objc.ID) MTLIntersectionFunctionTableSPIObject

MTLIntersectionFunctionTableSPIObjectFromID constructs a MTLIntersectionFunctionTableSPIObject from an objc.ID. The object is determined to conform to the protocol at runtime.

func (MTLIntersectionFunctionTableSPIObject) BaseObject

func (MTLIntersectionFunctionTableSPIObject) BufferAddressAtIndex

func (o MTLIntersectionFunctionTableSPIObject) BufferAddressAtIndex(index uint64) uint64

func (MTLIntersectionFunctionTableSPIObject) GlobalBuffer

func (MTLIntersectionFunctionTableSPIObject) GlobalBufferOffset

func (o MTLIntersectionFunctionTableSPIObject) GlobalBufferOffset() uint64

func (MTLIntersectionFunctionTableSPIObject) GpuHandle

func (MTLIntersectionFunctionTableSPIObject) ResourceIndex

func (MTLIntersectionFunctionTableSPIObject) SetGlobalBuffer

func (o MTLIntersectionFunctionTableSPIObject) SetGlobalBuffer(buffer objectivec.IObject)

func (MTLIntersectionFunctionTableSPIObject) SetGlobalBufferOffset

func (o MTLIntersectionFunctionTableSPIObject) SetGlobalBufferOffset(offset uint64)

func (MTLIntersectionFunctionTableSPIObject) UniqueIdentifier

func (o MTLIntersectionFunctionTableSPIObject) UniqueIdentifier() uint64

type MTLLateEvalEvent

type MTLLateEvalEvent interface {
	objectivec.IObject
}

MTLLateEvalEvent protocol.

type MTLLateEvalEventObject

type MTLLateEvalEventObject struct {
	objectivec.Object
}

MTLLateEvalEventObject wraps an existing Objective-C object that conforms to the MTLLateEvalEvent protocol.

func MTLLateEvalEventObjectFromID

func MTLLateEvalEventObjectFromID(id objc.ID) MTLLateEvalEventObject

MTLLateEvalEventObjectFromID constructs a MTLLateEvalEventObject from an objc.ID. The object is determined to conform to the protocol at runtime.

func (MTLLateEvalEventObject) BaseObject

func (o MTLLateEvalEventObject) BaseObject() objectivec.Object

type MTLObjectWithLabel

type MTLObjectWithLabel struct {
	objectivec.Object
}

A parent class referenced by other iogpu classes. [Full Topic]

func MTLObjectWithLabelFromID

func MTLObjectWithLabelFromID(id objc.ID) MTLObjectWithLabel

MTLObjectWithLabelFromID constructs a MTLObjectWithLabel from an objc.ID.

A parent class referenced by other iogpu classes.

func NewMTLObjectWithLabel

func NewMTLObjectWithLabel() MTLObjectWithLabel

NewMTLObjectWithLabel creates a new MTLObjectWithLabel instance.

func (MTLObjectWithLabel) Autorelease

func (m MTLObjectWithLabel) Autorelease() MTLObjectWithLabel

Autorelease adds the receiver to the current autorelease pool.

func (MTLObjectWithLabel) Init

Init initializes the instance.

type MTLObjectWithLabelClass

type MTLObjectWithLabelClass struct {
	// contains filtered or unexported fields
}

func GetMTLObjectWithLabelClass

func GetMTLObjectWithLabelClass() MTLObjectWithLabelClass

GetMTLObjectWithLabelClass returns the class object for _MTLObjectWithLabel.

func (MTLObjectWithLabelClass) Alloc

Alloc allocates memory for a new instance of the class.

func (MTLObjectWithLabelClass) Class

func (mc MTLObjectWithLabelClass) Class() objc.Class

Class returns the underlying Objective-C class pointer.

type MTLRangeAllocator

type MTLRangeAllocator struct {
	Elements             MTLRangeAllocatorElementRef
	NumElements          uint32
	Capacity             uint64
	CapacityIncrement    uint64
	DefaultAlignmentMask uint64
}

MTLRangeAllocator

type MTLRangeAllocatorElement

type MTLRangeAllocatorElement struct {
}

MTLRangeAllocatorElement

type MTLRangeAllocatorElementRef

type MTLRangeAllocatorElementRef uintptr

type MTLResidencySetSPI

type MTLResidencySetSPI interface {
	objectivec.IObject

	// AllCommittedAllocations protocol.
	AllCommittedAllocations() objectivec.IObject

	// CurrentGeneration protocol.
	CurrentGeneration() uint64

	// ExpiredGeneration protocol.
	ExpiredGeneration() uint64

	// GenerationForAllocation protocol.
	GenerationForAllocation(allocation objectivec.IObject) uint64

	// SetCurrentGeneration protocol.
	SetCurrentGeneration(generation uint64)

	// SetExpiredGeneration protocol.
	SetExpiredGeneration(generation uint64)
}

MTLResidencySetSPI protocol.

type MTLResidencySetSPIObject

type MTLResidencySetSPIObject struct {
	objectivec.Object
}

MTLResidencySetSPIObject wraps an existing Objective-C object that conforms to the MTLResidencySetSPI protocol.

func MTLResidencySetSPIObjectFromID

func MTLResidencySetSPIObjectFromID(id objc.ID) MTLResidencySetSPIObject

MTLResidencySetSPIObjectFromID constructs a MTLResidencySetSPIObject from an objc.ID. The object is determined to conform to the protocol at runtime.

func (MTLResidencySetSPIObject) AllCommittedAllocations

func (o MTLResidencySetSPIObject) AllCommittedAllocations() objectivec.IObject

func (MTLResidencySetSPIObject) BaseObject

func (MTLResidencySetSPIObject) CurrentGeneration

func (o MTLResidencySetSPIObject) CurrentGeneration() uint64

func (MTLResidencySetSPIObject) ExpiredGeneration

func (o MTLResidencySetSPIObject) ExpiredGeneration() uint64

func (MTLResidencySetSPIObject) GenerationForAllocation

func (o MTLResidencySetSPIObject) GenerationForAllocation(allocation objectivec.IObject) uint64

func (MTLResidencySetSPIObject) SetCurrentGeneration

func (o MTLResidencySetSPIObject) SetCurrentGeneration(generation uint64)

func (MTLResidencySetSPIObject) SetExpiredGeneration

func (o MTLResidencySetSPIObject) SetExpiredGeneration(generation uint64)

type MTLResourceSPI

type MTLResourceSPI interface {
	objectivec.IObject

	// AllocationID protocol.
	AllocationID() uint64

	// DoesAliasAllResourcesCount protocol.
	DoesAliasAllResourcesCount(resources []objectivec.IObject, count uint64) bool

	// DoesAliasAnyResourcesCount protocol.
	DoesAliasAnyResourcesCount(resources []objectivec.IObject, count uint64) bool

	// DoesAliasResource protocol.
	DoesAliasResource(resource objectivec.IObject) bool

	// IsComplete protocol.
	IsComplete() bool

	// IsPurgeable protocol.
	IsPurgeable() bool

	// IsWriteComplete protocol.
	IsWriteComplete() bool

	// ProtectionOptions protocol.
	ProtectionOptions() uint64

	// ResponsibleProcess protocol.
	ResponsibleProcess() int

	// SetOwnerWithIdentity protocol.
	SetOwnerWithIdentity(identity uint32) int

	// SetResponsibleProcess protocol.
	SetResponsibleProcess(process int)

	// UnfilteredResourceOptions protocol.
	UnfilteredResourceOptions() uint64

	// WaitUntilComplete protocol.
	WaitUntilComplete()
}

MTLResourceSPI protocol.

type MTLResourceSPIObject

type MTLResourceSPIObject struct {
	objectivec.Object
}

MTLResourceSPIObject wraps an existing Objective-C object that conforms to the MTLResourceSPI protocol.

func MTLResourceSPIObjectFromID

func MTLResourceSPIObjectFromID(id objc.ID) MTLResourceSPIObject

MTLResourceSPIObjectFromID constructs a MTLResourceSPIObject from an objc.ID. The object is determined to conform to the protocol at runtime.

func (MTLResourceSPIObject) AllocationID

func (o MTLResourceSPIObject) AllocationID() uint64

func (MTLResourceSPIObject) BaseObject

func (o MTLResourceSPIObject) BaseObject() objectivec.Object

func (MTLResourceSPIObject) DoesAliasAllResourcesCount

func (o MTLResourceSPIObject) DoesAliasAllResourcesCount(resources []objectivec.IObject, count uint64) bool

func (MTLResourceSPIObject) DoesAliasAnyResourcesCount

func (o MTLResourceSPIObject) DoesAliasAnyResourcesCount(resources []objectivec.IObject, count uint64) bool

func (MTLResourceSPIObject) DoesAliasResource

func (o MTLResourceSPIObject) DoesAliasResource(resource objectivec.IObject) bool

func (MTLResourceSPIObject) IsComplete

func (o MTLResourceSPIObject) IsComplete() bool

func (MTLResourceSPIObject) IsPurgeable

func (o MTLResourceSPIObject) IsPurgeable() bool

func (MTLResourceSPIObject) IsWriteComplete

func (o MTLResourceSPIObject) IsWriteComplete() bool

func (MTLResourceSPIObject) ProtectionOptions

func (o MTLResourceSPIObject) ProtectionOptions() uint64

func (MTLResourceSPIObject) ResponsibleProcess

func (o MTLResourceSPIObject) ResponsibleProcess() int

func (MTLResourceSPIObject) SetOwnerWithIdentity

func (o MTLResourceSPIObject) SetOwnerWithIdentity(identity uint32) int

func (MTLResourceSPIObject) SetResponsibleProcess

func (o MTLResourceSPIObject) SetResponsibleProcess(process int)

func (MTLResourceSPIObject) UnfilteredResourceOptions

func (o MTLResourceSPIObject) UnfilteredResourceOptions() uint64

func (MTLResourceSPIObject) WaitUntilComplete

func (o MTLResourceSPIObject) WaitUntilComplete()

type MTLTensorSPI

type MTLTensorSPI interface {
	objectivec.IObject

	// GetBytesStridesFromSlice protocol.
	GetBytesStridesFromSlice(bytes unsafe.Pointer, strides objectivec.IObject, slice MTLTensorSlice)

	// InternalMTLBuffer protocol.
	InternalMTLBuffer() objectivec.IObject

	// IsTensorViewableWithReshapedDescriptor protocol.
	IsTensorViewableWithReshapedDescriptor(descriptor objectivec.IObject) bool

	// NewTensorViewWithReshapedDescriptorError protocol.
	NewTensorViewWithReshapedDescriptorError(descriptor objectivec.IObject) (objectivec.IObject, error)

	// NewTensorViewWithSliceError protocol.
	NewTensorViewWithSliceError(slice MTLTensorSlice) (objectivec.IObject, error)

	// Offset protocol.
	Offset() uint64

	// ParentTensor protocol.
	ParentTensor() objectivec.IObject

	// ReplaceSliceWithBytesStrides protocol.
	ReplaceSliceWithBytesStrides(slice MTLTensorSlice, bytes unsafe.Pointer, strides objectivec.IObject)

	// ResourceIndex protocol.
	ResourceIndex() uint64
}

MTLTensorSPI protocol.

type MTLTensorSPIObject

type MTLTensorSPIObject struct {
	objectivec.Object
}

MTLTensorSPIObject wraps an existing Objective-C object that conforms to the MTLTensorSPI protocol.

func MTLTensorSPIObjectFromID

func MTLTensorSPIObjectFromID(id objc.ID) MTLTensorSPIObject

MTLTensorSPIObjectFromID constructs a MTLTensorSPIObject from an objc.ID. The object is determined to conform to the protocol at runtime.

func (MTLTensorSPIObject) BaseObject

func (o MTLTensorSPIObject) BaseObject() objectivec.Object

func (MTLTensorSPIObject) GetBytesStridesFromSlice

func (o MTLTensorSPIObject) GetBytesStridesFromSlice(bytes unsafe.Pointer, strides objectivec.IObject, slice MTLTensorSlice)

func (MTLTensorSPIObject) InternalMTLBuffer

func (o MTLTensorSPIObject) InternalMTLBuffer() objectivec.IObject

func (MTLTensorSPIObject) IsTensorViewableWithReshapedDescriptor

func (o MTLTensorSPIObject) IsTensorViewableWithReshapedDescriptor(descriptor objectivec.IObject) bool

func (MTLTensorSPIObject) NewTensorViewWithReshapedDescriptorError

func (o MTLTensorSPIObject) NewTensorViewWithReshapedDescriptorError(descriptor objectivec.IObject) (objectivec.IObject, error)

func (MTLTensorSPIObject) NewTensorViewWithSliceError

func (o MTLTensorSPIObject) NewTensorViewWithSliceError(slice MTLTensorSlice) (objectivec.IObject, error)

func (MTLTensorSPIObject) Offset

func (o MTLTensorSPIObject) Offset() uint64

func (MTLTensorSPIObject) ParentTensor

func (o MTLTensorSPIObject) ParentTensor() objectivec.IObject

func (MTLTensorSPIObject) ReplaceSliceWithBytesStrides

func (o MTLTensorSPIObject) ReplaceSliceWithBytesStrides(slice MTLTensorSlice, bytes unsafe.Pointer, strides objectivec.IObject)

func (MTLTensorSPIObject) ResourceIndex

func (o MTLTensorSPIObject) ResourceIndex() uint64

type MTLTensorSlice

type MTLTensorSlice struct {
	Field1 objectivec.Object
	Field2 objectivec.Object
}

MTLTensorSlice

type MTLVisibleFunctionTableSPI

type MTLVisibleFunctionTableSPI interface {
	objectivec.IObject

	// BufferAddressAtIndex protocol.
	BufferAddressAtIndex(index uint64) uint64

	// GlobalBuffer protocol.
	GlobalBuffer() objectivec.IObject

	// GlobalBufferOffset protocol.
	GlobalBufferOffset() uint64

	// GpuAddress protocol.
	GpuAddress() uint64

	// GpuHandle protocol.
	GpuHandle() uint64

	// ResourceIndex protocol.
	ResourceIndex() uint64

	// SetBufferOffsetAtIndex protocol.
	SetBufferOffsetAtIndex(buffer objectivec.IObject, offset uint64, index uint64)

	// SetBuffersOffsetsWithRange protocol.
	SetBuffersOffsetsWithRange(buffers []objectivec.IObject, offsets *uint64, range_ foundation.NSRange)

	// SetGlobalBuffer protocol.
	SetGlobalBuffer(buffer objectivec.IObject)

	// SetGlobalBufferOffset protocol.
	SetGlobalBufferOffset(offset uint64)

	// SetValueAtIndex protocol.
	SetValueAtIndex(value uint64, index uint64)

	// SetValueWithRange protocol.
	SetValueWithRange(value uint64, range_ foundation.NSRange)

	// SetVisibleFunctionTableAtBufferIndex protocol.
	SetVisibleFunctionTableAtBufferIndex(table objectivec.IObject, index uint64)

	// SetVisibleFunctionTablesWithBufferRange protocol.
	SetVisibleFunctionTablesWithBufferRange(tables []objectivec.IObject, range_ foundation.NSRange)

	// UniqueIdentifier protocol.
	UniqueIdentifier() uint64
}

MTLVisibleFunctionTableSPI protocol.

type MTLVisibleFunctionTableSPIObject

type MTLVisibleFunctionTableSPIObject struct {
	objectivec.Object
}

MTLVisibleFunctionTableSPIObject wraps an existing Objective-C object that conforms to the MTLVisibleFunctionTableSPI protocol.

func MTLVisibleFunctionTableSPIObjectFromID

func MTLVisibleFunctionTableSPIObjectFromID(id objc.ID) MTLVisibleFunctionTableSPIObject

MTLVisibleFunctionTableSPIObjectFromID constructs a MTLVisibleFunctionTableSPIObject from an objc.ID. The object is determined to conform to the protocol at runtime.

func (MTLVisibleFunctionTableSPIObject) BaseObject

func (MTLVisibleFunctionTableSPIObject) BufferAddressAtIndex

func (o MTLVisibleFunctionTableSPIObject) BufferAddressAtIndex(index uint64) uint64

func (MTLVisibleFunctionTableSPIObject) GlobalBuffer

func (MTLVisibleFunctionTableSPIObject) GlobalBufferOffset

func (o MTLVisibleFunctionTableSPIObject) GlobalBufferOffset() uint64

func (MTLVisibleFunctionTableSPIObject) GpuAddress

func (MTLVisibleFunctionTableSPIObject) GpuHandle

func (MTLVisibleFunctionTableSPIObject) ResourceIndex

func (o MTLVisibleFunctionTableSPIObject) ResourceIndex() uint64

func (MTLVisibleFunctionTableSPIObject) SetBufferOffsetAtIndex

func (o MTLVisibleFunctionTableSPIObject) SetBufferOffsetAtIndex(buffer objectivec.IObject, offset uint64, index uint64)

func (MTLVisibleFunctionTableSPIObject) SetBuffersOffsetsWithRange

func (o MTLVisibleFunctionTableSPIObject) SetBuffersOffsetsWithRange(buffers []objectivec.IObject, offsets *uint64, range_ foundation.NSRange)

func (MTLVisibleFunctionTableSPIObject) SetGlobalBuffer

func (o MTLVisibleFunctionTableSPIObject) SetGlobalBuffer(buffer objectivec.IObject)

func (MTLVisibleFunctionTableSPIObject) SetGlobalBufferOffset

func (o MTLVisibleFunctionTableSPIObject) SetGlobalBufferOffset(offset uint64)

func (MTLVisibleFunctionTableSPIObject) SetValueAtIndex

func (o MTLVisibleFunctionTableSPIObject) SetValueAtIndex(value uint64, index uint64)

func (MTLVisibleFunctionTableSPIObject) SetValueWithRange

func (o MTLVisibleFunctionTableSPIObject) SetValueWithRange(value uint64, range_ foundation.NSRange)

func (MTLVisibleFunctionTableSPIObject) SetVisibleFunctionTableAtBufferIndex

func (o MTLVisibleFunctionTableSPIObject) SetVisibleFunctionTableAtBufferIndex(table objectivec.IObject, index uint64)

func (MTLVisibleFunctionTableSPIObject) SetVisibleFunctionTablesWithBufferRange

func (o MTLVisibleFunctionTableSPIObject) SetVisibleFunctionTablesWithBufferRange(tables []objectivec.IObject, range_ foundation.NSRange)

func (MTLVisibleFunctionTableSPIObject) UniqueIdentifier

func (o MTLVisibleFunctionTableSPIObject) UniqueIdentifier() uint64

type MachRightSend

type MachRightSend struct {
	Mrs_name uint32
}

MachRightSend

type Mach_right_send

type Mach_right_send = MachRightSend

Mach_right_send is a type alias for MachRightSend for use in objc.Send[T] calls.

type OSUnfairLockS

type OSUnfairLockS struct {
	Field1 uint32
}

OSUnfairLockS

type OpaquePthreadMutex

type OpaquePthreadMutex struct {
	// contains filtered or unexported fields
}

OpaquePthreadMutex

type Opaque_pthread_mutex_t

type Opaque_pthread_mutex_t = OpaquePthreadMutex

Opaque_pthread_mutex_t is a type alias for OpaquePthreadMutex for use in objc.Send[T] calls.

type Os_unfair_lock_s

type Os_unfair_lock_s = OSUnfairLockS

Os_unfair_lock_s is a type alias for OSUnfairLockS for use in objc.Send[T] calls.

type SIOGPUKernelCommandSetResourceGroupsArgs

type SIOGPUKernelCommandSetResourceGroupsArgs struct {
}

SIOGPUKernelCommandSetResourceGroupsArgs

type SIOGPUKernelCommandSetResourceGroupsArgsRef

type SIOGPUKernelCommandSetResourceGroupsArgsRef uintptr

type SShmemlog

type SShmemlog struct {
}

SShmemlog

type SShmemlogRef

type SShmemlogRef uintptr

type S_shmemlog_

type S_shmemlog_ = SShmemlog

S_shmemlog_ is a type alias for SShmemlog for use in objc.Send[T] calls.

type ShmemPoolQueue

type ShmemPoolQueue struct {
	Tqh_first *IOGPUMetalDeviceShmem
	Tqh_last  objc.ID
}

ShmemPoolQueue

type ShmemlogList

type ShmemlogList struct {
	Field1 SShmemlogRef
}

ShmemlogList

type Shmemlog_list

type Shmemlog_list = ShmemlogList

Shmemlog_list is a type alias for ShmemlogList for use in objc.Send[T] calls.

type VoidHandler

type VoidHandler = func()

VoidHandler is the signature for a completion handler block.

Used by:

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL