Home | Namespaces | Hierarchy | Alphabetical List | Class list | Files | Namespace Members | Class members | File members |
00001 // Copyright 2006-2011 by Kat'Oun 00002 00003 #ifndef _RENDER_OPERATION_H_ 00004 #define _RENDER_OPERATION_H_ 00005 00006 #include <EngineConfig.h> 00007 #include <core/Types.h> 00008 #include <render/VertexIndexData.h> 00009 00010 namespace render 00011 { 00012 00043 enum OperationType 00044 { 00045 OT_POINT_LIST, 00046 OT_LINE_LIST, 00047 OT_LINE_STRIP, 00048 OT_TRIANGLE_LIST, 00049 OT_TRIANGLE_STRIP, 00050 OT_TRIANGLE_FAN 00051 }; 00052 00053 #define GAME_MAX_TEXTURE_COORD_SETS 6 00054 00055 class ENGINE_PUBLIC_EXPORT RenderOperation 00056 { 00057 public: 00058 00059 RenderOperation(); 00060 00062 OperationType operationType; 00063 00065 VertexData *vertexData; 00066 00068 bool useIndexes; 00069 00071 IndexData* indexData; 00072 }; 00073 00074 } // end namespace render 00075 00076 #endif
The KG Game Engine
Documentation © 2006-2011 by Kat'Oun. Generated on Sat Jul 2 2011 00:50:04 by
Doxygen
(1.7.4)
|