RE_OGLState Class Reference

#include <RE_OGLState.h>

List of all members.

Classes

struct  re_TexStackItem

Public Member Functions

 RE_OGLState (bool list_state)
 ~RE_OGLState ()
bool isListState () const
void invalidate ()
void raiseAssertsForStateDifferences (const RE_OGLState &state)
void verifySync (RE_Render *r)
void pushColorBuf ()
void pushEnable ()
void pushCurrent ()
void pushFog ()
void pushHint ()
void pushDepthBuf ()
void pushLines ()
void pushLighting ()
void pushPointStyle ()
void pushPolygon ()
void pushStencilBuf ()
void pushTexture ()
void pushViewport ()
unsigned int getPushedBits () const

Public Attributes

GLint _matrixMode
int _colorBufferWriting
unsigned myAlphaTestState: 2
unsigned myColorMaterialState: 2
unsigned myColorSumState: 2
unsigned myDepthCueingState:2
unsigned myDitherState: 2
unsigned myFillOffsetState: 2
unsigned myLightingState: 2
unsigned myLineOffsetState: 2
unsigned myLineSmoothingState: 2
unsigned myPointOffsetState: 2
unsigned myPointSmoothingState: 2
unsigned myPointSpriteState: 2
unsigned myProgramSpriteState: 2
unsigned mySampleMaskState: 2
unsigned myScissorState: 2
unsigned myStencilState: 2
unsigned mySeamlessMapState: 2
unsigned concave:2
unsigned backface:2
unsigned reverse_winding:2
float wPosX
float wPosY
float wPosZ
float rx
float ry
float rz
UT_DimRect scissorState
UT_DimRect viewportState
bool scissorEnabled
int viewportStateValid
int scissorStateValid
float myXZoom
float myYZoom
float zNear
float zFar
float _offset_variable
float _offset_constant
UT_Int32Array mySampleMask
UT_BitArray mySampleMaskValid
unsigned lightingOn:2
RE_InterpMode myShadeModel
unsigned myColorMask
int _s_clear_value
int _s_write_mask
RE_SFunction _s_function
int _s_function_ref
int _s_function_mask
RE_SOperation _s_operation_sfail
RE_SOperation _s_operation_dpfail
RE_SOperation _s_operation_dppass
RE_OGLFramebuffermyDrawFBOStack [RE_FRAMEBUFFER_STACK_SIZE]
int myDrawFBOStackIndex
RE_OGLFramebuffermyReadFBOStack [RE_FRAMEBUFFER_STACK_SIZE]
int myReadFBOStackIndex
RE_CMMatrix projectionStack [PROJECTION_STACK_SIZE]
int projectionIndex
float lineWidthStack [PATTERN_STACK_SIZE]
int lineWidthIndex
unsigned short lineStyleStack [PATTERN_STACK_SIZE]
int lineStyleIndex
short patternStack [PATTERN_STACK_SIZE]
int patternIndex
RE_ColorStack colorStack [RE_COLOR_STACK_SIZE]
int colorStackIndex
float pointSizeStack [PATTERN_STACK_SIZE]
int pointSizeIndex
struct {
   unsigned char   read:4
   unsigned char   write:4
myAlignmentStack [RE_ALIGN_STACK_SIZE]
int myAlignmentStackIndex
float myGLColor [4]
struct RE_OGLState::re_TexStackItem myTexStack [RE_MAX_TEXTURE_STATE_STACK]
int myTexStackIndex
int myBlendSmoothLevel
re_BlendSmoothState myBlendSmoothStack [RE_SMOOTH_STACK_SIZE]
int myStencilLevel
re_StencilState myStencilStack [RE_STENCIL_STACK_SIZE]
int myShaderLevel
RE_ShadermyShaderStack [RE_SHADER_STACK_SIZE]
int myDepthLevel
re_DepthState myDepthStack [RE_DEPTH_STACK_SIZE]
unsigned myShaderStackValid: 1
unsigned myFBOStackValid: 1


Detailed Description

Definition at line 37 of file RE_OGLState.h.


Constructor & Destructor Documentation

RE_OGLState::RE_OGLState ( bool  list_state  )  [explicit]

RE_OGLState::~RE_OGLState (  ) 


Member Function Documentation

unsigned int RE_OGLState::getPushedBits (  )  const [inline]

Definition at line 62 of file RE_OGLState.h.

void RE_OGLState::invalidate (  ) 

bool RE_OGLState::isListState (  )  const [inline]

Definition at line 43 of file RE_OGLState.h.

void RE_OGLState::pushColorBuf (  ) 

void RE_OGLState::pushCurrent (  ) 

void RE_OGLState::pushDepthBuf (  ) 

void RE_OGLState::pushEnable (  ) 

void RE_OGLState::pushFog (  ) 

void RE_OGLState::pushHint (  ) 

void RE_OGLState::pushLighting (  ) 

void RE_OGLState::pushLines (  ) 

void RE_OGLState::pushPointStyle (  ) 

void RE_OGLState::pushPolygon (  ) 

void RE_OGLState::pushStencilBuf (  ) 

void RE_OGLState::pushTexture (  ) 

void RE_OGLState::pushViewport (  ) 

void RE_OGLState::raiseAssertsForStateDifferences ( const RE_OGLState state  ) 

void RE_OGLState::verifySync ( RE_Render r  ) 


Member Data Documentation

Definition at line 66 of file RE_OGLState.h.

Definition at line 65 of file RE_OGLState.h.

Definition at line 107 of file RE_OGLState.h.

Definition at line 106 of file RE_OGLState.h.

Definition at line 116 of file RE_OGLState.h.

Definition at line 118 of file RE_OGLState.h.

Definition at line 120 of file RE_OGLState.h.

Definition at line 119 of file RE_OGLState.h.

Definition at line 122 of file RE_OGLState.h.

Definition at line 123 of file RE_OGLState.h.

Definition at line 121 of file RE_OGLState.h.

Definition at line 117 of file RE_OGLState.h.

Definition at line 88 of file RE_OGLState.h.

RE_ColorStack RE_OGLState::colorStack[RE_COLOR_STACK_SIZE]

Definition at line 139 of file RE_OGLState.h.

Definition at line 140 of file RE_OGLState.h.

Definition at line 88 of file RE_OGLState.h.

Definition at line 112 of file RE_OGLState.h.

Definition at line 136 of file RE_OGLState.h.

unsigned short RE_OGLState::lineStyleStack[PATTERN_STACK_SIZE]

Definition at line 135 of file RE_OGLState.h.

Definition at line 134 of file RE_OGLState.h.

float RE_OGLState::lineWidthStack[PATTERN_STACK_SIZE]

Definition at line 133 of file RE_OGLState.h.

struct { ... } RE_OGLState::myAlignmentStack[RE_ALIGN_STACK_SIZE]

Definition at line 149 of file RE_OGLState.h.

Definition at line 70 of file RE_OGLState.h.

Definition at line 173 of file RE_OGLState.h.

Definition at line 174 of file RE_OGLState.h.

Definition at line 114 of file RE_OGLState.h.

Definition at line 70 of file RE_OGLState.h.

Definition at line 70 of file RE_OGLState.h.

Definition at line 70 of file RE_OGLState.h.

Definition at line 185 of file RE_OGLState.h.

Definition at line 186 of file RE_OGLState.h.

Definition at line 70 of file RE_OGLState.h.

RE_OGLFramebuffer* RE_OGLState::myDrawFBOStack[RE_FRAMEBUFFER_STACK_SIZE]

Definition at line 126 of file RE_OGLState.h.

Definition at line 127 of file RE_OGLState.h.

Definition at line 188 of file RE_OGLState.h.

Definition at line 70 of file RE_OGLState.h.

Definition at line 151 of file RE_OGLState.h.

Definition at line 70 of file RE_OGLState.h.

Definition at line 70 of file RE_OGLState.h.

Definition at line 70 of file RE_OGLState.h.

Definition at line 70 of file RE_OGLState.h.

Definition at line 70 of file RE_OGLState.h.

Definition at line 70 of file RE_OGLState.h.

Definition at line 70 of file RE_OGLState.h.

RE_OGLFramebuffer* RE_OGLState::myReadFBOStack[RE_FRAMEBUFFER_STACK_SIZE]

Definition at line 128 of file RE_OGLState.h.

Definition at line 129 of file RE_OGLState.h.

Definition at line 109 of file RE_OGLState.h.

Definition at line 70 of file RE_OGLState.h.

Definition at line 110 of file RE_OGLState.h.

Definition at line 70 of file RE_OGLState.h.

Definition at line 70 of file RE_OGLState.h.

Definition at line 113 of file RE_OGLState.h.

Definition at line 181 of file RE_OGLState.h.

RE_Shader* RE_OGLState::myShaderStack[RE_SHADER_STACK_SIZE]

Definition at line 182 of file RE_OGLState.h.

Definition at line 188 of file RE_OGLState.h.

Definition at line 177 of file RE_OGLState.h.

Definition at line 178 of file RE_OGLState.h.

Definition at line 70 of file RE_OGLState.h.

struct RE_OGLState::re_TexStackItem RE_OGLState::myTexStack[RE_MAX_TEXTURE_STATE_STACK]

Definition at line 170 of file RE_OGLState.h.

Definition at line 103 of file RE_OGLState.h.

Definition at line 103 of file RE_OGLState.h.

Definition at line 138 of file RE_OGLState.h.

short RE_OGLState::patternStack[PATTERN_STACK_SIZE]

Definition at line 137 of file RE_OGLState.h.

Definition at line 142 of file RE_OGLState.h.

float RE_OGLState::pointSizeStack[PATTERN_STACK_SIZE]

Definition at line 141 of file RE_OGLState.h.

Definition at line 132 of file RE_OGLState.h.

RE_CMMatrix RE_OGLState::projectionStack[PROJECTION_STACK_SIZE]

Definition at line 131 of file RE_OGLState.h.

unsigned char RE_OGLState::read

Definition at line 146 of file RE_OGLState.h.

Definition at line 88 of file RE_OGLState.h.

Definition at line 93 of file RE_OGLState.h.

Definition at line 93 of file RE_OGLState.h.

Definition at line 93 of file RE_OGLState.h.

Definition at line 98 of file RE_OGLState.h.

Definition at line 95 of file RE_OGLState.h.

Definition at line 101 of file RE_OGLState.h.

Definition at line 96 of file RE_OGLState.h.

Definition at line 100 of file RE_OGLState.h.

Definition at line 92 of file RE_OGLState.h.

Definition at line 92 of file RE_OGLState.h.

Definition at line 92 of file RE_OGLState.h.

unsigned char RE_OGLState::write

Definition at line 146 of file RE_OGLState.h.

Definition at line 105 of file RE_OGLState.h.

Definition at line 105 of file RE_OGLState.h.


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

Generated on Thu Jan 31 00:31:57 2013 for HDK by  doxygen 1.5.9