ShaderData.SpecializationConstantInfo
Provides information about a shader specialization constant value.
Read time 1 minuteLast updated 13 days ago
Definition
- Type: Struct
- Namespace: UnityEditor
- Assembly: UnityEditor.CoreModule
public struct ShaderData.SpecializationConstantInfo
Remarks
Specialization constants are a special type of uniform variables that are used to create shader variants at runtime. The GPU driver can then optimize the code further, knowing that the value of such a constant will never change.