renderer_gl: Implement stencil testing

This commit is contained in:
wheremyfoodat 2023-07-08 14:51:09 +03:00 committed by GPUCode
parent 037d16ae7c
commit 95a8917589
3 changed files with 59 additions and 1 deletions

View file

@ -61,6 +61,7 @@ class RendererGL final : public Renderer {
MAKE_LOG_FUNCTION(log, rendererLogger)
void setupBlending();
void setupStencilTest(bool stencilEnable);
void bindDepthBuffer();
void setupTextureEnvState();
void bindTexturesToSlots();
@ -79,4 +80,4 @@ class RendererGL final : public Renderer {
// Take a screenshot of the screen and store it in a file
void screenshot(const std::string& name) override;
};
};