Defines generic state of order-independent transparency rendering properties.
More...
#include <OpenGl_ShaderStates.hxx>
Defines generic state of order-independent transparency rendering properties.
◆ OpenGl_OitState()
OpenGl_OitState::OpenGl_OitState |
( |
| ) |
|
|
inline |
Creates new uniform state.
◆ ActiveMode()
Returns flag indicating whether writing of output for OIT processing should be enabled/disabled.
◆ DepthFactor()
float OpenGl_OitState::DepthFactor |
( |
| ) |
const |
|
inline |
Returns factor defining influence of depth component of a fragment to its final coverage coefficient.
◆ Set()
Sets the uniform values.
- Parameters
-
theToEnableWrite | [in] flag indicating whether color and coverage values for OIT processing should be written by shader program. |
theDepthFactor | [in] scalar factor [0-1] defining influence of depth component of a fragment to its final coverage coefficient. |
The documentation for this class was generated from the following file: