MDLVertexDescriptor.AddOrReplaceAttribute(MDLVertexAttribute) 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.
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