GetShaderChunkCountForPlatform(BuildTarget)
Gets the default limit on the number of shader variant chunks Unity loads and keeps in memory for the build target.
Read time 1 minuteLast updated 10 days ago
Definition
- Type: Method
- Namespace: UnityEditor
- Assembly: UnityEditor
public static int GetShaderChunkCountForPlatform(BuildTarget buildTarget)
Parameters
The build target to get the shader chunk count for.
Returns
Type | Description |
|---|---|
| int |
Remarks
Additional Resources: PlayerSettings.SetShaderChunkCountForPlatform.