Om
1.0.0
A universal framework for multimedia simulation
|
A class that specifies the operation performed when testing a new depth fragment. More...
#include <omGraphicsDepthTest.h>
Public Types | |
enum | Enum { NEVER = 0, ALWAYS = 1, EQUAL = 2, NOT_EQUAL = 3, LESS_THAN = 4, LESS_THAN_OR_EQUAL = 5, GREATER_THAN = 6, GREATER_THAN_OR_EQUAL = 7 } |
An enum type which represents the type of depth test. More... | |
Public Member Functions | |
DepthTest (Enum newTest) | |
Create a new depth test with the specified depth test enum value. More... | |
operator Enum () const | |
Convert this depth test type to an enum value. More... | |
String | toString () const |
Return a string representation of the depth test. More... | |
operator String () const | |
Convert this depth test into a string representation. More... | |
A class that specifies the operation performed when testing a new depth fragment.
If the depth test succeeds, the fragment is rendered. Otherwise, the fragment is discarded and rendering for the fragment stops.
An enum type which represents the type of depth test.
|
inline |
Create a new depth test with the specified depth test enum value.
|
inline |
Convert this depth test type to an enum value.
String om::graphics::base::DepthTest::toString | ( | ) | const |
Return a string representation of the depth test.
|
inline |
Convert this depth test into a string representation.