910 B
910 B
Juliet\src\Graphics\DebugDisplayRenderer
Source Files
- Source:
Juliet\src\Graphics\DebugDisplayRenderer.cpp
AI Description
The DebugDisplayRenderer class in the provided C++ code is designed to render debug visualizations such as lines and spheres on a graphics device. It manages the creation, initialization, and cleanup of resources required for rendering these debug elements. The component includes functions to add lines and spheres to the debug state, prepare the GPU buffers for rendering, and flush the debug data to the graphics pipeline during rendering passes. The class uses push constants to pass necessary transformation matrices and lighting information to the shaders, ensuring that the debug visualizations are rendered correctly on the screen.
Symbols
Namespace Juliet::anonymous
Classes, Structs & Unions
struct DebugVertexstruct DebugDisplayState