OGLplus (0.52.0) a C++ wrapper for OpenGL

Wrapper for blending operations. More...

#include </home/chochlik/devel/oglplus/include/oglplus/context/blending.hpp>

Inheritance diagram for oglplus::context::Blending:

Static Public Member Functions

static void BlendBarrier (void)
 Specified boundaries between blending passes. More...
 
static void BlendEquation (OneOf< GLenum, std::tuple< oglplus::BlendEquation, oglplus::BlendEquationAdvanced > > eq)
 Sets the blend equation. More...
 
static void BlendEquationSeparate (oglplus::BlendEquation eq_rgb, oglplus::BlendEquation eq_alpha)
 Sets the blend equation separate for RGB and alpha. More...
 
static void BlendEquation (GLuint buffer, OneOf< GLenum, std::tuple< oglplus::BlendEquation, oglplus::BlendEquationAdvanced > > eq)
 Sets the blend equation for a particular draw buffer. More...
 
static void BlendEquationSeparate (GLuint buffer, oglplus::BlendEquation eq_rgb, oglplus::BlendEquation eq_alpha)
 Sets the blend equation separate for RGB and alpha for a buffer. More...
 
static void BlendFunc (BlendFunction src, BlendFunction dst)
 Sets the blend function. More...
 
static void BlendFuncSeparate (BlendFunction src_rgb, BlendFunction dst_rgb, BlendFunction src_alpha, BlendFunction dst_alpha)
 Sets the blend function separate for RGB and alpha. More...
 
static void BlendFunc (GLuint buffer, BlendFunction src, BlendFunction dst)
 Sets the blend function for a particular buffer. More...
 
static void BlendFuncSeparate (GLuint buffer, BlendFunction src_rgb, BlendFunction dst_rgb, BlendFunction src_alpha, BlendFunction dst_alpha)
 Sets the blend function separate for RGB and alpha for a buffer. More...
 
static void BlendColor (GLclampf r, GLclampf g, GLclampf b, GLclampf a)
 Sets the blend color. More...
 

Detailed Description

Wrapper for blending operations.

Member Function Documentation

static void oglplus::context::Blending::BlendBarrier ( void  )
static

Specified boundaries between blending passes.

Related OpenGL symbols:
glBlendBarrierKHR
static void oglplus::context::Blending::BlendColor ( GLclampf  r,
GLclampf  g,
GLclampf  b,
GLclampf  a 
)
static

Sets the blend color.

Related OpenGL symbols:
glBlendColor
static void oglplus::context::Blending::BlendEquation ( OneOf< GLenum, std::tuple< oglplus::BlendEquation, oglplus::BlendEquationAdvanced > >  eq)
static

Sets the blend equation.

Related OpenGL symbols:
glBlendEquation
static void oglplus::context::Blending::BlendEquation ( GLuint  buffer,
OneOf< GLenum, std::tuple< oglplus::BlendEquation, oglplus::BlendEquationAdvanced > >  eq 
)
static

Sets the blend equation for a particular draw buffer.

Requires OpenGL 4.0.

Related OpenGL symbols:
glBlendEquationi
static void oglplus::context::Blending::BlendEquationSeparate ( oglplus::BlendEquation  eq_rgb,
oglplus::BlendEquation  eq_alpha 
)
static

Sets the blend equation separate for RGB and alpha.

Related OpenGL symbols:
glBlendEquationSeparate
static void oglplus::context::Blending::BlendEquationSeparate ( GLuint  buffer,
oglplus::BlendEquation  eq_rgb,
oglplus::BlendEquation  eq_alpha 
)
static

Sets the blend equation separate for RGB and alpha for a buffer.

Requires OpenGL 4.0.

Related OpenGL symbols:
glBlendEquationSeparatei
static void oglplus::context::Blending::BlendFunc ( BlendFunction  src,
BlendFunction  dst 
)
static

Sets the blend function.

Related OpenGL symbols:
glBlendFunc
static void oglplus::context::Blending::BlendFunc ( GLuint  buffer,
BlendFunction  src,
BlendFunction  dst 
)
static

Sets the blend function for a particular buffer.

Requires OpenGL 4.0.

Related OpenGL symbols:
glBlendFunci
static void oglplus::context::Blending::BlendFuncSeparate ( BlendFunction  src_rgb,
BlendFunction  dst_rgb,
BlendFunction  src_alpha,
BlendFunction  dst_alpha 
)
static

Sets the blend function separate for RGB and alpha.

Related OpenGL symbols:
glBlendFuncSeparate
static void oglplus::context::Blending::BlendFuncSeparate ( GLuint  buffer,
BlendFunction  src_rgb,
BlendFunction  dst_rgb,
BlendFunction  src_alpha,
BlendFunction  dst_alpha 
)
static

Sets the blend function separate for RGB and alpha for a buffer.

Requires OpenGL 4.0.

Related OpenGL symbols:
glBlendFuncSeparatei

The documentation for this class was generated from the following file:
  • /home/chochlik/devel/oglplus/include/oglplus/context/blending.hpp

Copyright © 2010-2014 Matúš Chochlík, University of Žilina, Žilina, Slovakia.
<matus.chochlik -at- fri.uniza.sk>
<chochlik -at -gmail.com>
Documentation generated on Mon Sep 22 2014 by Doxygen (version 1.8.6).