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 40 of file llglstates.h.


Constructor & Destructor Documentation

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

Definition at line 1654 of file llgl.cpp.

References LLGLImmediate::flush(), gGL, sDepthEnabled, sDepthFunc, and sWriteEnabled.

Here is the call graph for this function:

LLGLDepthTest::~LLGLDepthTest (  ) 

Definition at line 1678 of file llgl.cpp.

References LLGLImmediate::flush(), gGL, mPrevDepthEnabled, mPrevDepthFunc, mPrevWriteEnabled, sDepthEnabled, sDepthFunc, and sWriteEnabled.

Here is the call graph for this function:


Member Data Documentation

Definition at line 48 of file llglstates.h.

Referenced by ~LLGLDepthTest().

Definition at line 49 of file llglstates.h.

Referenced by ~LLGLDepthTest().

Definition at line 50 of file llglstates.h.

Referenced by ~LLGLDepthTest().

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

Definition at line 52 of file llglstates.h.

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

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

Definition at line 53 of file llglstates.h.

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

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

Definition at line 54 of file llglstates.h.

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


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

Generated on Fri May 16 08:48:20 2008 for SecondLife by  doxygen 1.5.5