22 void AddToPostRenderingList(
IObject* obj);
23 void CleanupGUIState();
29 void EndDepthTest(
CGUIBase* pObject = NULL);
33 #ifdef USE_DIRECTX_RENDERER 35 LPDIRECT3DSURFACE9 pBackSurface;
37 D3DFORMAT d3dBackbufferFormat;
50 int m_nDepthEnableCount;
UINT nBkbufHeight
back buffer height
Definition: GUIState.h:42
different physics engine has different winding order.
Definition: EventBinding.h:32
bool bIsBatchRender
true if the it's currently performing batch rendering
Definition: GUIState.h:45
a very thin wrapper to DirectX device with a portable version of openGL implementation.
Definition: RenderDeviceDirectX.h:10
std::list< WeakPtr > listPostRenderingObjects
listPostRenderingObjects: this is the general post rendering list.
Definition: GUIState.h:61
base object for all 2D GUI objects (1) 2D GUI object are not tested against view frustum, instead it is controlled by visibility tag automatically or through user input.
Definition: GUIBase.h:54
void BeginDepthTest(CGUIBase *pObject=NULL)
draw calls between BeginDepthTest() and EndDepthTest() are rendered with depth enabled, such as for relative to 3d objects.
Definition: GUIState.cpp:33
base class for object, such as CBaseObject, IAttributeObject, GUI object.
Definition: PERef.h:287
base class for a surface to paint to.
Definition: Painter.h:38
It's used as parameter to Render method of each GUI object.
Definition: GUIState.h:16
RenderDevicePtr pd3dDevice
rendering device pointer
Definition: GUIState.h:32
UINT nBkbufWidth
back buffer width
Definition: GUIState.h:40
CPainter * painter
current/root painter object.
Definition: GUIState.h:48