ドキュメント

Unity Engine

Unity Engine

GetConstantBufferMaxWindowSize()

Defines the maxiumum amount (in bytes) the BatchRendererGroup constant buffer window size is visible from the shader.
読み終わるまでの所要時間 1 分最終更新 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.