Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


drawCapacity

Controls the draw capacity. The draw capacity of the buffers when drawing are initially zero however increasing this value will mean buffers won't be resized when more elements are drawn and therefore no GC allocations will occur. Changes won't take effect until exiting play mode. This value directly controls the capacity for each element type drawn. This is only used in the Unity Editor or in a Development Player.
Read time 1 minuteLast updated 12 days ago

Definition

public int drawCapacity { get; set; }