Package org.robovm.apple.metal
Interface MTLHeap
- All Superinterfaces:
NSObjectProtocol,ObjCProtocol
- All Known Implementing Classes:
MTLHeapAdapter
public interface MTLHeap extends NSObjectProtocol
- Since:
- Available in iOS 10.0 and later.
-
Method Summary
Modifier and Type Method Description MTLCPUCacheModegetCpuCacheMode()longgetCurrentAllocatedSize()MTLDevicegetDevice()MTLHazardTrackingModegetHazardTrackingMode()StringgetLabel()longgetMaxAvailableSize(long alignment)MTLResourceOptionsgetResourceOptions()longgetSize()MTLStorageModegetStorageMode()MTLHeapTypegetType()longgetUsedSize()MTLBuffernewBuffer(long length, MTLResourceOptions options)MTLBuffernewBuffer(long length, MTLResourceOptions options, long offset)MTLTexturenewTexture(MTLTextureDescriptor desc)MTLTexturenewTexture(MTLTextureDescriptor descriptor, long offset)voidsetLabel(String v)MTLPurgeableStatesetPurgeableState(MTLPurgeableState state)
-
Method Details
-
getLabel
String getLabel() -
setLabel
-
getDevice
MTLDevice getDevice() -
getStorageMode
MTLStorageMode getStorageMode() -
getCpuCacheMode
MTLCPUCacheMode getCpuCacheMode() -
getHazardTrackingMode
MTLHazardTrackingMode getHazardTrackingMode()- Since:
- Available in iOS 13.0 and later.
-
getResourceOptions
MTLResourceOptions getResourceOptions()- Since:
- Available in iOS 13.0 and later.
-
getSize
long getSize() -
getUsedSize
long getUsedSize() -
getCurrentAllocatedSize
long getCurrentAllocatedSize()- Since:
- Available in iOS 11.0 and later.
-
getType
MTLHeapType getType()- Since:
- Available in iOS 13.0 and later.
-
getMaxAvailableSize
long getMaxAvailableSize(long alignment) -
newBuffer
-
newTexture
-
setPurgeableState
-
newBuffer
- Since:
- Available in iOS 13.0 and later.
-
newTexture
- Since:
- Available in iOS 13.0 and later.
-