Browse Source

Added stencil test to camera features.

pull/279/head
Vladimír Vondruš 14 years ago
parent
commit
16f8b9bbe6
  1. 9
      src/Camera.h

9
src/Camera.h

@ -40,7 +40,7 @@ class MAGNUM_EXPORT Camera: public Object {
* @see setFeature() * @see setFeature()
*/ */
enum class Feature: GLenum { enum class Feature: GLenum {
AlphaBlending = GL_BLEND, /**< Alpha blending */ AlphaBlending = GL_BLEND, /**< Alpha blending */
/** /**
* Depth clamping. If enabled, ignores near and far clipping plane. * Depth clamping. If enabled, ignores near and far clipping plane.
@ -49,9 +49,10 @@ class MAGNUM_EXPORT Camera: public Object {
*/ */
DepthClamp = GL_DEPTH_CLAMP, DepthClamp = GL_DEPTH_CLAMP,
DepthTest = GL_DEPTH_TEST, /**< Depth test */ DepthTest = GL_DEPTH_TEST, /**< Depth test */
Dithering = GL_DITHER, /**< Dithering (enabled by default) */ StencilTest = GL_STENCIL_TEST, /**< Stencil test */
FaceCulling = GL_CULL_FACE /**< Back face culling */ Dithering = GL_DITHER, /**< Dithering (enabled by default) */
FaceCulling = GL_CULL_FACE /**< Back face culling */
}; };
/** /**

Loading…
Cancel
Save