Panda3D

Loading...
Searching...
No Matches
config_pgraph.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 config_pgraph.h
10 * @author drose
11 * @date 2002-02-21
12 */
13
14#ifndef CONFIG_PGRAPH_H
15#define CONFIG_PGRAPH_H
16
17#include "pandabase.h"
18#include "notifyCategoryProxy.h"
19#include "dconfig.h"
20#include "configVariableBool.h"
21#include "configVariableInt.h"
22#include "configVariableDouble.h"
23#include "configVariableList.h"
24#include "configVariableString.h"
25
26 class DSearchPath;
27
28ConfigureDecl(config_pgraph, EXPCL_PANDA_PGRAPH, EXPTP_PANDA_PGRAPH);
29NotifyCategoryDecl(pgraph, EXPCL_PANDA_PGRAPH, EXPTP_PANDA_PGRAPH);
30NotifyCategoryDecl(loader, EXPCL_PANDA_PGRAPH, EXPTP_PANDA_PGRAPH);
31NotifyCategoryDecl(portal, EXPCL_PANDA_PGRAPH, EXPTP_PANDA_PGRAPH);
32
33 extern ConfigVariableBool fake_view_frustum_cull;
34 extern ConfigVariableBool clip_plane_cull;
35 extern ConfigVariableBool allow_portal_cull;
36 extern ConfigVariableBool debug_portal_cull;
37 extern ConfigVariableBool show_occluder_volumes;
38 extern ConfigVariableBool unambiguous_graph;
39 extern ConfigVariableBool detect_graph_cycles;
40 extern ConfigVariableBool no_unsupported_copy;
41 extern ConfigVariableBool allow_unrelated_wrt;
42 extern ConfigVariableBool paranoid_compose;
43 extern ConfigVariableBool compose_componentwise;
44 extern ConfigVariableBool paranoid_const;
45 extern ConfigVariableBool auto_break_cycles;
46 extern EXPCL_PANDA_PGRAPH ConfigVariableBool garbage_collect_states;
47 extern ConfigVariableDouble garbage_collect_states_rate;
48 extern ConfigVariableBool transform_cache;
49 extern ConfigVariableBool state_cache;
50 extern ConfigVariableBool uniquify_transforms;
51 extern EXPCL_PANDA_PGRAPH ConfigVariableBool uniquify_states;
52 extern ConfigVariableBool uniquify_attribs;
53 extern ConfigVariableBool retransform_sprites;
54 extern ConfigVariableBool depth_offset_decals;
55 extern ConfigVariableInt max_collect_vertices;
56 extern ConfigVariableInt max_collect_indices;
57 extern EXPCL_PANDA_PGRAPH ConfigVariableBool premunge_data;
58 extern ConfigVariableBool preserve_geom_nodes;
59 extern ConfigVariableBool flatten_geoms;
60 extern EXPCL_PANDA_PGRAPH ConfigVariableInt max_lenses;
61
62 extern ConfigVariableBool polylight_info;
63
64 extern ConfigVariableBool show_vertex_animation;
65 extern ConfigVariableBool show_transparency;
66
67 extern ConfigVariableBool m_dual;
68 extern ConfigVariableBool m_dual_opaque;
69 extern ConfigVariableBool m_dual_transparent;
70 extern ConfigVariableBool m_dual_flash;
71
72 extern ConfigVariableList load_file_type;
73 extern ConfigVariableString default_model_extension;
74
75 extern ConfigVariableBool allow_live_flatten;
76
77 extern ConfigVariableBool filled_wireframe_apply_shader;
78
79 extern EXPCL_PANDA_PGRAPH void init_libpgraph();
80
81#endif
ConfigVariableBool
This is a convenience class to specialize ConfigVariable as a boolean type.
Definition configVariableBool.h:23
ConfigVariableDouble
This is a convenience class to specialize ConfigVariable as a floating- point type.
Definition configVariableDouble.h:24
ConfigVariableInt
This is a convenience class to specialize ConfigVariable as an integer type.
Definition configVariableInt.h:24
ConfigVariableList
This class is similar to ConfigVariable, but it reports its value as a list of strings.
Definition configVariableList.h:31
ConfigVariableString
This is a convenience class to specialize ConfigVariable as a string type.
Definition configVariableString.h:23
DSearchPath
This class stores a list of directories that can be searched, in order, to locate a particular file.
Definition dSearchPath.h:28
configVariableBool.h
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
configVariableDouble.h
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
configVariableInt.h
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
configVariableList.h
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
configVariableString.h
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
init_libpgraph
EXPCL_PANDA_PGRAPH void init_libpgraph()
Initializes the library.
Definition config_pgraph.cxx:390
dconfig.h
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
notifyCategoryProxy.h
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
pandabase.h
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.