some fixes with the stencil states and implemented stencil func/stencilop/stencilmask to renderstate

This commit is contained in:
Tleety
2016-02-04 11:13:26 +01:00
parent bc01e147c2
commit 379d211832
5 changed files with 93 additions and 17 deletions
+3 -1
View File
@@ -19,7 +19,9 @@ public:
bool BindFramebuffer(GLint framebuffer);
bool BlendEquation(GLenum mode);
bool BlendFunc(GLenum sfactor, GLenum dfactor);
bool StencilFunc(GLenum sfail, GLenum dpfail, GLenum dppass);
bool StencilOp(GLenum sfail, GLenum dpfail, GLenum dppass);
bool StencilFunc(GLenum func, GLint ref, GLuint mask);
bool StencilMask(GLuint mask);
bool DepthMask(GLboolean flag);
private: