共用方式為


MDLSubmesh.GetIndexBuffer(MDLIndexBitDepth) 方法

定義

傳回具有指定位深度之子訊息的索引緩衝區。

[Foundation.Export("indexBufferAsIndexType:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 12, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual ModelIO.IMDLMeshBuffer GetIndexBuffer (ModelIO.MDLIndexBitDepth indexType);
abstract member GetIndexBuffer : ModelIO.MDLIndexBitDepth -> ModelIO.IMDLMeshBuffer
override this.GetIndexBuffer : ModelIO.MDLIndexBitDepth -> ModelIO.IMDLMeshBuffer

參數

indexType
MDLIndexBitDepth

傳回

屬性

適用於