VertexArray.length

Manually set the length of the VertexArray.

  1. size_t length()
  2. void length(size_t rhs)
    class VertexArray(V)
    void
    length
    @system pure nothrow @nogc
    (
    size_t rhs
    )
    if (
    isVertex!V
    )

Parameters

rhs
Type: size_t

The new length of the VertexArray. Must be <= capacity. If used to increase the length, the new elements of the VertexArray ([oldLength .. newLength]) will have uninitialized values.

Meta