ShaderConstantType
Options for the shader constant value type.
Read time 1 minuteLast updated 5 days ago
Definition
- Type: Enum
- Namespace: UnityEngine.Rendering
- Assembly: UnityEngine.CoreModule
public enum ShaderConstantType
Fields
Value | Description |
|---|---|
| Matrix | The shader constant is a matrix. The related ShaderData.ConstantInfo stores the number of rows and columns. |
| Struct | The shader constant is a struct. The related ShaderData.ConstantInfo stores the struct's size and members. |
| Vector | The shader constant is a vector or a scalar (a vector with one column). The related ShaderData.ConstantInfo stores the number of columns. |