namespace Msp {
namespace GL {
-/**
-Tests incoming fragment depth values against the depth buffer. If the test
-fails, the fragment is discarded.
-*/
-class DepthTest: public Bindable<DepthTest>
-{
-private:
- bool write;
- Predicate pred;
-
-public:
- DepthTest();
- DepthTest(Predicate, bool = true);
-
- void bind() const;
-
- static const DepthTest &lequal();
- static void unbind();
-};
-
-
/**
Tests fragment coordinates against a rectangle. Any fragments outside the
rectangle are discarded.