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.
◆ DepthFactor()
float OpenGl_OitState::DepthFactor |
( |
| ) |
const |
|
inline |
Returns factor defining influence of depth component of a fragment to its final coverage coefficient.
◆ Set()
void OpenGl_OitState::Set |
( |
const bool |
theToEnableWrite, |
|
|
const float |
theDepthFactor |
|
) |
| |
|
inline |
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. |
◆ ToEnableWrite()
bool OpenGl_OitState::ToEnableWrite |
( |
| ) |
const |
|
inline |
Returns flag indicating whether writing of output for OIT processing should be enabled/disabled.
The documentation for this class was generated from the following file: