Documentation

Unity Engine

Download Unity

Unity Engine

filterTextureBudget

The area of temporary textures that UI Toolkit can use at the same time to apply filters.
Read time 1 minuteLast updated 6 days ago

Definition

public FilterTextureBudget filterTextureBudget { get; set; }

Remarks

UI Toolkit draws the same filter pass for many elements in one draw call. To do this, the temporary textures of these elements must exist at the same time. A higher budget reduces the number of draw calls, which can improve CPU performance, but uses more GPU memory.
The budget doesn't include the final results of the filters, so it isn't a strict memory limit. An element that needs more than the budget is still drawn.
To measure the effect of this setting, use the Rendering module of the Profiler window to compare the render texture memory and the draw calls.