Skip to content

Function: lineCapacity() ​

ts
function lineCapacity(vertexCount): number;

Experimental

Round capacities up to a power of two (at least 16).

Parameters ​

ParameterType
vertexCountnumber

Returns ​

number

Deprecated ​

Line buffers are sized from an exact count since E16.9; kept for API stability.

Released under the MIT License.