![]() |
PURE API 0.5
PR00F's Ultimate Rendering Engine full documentation
|
Incremental fixed-function hardware renderer path. More...
Incremental fixed-function hardware renderer path.
Only deviations from the original PureIRenderer documentation are mentioned here. This renderer has multiple rendering paths, controlled by the render hints. The default render hints for this renderer is DefaultHintsForHWfixedPipeRenderer.
Definition at line 62 of file PureRendererHWfixedPipe.h.
#include <PureRendererHWfixedPipe.h>
Public Member Functions | |
CConsole & | getConsole () const |
Returns access to console preset with logger module name as this class. | |
virtual void | RenderObject (PureObject3D &object)=0 |
Not implemented. | |
virtual TPureUInt | getLastFrameObjectsVisible () const =0 |
Returns number of objects allowed to be visible in last frame. | |
virtual TPureUInt | getLastFrameOccluders () const =0 |
Returns number of objects that were occluders in last frame. | |
virtual TPureUInt | getLastFrameOccludeesNonOcclusionTested () const =0 |
Returns number of occludees that had occlusion test disabled in last frame. | |
virtual TPureUInt | getLastFrameOccludeesOcclusionTested () const =0 |
Returns number of occludees that had occlusion test enabled (not necessarily ongoing) in last frame. | |
virtual TPureUInt | getLastFrameOccludeesOcclusionTestedAndOccluded () const =0 |
Returns number of occluded occludees in last frame (only counted if occlusion test was also enabled). | |
virtual TPureUInt | getLastFrameOccludeesOcclusionTestedAndNonOccluded () const =0 |
Returns number of non-occluded occludees in last frame (only counted if occlusion test was also enabled). | |
virtual TPureUInt | getLastFrameOccludeesOcclusionTestedAndNonOccludedButNonVisibleAnyway () const =0 |
Returns number of non-occluded occludees in last frame (only counted if occlusion test was also enabled but visibility was not). | |
virtual TPureUInt | getLastFrameTransferredVertices () const =0 |
Returns number of transferred vertices in last frame. | |
virtual TPureUInt | getLastFrameTransferredTriangles () const =0 |
Returns number of transferred triangles in last frame. | |
![]() | |
virtual TPureUInt | initialize (TPureUInt width, TPureUInt height, TPURE_DISPLAY_MODES dmode, TPureUInt freq, TPureInt cdepth, TPureInt zdepth, TPureInt stencil, TPureInt samples, HWND window=NULL)=0 |
Initializes the renderer. | |
virtual TPureBool | shutdown ()=0 |
This stops the renderer. | |
virtual TPureBool | isInitialized () const =0 |
Gets the state of the renderer. | |
virtual void | SetManagers (PureObject3DManager *_objmgr, PureUiManager *_uimgr, PureCamera *_cam)=0 |
This should be called after initialization, prior to first call to RenderScene(). | |
virtual void | RenderScene ()=0 |
Renders the scene. | |
virtual const TPURE_RENDER_HINT & | getRenderHints ()=0 |
Get current render hints. | |
virtual void | SetRenderHints (const TPURE_RENDER_HINT &hints)=0 |
Set current render hints. | |
virtual void | ResetStatistics ()=0 |
Resets "Current Statistics". | |
virtual void | WriteStats () const =0 |
Writes "Current Statistics" and "Last Frame Statistics" to the console window. | |
Static Public Member Functions | |
static PureRendererHWfixedPipe & | createAndGet (PGEcfgProfiles &cfgProfiles, PureWindow &_wnd, PureScreen &_scr, PureHwInfo &_hwinfo) |
Creates and gets the singleton implementation instance. | |
static const char * | getLoggerModuleName () |
Returns the logger module name of this class. | |
Static Public Attributes | |
static const TPURE_RENDER_HINT | DefaultHints |
Default render hints for PureRendererHWfixedPipe. | |
|
static |
Creates and gets the singleton implementation instance.
Creates and gets the singleton instance.
Definition at line 1580 of file PureRendererHWfixedPipe.cpp.
CConsole & PureRendererHWfixedPipe::getConsole | ( | ) | const |
Returns access to console preset with logger module name as this class.
Intentionally not virtual, so the getConsole() in derived class should hide this instead of overriding.
Definition at line 1597 of file PureRendererHWfixedPipe.cpp.
|
pure virtual |
Returns number of objects allowed to be visible in last frame.
Implemented in PureRendererHWfixedPipeImpl.
|
pure virtual |
Returns number of occludees that had occlusion test disabled in last frame.
Implemented in PureRendererHWfixedPipeImpl.
|
pure virtual |
Returns number of occludees that had occlusion test enabled (not necessarily ongoing) in last frame.
Implemented in PureRendererHWfixedPipeImpl.
|
pure virtual |
Returns number of non-occluded occludees in last frame (only counted if occlusion test was also enabled).
Implemented in PureRendererHWfixedPipeImpl.
|
pure virtual |
Returns number of non-occluded occludees in last frame (only counted if occlusion test was also enabled but visibility was not).
Implemented in PureRendererHWfixedPipeImpl.
|
pure virtual |
Returns number of occluded occludees in last frame (only counted if occlusion test was also enabled).
Implemented in PureRendererHWfixedPipeImpl.
|
pure virtual |
Returns number of objects that were occluders in last frame.
Implemented in PureRendererHWfixedPipeImpl.
|
pure virtual |
Returns number of transferred triangles in last frame.
Implemented in PureRendererHWfixedPipeImpl.
|
pure virtual |
Returns number of transferred vertices in last frame.
Implemented in PureRendererHWfixedPipeImpl.
|
static |
Returns the logger module name of this class.
Intentionally not virtual, so derived class should hide this instead of overriding. Not even private, so user can also access this from outside, for any reason like controlling log filtering per logger module name.
Definition at line 1610 of file PureRendererHWfixedPipe.cpp.
|
pure virtual |
Not implemented.
Use RenderScene() to render all objects.
Implements PureIRenderer.
Implemented in PureRendererHWfixedPipeImpl.
|
static |
Default render hints for PureRendererHWfixedPipe.
Definition at line 71 of file PureRendererHWfixedPipe.h.