BufferUsage
This acts as a hint to the graphics driver about what kinds of data access should be optimized for.
Value | Description |
static | A buffer that you intend to create once and never modify. |
dynamic | A buffer which is modified occasionally. |
stream | A buffer which is entirely replaced on the order of every frame. |
See also
ShaderBlock
lovr.graphics.newShaderBlock
lovr.graphics