| 
    MeVisLab Toolbox Reference
    
   | 
 
Class SoBlendMode to manage the blending state in an Open Inventor node. More...
#include <SoBlendMode.h>
 Public Types | |
| enum | BlendMode {  BLEND_OFF , BLEND_REPLACE , BLEND_ADD , BLEND_SCREEN , BLEND_MIN , BLEND_MAX , BLEND_BLEND , BLEND_PREMULTIPLIED_BLEND , BLEND_CUSTOM , BLEND_CUSTOM_SEPARATE }  | 
| enum | Equation { ADD = GL_FUNC_ADD , SUBTRACT = GL_FUNC_SUBTRACT , REVERSE_SUBTRACT = GL_FUNC_REVERSE_SUBTRACT } | 
| enum | Function {  ZERO = GL_ZERO , ONE = GL_ONE , SRC_COLOR = GL_SRC_COLOR , ONE_MINUS_SRC_COLOR = GL_ONE_MINUS_SRC_COLOR , DST_COLOR = GL_DST_COLOR , ONE_MINUS_DST_COLOR = GL_ONE_MINUS_DST_COLOR , SRC_ALPHA = GL_SRC_ALPHA , ONE_MINUS_SRC_ALPHA = GL_ONE_MINUS_SRC_ALPHA , DST_ALPHA = GL_DST_ALPHA , ONE_MINUS_DST_ALPHA = GL_ONE_MINUS_DST_ALPHA , CONSTANT_COLOR = GL_CONSTANT_COLOR , ONE_MINUS_CONSTANT_COLOR = GL_ONE_MINUS_CONSTANT_COLOR , CONSTANT_ALPHA = GL_CONSTANT_ALPHA , ONE_MINUS_CONSTANT_ALPHA = GL_ONE_MINUS_CONSTANT_ALPHA , SRC_ALPHA_SATURATE = GL_SRC_ALPHA_SATURATE }  | 
Public Member Functions | |
| SoBlendMode () | |
| Constructor.   | |
| void | GLRender (SoGLRenderAction *action) override | 
| Add this node to element in state.   | |
Static Public Member Functions | |
| static void | initClass () | 
| Initialize class with runtime type system.   | |
Public Attributes | |
| SoSFBool | enabled | 
| SoSFEnum | blendMode | 
| SoSFEnum | blendEquation | 
| SoSFEnum | blendFunctionSrc | 
| SoSFEnum | blendFunctionDst | 
| SoSFEnum | alphaBlendFunctionSrc | 
| SoSFEnum | alphaBlendFunctionDst | 
| SoSFColor | constantBlendColor | 
| SoSFFloat | constantBlendAlpha | 
Class SoBlendMode to manage the blending state in an Open Inventor node.
Definition at line 25 of file SoBlendMode.h.
| Enumerator | |
|---|---|
| BLEND_OFF | |
| BLEND_REPLACE | |
| BLEND_ADD | |
| BLEND_SCREEN | |
| BLEND_MIN | |
| BLEND_MAX | |
| BLEND_BLEND | |
| BLEND_PREMULTIPLIED_BLEND | |
| BLEND_CUSTOM | |
| BLEND_CUSTOM_SEPARATE | |
Definition at line 32 of file SoBlendMode.h.
| Enumerator | |
|---|---|
| ADD | |
| SUBTRACT | |
| REVERSE_SUBTRACT | |
Definition at line 45 of file SoBlendMode.h.
Definition at line 51 of file SoBlendMode.h.
| SoBlendMode::SoBlendMode | ( | ) | 
Constructor.
      
  | 
  override | 
Add this node to element in state.
      
  | 
  static | 
Initialize class with runtime type system.
| SoSFEnum SoBlendMode::alphaBlendFunctionDst | 
Definition at line 76 of file SoBlendMode.h.
| SoSFEnum SoBlendMode::alphaBlendFunctionSrc | 
Definition at line 75 of file SoBlendMode.h.
| SoSFEnum SoBlendMode::blendEquation | 
Definition at line 72 of file SoBlendMode.h.
| SoSFEnum SoBlendMode::blendFunctionDst | 
Definition at line 74 of file SoBlendMode.h.
| SoSFEnum SoBlendMode::blendFunctionSrc | 
Definition at line 73 of file SoBlendMode.h.
| SoSFEnum SoBlendMode::blendMode | 
Definition at line 70 of file SoBlendMode.h.
| SoSFFloat SoBlendMode::constantBlendAlpha | 
Definition at line 79 of file SoBlendMode.h.
| SoSFColor SoBlendMode::constantBlendColor | 
Definition at line 78 of file SoBlendMode.h.
| SoSFBool SoBlendMode::enabled | 
Definition at line 69 of file SoBlendMode.h.