Package org.robovm.apple.metal
Class MTLLibrary
- java.lang.Object
-
- org.robovm.rt.bro.NativeObject
-
- org.robovm.objc.ObjCObject
-
- org.robovm.apple.foundation.NSObject
-
- org.robovm.apple.metal.MTLLibrary
-
- All Implemented Interfaces:
NSObjectProtocol
,org.robovm.objc.ObjCProtocol
public final class MTLLibrary extends NSObject implements NSObjectProtocol
- Since:
- Available in iOS 8.0 and later.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
MTLLibrary.MTLLibraryPtr
-
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 MTLLibrary()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MTLDevice
getDevice()
java.util.List<java.lang.String>
getFunctionNames()
java.lang.String
getLabel()
MTLFunction
newFunction(java.lang.String functionName)
MTLFunction
newFunction(java.lang.String name, MTLFunctionConstantValues constantValues)
void
newFunction(java.lang.String name, MTLFunctionConstantValues constantValues, org.robovm.objc.block.VoidBlock2<MTLFunction,NSError> completionHandler)
void
setLabel(java.lang.String v)
-
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
-
getLabel
public java.lang.String getLabel()
-
setLabel
public void setLabel(java.lang.String v)
-
getDevice
public MTLDevice getDevice()
-
getFunctionNames
public java.util.List<java.lang.String> getFunctionNames()
-
newFunction
public MTLFunction newFunction(java.lang.String functionName)
-
newFunction
public MTLFunction newFunction(java.lang.String name, MTLFunctionConstantValues constantValues) throws NSErrorException
- Throws:
NSErrorException
- Since:
- Available in iOS 10.0 and later.
-
newFunction
public void newFunction(java.lang.String name, MTLFunctionConstantValues constantValues, org.robovm.objc.block.VoidBlock2<MTLFunction,NSError> completionHandler)
- Since:
- Available in iOS 10.0 and later.
-
-