Debug overlays class.
More...
Debug overlays class.
- Author
- Sylvain DOREMUS
- Date
- 17/09/2015
- Version
- 0.8.0
◆ DebugOverlays()
Castor3D::DebugOverlays::DebugOverlays |
( |
Engine & |
p_engine | ) |
|
◆ ~DebugOverlays()
Castor3D::DebugOverlays::~DebugOverlays |
( |
| ) |
|
◆ Cleanup()
void Castor3D::DebugOverlays::Cleanup |
( |
| ) |
|
◆ EndCpuTask()
void Castor3D::DebugOverlays::EndCpuTask |
( |
| ) |
|
Used to add to the GPU time, the time elapsed between now and the last call of either EndGpuTask or EndCpuTask.
◆ EndFrame()
void Castor3D::DebugOverlays::EndFrame |
( |
uint32_t |
p_vertices, |
|
|
uint32_t |
p_faces, |
|
|
uint32_t |
p_objects |
|
) |
| |
Updates the overlays texts.
- Parameters
-
[in] | p_vertices | The vertex count. |
[in] | p_faces | The face count. |
[in] | p_objects | The object count. |
◆ EndGpuTask()
void Castor3D::DebugOverlays::EndGpuTask |
( |
| ) |
|
Used to add to the GPU time, the time elapsed between now and the last call of either EndGpuTask or EndCpuTask.
◆ Initialise()
void Castor3D::DebugOverlays::Initialise |
( |
OverlayManager & |
p_manager | ) |
|
Initialisation function, retrieves the overlays from the given overlay manager.
- Parameters
-
[in] | p_manager | The overlay manager. |
◆ Show()
void Castor3D::DebugOverlays::Show |
( |
bool |
p_show | ) |
|
Show or hide debug overlays.
- Parameters
-
◆ StartFrame()
void Castor3D::DebugOverlays::StartFrame |
( |
| ) |
|
Resets all frame counters.
The documentation for this class was generated from the following file: