mirror of
https://github.com/love2d/love.git
synced 2026-08-16 16:20:42 +02:00
Add buffer stats to love.graphics.getStats.
- Add 'buffers' field, to count the total number of graphics buffer objects. - Add 'buffermemory' field, to estimate the total number of bytes of graphics memory used by all buffers.
This commit is contained in:
@@ -49,6 +49,9 @@ public:
|
||||
|
||||
static love::Type type;
|
||||
|
||||
static int bufferCount;
|
||||
static int64 totalGraphicsMemory;
|
||||
|
||||
static const size_t SHADER_STORAGE_BUFFER_MAX_STRIDE = 2048;
|
||||
|
||||
enum MapType
|
||||
|
||||
Reference in New Issue
Block a user