LLGLDepthTest Class Reference

#include <llglstates.h>

List of all members.

Public Member Functions

 LLGLDepthTest (GLboolean depth_enabled, GLboolean write_enabled=GL_TRUE, GLenum depth_func=GL_LEQUAL)
 ~LLGLDepthTest ()

Public Attributes

GLboolean mPrevDepthEnabled
GLenum mPrevDepthFunc
GLboolean mPrevWriteEnabled

Static Private Attributes

static GLboolean sDepthEnabled = GL_FALSE
static GLenum sDepthFunc = GL_LESS
static GLboolean sWriteEnabled = GL_TRUE


Detailed Description

Definition at line 50 of file llglstates.h.


Constructor & Destructor Documentation

LLGLDepthTest::LLGLDepthTest ( GLboolean  depth_enabled,
GLboolean  write_enabled = GL_TRUE,
GLenum  depth_func = GL_LEQUAL 
) [inline]

Definition at line 54 of file llglstates.h.

References glDepthFunc, glDisable, glEnable, sDepthEnabled, sDepthFunc, and sWriteEnabled.

LLGLDepthTest::~LLGLDepthTest (  )  [inline]

Definition at line 74 of file llglstates.h.

References glDepthFunc, glDisable, glEnable, mPrevDepthEnabled, mPrevDepthFunc, mPrevWriteEnabled, sDepthEnabled, sDepthFunc, and sWriteEnabled.


Member Data Documentation

GLboolean LLGLDepthTest::mPrevDepthEnabled

Definition at line 93 of file llglstates.h.

Referenced by ~LLGLDepthTest().

GLenum LLGLDepthTest::mPrevDepthFunc

Definition at line 94 of file llglstates.h.

Referenced by ~LLGLDepthTest().

GLboolean LLGLDepthTest::mPrevWriteEnabled

Definition at line 95 of file llglstates.h.

Referenced by ~LLGLDepthTest().

GLboolean LLGLDepthTest::sDepthEnabled = GL_FALSE [static, private]

Definition at line 97 of file llglstates.h.

Referenced by LLGLDepthTest(), and ~LLGLDepthTest().

GLenum LLGLDepthTest::sDepthFunc = GL_LESS [static, private]

Definition at line 98 of file llglstates.h.

Referenced by LLGLDepthTest(), and ~LLGLDepthTest().

GLboolean LLGLDepthTest::sWriteEnabled = GL_TRUE [static, private]

Definition at line 99 of file llglstates.h.

Referenced by LLGLDepthTest(), and ~LLGLDepthTest().


The documentation for this class was generated from the following files:
Generated on Thu Jul 1 06:11:23 2010 for Second Life Viewer by  doxygen 1.4.7