Inviwo
0.9.10.1
Inviwo documentation
|
RAII object for OpenGL blending and blend mode, enables blending if source mode is different from GL_NONE. More...
#include <openglutils.h>
Public Member Functions | |
BlendModeState (BlendModeState const &)=delete | |
BlendModeState & | operator= (BlendModeState const &that)=delete |
BlendModeState (GLenum smode, GLenum dmode) | |
BlendModeState (BlendModeState &&rhs) | |
BlendModeState & | operator= (BlendModeState &&that) |
Public Member Functions inherited from inviwo::utilgl::GlBoolState | |
GlBoolState (GlBoolState const &)=delete | |
GlBoolState & | operator= (GlBoolState const &that)=delete |
GlBoolState (GLenum target, bool state) | |
GlBoolState (GlBoolState &&rhs) | |
GlBoolState & | operator= (GlBoolState &&that) |
operator bool () | |
Protected Attributes | |
GLint | smode_ |
GLint | dmode_ |
GLint | oldsMode_ |
GLint | olddMode_ |
Protected Attributes inherited from inviwo::utilgl::GlBoolState | |
GLenum | target_ |
bool | oldState_ |
bool | state_ |
RAII object for OpenGL blending and blend mode, enables blending if source mode is different from GL_NONE.