luna engine
software engine
Loading...
Searching...
No Matches
luna::renderer::renderer2D::statistics Struct Reference

struct containing renderer2D statistics. More...

#include <renderer2D.h>

Public Member Functions

uint32_t getTotalVertexCount () const
 
uint32_t getTotalIndexCount () const
 

Public Attributes

uint32_t drawCalls = 0
 
uint32_t quadCount = 0
 

Detailed Description

struct containing renderer2D statistics.

Member Function Documentation

◆ getTotalIndexCount()

uint32_t luna::renderer::renderer2D::statistics::getTotalIndexCount ( ) const
inline

◆ getTotalVertexCount()

uint32_t luna::renderer::renderer2D::statistics::getTotalVertexCount ( ) const
inline

Member Data Documentation

◆ drawCalls

uint32_t luna::renderer::renderer2D::statistics::drawCalls = 0

◆ quadCount

uint32_t luna::renderer::renderer2D::statistics::quadCount = 0

The documentation for this struct was generated from the following file: