Version: 2022.3

PlayerSettings.GetShaderChunkSizeInMBForPlatform

切换到手册
public static int GetShaderChunkSizeInMBForPlatform (BuildTarget buildTarget);

参数

buildTarget The build target to get the shader chunk size for.

描述

Gets the default size for compressed shader variant chunks for the build target.