Instance Property

type

The data type of the function constant.

Declaration

@property(readonly) MTLDataType type;

See Also

Reading the Function Constant's Properties

name

The name of the function constant.

index

The index of the function constant.

required

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