Spore ModAPI  2.4.0
API for creating C++ mods for Spore
Public Member Functions | List of all members
Graphics::IRenderable Class Referenceabstract

This interface defines an object that can be rendered, and whose render method is called on every game loop. More...

#include <IRenderable.h>

Inheritance diagram for Graphics::IRenderable:
Editors::Editor Graphics::LambdaRenderable Simulator::cGameViewManager Terrain::Sphere::cTerrainSphere UI::cLayerManager

Public Member Functions

virtual int AddRef ()=0
 
virtual int Release ()=0
 
virtual ~IRenderable ()
 
virtual void Render (int flags, int layerIndex, void *, void *)=0
 

Detailed Description

This interface defines an object that can be rendered, and whose render method is called on every game loop.

Constructor & Destructor Documentation

◆ ~IRenderable()

virtual Graphics::IRenderable::~IRenderable ( )
inlinevirtual

Member Function Documentation

◆ AddRef()

virtual int Graphics::IRenderable::AddRef ( )
pure virtual

Implemented in Graphics::LambdaRenderable.

◆ Release()

virtual int Graphics::IRenderable::Release ( )
pure virtual

Implemented in Graphics::LambdaRenderable.

◆ Render()

virtual void Graphics::IRenderable::Render ( int  flags,
int  layerIndex,
void *  ,
void *   
)
pure virtual
Parameters
flagsThe flags this renderable was registered with, combined with the global render flags.
layerIndexThe layer index this renderable was registered with.

Implemented in Graphics::LambdaRenderable.


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