-enum
-{
- SCISSOR_TEST = GL_SCISSOR_TEST,
- ALPHA_TEST = GL_ALPHA_TEST,
- DEPTH_TEST = GL_DEPTH_TEST
-};
-
-/**
-Tests incoming fragment alpha values against a reference. If the test fails,
-the fragment is discarded.
-*/
-class AlphaTest: public Bindable<AlphaTest>
-{
-private:
- Predicate pred;
- float ref;
-
-public:
- AlphaTest();
- AlphaTest(Predicate, float);
-
- void bind() const;
-
- static void unbind();
-};
-
-void alpha_func(Predicate func, float ref);
-
-