1 #ifndef MSP_GL_TESTS_H_
2 #define MSP_GL_TESTS_H_
12 Tests incoming fragment alpha values against a reference. If the test fails,
13 the fragment is discarded.
15 class AlphaTest: public Bindable<AlphaTest>
23 AlphaTest(Predicate, float);
32 Tests incoming fragment depth values against the depth buffer. If the test
33 fails, the fragment is discarded.
35 class DepthTest: public Bindable<DepthTest>
43 DepthTest(Predicate, bool = true);
47 static const DepthTest &lequal();
53 Tests fragment coordinates against a rectangle. Any fragments outside the
54 rectangle are discarded.
56 class ScissorTest: public Bindable<ScissorTest>
66 ScissorTest(int, int, unsigned, unsigned);