galaxy 1.0.0
Real-Time C++23 Game Programming Framework. Built on data-driven design principles and agile software engineering.
Loading...
Searching...
No Matches
galaxy::RenderPass Struct Referencefinal

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.
 

Detailed Description

The configuration for drawing something.

Definition at line 18 of file RenderPass.hpp.

Member Data Documentation

◆ target

unsigned int galaxy::RenderPass::target

This is the framebuffer to draw to.

Definition at line 23 of file RenderPass.hpp.

◆ viewport

glm::vec4 galaxy::RenderPass::viewport

This is the glViewport. z,w is width/height.

Definition at line 28 of file RenderPass.hpp.

◆ scissor

glm::vec4 galaxy::RenderPass::scissor

OpenGL scissor region. https://gamedev.stackexchange.com/a/40713.

Definition at line 34 of file RenderPass.hpp.

◆ clear_col

glm::vec4 galaxy::RenderPass::clear_col

Colour buffer clear colour.

Definition at line 39 of file RenderPass.hpp.

◆ clear_depth

float galaxy::RenderPass::clear_depth

Depth buffer clear depth.

Definition at line 44 of file RenderPass.hpp.


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