Package org.robovm.apple.metal
Interface MTLHeap
-
- All Superinterfaces:
NSObjectProtocol
,org.robovm.objc.ObjCProtocol
- All Known Implementing Classes:
MTLHeapAdapter
public interface MTLHeap extends NSObjectProtocol
- Since:
- Available in iOS 10.0 and later.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description MTLCPUCacheMode
getCpuCacheMode()
long
getCurrentAllocatedSize()
MTLDevice
getDevice()
java.lang.String
getLabel()
long
getMaxAvailableSize(long alignment)
long
getSize()
MTLStorageMode
getStorageMode()
long
getUsedSize()
MTLBuffer
newBuffer(long length, MTLResourceOptions options)
MTLTexture
newTexture(MTLTextureDescriptor desc)
void
setLabel(java.lang.String v)
MTLPurgeableState
setPurgeableState(MTLPurgeableState state)
-
-
-
Method Detail
-
getLabel
java.lang.String getLabel()
-
setLabel
void setLabel(java.lang.String v)
-
getDevice
MTLDevice getDevice()
-
getStorageMode
MTLStorageMode getStorageMode()
-
getCpuCacheMode
MTLCPUCacheMode getCpuCacheMode()
-
getSize
long getSize()
-
getUsedSize
long getUsedSize()
-
getCurrentAllocatedSize
long getCurrentAllocatedSize()
- Since:
- Available in iOS 11.0 and later.
-
getMaxAvailableSize
long getMaxAvailableSize(long alignment)
-
newBuffer
MTLBuffer newBuffer(long length, MTLResourceOptions options)
-
newTexture
MTLTexture newTexture(MTLTextureDescriptor desc)
-
setPurgeableState
MTLPurgeableState setPurgeableState(MTLPurgeableState state)
-
-