Browse Source

Reordered Renderer::Feature enum.

pull/278/head
Vladimír Vondruš 13 years ago
parent
commit
0424e24993
  1. 13
      src/Renderer.h

13
src/Renderer.h

@ -77,6 +77,11 @@ class MAGNUM_EXPORT Renderer {
*/ */
Blending = GL_BLEND, Blending = GL_BLEND,
DepthTest = GL_DEPTH_TEST, /**< Depth test */
Dithering = GL_DITHER, /**< Dithering (enabled by default) */
FaceCulling = GL_CULL_FACE, /**< Back face culling */
#ifndef MAGNUM_TARGET_GLES #ifndef MAGNUM_TARGET_GLES
/** /**
* Logical operation * Logical operation
@ -85,7 +90,9 @@ class MAGNUM_EXPORT Renderer {
* available in OpenGL ES. * available in OpenGL ES.
*/ */
LogicOperation = GL_COLOR_LOGIC_OP, LogicOperation = GL_COLOR_LOGIC_OP,
#endif
#ifndef MAGNUM_TARGET_GLES
/** /**
* Depth clamping. If enabled, ignores near and far clipping plane. * Depth clamping. If enabled, ignores near and far clipping plane.
* @requires_gl32 %Extension @extension{ARB,depth_clamp} * @requires_gl32 %Extension @extension{ARB,depth_clamp}
@ -99,10 +106,8 @@ class MAGNUM_EXPORT Renderer {
* @see setScissor() * @see setScissor()
*/ */
ScissorTest = GL_SCISSOR_TEST, ScissorTest = GL_SCISSOR_TEST,
DepthTest = GL_DEPTH_TEST, /**< Depth test */
StencilTest = GL_STENCIL_TEST, /**< Stencil test */ StencilTest = GL_STENCIL_TEST /**< Stencil test */
Dithering = GL_DITHER, /**< Dithering (enabled by default) */
FaceCulling = GL_CULL_FACE /**< Back face culling */
}; };
/** /**

Loading…
Cancel
Save