Inviwo 0.9.12-pre
Inviwo documentation
Loading...
Searching...
No Matches
inviwo::utilgl::BlendModeState Struct Reference

RAII object for OpenGL blending and blend mode, enables blending if source mode is different from GL_NONE. More...

#include <modules/opengl/openglutils.h>

+ Inheritance diagram for inviwo::utilgl::BlendModeState:

Classes

struct  Config
 
struct  Mode
 

Public Member Functions

 BlendModeState (BlendModeState &&rhs)
 
 BlendModeState (const BlendModeState &)=delete
 
 BlendModeState (GLenum srcMode, GLenum dstMode)
 
 BlendModeState (GLenum srcRGB, GLenum srcAlpha, GLenum dstRGB, GLenum dstAlpha)
 
BlendModeStateoperator= (BlendModeState &&that)
 
BlendModeStateoperator= (const BlendModeState &that)=delete
 

Protected Attributes

Config curr_
 
Config old_
 
- Protected Attributes inherited from inviwo::utilgl::GlBoolState
bool oldState_
 
bool state_
 
GLenum target_
 

Additional Inherited Members

- Protected Member Functions inherited from inviwo::utilgl::GlBoolState
 GlBoolState (const GlBoolState &)=delete
 
 GlBoolState (GlBoolState &&rhs)
 
 GlBoolState (GLenum target, bool state)
 
 operator bool ()
 
GlBoolStateoperator= (const GlBoolState &that)=delete
 
GlBoolStateoperator= (GlBoolState &&that)
 

Detailed Description

RAII object for OpenGL blending and blend mode, enables blending if source mode is different from GL_NONE.

See also
glBlendFunc, GL_BLEND

The documentation for this struct was generated from the following file: