MTLVertexDescriptor.FromModelIO Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
FromModelIO(MDLVertexDescriptor) |
Creates and returns a new vertex descriptor object from the provided Model IO vertex descriptor. |
FromModelIO(MDLVertexDescriptor, NSError) |
Creates and returns a new vertex descriptor object from the provided Model IO vertex descriptor. |
FromModelIO(MDLVertexDescriptor)
Creates and returns a new vertex descriptor object from the provided Model IO vertex descriptor.
public static Metal.MTLVertexDescriptor FromModelIO (ModelIO.MDLVertexDescriptor descriptor);
static member FromModelIO : ModelIO.MDLVertexDescriptor -> Metal.MTLVertexDescriptor
Parameters
- descriptor
- MDLVertexDescriptor
Returns
Applies to
FromModelIO(MDLVertexDescriptor, NSError)
Creates and returns a new vertex descriptor object from the provided Model IO vertex descriptor.
[ObjCRuntime.TV(10, 0)]
public static Metal.MTLVertexDescriptor FromModelIO (ModelIO.MDLVertexDescriptor descriptor, out Foundation.NSError error);
static member FromModelIO : ModelIO.MDLVertexDescriptor * -> Metal.MTLVertexDescriptor
Parameters
- descriptor
- MDLVertexDescriptor
- error
- NSError
Returns
- Attributes