Version: 2021.2

ShaderConstantType

enumeration

切换到手册

描述

Options for the shader constant value type.

变量

VectorThe shader constant is a vector or a scalar (a vector with one column). The related ConstantInfo stores the number of columns.
MatrixThe shader constant is a matrix. The related ConstantInfo stores the number of rows and columns.
StructThe shader constant is a struct. The related ConstantInfo stores the struct's size and members.