Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


vertexBudget

The expected number of vertices that will be used by this panel.
Read time 1 minuteLast updated 10 days ago

Definition

public uint vertexBudget { get; set; }

Remarks

A value of 0 means that the UI renderer will use its own default. If this hint is set too high, extra CPU and GPU memory may be allocated without actually being used. If set too low, more vertex buffers may be required, which may increase the number of draw calls and hinder performance. Changing this setting after initialization should be avoided because it resets the UI renderer.