Om
1.0.0
A universal framework for multimedia simulation
|
A class that specifies the operation performed when testing a new stencil fragment. More...
#include <omGraphicsStencilTest.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 stencil test. More... | |
Public Member Functions | |
StencilTest (Enum newTest) | |
Create a new stencil test with the specified stencil test enum value. More... | |
operator Enum () const | |
Convert this stencil test type to an enum value. More... | |
String | toString () const |
Return a string representation of the stencil test. More... | |
operator String () const | |
Convert this stencil test into a string representation. More... | |
A class that specifies the operation performed when testing a new stencil fragment.
If the stencil 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 stencil test.
|
inline |
Create a new stencil test with the specified stencil test enum value.
|
inline |
Convert this stencil test type to an enum value.
String om::graphics::base::StencilTest::toString | ( | ) | const |
Return a string representation of the stencil test.
|
inline |
Convert this stencil test into a string representation.