Package org.robovm.apple.metal
Class MTLResourceAdapter
java.lang.Object
org.robovm.rt.bro.NativeObject
org.robovm.objc.ObjCObject
org.robovm.apple.foundation.NSObject
org.robovm.apple.metal.MTLResourceAdapter
- All Implemented Interfaces:
NSObjectProtocol,MTLResource,ObjCProtocol
- Direct Known Subclasses:
MTLAccelerationStructureAdapter,MTLIndirectCommandBufferAdapter,MTLIntersectionFunctionTableAdapter,MTLVisibleFunctionTableAdapter
public class MTLResourceAdapter extends NSObject implements MTLResource
-
Nested Class Summary
Nested classes/interfaces inherited from class org.robovm.apple.foundation.NSObject
NSObject.Handle, NSObject.Marshaler, NSObject.NoRetainMarshaler, NSObject.NSKeyValueObserver, NSObject.NSObjectPtr, NSObject.SkipInitNested classes/interfaces inherited from class org.robovm.objc.ObjCObject
ObjCObject.ObjCObjectPtr, ObjCObject.Super -
Field Summary
-
Constructor Summary
Constructors Constructor Description MTLResourceAdapter() -
Method Summary
Modifier and Type Method Description longgetAllocatedSize()MTLCPUCacheModegetCpuCacheMode()MTLDevicegetDevice()MTLHazardTrackingModegetHazardTrackingMode()MTLHeapgetHeap()longgetHeapOffset()StringgetLabel()MTLResourceOptionsgetResourceOptions()MTLStorageModegetStorageMode()booleanisAliasable()voidmakeAliasable()voidsetLabel(String v)MTLPurgeableStatesetPurgeableState(MTLPurgeableState state)Methods inherited from class org.robovm.apple.foundation.NSObject
addKeyValueObserver, addKeyValueObserver, afterMarshaled, alloc, autorelease, autorelease, awakeFromNib, conformsToProtocol, copy, description, didChangeValue, didChangeValue, didChangeValues, doDispose, equals, forceSkipInit, getAutoContentAccessingProxy, getClassForCoder, getClassForKeyedArchiver, getKeyValueCoder, getObservationInfo, hash, hashCode, init, isEqual, isKindOfClass, isMemberOfClass, mutableCopy, performSelector, performSelector, performSelector, performSelector, performSelector, performSelector, performSelector, performSelectorInBackground, performSelectorOnMainThread, performSelectorOnMainThread, performSelectorV, performSelectorV, performSelectorV, release, release, removeKeyValueObserver, removeKeyValueObservers, respondsToSelector, retain, retain, retainCount, setObservationInfo, toString, willChangeValue, willChangeValue, willChangeValuesMethods inherited from class org.robovm.objc.ObjCObject
addStrongRef, dispose, dispose, finalize, getAssociatedObject, getObjCClass, getPeerObject, getSuper, initObject, logRetainRelease, removeStrongRef, retainCustomObjectFromCb, setAssociatedObject, toObjCObject, toObjCObject, updateStrongRef
-
Constructor Details
-
MTLResourceAdapter
public MTLResourceAdapter()
-
-
Method Details
-
getLabel
- Specified by:
getLabelin interfaceMTLResource
-
setLabel
- Specified by:
setLabelin interfaceMTLResource
-
getDevice
- Specified by:
getDevicein interfaceMTLResource
-
getCpuCacheMode
- Specified by:
getCpuCacheModein interfaceMTLResource
-
getStorageMode
- Specified by:
getStorageModein interfaceMTLResource- Since:
- Available in iOS 9.0 and later.
-
getHazardTrackingMode
- Specified by:
getHazardTrackingModein interfaceMTLResource- Since:
- Available in iOS 13.0 and later.
-
getResourceOptions
- Specified by:
getResourceOptionsin interfaceMTLResource- Since:
- Available in iOS 13.0 and later.
-
getHeap
- Specified by:
getHeapin interfaceMTLResource- Since:
- Available in iOS 10.0 and later.
-
getHeapOffset
public long getHeapOffset()- Specified by:
getHeapOffsetin interfaceMTLResource- Since:
- Available in iOS 13.0 and later.
-
getAllocatedSize
public long getAllocatedSize()- Specified by:
getAllocatedSizein interfaceMTLResource- Since:
- Available in iOS 11.0 and later.
-
setPurgeableState
- Specified by:
setPurgeableStatein interfaceMTLResource
-
makeAliasable
public void makeAliasable()- Specified by:
makeAliasablein interfaceMTLResource- Since:
- Available in iOS 10.0 and later.
-
isAliasable
public boolean isAliasable()- Specified by:
isAliasablein interfaceMTLResource- Since:
- Available in iOS 10.0 and later.
-