Cafu Engine
Graphs.hpp
1 /*
2 Cafu Engine, http://www.cafu.de/
3 Copyright (c) Carsten Fuchs and other contributors.
4 This project is licensed under the terms of the MIT license.
5 */
6 
7 #ifndef CAFU_CLIENT_GRAPHS_HPP_INCLUDED
8 #define CAFU_CLIENT_GRAPHS_HPP_INCLUDED
9 
10 namespace MatSys { class RenderMaterialT; }
11 
12 
13 class GraphsT
14 {
15  public:
16 
17  float FPS[512]; // Frames Per Second
18  unsigned short Heading[512]; // Heading
19  unsigned short PosY[512];
20  unsigned short PosZ[512];
21 
22 
23  // Erzeugt ein neues GraphsT-Objekt.
24  GraphsT();
25 
26  ~GraphsT();
27 
28  // Trägt für das Frame 'ClientFrameNr' für alle Graphen 0 ein.
29  void ClearForFrame(unsigned long ClientFrameNr);
30 
31  // Zeichnet alle Graphen.
32  void Draw(unsigned long ClientFrameNr);
33 
34 
35  private:
36 
37  GraphsT(const GraphsT&); ///< Use of the Copy Constructor is not allowed.
38  void operator = (const GraphsT&); ///< Use of the Assignment Operator is not allowed.
39 
40  MatSys::RenderMaterialT* m_RMatWireframe; ///< The render material for wire-frame rendering.
41  // MatSys::RenderMaterialT* m_RMatWireframeOZ; ///< The render material for wire-frame rendering (with polygon z-offset, e.g. for outlines).
42  // MatSys::RenderMaterialT* m_RMatFlatShaded; ///< The render material for flat shaded (single solid color) rendering.
43  // MatSys::RenderMaterialT* m_RMatFlatShadedOZ; ///< The render material for flat shaded (single solid color) rendering (with polygon z-offset, e.g. for decals).
44  // MatSys::RenderMaterialT* m_RMatOverlay; ///< The render material for selection overlays (added in a second pass).
45  // MatSys::RenderMaterialT* m_RMatOverlayOZ; ///< The render material for selection overlays (added in a second pass) (with polygon z-offset, e.g. for decals).
46 };
47 
48 #endif
This class represents a surface render material.
Definition: RenderMaterial.hpp:25
Definition: Graphs.hpp:13