#include <llglstates.h>
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 |
Definition at line 50 of file llglstates.h.
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.
GLboolean LLGLDepthTest::mPrevDepthEnabled |
GLboolean LLGLDepthTest::mPrevWriteEnabled |
GLboolean LLGLDepthTest::sDepthEnabled = GL_FALSE [static, private] |
GLenum LLGLDepthTest::sDepthFunc = GL_LESS [static, private] |
GLboolean LLGLDepthTest::sWriteEnabled = GL_TRUE [static, private] |