![]() |
PURE API 0.5
PR00F's Ultimate Rendering Engine full documentation
|
Incremental software renderer path. More...
Incremental software renderer path.
Only deviations from the original PureIRenderer documentation are mentioned here.
Definition at line 25 of file PureRendererSWincremental.h.
#include <PureRendererSWincremental.h>
Public Member Functions | |
CConsole & | getConsole () const |
Returns access to console preset with logger module name as this class. | |
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 software renderer. | |
virtual void | RenderObject (PureObject3D &object)=0 |
Not implemented. | |
![]() | |
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 PureRendererSWincremental & | 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 = 0 |
Default render hints for PureRendererSWincremental. | |
|
static |
Creates and gets the singleton implementation instance.
Creates and gets the singleton instance.
Definition at line 1024 of file PureRendererSWincremental.cpp.
CConsole & PureRendererSWincremental::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 1041 of file PureRendererSWincremental.cpp.
|
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 1054 of file PureRendererSWincremental.cpp.
|
pure virtual |
Initializes the software renderer.
width | Same as described in PureIRenderer::initialize(). |
height | Same as described in PureIRenderer::initialize(). |
dmode | Same as described in PureIRenderer::initialize(). |
freq | Same as described in PureIRenderer::initialize(). |
cdepth | Same as described in PureIRenderer::initialize(). |
zdepth | The Z-buffer-depth to be set. Currently Z-buffering is not implemented by this renderer. |
stencil | The stencil buffer depth to be set. Currently Z-buffering is not implemented by this renderer. |
samples | The level of antialiasing. Currently Z-buffering is not implemented by this renderer. |
window | Same as described in PureIRenderer::initialize(). |
Implements PureIRenderer.
Implemented in PureRendererSWincrementalImpl.
|
pure virtual |
Not implemented.
Use RenderScene() to render all objects.
Implements PureIRenderer.
Implemented in PureRendererSWincrementalImpl.
|
static |
Default render hints for PureRendererSWincremental.
Definition at line 34 of file PureRendererSWincremental.h.