MDLVertexDescriptor.AddOrReplaceAttribute(MDLVertexAttribute) Method

Definition

Adds attribute to the descriptor, or updates it if it is already present.

[Foundation.Export("addOrReplaceAttribute:")]
public virtual void AddOrReplaceAttribute (ModelIO.MDLVertexAttribute attribute);
abstract member AddOrReplaceAttribute : ModelIO.MDLVertexAttribute -> unit
override this.AddOrReplaceAttribute : ModelIO.MDLVertexAttribute -> unit

Parameters

attribute
MDLVertexAttribute
Attributes

Applies to