Version: 2022.3
言語: 日本語

PlayerSettings.SetOverrideShaderChunkSettingsForPlatform

マニュアルに切り替える
public static void SetOverrideShaderChunkSettingsForPlatform (BuildTarget buildTarget, bool value);

パラメーター

buildTarget The build target to set the override for.
value Set the value to true if you want settings for the buildTarget to override the default settings.

説明

Enable this to override the default shader variant chunk settings.

If you set SetOverrideShaderChunkSettingsForPlatform to true for a build target, you can do the following: Use PlayerSettings.SetShaderChunkCountForPlatform to override PlayerSettings.SetDefaultShaderChunkCount. Use PlayerSettings.SetShaderChunkSizeInMBForPlatform to override PlayerSettings.SetDefaultShaderChunkSizeInMB. See Also: PlayerSettings.GetOverrideShaderChunkSettingsForPlatform.