|
Vesper 0.5.1
Vesper is short form for the Latin word for "Bat", as Vesper is designed to be small, lightweight, and easily handle things like particles and flocking behaviors in accordance with the nature of bats. \n It is meant to be a particle simulation, VFX editor, and CAN be used secondarily as a small game engine. GitHub | Vesper Updates | Creator |
2D Renderer Statistics More...
#include <Renderer2D.h>
Public Member Functions | |
| uint32_t | GetTotalVertexCount () |
| Calculates the total number of vertices drawn. | |
| uint32_t | GetTotalIndexCount () |
| Calculates the total number of indices drawn. | |
Public Attributes | |
| uint32_t | DrawCalls = 0 |
| The number of draw calls being made. | |
| uint32_t | QuadCount = 0 |
| The number of quads being drawn. | |
|
inline |
Calculates the total number of indices drawn.
References QuadCount.
|
inline |
| uint32_t Vesper::Renderer2D::Statistics::DrawCalls = 0 |
The number of draw calls being made.
Referenced by Vesper::Renderer2D::Flush().
| uint32_t Vesper::Renderer2D::Statistics::QuadCount = 0 |
The number of quads being drawn.
Referenced by Vesper::Renderer2D::DrawQuad(), Vesper::Renderer2D::DrawQuadRotated(), Vesper::Renderer2D::DrawQuadRotatedWithTexture(), Vesper::Renderer2D::DrawQuadRotatedWithTexture(), Vesper::Renderer2D::DrawQuadWithTexture(), Vesper::Renderer2D::DrawQuadWithTexture(), GetTotalIndexCount(), and GetTotalVertexCount().