Panda3D
config_pgraph.h
1 // Filename: config_pgraph.h
2 // Created by: drose (21Feb02)
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 CONFIG_PGRAPH_H
16 #define CONFIG_PGRAPH_H
17 
18 #include "pandabase.h"
19 #include "notifyCategoryProxy.h"
20 #include "dconfig.h"
21 #include "configVariableBool.h"
22 #include "configVariableInt.h"
23 #include "configVariableDouble.h"
24 #include "configVariableList.h"
25 
26 class DSearchPath;
27 
28 ConfigureDecl(config_pgraph, EXPCL_PANDA_PGRAPH, EXPTP_PANDA_PGRAPH);
29 NotifyCategoryDecl(pgraph, EXPCL_PANDA_PGRAPH, EXPTP_PANDA_PGRAPH);
30 NotifyCategoryDecl(loader, EXPCL_PANDA_PGRAPH, EXPTP_PANDA_PGRAPH);
31 NotifyCategoryDecl(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 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 extern ConfigVariableBool default_antialias_enable;
62 
63 extern ConfigVariableBool polylight_info;
64 
65 extern ConfigVariableBool show_vertex_animation;
66 extern ConfigVariableBool show_transparency;
67 
68 extern ConfigVariableBool m_dual;
69 extern ConfigVariableBool m_dual_opaque;
70 extern ConfigVariableBool m_dual_transparent;
71 extern ConfigVariableBool m_dual_flash;
72 
73 extern ConfigVariableList load_file_type;
74 extern ConfigVariableString default_model_extension;
75 
76 extern ConfigVariableBool allow_live_flatten;
77 
78 extern EXPCL_PANDA_PGRAPH void init_libpgraph();
79 
80 #endif
This is a convenience class to specialize ConfigVariable as a boolean type.
This class is similar to ConfigVariable, but it reports its value as a list of strings.
This is a convenience class to specialize ConfigVariable as a floating-point type.
This is a convenience class to specialize ConfigVariable as a string type.
This is a convenience class to specialize ConfigVariable as an integer type.
This class stores a list of directories that can be searched, in order, to locate a particular file...
Definition: dSearchPath.h:32