refactor command buffers

This commit is contained in:
Samuliak 2024-11-05 17:57:20 +01:00
parent 552c4901b9
commit c46c8214f5
No known key found for this signature in database
4 changed files with 35 additions and 39 deletions

View file

@ -6,6 +6,7 @@ public:
size_t m_bufferAllocatorMemory = 0;
// Per frame data
uint32 m_commandBuffers = 0;
uint32 m_renderPasses = 0;
uint32 m_clears = 0;
uint32 m_manualVertexFetchDraws = 0;
@ -17,6 +18,7 @@ public:
void ResetPerFrameData()
{
m_commandBuffers = 0;
m_renderPasses = 0;
m_clears = 0;
m_manualVertexFetchDraws = 0;