Difference between revisions of "GraphicsBuffer:getSize"

(Created page)
 
m
 
Line 5: Line 5:
 
=== Synopsis ===
 
=== Synopsis ===
 
<source lang="lua">
 
<source lang="lua">
count = GraphicsBuffer:getSize( )
+
size = GraphicsBuffer:getSize( )
 
</source>
 
</source>
 
=== Arguments ===
 
=== Arguments ===

Latest revision as of 21:11, 25 March 2023

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