MDLVertexDescriptor.FromMetal 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
FromMetal(MTLVertexDescriptor) |
Creates a new vertex descriptor from a Metal vertex descriptor. |
FromMetal(MTLVertexDescriptor, NSError) |
Creates a Model IO vertex descriptor from the specified metal vertex descriptor. |
FromMetal(MTLVertexDescriptor)
Creates a new vertex descriptor from a Metal vertex descriptor.
public static ModelIO.MDLVertexDescriptor FromMetal (Metal.MTLVertexDescriptor descriptor);
static member FromMetal : Metal.MTLVertexDescriptor -> ModelIO.MDLVertexDescriptor
Parameters
- descriptor
- MTLVertexDescriptor
Returns
Applies to
FromMetal(MTLVertexDescriptor, NSError)
Creates a Model IO vertex descriptor from the specified metal vertex descriptor.
[ObjCRuntime.TV(10, 0)]
public static ModelIO.MDLVertexDescriptor FromMetal (Metal.MTLVertexDescriptor descriptor, out Foundation.NSError error);
static member FromMetal : Metal.MTLVertexDescriptor * -> ModelIO.MDLVertexDescriptor
Parameters
- descriptor
- MTLVertexDescriptor
- error
- NSError
Returns
- Attributes