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,ObjCProtocol
public final class MTLLibrary extends NSObject implements NSObjectProtocol
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMTLLibrary.MTLLibraryPtrNested 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 MTLLibrary() -
Method Summary
Modifier and Type Method Description MTLDevicegetDevice()List<String>getFunctionNames()StringgetInstallName()StringgetLabel()MTLLibraryTypegetType()MTLFunctionnewFunction(String functionName)MTLFunctionnewFunction(String name, MTLFunctionConstantValues constantValues)voidnewFunction(String name, MTLFunctionConstantValues constantValues, VoidBlock2<MTLFunction,NSError> completionHandler)MTLFunctionnewFunction(MTLFunctionDescriptor descriptor, NSError.NSErrorPtr error)voidnewFunction(MTLFunctionDescriptor descriptor, VoidBlock2<MTLFunction,NSError> completionHandler)MTLFunctionnewIntersectionFunction(MTLIntersectionFunctionDescriptor descriptor, NSError.NSErrorPtr error)voidnewIntersectionFunction(MTLIntersectionFunctionDescriptor descriptor, VoidBlock2<MTLFunction,NSError> completionHandler)voidsetLabel(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, 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
-
MTLLibrary
public MTLLibrary()
-
-
Method Details
-
getLabel
-
setLabel
-
getDevice
-
getFunctionNames
-
getType
- Since:
- Available in iOS 14.0 and later.
-
getInstallName
- Since:
- Available in iOS 14.0 and later.
-
newFunction
-
newFunction
public MTLFunction newFunction(String name, MTLFunctionConstantValues constantValues) throws NSErrorException- Throws:
NSErrorException- Since:
- Available in iOS 10.0 and later.
-
newFunction
public void newFunction(String name, MTLFunctionConstantValues constantValues, VoidBlock2<MTLFunction,NSError> completionHandler)- Since:
- Available in iOS 10.0 and later.
-
newFunction
public void newFunction(MTLFunctionDescriptor descriptor, VoidBlock2<MTLFunction,NSError> completionHandler)- Since:
- Available in iOS 14.0 and later.
-
newFunction
- Since:
- Available in iOS 14.0 and later.
-
newIntersectionFunction
public void newIntersectionFunction(MTLIntersectionFunctionDescriptor descriptor, VoidBlock2<MTLFunction,NSError> completionHandler)- Since:
- Available in iOS 14.0 and later.
-
newIntersectionFunction
public MTLFunction newIntersectionFunction(MTLIntersectionFunctionDescriptor descriptor, NSError.NSErrorPtr error)- Since:
- Available in iOS 14.0 and later.
-