| 
    Open CASCADE Technology 7.8.2.dev
    
   | 
 
Defines generic state of order-independent transparency rendering properties. More...
#include <OpenGl_ShaderStates.hxx>

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