文档

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.
阅读时间1 分钟最后更新于 1 个月前

Definition

public int drawCapacity { get; set; }