PURE API 0.5
PR00F's Ultimate Rendering Engine full documentation
Loading...
Searching...
No Matches
PureRendererSWincremental Class Referenceabstract

Incremental software renderer path. More...

Detailed Description

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>

+ Inheritance diagram for PureRendererSWincremental:

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.
 
- Public Member Functions inherited from PureIRenderer
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_HINTgetRenderHints ()=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 PureRendererSWincrementalcreateAndGet (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.
 

Member Function Documentation

◆ createAndGet()

PureRendererSWincremental & PureRendererSWincremental::createAndGet ( PGEcfgProfiles & cfgProfiles,
PureWindow & _wnd,
PureScreen & _scr,
PureHwInfo & _hwinfo )
static

Creates and gets the singleton implementation instance.

Creates and gets the singleton instance.

Definition at line 1024 of file PureRendererSWincremental.cpp.

◆ getConsole()

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.

Returns
Console instance used by this class.

Definition at line 1041 of file PureRendererSWincremental.cpp.

◆ getLoggerModuleName()

const char * PureRendererSWincremental::getLoggerModuleName ( )
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.

Returns
The logger module name of this class.

Definition at line 1054 of file PureRendererSWincremental.cpp.

◆ initialize()

virtual TPureUInt PureRendererSWincremental::initialize ( TPureUInt width,
TPureUInt height,
TPURE_DISPLAY_MODES dmode,
TPureUInt freq,
TPureInt cdepth,
TPureInt zdepth,
TPureInt stencil,
TPureInt samples,
HWND window = NULL )
pure virtual

Initializes the software renderer.

Parameters
widthSame as described in PureIRenderer::initialize().
heightSame as described in PureIRenderer::initialize().
dmodeSame as described in PureIRenderer::initialize().
freqSame as described in PureIRenderer::initialize().
cdepthSame as described in PureIRenderer::initialize().
zdepthThe Z-buffer-depth to be set. Currently Z-buffering is not implemented by this renderer.
stencilThe stencil buffer depth to be set. Currently Z-buffering is not implemented by this renderer.
samplesThe level of antialiasing. Currently Z-buffering is not implemented by this renderer.
windowSame as described in PureIRenderer::initialize().
Returns
The result of the initialization. 0 on success, 1 otherwise.

Implements PureIRenderer.

Implemented in PureRendererSWincrementalImpl.

◆ RenderObject()

virtual void PureRendererSWincremental::RenderObject ( PureObject3D & object)
pure virtual

Not implemented.

Use RenderScene() to render all objects.

Implements PureIRenderer.

Implemented in PureRendererSWincrementalImpl.

Member Data Documentation

◆ DefaultHints

const TPURE_RENDER_HINT PureRendererSWincremental::DefaultHints = 0
static

Default render hints for PureRendererSWincremental.

Definition at line 34 of file PureRendererSWincremental.h.


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