ShaderData.SpecializationConstantInfo
Provides information about a shader specialization constant value.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前
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.