Documentation

Unity Engine


User Manual

Script Reference

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 10 days 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