diff options
author | Kae <80987908+Novaenia@users.noreply.github.com> | 2024-08-22 12:43:12 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-08-22 12:43:12 +1000 |
commit | 4496cc17afdd24593259b446cf83bd4f9bebecec (patch) | |
tree | dc85dbf48a2f0dc6d82e1b14c2f6fda0a79006a4 /source/application/StarRenderer_opengl.hpp | |
parent | 483908abef0b9af2bc3494ec50bfe12be8f505c5 (diff) | |
parent | 474fad6534873d5f6b48b6f8fcc96cb2554ad1c9 (diff) |
Merge pull request #101 from Bottinator22/main
Post-processing layer support for mods
Diffstat (limited to 'source/application/StarRenderer_opengl.hpp')
-rw-r--r-- | source/application/StarRenderer_opengl.hpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source/application/StarRenderer_opengl.hpp b/source/application/StarRenderer_opengl.hpp index 035b906..36b8354 100644 --- a/source/application/StarRenderer_opengl.hpp +++ b/source/application/StarRenderer_opengl.hpp @@ -180,6 +180,7 @@ private: Json config; bool blitted = false; unsigned multisample = 0; + unsigned sizeDiv = 1; GlFrameBuffer(Json const& config); ~GlFrameBuffer(); @@ -197,6 +198,7 @@ private: GLuint getAttribute(String const& name); GLuint getUniform(String const& name); + bool includeVBTextures; }; static bool logGlErrorSummary(String prefix); @@ -211,7 +213,7 @@ private: void renderGlBuffer(GlRenderBuffer const& renderBuffer, Mat3F const& transformation); - void setupGlUniforms(Effect& effect); + void setupGlUniforms(Effect& effect, Vec2U screenSize); RefPtr<OpenGlRenderer::GlFrameBuffer> getGlFrameBuffer(String const& id); void blitGlFrameBuffer(RefPtr<OpenGlRenderer::GlFrameBuffer> const& frameBuffer); |