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