
00001 //***************************************************************************** 00002 // File : gzDisplayList.h 00003 // Module : 00004 // Description : Class definition of the gzDisplayListInfo class 00005 // Author : Anders Modén 00006 // Product : Gizmo3D 2.1.1 00007 // 00008 // Copyright © 2003- Saab Training Systems AB, Sweden 00009 // 00010 // NOTE: Gizmo3D is a high performance 3D Scene Graph and effect visualisation 00011 // C++ toolkit for Linux, Mac OS X, Windows (Win32) and IRIX® for 00012 // usage in Game or VisSim development. 00013 // 00014 // 00015 // Revision History... 00016 // 00017 // Who Date Description 00018 // 00019 // AMO 991101 Created file 00020 // 00021 //****************************************************************************** 00022 #ifndef __GZ_DISPLAY_LIST_H__ 00023 #define __GZ_DISPLAY_LIST_H__ 00024 00030 #include "gzContext.h" 00031 00032 class gzContext; // Forwar declaration 00033 00034 class gzDisplayListInfo 00035 { 00036 public: 00037 00038 GZ_GRAPH_EXPORT gzDisplayListInfo(); 00039 00040 GZ_GRAPH_EXPORT virtual ~gzDisplayListInfo(); 00041 00042 GZ_GRAPH_EXPORT gzVoid create(gzContext *context,gzULong count); 00043 00044 GZ_GRAPH_EXPORT gzVoid destroy(); 00045 00046 GZ_GRAPH_EXPORT gzVoid compile(gzULong index); 00047 00048 GZ_GRAPH_EXPORT gzVoid compileAndExecute(gzULong index); 00049 00050 GZ_GRAPH_EXPORT gzVoid endCompile(); 00051 00052 GZ_GRAPH_EXPORT gzVoid execute(gzULong index); 00053 00054 // Global attributes -------------------------------- 00055 00056 gzUInt dispID; 00057 00058 gzULong dispIDCount; 00059 00060 gzRefPointer<gzRefIdStorage> dispUnbindID; 00061 00062 gzULong contextEnumerator; 00063 }; 00064 00065 #endif 00066