Classes | Public Types | Public Member Functions | Public Attributes

Wizt::VRenderContext Struct Reference

Base class for objects that may display something. More...

#include <ocean/Anemonia/VRenderContext.hpp>

Collaboration diagram for Wizt::VRenderContext:
Collaboration graph
[legend]

List of all members.

Classes

Public Types

Public Member Functions

Public Attributes


Detailed Description

Base class for objects that may display something.

Examples:

ClippingPlane.cpp, ComputeGridStreamLines.cpp, ComputeMultiStreamLines.cpp, DemoSphere.cpp, and PointSprite.cpp.


Member Function Documentation

int Wizt::VRenderContext::BeginNewRender ( int  MaxRenderObjects  )  [inline]
Returns:
The shift factor for the number of objects, i.e. retval = int(log2(MaxRenderObjects), such that MaxRenderObjects < 1<<retval.
virtual int Wizt::VRenderContext::render ( const ObjectSelection RenderObjects,
double &  RenderTime,
int  MinLevel = RENDER_FIRST,
int  MaxLevel = RENDER_LAST 
) [pure virtual]

Implementation-specific function to traverse all objects that ought to be rendered.

Parameters:
RenderTime The accumulative time (in seconds) used for rendering.
Returns:
The number of objects that had been actually rendered

Implemented in Wizt::VGLRenderContext.


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