Home | Namespaces | Hierarchy | Alphabetical List | Class list | Files | Namespace Members | Class members | File members
E:/Programming/MyProject/K_Game_hg/GameEngine/include/render/DebugRenderable.h
Go to the documentation of this file.
00001 // Copyright 2006-2011 by Kat'Oun
00002 
00003 #ifndef _DEBUG_RENDERABLE_H_
00004 #define _DEBUG_RENDERABLE_H_
00005 
00006 #include <EngineConfig.h>
00007 #include <core/Types.h>
00008 #include <render/Renderable.h>
00009 
00010 #include <string>
00011 
00012 namespace render
00013 {
00014 
00015 class Material;
00016 class VertexData;
00017 class IndexData;
00018 
00019 class ENGINE_PUBLIC_EXPORT DebugRenderable: public Renderable
00020 {
00021 public:
00022 
00023         DebugRenderable(scene::Node* parent);
00024         DebugRenderable(const std::string& name, scene::Node* parent);
00025         ~DebugRenderable();
00026 
00027         Material* getMaterial() const;
00028 
00029         void getRenderOperation(RenderOperation& ro);
00030 
00031 protected:
00032 
00033         // Incremented count for next Index
00034         static u32 msNextGeneratedDebugRenderableIndex;
00035 
00036         void initProperties();
00037 
00038         Material* mMaterial;
00039 
00041         VertexData* mVertexData;
00042 
00044         IndexData* mIndexData;
00045 
00046         void initializeGeometry();
00047 };
00048 
00049 } //namespace render
00050 
00051 #endif

The KG Game Engine
The KG Game Engine Documentation © 2006-2011 by Kat'Oun. Generated on Sat Jul 2 2011 00:50:04 by Doxygen (1.7.4)