Share via


MDLVertexDescriptor.AttributeNamed(String) Method

Definition

Returns the attribute that is identified by name.

[Foundation.Export("attributeNamed:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual ModelIO.MDLVertexAttribute? AttributeNamed(string name);
[<Foundation.Export("attributeNamed:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member AttributeNamed : string -> ModelIO.MDLVertexAttribute
override this.AttributeNamed : string -> ModelIO.MDLVertexAttribute

Parameters

name
String

Returns

Attributes

Applies to