Namespace: BufferUsage

BufferUsage

BufferUsage describes the type of cpu <-> gpu interaction a vertex or index buffer requires.

Properties:
Name Type Description
STATIC_DRAW

The buffer is meant to be uploaded once (or rarely)

DYNAMIC_DRAW

The buffer is meant to be updated often.

See:
  • Mesh#vertexUsage
  • Mesh#indexUsage