CS::Graphics::AlphaTestOptions Struct Reference
Alpha test options. More...
#include <ivideo/rendermesh.h>
Public Attributes | |
AlphaTestFunction | func |
Comparison between source pixel alpha and threshold value. | |
float | threshold |
Threshold value the source pixel alpha is compared against. |
Detailed Description
Alpha test options.
These options take effect if:
- The mixmode alpha test type (bits CS_MIXMODE_ALPHATEST_MASK) is CS_MIXMODE_ALPHATEST_ENABLE.
- The alpha test type (bits CS_MIXMODE_ALPHATEST_MASK) is CS_MIXMODE_ALPHATEST_AUTO and the alpha type used is csAlphaMode::alphaBinary.
Definition at line 129 of file rendermesh.h.
Member Data Documentation
Comparison between source pixel alpha and threshold value.
Default atfGreaterEqual
Definition at line 140 of file rendermesh.h.
Threshold value the source pixel alpha is compared against.
Default is 0.5
Definition at line 135 of file rendermesh.h.
The documentation for this struct was generated from the following file:
- ivideo/rendermesh.h
Generated for Crystal Space 2.0 by doxygen 1.6.1