Package org.robovm.apple.metalkit
Class MTKTypeConverter
- java.lang.Object
-
- org.robovm.apple.foundation.CocoaUtility
-
- org.robovm.apple.metalkit.MTKTypeConverter
-
public class MTKTypeConverter extends CocoaUtility
-
-
Constructor Summary
Constructors Constructor Description MTKTypeConverter()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static MDLVertexDescriptor
convertVertexDescriptor(MTLVertexDescriptor metalDescriptor)
static MTLVertexDescriptor
convertVertexDescriptor(MDLVertexDescriptor modelIODescriptor)
static MDLVertexDescriptor
convertVertexDescriptorEx(MTLVertexDescriptor metalDescriptor)
static MTLVertexDescriptor
convertVertexDescriptorEx(MDLVertexDescriptor modelIODescriptor)
static MDLVertexFormat
convertVertexFormat(MTLVertexFormat vertexFormat)
static MTLVertexFormat
convertVertexFormat(MDLVertexFormat vertexFormat)
-
-
-
Method Detail
-
convertVertexDescriptor
public static MDLVertexDescriptor convertVertexDescriptor(MTLVertexDescriptor metalDescriptor)
- Since:
- Available in iOS 9.0 and later.
-
convertVertexDescriptorEx
public static MDLVertexDescriptor convertVertexDescriptorEx(MTLVertexDescriptor metalDescriptor) throws NSErrorException
- Throws:
NSErrorException
- Since:
- Available in iOS 10.0 and later.
-
convertVertexDescriptor
public static MTLVertexDescriptor convertVertexDescriptor(MDLVertexDescriptor modelIODescriptor)
- Since:
- Available in iOS 9.0 and later.
-
convertVertexDescriptorEx
public static MTLVertexDescriptor convertVertexDescriptorEx(MDLVertexDescriptor modelIODescriptor) throws NSErrorException
- Throws:
NSErrorException
- Since:
- Available in iOS 10.0 and later.
-
convertVertexFormat
public static MDLVertexFormat convertVertexFormat(MTLVertexFormat vertexFormat)
- Since:
- Available in iOS 9.0 and later.
-
convertVertexFormat
public static MTLVertexFormat convertVertexFormat(MDLVertexFormat vertexFormat)
- Since:
- Available in iOS 9.0 and later.
-
-