indexBuffer
TypeScriptindexBufferAsIndexType(indexType: MDLIndexBitDepth): SDKHandleSwift declarationfunc indexBuffer(asIndexType indexType: MDLIndexBitDepth) -> any MDLMeshBufferclass · iOS 9.0+ · SDK 27.1
class MDLSubmeshindexBufferAsIndexType(indexType: MDLIndexBitDepth): SDKHandleSwift declarationfunc indexBuffer(asIndexType indexType: MDLIndexBitDepth) -> any MDLMeshBufferstatic initIndexBufferIndexCountIndexTypeGeometryTypeMaterial(indexBuffer: SDKHandle, indexCount: number, indexType: MDLIndexBitDepth, geometryType: MDLGeometryType, material?: (MDLMaterial) | null): MDLSubmeshSwift declarationinit(indexBuffer: any MDLMeshBuffer, indexCount: Int, indexType: MDLIndexBitDepth, geometryType: MDLGeometryType, material: MDLMaterial?)static initMdlSubmeshIndexTypeGeometryType(submesh: MDLSubmesh, indexType: MDLIndexBitDepth, geometryType: MDLGeometryType): (MDLSubmesh) | nullSwift declarationinit?(mdlSubmesh submesh: MDLSubmesh, indexType: MDLIndexBitDepth, geometryType: MDLGeometryType)static initNameIndexBufferIndexCountIndexTypeGeometryTypeMaterial(name: string, indexBuffer: SDKHandle, indexCount: number, indexType: MDLIndexBitDepth, geometryType: MDLGeometryType, material?: (MDLMaterial) | null): MDLSubmeshSwift declarationinit(name: String, indexBuffer: any MDLMeshBuffer, indexCount: Int, indexType: MDLIndexBitDepth, geometryType: MDLGeometryType, material: MDLMaterial?)static initNameIndexBufferIndexCountIndexTypeGeometryTypeMaterialTopology(name: string, indexBuffer: SDKHandle, indexCount: number, indexType: MDLIndexBitDepth, geometryType: MDLGeometryType, material?: (MDLMaterial) | null, topology?: (MDLSubmeshTopology) | null): MDLSubmeshSwift declarationinit(name: String, indexBuffer: any MDLMeshBuffer, indexCount: Int, indexType: MDLIndexBitDepth, geometryType: MDLGeometryType, material: MDLMaterial?, topology: MDLSubmeshTopology?)get geometryType(): MDLGeometryTypeSwift declarationvar geometryType: MDLGeometryType { get }get indexBuffer(): SDKHandleSwift declarationvar indexBuffer: any MDLMeshBuffer { get }get indexCount(): numberSwift declarationvar indexCount: Int { get }get indexType(): MDLIndexBitDepthSwift declarationvar indexType: MDLIndexBitDepth { get }get material(): (MDLMaterial) | nullSwift declarationvar material: MDLMaterial? { get set }set material(value: (MDLMaterial) | null)Swift declarationvar material: MDLMaterial? { get set }get name(): stringSwift declarationvar name: String { get set }set name(value: string)Swift declarationvar name: String { get set }get topology(): (MDLSubmeshTopology) | nullSwift declarationvar topology: MDLSubmeshTopology? { get set }set topology(value: (MDLSubmeshTopology) | null)Swift declarationvar topology: MDLSubmeshTopology? { get set }1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.
MDLSubmesh.init()
inherited init: cannot prove legal (class declares 5 custom initializers)