mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-07-20 14:01:44 +12:00
renderer_gl: Implement logic op
This commit is contained in:
parent
95a8917589
commit
6f7874227c
3 changed files with 28 additions and 1 deletions
|
@ -53,6 +53,7 @@ namespace PICA {
|
|||
// Framebuffer registers
|
||||
ColourOperation = 0x100,
|
||||
BlendFunc = 0x101,
|
||||
LogicOp = 0x102,
|
||||
BlendColour = 0x103,
|
||||
AlphaTestConfig = 0x104,
|
||||
StencilTest = 0x105,
|
||||
|
@ -294,4 +295,4 @@ namespace PICA {
|
|||
GeometryPrimitive = 3,
|
||||
};
|
||||
|
||||
} // namespace PICA
|
||||
} // namespace PICA
|
||||
|
|
|
@ -62,6 +62,7 @@ class RendererGL final : public Renderer {
|
|||
MAKE_LOG_FUNCTION(log, rendererLogger)
|
||||
void setupBlending();
|
||||
void setupStencilTest(bool stencilEnable);
|
||||
void setupLogicOp();
|
||||
void bindDepthBuffer();
|
||||
void setupTextureEnvState();
|
||||
void bindTexturesToSlots();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue