기술 자료

Unity Engine

Unity Engine

GetShaderChunkSizeInMBForPlatform(BuildTarget)

Gets the default size for compressed shader variant chunks for the build target.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule
public static int GetShaderChunkSizeInMBForPlatform(BuildTarget buildTarget)

Parameters

buildTarget

The build target to get the shader chunk size for.

Returns

Type

Description

int

Remarks