Open CASCADE Technology
7.6.0
|
Defines generic state of order-independent transparency rendering properties. More...
#include <OpenGl_ShaderStates.hxx>
Public Member Functions | |
OpenGl_OitState () | |
Creates new uniform state. More... | |
void | Set (Graphic3d_RenderTransparentMethod theMode, const float theDepthFactor) |
Sets the uniform values. More... | |
Graphic3d_RenderTransparentMethod | ActiveMode () const |
Returns flag indicating whether writing of output for OIT processing should be enabled/disabled. More... | |
float | DepthFactor () const |
Returns factor defining influence of depth component of a fragment to its final coverage coefficient. More... | |
Public Member Functions inherited from OpenGl_StateInterface | |
OpenGl_StateInterface () | |
Creates new state. More... | |
Standard_Size | Index () const |
Returns current state index. More... | |
void | Update () |
Increment current state. More... | |
Additional Inherited Members | |
Protected Attributes inherited from OpenGl_StateInterface | |
Standard_Size | myIndex |
current state index More... | |
Defines generic state of order-independent transparency rendering properties.
|
inline |
Creates new uniform state.
|
inline |
Returns flag indicating whether writing of output for OIT processing should be enabled/disabled.
|
inline |
Returns factor defining influence of depth component of a fragment to its final coverage coefficient.
|
inline |
Sets the uniform values.
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. |