NLS Engine  v0.1
The Next Logical Step in game engine design.
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Defines
Classes | Namespaces | Enumerations
RenderableComponent.h File Reference

Provides the interface class declaration for all renderable components. More...

#include <d3d9.h>
#include <d3dx9tex.h>
#include "../../sharedbase/ComponentInterface.h"
Include dependency graph for RenderableComponent.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  GraphicsCore::RenderableComponent

Namespaces

namespace  GraphicsCore
 Namespace to contain every item that is related to the rendering engine. The name itself is a legacy, as is a lot of the code contain by it, from the Saturn V engine that built as part of Adam and Ricky's Engine class.

Enumerations

enum  ECoordinateSpace { CS_SCREEN, CS_WORLD }

Detailed Description

Provides the interface class declaration for all renderable components.

Author:
Ricky Curtice
Date:
20110713

Many of the Components used by the Entities in a game engine need to be rendered to the screen in some manner. The render engine needs to be able to easily differentiate between a component designed to be rendered and one that is not. This class provides that distinction: any class descended from this one is by definition renderable, and wil have its render method called by the render engine at the appropriate time.

This class also provides a method by which its descendents can indicate whether they are in screen-space or world-space. Eg. HUDs would be in screen-space, while a brick wall would be in world-space.

Team: Team A - Graphics Justin Avignone, Ricky Curtice, Jordan Lawyer, Brett Ramsey, Chris Schaber

Definition in file RenderableComponent.h.