Update StarRenderer_opengl.hpp
This commit is contained in:
parent
50c987b1c4
commit
8937f0d816
@ -180,6 +180,7 @@ private:
|
|||||||
Json config;
|
Json config;
|
||||||
bool blitted = false;
|
bool blitted = false;
|
||||||
unsigned multisample = 0;
|
unsigned multisample = 0;
|
||||||
|
unsigned sizeDiv = 1;
|
||||||
|
|
||||||
GlFrameBuffer(Json const& config);
|
GlFrameBuffer(Json const& config);
|
||||||
~GlFrameBuffer();
|
~GlFrameBuffer();
|
||||||
@ -197,6 +198,7 @@ private:
|
|||||||
|
|
||||||
GLuint getAttribute(String const& name);
|
GLuint getAttribute(String const& name);
|
||||||
GLuint getUniform(String const& name);
|
GLuint getUniform(String const& name);
|
||||||
|
bool includeVBTextures;
|
||||||
};
|
};
|
||||||
|
|
||||||
static bool logGlErrorSummary(String prefix);
|
static bool logGlErrorSummary(String prefix);
|
||||||
@ -211,7 +213,7 @@ private:
|
|||||||
|
|
||||||
void renderGlBuffer(GlRenderBuffer const& renderBuffer, Mat3F const& transformation);
|
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);
|
RefPtr<OpenGlRenderer::GlFrameBuffer> getGlFrameBuffer(String const& id);
|
||||||
void blitGlFrameBuffer(RefPtr<OpenGlRenderer::GlFrameBuffer> const& frameBuffer);
|
void blitGlFrameBuffer(RefPtr<OpenGlRenderer::GlFrameBuffer> const& frameBuffer);
|
||||||
|
Loading…
Reference in New Issue
Block a user