Panda3D
|
00001 // Filename: physxSceneStats2.h 00002 // Created by: enn0x (20Oct09) 00003 // 00004 //////////////////////////////////////////////////////////////////// 00005 // 00006 // PANDA 3D SOFTWARE 00007 // Copyright (c) Carnegie Mellon University. All rights reserved. 00008 // 00009 // All use of this software is subject to the terms of the revised BSD 00010 // license. You should have received a copy of this license along 00011 // with this source code in a file named "LICENSE." 00012 // 00013 //////////////////////////////////////////////////////////////////// 00014 00015 #ifndef PHYSXSCENESTATS2_H 00016 #define PHYSXSCENESTATS2_H 00017 00018 #include "pandabase.h" 00019 00020 #include "physx_includes.h" 00021 00022 //////////////////////////////////////////////////////////////////// 00023 // Class : PhysxSceneStats2 00024 // Description : 00025 //////////////////////////////////////////////////////////////////// 00026 class EXPCL_PANDAPHYSX PhysxSceneStats2 { 00027 00028 PUBLISHED: 00029 PhysxSceneStats2(const NxSceneStats2 *ptr); 00030 ~PhysxSceneStats2(); 00031 00032 INLINE unsigned int get_num_stats() const; 00033 INLINE int get_cur_value(unsigned int index) const; 00034 INLINE int get_max_value(unsigned int index) const; 00035 INLINE const char *get_name(unsigned int index) const; 00036 INLINE unsigned int get_parent(unsigned int index) const; 00037 00038 private: 00039 const NxSceneStats2 *_ptr; 00040 }; 00041 00042 #include "physxSceneStats2.I" 00043 00044 #endif // PHYSXSCENESTATS2_H