Documentation

Unity Engine


Unity Engine


GetShaderChunkCountForPlatform(BuildTarget)

Gets the default limit on the number of shader variant chunks Unity loads and keeps in memory for the build target.
Read time 1 minuteLast updated a month ago

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor
public static int GetShaderChunkCountForPlatform(BuildTarget buildTarget)

Parameters

buildTarget

The build target to get the shader chunk count for.

Returns

Type

Description

int

Remarks