One Logo Pool Ball
ModelIO · IOS API REFERENCE

MDLSubmesh

class · iOS 9.0+ · SDK 27.1

class MDLSubmesh

Members (15)

method · iOS 9.0+

indexBuffer

TypeScript
indexBufferAsIndexType(indexType: MDLIndexBitDepth): SDKHandle
Swift declaration
func indexBuffer(asIndexType indexType: MDLIndexBitDepth) -> any MDLMeshBuffer
init · iOS 9.0+

init

TypeScript
static initIndexBufferIndexCountIndexTypeGeometryTypeMaterial(indexBuffer: SDKHandle, indexCount: number, indexType: MDLIndexBitDepth, geometryType: MDLGeometryType, material?: (MDLMaterial) | null): MDLSubmesh
Swift declaration
init(indexBuffer: any MDLMeshBuffer, indexCount: Int, indexType: MDLIndexBitDepth, geometryType: MDLGeometryType, material: MDLMaterial?)
init · iOS 9.0+

init

TypeScript
static initMdlSubmeshIndexTypeGeometryType(submesh: MDLSubmesh, indexType: MDLIndexBitDepth, geometryType: MDLGeometryType): (MDLSubmesh) | null
Swift declaration
init?(mdlSubmesh submesh: MDLSubmesh, indexType: MDLIndexBitDepth, geometryType: MDLGeometryType)
init · iOS 9.0+

init

TypeScript
static initNameIndexBufferIndexCountIndexTypeGeometryTypeMaterial(name: string, indexBuffer: SDKHandle, indexCount: number, indexType: MDLIndexBitDepth, geometryType: MDLGeometryType, material?: (MDLMaterial) | null): MDLSubmesh
Swift declaration
init(name: String, indexBuffer: any MDLMeshBuffer, indexCount: Int, indexType: MDLIndexBitDepth, geometryType: MDLGeometryType, material: MDLMaterial?)
init · iOS 9.0+

init

TypeScript
static initNameIndexBufferIndexCountIndexTypeGeometryTypeMaterialTopology(name: string, indexBuffer: SDKHandle, indexCount: number, indexType: MDLIndexBitDepth, geometryType: MDLGeometryType, material?: (MDLMaterial) | null, topology?: (MDLSubmeshTopology) | null): MDLSubmesh
Swift declaration
init(name: String, indexBuffer: any MDLMeshBuffer, indexCount: Int, indexType: MDLIndexBitDepth, geometryType: MDLGeometryType, material: MDLMaterial?, topology: MDLSubmeshTopology?)
get · iOS 9.0+

geometryType

TypeScript
get geometryType(): MDLGeometryType
Swift declaration
var geometryType: MDLGeometryType { get }
get · iOS 9.0+

indexBuffer

TypeScript
get indexBuffer(): SDKHandle
Swift declaration
var indexBuffer: any MDLMeshBuffer { get }
get · iOS 9.0+

indexCount

TypeScript
get indexCount(): number
Swift declaration
var indexCount: Int { get }
get · iOS 9.0+

indexType

TypeScript
get indexType(): MDLIndexBitDepth
Swift declaration
var indexType: MDLIndexBitDepth { get }
get · iOS 9.0+

material

TypeScript
get material(): (MDLMaterial) | null
Swift declaration
var material: MDLMaterial? { get set }
set · iOS 9.0+

material

TypeScript
set material(value: (MDLMaterial) | null)
Swift declaration
var material: MDLMaterial? { get set }
get · iOS 9.0+

name

TypeScript
get name(): string
Swift declaration
var name: String { get set }
set · iOS 9.0+

name

TypeScript
set name(value: string)
Swift declaration
var name: String { get set }
get · iOS 9.0+

topology

TypeScript
get topology(): (MDLSubmeshTopology) | null
Swift declaration
var topology: MDLSubmeshTopology? { get set }
set · iOS 9.0+

topology

TypeScript
set topology(value: (MDLSubmeshTopology) | null)
Swift declaration
var topology: MDLSubmeshTopology? { get set }

Skipped declarations

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)

All ModelIO types →