Instance Property

index

The index of the function constant.

Declaration

var index: Int { get }

See Also

Reading the Function Constant's Properties

var name: String

The name of the function constant.

var type: MTLDataType

The data type of the function constant.

var required: Bool

A Boolean value indicating whether the function constant must be provided to specialize the function.