GraphicsBuffer:getSize

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

Gets the total size in bytes of the GraphicsBuffer's contents.

Function

Synopsis

size = GraphicsBuffer:getSize( )

Arguments

None.

Returns

number size
The total size in bytes of the Buffer's contents in VRAM.

See Also

Other Languages