Panda3D

config_pgraph.h

00001 // Filename: config_pgraph.h
00002 // Created by:  drose (21Feb02)
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 CONFIG_PGRAPH_H
00016 #define CONFIG_PGRAPH_H
00017 
00018 #include "pandabase.h"
00019 #include "notifyCategoryProxy.h"
00020 #include "dconfig.h"
00021 #include "configVariableBool.h"
00022 #include "configVariableInt.h"
00023 #include "configVariableDouble.h"
00024 #include "configVariableList.h"
00025 
00026 class DSearchPath;
00027 
00028 ConfigureDecl(config_pgraph, EXPCL_PANDA_PGRAPH, EXPTP_PANDA_PGRAPH);
00029 NotifyCategoryDecl(pgraph, EXPCL_PANDA_PGRAPH, EXPTP_PANDA_PGRAPH);
00030 NotifyCategoryDecl(loader, EXPCL_PANDA_PGRAPH, EXPTP_PANDA_PGRAPH);
00031 NotifyCategoryDecl(portal, EXPCL_PANDA_PGRAPH, EXPTP_PANDA_PGRAPH);
00032 
00033 extern ConfigVariableBool fake_view_frustum_cull;
00034 extern ConfigVariableBool clip_plane_cull;
00035 extern ConfigVariableBool allow_portal_cull;
00036 extern ConfigVariableBool debug_portal_cull;
00037 extern ConfigVariableBool show_occluder_volumes;
00038 extern ConfigVariableBool unambiguous_graph;
00039 extern ConfigVariableBool detect_graph_cycles;
00040 extern ConfigVariableBool no_unsupported_copy;
00041 extern ConfigVariableBool allow_unrelated_wrt;
00042 extern ConfigVariableBool paranoid_compose;
00043 extern ConfigVariableBool compose_componentwise;
00044 extern ConfigVariableBool uniquify_matrix;
00045 extern ConfigVariableBool paranoid_const;
00046 extern ConfigVariableBool auto_break_cycles;
00047 extern EXPCL_PANDA_PGRAPH ConfigVariableBool garbage_collect_states;
00048 extern ConfigVariableDouble garbage_collect_states_rate;
00049 extern ConfigVariableBool transform_cache;
00050 extern ConfigVariableBool state_cache;
00051 extern ConfigVariableBool uniquify_transforms;
00052 extern ConfigVariableBool uniquify_states;
00053 extern ConfigVariableBool uniquify_attribs;
00054 extern ConfigVariableBool retransform_sprites;
00055 extern ConfigVariableBool support_fade_lod;
00056 extern ConfigVariableBool depth_offset_decals;
00057 extern ConfigVariableInt max_collect_vertices;
00058 extern ConfigVariableInt max_collect_indices;
00059 extern EXPCL_PANDA_PGRAPH ConfigVariableBool premunge_data;
00060 extern ConfigVariableBool preserve_geom_nodes;
00061 extern ConfigVariableBool flatten_geoms;
00062 extern EXPCL_PANDA_PGRAPH ConfigVariableInt max_lenses;
00063 extern ConfigVariableBool default_antialias_enable;
00064 
00065 extern ConfigVariableBool polylight_info;
00066 extern ConfigVariableDouble lod_fade_time;
00067 extern ConfigVariableString lod_fade_bin_name;
00068 extern ConfigVariableInt lod_fade_bin_draw_order;
00069 extern ConfigVariableInt lod_fade_state_override;
00070 extern ConfigVariableBool verify_lods;
00071 
00072 extern ConfigVariableBool show_vertex_animation;
00073 extern ConfigVariableBool show_transparency;
00074 
00075 extern ConfigVariableBool m_dual;
00076 extern ConfigVariableBool m_dual_opaque;
00077 extern ConfigVariableBool m_dual_transparent;
00078 extern ConfigVariableBool m_dual_flash;
00079 
00080 extern ConfigVariableList load_file_type;
00081 extern ConfigVariableString default_model_extension;
00082 
00083 extern ConfigVariableBool allow_live_flatten;
00084 
00085 extern EXPCL_PANDA_PGRAPH void init_libpgraph();
00086 
00087 #endif
 All Classes Functions Variables Enumerations