ドキュメント

Unity Engine

Unity Engine

ShaderConstantType

Options for the shader constant value type.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

public enum ShaderConstantType

Fields

Value

Description

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