One Logo Pool Ball
Metal · IOS API REFERENCE

MTLFunctionConstantValues

class · iOS 10.0+ · SDK 27.1

class MTLFunctionConstantValues

Members (5)

init

init

TypeScript
static init(): MTLFunctionConstantValues
Swift declaration
init()
method · iOS 10.0+

reset

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

setConstantValue

TypeScript
setConstantValueTypeIndex(value: SDKHandle, type: MTLDataType, index: number): void
Swift declaration
func setConstantValue(_ value: UnsafeRawPointer, type: MTLDataType, index: Int)
method · iOS 10.0+

setConstantValue

TypeScript
setConstantValueTypeWithName(value: SDKHandle, type: MTLDataType, name: string): void
Swift declaration
func setConstantValue(_ value: UnsafeRawPointer, type: MTLDataType, withName name: String)
method · iOS 10.0+

setConstantValues

TypeScript
setConstantValues(values: SDKHandle, type: MTLDataType, range: SDKHandle): void
Swift declaration
func setConstantValues(_ values: UnsafeRawPointer, type: MTLDataType, range: Range<Int>)

Skipped declarations

No declarations were skipped in this snapshot.

All Metal types →