FRenderCommand

namespace marengine
class FRenderCommand : public IRenderCommand

Subclassed by FRenderCommandOpenGL

Public Functions

void create(FRenderStatistics *pRenderStatistics)

Protected Attributes

FRenderStatistics *p_pRenderStatistics = {nullptr}
class FRenderStatistics

Public Functions

void create(FBatchManager *pBatchManager)
void update(FSceneManagerEditor *pSceneManagerEditor)
void reset()
FRenderStatsStorage &getStorage()

Private Members

FRenderStatsStorage m_storage
FBatchManager *m_pBatchManager = {nullptr}
struct FRenderStatsStorage

Public Members

uint32 drawCallsCount = {0}
uint32 verticesCount = {0}
uint32 indicesCount = {0}
uint32 trianglesCount = {0}
uint32 entitiesCount = {0}
uint32 coloredEntitiesCount = {0}
uint32 textured2dEntitiesCount = {0}
uint32 allRendererEntitiesCount = {0}