GraphicsBuffer

Available since LÖVE 12.0
This type is not supported in earlier versions.

Low-level data stored in graphics memory, including arrays of vertices, vertex indices, and custom collections of data accessible in Shaders.

Higher level graphics objects such as Meshes, SpriteBatches, and ParticleSystems make use of GraphicsBuffers internally.

Constructors

None.

Functions

Object:release Immediately destroys the object's Lua reference. Added since 11.0
Object:type Gets the type of the object as a string.
Object:typeOf Checks whether an object is of a certain type.

Enums

BufferDataUsage Usage hints for SpriteBatches, Meshes, and GraphicsBuffers to optimize data storage and access. Added since 0.8.0

Supertypes

See Also


Other Languages