Instance Property

type

The data type of the function constant.

Declaration

var type: MTLDataType { get }

See Also

Reading the Function Constant's Properties

var name: String

The name of the function constant.

var index: Int

The index of the function constant.

var required: Bool

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