CrystalSpace

Public API Reference

iRenderView Struct Reference
[Views & Cameras]

This interface represents all information needed to render some object in a current draw context. More...

#include <iengine/rview.h>

Inheritance diagram for iRenderView:

List of all members.

Public Member Functions

virtual iCameraGetCamera ()=0
 Get the current camera.
virtual iClipper2DGetClipper ()=0
 Get the 2D clipper for this view.
virtual uint GetCurrentFrameNumber () const =0
 Get the number of the current frame.
virtual iEngineGetEngine ()=0
 Get the engine.
virtual void GetFrustum (float &lx, float &rx, float &ty, float &by)=0
 Get the frustum.
virtual iGraphics2DGetGraphics2D ()=0
 Get the 2D graphics subsystem.
virtual iGraphics3DGetGraphics3D ()=0
 Get the 3D graphics subsystem.
virtual iPortalGetLastPortal ()=0
 Get the portal we last traversed through.
virtual iCameraGetOriginalCamera () const =0
 Get the original camera for this render view.
virtual iSectorGetPreviousSector ()=0
 Get previous sector.
virtual csRenderContextGetRenderContext ()=0
 Get the current render context.
virtual iSectorGetThisSector ()=0
 Get current sector.

Detailed Description

This interface represents all information needed to render some object in a current draw context.

Main creators of instances implementing this interface:

Main users of this interface:

Definition at line 181 of file rview.h.


Member Function Documentation

virtual iCamera* iRenderView::GetCamera (  )  [pure virtual]

Get the current camera.

virtual iClipper2D* iRenderView::GetClipper (  )  [pure virtual]

Get the 2D clipper for this view.

virtual uint iRenderView::GetCurrentFrameNumber (  )  const [pure virtual]

Get the number of the current frame.

virtual iEngine* iRenderView::GetEngine (  )  [pure virtual]

Get the engine.

virtual void iRenderView::GetFrustum ( float &  lx,
float &  rx,
float &  ty,
float &  by 
) [pure virtual]

Get the frustum.

virtual iGraphics2D* iRenderView::GetGraphics2D (  )  [pure virtual]

Get the 2D graphics subsystem.

virtual iGraphics3D* iRenderView::GetGraphics3D (  )  [pure virtual]

Get the 3D graphics subsystem.

virtual iPortal* iRenderView::GetLastPortal (  )  [pure virtual]

Get the portal we last traversed through.

virtual iCamera* iRenderView::GetOriginalCamera (  )  const [pure virtual]

Get the original camera for this render view.

This is the camera before any space warping portals.

virtual iSector* iRenderView::GetPreviousSector (  )  [pure virtual]

Get previous sector.

virtual csRenderContext* iRenderView::GetRenderContext (  )  [pure virtual]

Get the current render context.

virtual iSector* iRenderView::GetThisSector (  )  [pure virtual]

Get current sector.


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

Generated for Crystal Space 1.4.1 by doxygen 1.7.1