Wrappers for operations for fine control of buffer updates.
More...
#include </home/chochlik/devel/oglplus/include/oglplus/context/buffer_masking.hpp>
Wrappers for operations for fine control of buffer updates.
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
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 |
static void oglplus::context::BufferMasking::StencilMaskSeparate |
( |
Face |
face, |
|
|
GLuint |
mask |
|
) |
| |
|
static |
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: