]> git.tdb.fi Git - libs/gl.git/blobdiff - source/predicate.h
Add scissor, stencil, alpha and depth test functions and constants
[libs/gl.git] / source / predicate.h
diff --git a/source/predicate.h b/source/predicate.h
new file mode 100644 (file)
index 0000000..f5ff3b3
--- /dev/null
@@ -0,0 +1,31 @@
+/* $Id$
+
+This file is part of libmspgl
+Copyright © 2007  Mikko Rasa, Mikkosoft Productions
+Distributed under the LGPL
+*/
+
+#ifndef MSP_GL_PREDICATE_H_
+#define MSP_GL_PREDICATE_H_
+
+#include <GL/gl.h>
+
+namespace Msp {
+namespace GL {
+
+enum Predicate
+{
+       NEVER    = GL_NEVER,
+       ALWAYS   = GL_ALWAYS,
+       LESS     = GL_LESS,
+       LEQUAL   = GL_LEQUAL,
+       EQUAL    = GL_EQUAL,
+       GREATER  = GL_GREATER,
+       GEQUAL   = GL_GEQUAL,
+       NOTEQUAL = GL_NOTEQUAL
+};
+
+} // namespace GL
+} // namespace Msp
+
+#endif