Documentation

Unity Engine

Download Unity

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.CoreModule
public static int GetShaderChunkCountForPlatform(BuildTarget buildTarget)

Parameters

buildTarget

The build target to get the shader chunk count for.

Returns

Type

Description

int

Remarks