Inviwo 0.9.12-pre
Inviwo documentation
|
RAII object for OpenGL blending and blend mode, enables blending if source mode is different from GL_NONE. More...
#include <openglutils.h>
Classes | |
struct | Config |
struct | Mode |
Public Member Functions | |
BlendModeState (GLenum srcMode, GLenum dstMode) | |
BlendModeState (GLenum srcRGB, GLenum srcAlpha, GLenum dstRGB, GLenum dstAlpha) | |
BlendModeState (BlendModeState const &)=delete | |
BlendModeState & | operator= (BlendModeState const &that)=delete |
BlendModeState (BlendModeState &&rhs) | |
BlendModeState & | operator= (BlendModeState &&that) |
Protected Attributes | |
Config | curr_ |
Config | old_ |
Protected Attributes inherited from inviwo::utilgl::GlBoolState | |
GLenum | target_ |
bool | oldState_ |
bool | state_ |
Additional Inherited Members | |
Protected Member Functions inherited from inviwo::utilgl::GlBoolState | |
GlBoolState (GLenum target, bool state) | |
GlBoolState (GlBoolState const &)=delete | |
GlBoolState & | operator= (GlBoolState const &that)=delete |
GlBoolState (GlBoolState &&rhs) | |
GlBoolState & | operator= (GlBoolState &&that) |
operator bool () | |
RAII object for OpenGL blending and blend mode, enables blending if source mode is different from GL_NONE.