OGLplus (0.52.0) a C++ wrapper for OpenGL

Wrappers for operations for fine control of buffer updates. More...

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

Inheritance diagram for oglplus::context::BufferMasking:

Static Public Member Functions

static void ColorMask (bool r, bool g, bool b, bool a)
 Sets the color mask. More...
 
static void ColorMask (GLuint buffer, bool r, bool g, bool b, bool a)
 Sets the color mask for a particular buffer. More...
 
static void DepthMask (bool mask)
 Sets the depth mask. More...
 
static void StencilMask (GLuint mask)
 Sets the stencil mask. More...
 
static void StencilMaskSeparate (Face face, GLuint mask)
 Sets the stencil mask separately for front and back faces. More...
 
static oglplus::context::RGBAMask ColorWriteMask (GLuint buffer=0)
 Returns the value of color buffer write mask. More...
 
static bool DepthWriteMask (void)
 Returns the value of depth buffer write mask. More...
 
static GLuint StencilWriteMask (bool backface=false)
 Returns the value of stencil write mask. More...
 

Detailed Description

Wrappers for operations for fine control of buffer updates.

Member Function Documentation

static void oglplus::context::BufferMasking::ColorMask ( bool  r,
bool  g,
bool  b,
bool  a 
)
static

Sets the color mask.

Related OpenGL symbols:
glColorMask
static void oglplus::context::BufferMasking::ColorMask ( GLuint  buffer,
bool  r,
bool  g,
bool  b,
bool  a 
)
static

Sets the color mask for a particular buffer.

Related OpenGL symbols:
glColorMaski
static oglplus::context::RGBAMask oglplus::context::BufferMasking::ColorWriteMask ( GLuint  buffer = 0)
static

Returns the value of color buffer write mask.

Related OpenGL symbols:
glGet GL_COLOR_WRITEMASK
static void oglplus::context::BufferMasking::DepthMask ( bool  mask)
static

Sets the depth mask.

Related OpenGL symbols:
glDepthMask
static bool oglplus::context::BufferMasking::DepthWriteMask ( void  )
static

Returns the value of depth buffer write mask.

Related OpenGL symbols:
glGet GL_DEPTH_WRITEMASK
static void oglplus::context::BufferMasking::StencilMask ( GLuint  mask)
static

Sets the stencil mask.

Related OpenGL symbols:
glStencilMask
static void oglplus::context::BufferMasking::StencilMaskSeparate ( Face  face,
GLuint  mask 
)
static

Sets the stencil mask separately for front and back faces.

Related OpenGL symbols:
glStencilMaskSeparate
static GLuint oglplus::context::BufferMasking::StencilWriteMask ( bool  backface = false)
static

Returns the value of stencil write mask.

Related OpenGL symbols:
glGet GL_STENCIL_WRITEMASK GL_STENCIL_BACK_WRITEMASK

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

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).