ReactOS Fundraising Campaign 2012
 
€ 4,410 / € 30,000

Information | Donate

Home | Info | Community | Development | myReactOS | Contact Us

  1. Home
  2. Community
  3. Development
  4. myReactOS
  5. Fundraiser 2012

  1. Main Page
  2. Alphabetical List
  3. Data Structures
  4. Directories
  5. File List
  6. Data Fields
  7. Globals
  8. Related Pages

ReactOS Development > Doxygen

gl_stencil_attrib Struct Reference

#include <mtypes.h>

Data Fields

GLboolean Enabled
GLboolean TestTwoSide
GLubyte ActiveFace
GLboolean _TestTwoSide
GLubyte _BackFace
GLenum Function [3]
GLenum FailFunc [3]
GLenum ZPassFunc [3]
GLenum ZFailFunc [3]
GLint Ref [3]
GLuint ValueMask [3]
GLuint WriteMask [3]
GLuint Clear

Detailed Description

Stencil attribute group (GL_STENCIL_BUFFER_BIT).

Three sets of stencil data are tracked so that OpenGL 2.0, GL_EXT_stencil_two_side, and GL_ATI_separate_stencil can all be supported simultaneously. In each of the stencil state arrays, element 0 corresponds to GL_FRONT. Element 1 corresponds to the OpenGL 2.0 / GL_ATI_separate_stencil GL_BACK state. Element 2 corresponds to the GL_EXT_stencil_two_side GL_BACK state.

The derived value _BackFace is either 1 or 2 depending on whether or not GL_STENCIL_TEST_TWO_SIDE_EXT is enabled.

The derived value _TestTwoSide is set when the front-face and back-face stencil state are different.

Definition at line 1125 of file mtypes.h.


The documentation for this struct was generated from the following file:

Generated on Fri May 25 2012 06:19:04 for ReactOS by doxygen 1.7.6.1

ReactOS is a registered trademark or a trademark of ReactOS Foundation in the United States and other countries.