Panda3D
physxSceneStats2.h
1 // Filename: physxSceneStats2.h
2 // Created by: enn0x (20Oct09)
3 //
4 ////////////////////////////////////////////////////////////////////
5 //
6 // PANDA 3D SOFTWARE
7 // Copyright (c) Carnegie Mellon University. All rights reserved.
8 //
9 // All use of this software is subject to the terms of the revised BSD
10 // license. You should have received a copy of this license along
11 // with this source code in a file named "LICENSE."
12 //
13 ////////////////////////////////////////////////////////////////////
14 
15 #ifndef PHYSXSCENESTATS2_H
16 #define PHYSXSCENESTATS2_H
17 
18 #include "pandabase.h"
19 
20 #include "physx_includes.h"
21 
22 ////////////////////////////////////////////////////////////////////
23 // Class : PhysxSceneStats2
24 // Description :
25 ////////////////////////////////////////////////////////////////////
26 class EXPCL_PANDAPHYSX PhysxSceneStats2 {
27 
28 PUBLISHED:
29  PhysxSceneStats2(const NxSceneStats2 *ptr);
31 
32  INLINE unsigned int get_num_stats() const;
33  INLINE int get_cur_value(unsigned int index) const;
34  INLINE int get_max_value(unsigned int index) const;
35  INLINE const char *get_name(unsigned int index) const;
36  INLINE unsigned int get_parent(unsigned int index) const;
37 
38 private:
39  const NxSceneStats2 *_ptr;
40 };
41 
42 #include "physxSceneStats2.I"
43 
44 #endif // PHYSXSCENESTATS2_H