Contents

ComputeNodeGraph.NodeDefinition.Kind.convert(from:to:)

Convert from one primitive MTLDataType to another.

Declaration

case convert(from: ComputeNodeGraph.DataType, to: ComputeNodeGraph.DataType)

Discussion

Equivalent to calling Metal’s constructor of to with a value of type from