Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


keywordCount

The number of local shader keywords in this local keyword space. (Read Only)
Read time 1 minuteLast updated 7 days ago

Definition

public uint keywordCount { get; }

Remarks

This property enables you to query the number of local shader keywords in this
LocalKeywordSpace
without any allocations.
Additional Resources: Shader variants and keywords, LocalKeyword, GlobalKeyword, ComputeShader.keywordSpace, Shader.keywordSpace.