VertexArray.lock

Lock the buffer.

Must be called before binding the buffer for drawing.

It is a good practice to keep a buffer locked for a long time.

class VertexArray(V)
void
lock
@trusted nothrow @nogc
(
)
if (
isVertex!V
)

Meta