Package org.robovm.apple.metal
Interface MTLResource
-
- All Superinterfaces:
NSObjectProtocol
,org.robovm.objc.ObjCProtocol
- All Known Subinterfaces:
MTLIndirectCommandBuffer
- All Known Implementing Classes:
MTLBuffer
,MTLIndirectCommandBufferAdapter
,MTLResourceAdapter
,MTLTexture
public interface MTLResource extends NSObjectProtocol
- Since:
- Available in iOS 8.0 and later.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description long
getAllocatedSize()
MTLCPUCacheMode
getCpuCacheMode()
MTLDevice
getDevice()
MTLHeap
getHeap()
java.lang.String
getLabel()
MTLStorageMode
getStorageMode()
boolean
isAliasable()
void
makeAliasable()
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()
-
getCpuCacheMode
MTLCPUCacheMode getCpuCacheMode()
-
getStorageMode
MTLStorageMode getStorageMode()
- Since:
- Available in iOS 9.0 and later.
-
getHeap
MTLHeap getHeap()
- Since:
- Available in iOS 10.0 and later.
-
getAllocatedSize
long getAllocatedSize()
- Since:
- Available in iOS 11.0 and later.
-
setPurgeableState
MTLPurgeableState setPurgeableState(MTLPurgeableState state)
-
makeAliasable
void makeAliasable()
- Since:
- Available in iOS 10.0 and later.
-
isAliasable
boolean isAliasable()
- Since:
- Available in iOS 10.0 and later.
-
-