One Logo Pool Ball
MetalKit · IOS API REFERENCE

MTKSubmesh

class · iOS 9.0+ · SDK 27.1

class MTKSubmesh

Members (7)

get · iOS 9.0+

indexBuffer

TypeScript
get indexBuffer(): MTKMeshBuffer
Swift declaration
var indexBuffer: MTKMeshBuffer { get }
get · iOS 9.0+

indexCount

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

indexType

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

mesh

TypeScript
get mesh(): (MTKMesh) | null
Swift declaration
weak var mesh: MTKMesh? { get }
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+

primitiveType

TypeScript
get primitiveType(): _Metal_MTLPrimitiveType
Swift declaration
var primitiveType: MTLPrimitiveType { get }

Skipped declarations

1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.

MTKSubmesh.init()

inherited init: clang: 'init' is unavailable

All MetalKit types →