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

返回

属性

适用于