NLS Engine  v0.1
The Next Logical Step in game engine design.
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Defines
Public Member Functions | Protected Member Functions
GraphicsCore::RenderableComponent Class Reference
Inheritance diagram for GraphicsCore::RenderableComponent:
Inheritance graph
[legend]
Collaboration diagram for GraphicsCore::RenderableComponent:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 RenderableComponent (EntitySPTR owner, ModuleInterface *core)
virtual void Render (LPDIRECT3DDEVICE9)=0
 Draws objects either in the world or on the screen, depending on the status of the current coordinate space.
ECoordinateSpace GetCoordSpace ()
bool SetCoordSpace (ECoordinateSpace)

Protected Member Functions

RenderModuleGetRenderModule () const

Detailed Description

Definition at line 39 of file RenderableComponent.h.


Member Function Documentation

virtual void GraphicsCore::RenderableComponent::Render ( LPDIRECT3DDEVICE9  ) [pure virtual]

Draws objects either in the world or on the screen, depending on the status of the current coordinate space.

The object's location and rotation in said space is already provided, just draw at <0,0,0> and a 0 rotation - unless you need to correct for model problems.

Implemented in GraphicsCore::LightDirectionalRenderable, GraphicsCore::LightAmbientRenderable, GraphicsCore::HeightmapRenderable, and GraphicsCore::LightPointRenderable.


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