![]() |
galaxy 1.0.0
Real-Time C++23 Game Programming Framework. Built on data-driven design principles and agile software engineering.
|
The configuration for drawing something. More...
#include <RenderPass.hpp>
Collaboration diagram for galaxy::RenderPass:Public Attributes | |
| unsigned int | target |
| This is the framebuffer to draw to. | |
| glm::vec4 | viewport |
| This is the glViewport. z,w is width/height. | |
| glm::vec4 | scissor |
| OpenGL scissor region. https://gamedev.stackexchange.com/a/40713. | |
| glm::vec4 | clear_col |
| Colour buffer clear colour. | |
| float | clear_depth |
| Depth buffer clear depth. | |
The configuration for drawing something.
Definition at line 18 of file RenderPass.hpp.
| unsigned int galaxy::RenderPass::target |
This is the framebuffer to draw to.
Definition at line 23 of file RenderPass.hpp.
| glm::vec4 galaxy::RenderPass::viewport |
This is the glViewport. z,w is width/height.
Definition at line 28 of file RenderPass.hpp.
| glm::vec4 galaxy::RenderPass::scissor |
OpenGL scissor region. https://gamedev.stackexchange.com/a/40713.
Definition at line 34 of file RenderPass.hpp.
| glm::vec4 galaxy::RenderPass::clear_col |
Colour buffer clear colour.
Definition at line 39 of file RenderPass.hpp.
| float galaxy::RenderPass::clear_depth |
Depth buffer clear depth.
Definition at line 44 of file RenderPass.hpp.