Developer Documentation
ACG::GLStateContext Struct Reference

Classes

struct  GLVertexPointer
 
struct  TextureStage
 

Public Attributes

std::bitset< 0xFFFF+1 > glStateEnabled_
 
GLenum blendFuncState_ [4]
 
GLenum blendEquationState_
 
GLclampf blendColorState_ [4]
 
GLenum alphaFuncState_
 
GLclampf alphaRefState_
 
GLenum depthFunc_
 
GLuint glBufferTargetState_ [14]
 
GLenum activeTexture_
 
GLint texGenMode_
 
TextureStage glTextureStage_ [16]
 
GLenum shadeModel_
 
GLenum cullFace_
 
GLclampd depthRange_ [2]
 
GLVertexPointer vertexPointer_
 
GLVertexPointer normalPointer_
 
GLVertexPointer texcoordPointer_
 
GLVertexPointer colorPointer_
 
GLenum drawBufferSingle_
 
GLenum drawBufferState_ [16]
 
int activeDrawBuffer_
 
GLuint framebuffers_ [2]
 
GLuint program_
 

Detailed Description

Definition at line 113 of file GLState.hh.

Constructor & Destructor Documentation

◆ GLStateContext()

ACG::GLStateContext::GLStateContext ( )

Definition at line 106 of file GLState.cc.

Member Data Documentation

◆ activeDrawBuffer_

int ACG::GLStateContext::activeDrawBuffer_

Definition at line 202 of file GLState.hh.

◆ activeTexture_

GLenum ACG::GLStateContext::activeTexture_

Definition at line 146 of file GLState.hh.

◆ alphaFuncState_

GLenum ACG::GLStateContext::alphaFuncState_

Definition at line 133 of file GLState.hh.

◆ alphaRefState_

GLclampf ACG::GLStateContext::alphaRefState_

Definition at line 134 of file GLState.hh.

◆ blendColorState_

GLclampf ACG::GLStateContext::blendColorState_[4]

Definition at line 131 of file GLState.hh.

◆ blendEquationState_

GLenum ACG::GLStateContext::blendEquationState_

Definition at line 129 of file GLState.hh.

◆ blendFuncState_

GLenum ACG::GLStateContext::blendFuncState_[4]

Definition at line 127 of file GLState.hh.

◆ colorPointer_

GLVertexPointer ACG::GLStateContext::colorPointer_

Definition at line 196 of file GLState.hh.

◆ cullFace_

GLenum ACG::GLStateContext::cullFace_

Definition at line 166 of file GLState.hh.

◆ depthFunc_

GLenum ACG::GLStateContext::depthFunc_

Definition at line 137 of file GLState.hh.

◆ depthRange_

GLclampd ACG::GLStateContext::depthRange_[2]

Definition at line 170 of file GLState.hh.

◆ drawBufferSingle_

GLenum ACG::GLStateContext::drawBufferSingle_

Definition at line 200 of file GLState.hh.

◆ drawBufferState_

GLenum ACG::GLStateContext::drawBufferState_[16]

Definition at line 201 of file GLState.hh.

◆ framebuffers_

GLuint ACG::GLStateContext::framebuffers_[2]

Definition at line 206 of file GLState.hh.

◆ glBufferTargetState_

GLuint ACG::GLStateContext::glBufferTargetState_[14]

Definition at line 142 of file GLState.hh.

◆ glStateEnabled_

std::bitset<0xFFFF+1> ACG::GLStateContext::glStateEnabled_

Definition at line 124 of file GLState.hh.

◆ glTextureStage_

TextureStage ACG::GLStateContext::glTextureStage_[16]

Definition at line 160 of file GLState.hh.

◆ normalPointer_

GLVertexPointer ACG::GLStateContext::normalPointer_

Definition at line 194 of file GLState.hh.

◆ program_

GLuint ACG::GLStateContext::program_

Definition at line 209 of file GLState.hh.

◆ shadeModel_

GLenum ACG::GLStateContext::shadeModel_

Definition at line 163 of file GLState.hh.

◆ texcoordPointer_

GLVertexPointer ACG::GLStateContext::texcoordPointer_

Definition at line 195 of file GLState.hh.

◆ texGenMode_

GLint ACG::GLStateContext::texGenMode_

Definition at line 149 of file GLState.hh.

◆ vertexPointer_

GLVertexPointer ACG::GLStateContext::vertexPointer_

Definition at line 193 of file GLState.hh.


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