]> git.tdb.fi Git - libs/gl.git/blob - source/core/predicate.h
Minor tweaks to MemoryAllocator
[libs/gl.git] / source / core / predicate.h
1 #ifndef MSP_GL_PREDICATE_H_
2 #define MSP_GL_PREDICATE_H_
3
4 #include <msp/strings/lexicalcast.h>
5
6 namespace Msp {
7 namespace GL {
8
9 enum Predicate: std::uint8_t
10 {
11         NEVER,
12         ALWAYS,
13         LESS,
14         LEQUAL,
15         EQUAL,
16         GREATER,
17         GEQUAL,
18         NOTEQUAL
19 };
20
21 void operator>>(const LexicalConverter &, Predicate &);
22 void operator<<(LexicalConverter &, Predicate);
23
24 } // namespace GL
25 } // namespace Msp
26
27 #include "predicate_backend.h"
28
29 #endif