keywordCount
The number of local shader keywords in this local keyword space. (Read Only)
Read time 1 minuteLast updated 7 days ago
Definition
- Type: Property
- Namespace: UnityEngine.Rendering
- Assembly: UnityEngine.CoreModule
public uint keywordCount { get; }
Remarks
This property enables you to query the number of local shader keywords in this without any allocations.
LocalKeywordSpaceAdditional Resources: Shader variants and keywords, LocalKeyword, GlobalKeyword, ComputeShader.keywordSpace, Shader.keywordSpace.