Package org.robovm.apple.metal
Class MTLDrawableAdapter
- java.lang.Object
-
- org.robovm.rt.bro.NativeObject
-
- org.robovm.objc.ObjCObject
-
- org.robovm.apple.foundation.NSObject
-
- org.robovm.apple.metal.MTLDrawableAdapter
-
- All Implemented Interfaces:
NSObjectProtocol
,MTLDrawable
,org.robovm.objc.ObjCProtocol
- Direct Known Subclasses:
CAMetalDrawableAdapter
public class MTLDrawableAdapter extends NSObject implements MTLDrawable
-
-
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.SkipInit
-
-
Field Summary
-
Fields inherited from class org.robovm.apple.foundation.NSObject
FLAG_NO_RETAIN
-
-
Constructor Summary
Constructors Constructor Description MTLDrawableAdapter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addPresentedHandler(org.robovm.objc.block.VoidBlock1<MTLDrawable> block)
long
getDrawableID()
double
getPresentedTime()
void
present()
void
presentAfterMinimumDuration(double duration)
void
presentAtTime(double presentationTime)
-
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, willChangeValues
-
-
-
-
Method Detail
-
getPresentedTime
public double getPresentedTime()
- Specified by:
getPresentedTime
in interfaceMTLDrawable
- Since:
- Available in iOS 10.3 and later.
-
getDrawableID
public long getDrawableID()
- Specified by:
getDrawableID
in interfaceMTLDrawable
- Since:
- Available in iOS 10.3 and later.
-
present
public void present()
- Specified by:
present
in interfaceMTLDrawable
-
presentAtTime
public void presentAtTime(double presentationTime)
- Specified by:
presentAtTime
in interfaceMTLDrawable
-
presentAfterMinimumDuration
public void presentAfterMinimumDuration(double duration)
- Specified by:
presentAfterMinimumDuration
in interfaceMTLDrawable
- Since:
- Available in iOS 10.3 and later.
-
addPresentedHandler
public void addPresentedHandler(org.robovm.objc.block.VoidBlock1<MTLDrawable> block)
- Specified by:
addPresentedHandler
in interfaceMTLDrawable
- Since:
- Available in iOS 10.3 and later.
-
-