One Logo Pool Ball
ModelIO · IOS API REFERENCE

MDLVertexDescriptor

class · iOS 9.0+ · SDK 27.1

class MDLVertexDescriptor

Members (11)

method · iOS 9.0+

addOrReplaceAttribute

TypeScript
addOrReplaceAttribute(attribute: MDLVertexAttribute): void
Swift declaration
func addOrReplaceAttribute(_ attribute: MDLVertexAttribute)
method · iOS 9.0+

attributeNamed

TypeScript
attributeNamed(name: string): (MDLVertexAttribute) | null
Swift declaration
func attributeNamed(_ name: String) -> MDLVertexAttribute?
init · iOS 9.0+

init

TypeScript
static init(vertexDescriptor: MDLVertexDescriptor): MDLVertexDescriptor
Swift declaration
init(vertexDescriptor: MDLVertexDescriptor)
method · iOS 9.0+

removeAttributeNamed

TypeScript
removeAttributeNamed(name: string): void
Swift declaration
func removeAttributeNamed(_ name: String)
method · iOS 9.0+

reset

TypeScript
reset(): void
Swift declaration
func reset()
method · iOS 9.0+

setPackedOffsets

TypeScript
setPackedOffsets(): void
Swift declaration
func setPackedOffsets()
method · iOS 9.0+

setPackedStrides

TypeScript
setPackedStrides(): void
Swift declaration
func setPackedStrides()
get · iOS 9.0+

attributes

TypeScript
get attributes(): _Foundation_NSMutableArray
Swift declaration
var attributes: NSMutableArray { get set }
set · iOS 9.0+

attributes

TypeScript
set attributes(value: _Foundation_NSMutableArray)
Swift declaration
var attributes: NSMutableArray { get set }
get · iOS 9.0+

layouts

TypeScript
get layouts(): _Foundation_NSMutableArray
Swift declaration
var layouts: NSMutableArray { get set }
set · iOS 9.0+

layouts

TypeScript
set layouts(value: _Foundation_NSMutableArray)
Swift declaration
var layouts: NSMutableArray { get set }

Skipped declarations

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

MDLVertexDescriptor.init()

inherited init: cannot prove legal (class declares 1 custom initializer)

All ModelIO types →