A description of a buffer.

Variables

@:optionaloptionallabel:Null<String>

An optional label to apply to the buffer.

This can be useful for debugging and performance analysis.

size:Int

The size of the buffer (in bytes).

usage:BufferUsage

All possible ways the buffer can be used.