Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


GetConstantBufferMaxWindowSize()

Defines the maxiumum amount (in bytes) the BatchRendererGroup constant buffer window size is visible from the shader.
Read time 1 minuteLast updated 6 days ago

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.