MDLSubmesh.GetIndexBuffer(MDLIndexBitDepth) 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.
Returns the index buffer for the submesh with the specified bit depth.
[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
Parameters
- indexType
- MDLIndexBitDepth
Returns
- Attributes