8#ifndef GALAXY_GRAPHICS_RENDERPASS_HPP_
9#define GALAXY_GRAPHICS_RENDERPASS_HPP_
11#include <glm/vec4.hpp>
The configuration for drawing something.
glm::vec4 scissor
OpenGL scissor region. https://gamedev.stackexchange.com/a/40713.
glm::vec4 viewport
This is the glViewport. z,w is width/height.
unsigned int target
This is the framebuffer to draw to.
glm::vec4 clear_col
Colour buffer clear colour.
float clear_depth
Depth buffer clear depth.