Version: 2023.1

PlayerSettings.GetShaderChunkCountForPlatform

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

参数

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

描述

Gets the default limit on the number of shader variant chunks Unity loads and keeps in memory for the build target.