GetShaderChunkSizeInMBForPlatform(BuildTarget)
Gets the default size for compressed shader variant chunks for the build target.
阅读时间1 分钟最后更新于 1 个月前
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.