GetShaderChunkSizeInMBForPlatform(BuildTarget)
Gets the default size for compressed shader variant chunks for the build target.
Read time 1 minuteLast updated 11 days ago
Definition
- Type: Method
- Namespace: UnityEditor
- Assembly: UnityEditor
public static int GetShaderChunkSizeInMBForPlatform(BuildTarget buildTarget)
Parameters
The build target to get the shader chunk size for.
Returns
Type | Description |
|---|---|
| int |
Remarks
Additional Resources: PlayerSettings.SetDefaultShaderChunkSizeInMB, PlayerSettings.SetShaderChunkSizeInMBForPlatform.