Share via


MDLSubmesh.GetIndexBuffer(MDLIndexBitDepth) Method

Definition

Returns the index buffer for the submesh with the specified bit depth.

[Foundation.Export("indexBufferAsIndexType:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual ModelIO.IMDLMeshBuffer GetIndexBuffer(ModelIO.MDLIndexBitDepth indexType);
[<Foundation.Export("indexBufferAsIndexType:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member GetIndexBuffer : ModelIO.MDLIndexBitDepth -> ModelIO.IMDLMeshBuffer
override this.GetIndexBuffer : ModelIO.MDLIndexBitDepth -> ModelIO.IMDLMeshBuffer

Parameters

indexType
MDLIndexBitDepth

Returns

Attributes

Applies to