기술 자료

Unity Engine

Unity Engine

GetConstantBufferMaxWindowSize()

Defines the maxiumum amount (in bytes) the BatchRendererGroup constant buffer window size is visible from the shader.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

public static int GetConstantBufferMaxWindowSize()

Returns

Type

Description

intThe maximum window size in bytes.

Remarks

The BatchRendererGroup API is different from SystemInfo.maxConstantBufferSize because it uses Universal Buffer Objects (UBOs) in a different way from other rendering paths. This means it requires different size and alignment constraints on GL platforms.