CrystalSpace

Public API Reference

CS::RenderManager::StandardPortalSetup_Base::PersistentData Struct Reference

Data used by the helper that needs to persist over multiple frames. More...

#include <csplugincommon/rendermanager/portalsetup.h>

List of all members.

Classes

struct  csBoxClipperCached
 Cache-helper for box clipper caching. More...
struct  PortalBufferConstraint
 GenericCache-constraints for PortalBuffer caching. More...
struct  PortalBuffers
 Cache structure for portal render buffers. More...

Public Member Functions

void Initialize (iObjectRegistry *object_reg, RenderTreeBase::DebugPersistent &dbgPersist)
 Initialize helper.
 PersistentData (int textCachOptions=TextureCache::tcachePowerOfTwo)
 Construct helper.
iTextureHandleQueryUnusedTexture (int width, int height, int &real_w, int &real_h)
 Abstracts the usage of the texture cache.
void UpdateNewFrame ()
 Do per-frame house keeping - MUST be called every frame/ RenderView() execution.

Public Attributes

CameraCache cameras
 Cache for cameras created for looking through portals.

Detailed Description

Data used by the helper that needs to persist over multiple frames.

Render managers must store an instance of this class and provide it to the helper upon instantiation.

Definition at line 58 of file portalsetup.h.


Constructor & Destructor Documentation

CS::RenderManager::StandardPortalSetup_Base::PersistentData::PersistentData ( int  textCachOptions = TextureCache::tcachePowerOfTwo  ) 

Construct helper.


Member Function Documentation

void CS::RenderManager::StandardPortalSetup_Base::PersistentData::Initialize ( iObjectRegistry object_reg,
RenderTreeBase::DebugPersistent &  dbgPersist 
)

Initialize helper.

Fetches various required values from objects in the object registry.

iTextureHandle* CS::RenderManager::StandardPortalSetup_Base::PersistentData::QueryUnusedTexture ( int  width,
int  height,
int &  real_w,
int &  real_h 
) [inline]

Abstracts the usage of the texture cache.

Definition at line 148 of file portalsetup.h.

void CS::RenderManager::StandardPortalSetup_Base::PersistentData::UpdateNewFrame (  )  [inline]

Do per-frame house keeping - MUST be called every frame/ RenderView() execution.

Definition at line 181 of file portalsetup.h.


Member Data Documentation

Cache for cameras created for looking through portals.

Definition at line 165 of file portalsetup.h.


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

Generated for Crystal Space 2.1 by doxygen 1.6.1