Panda3D
config_gobj.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_gobj.h
10  * @author drose
11  * @date 1999-10-01
12  */
13 
14 #ifndef CONFIG_GOBJ_H
15 #define CONFIG_GOBJ_H
16 
17 #include "pandabase.h"
18 #include "notifyCategoryProxy.h"
19 #include "configVariableBool.h"
20 #include "configVariableInt.h"
21 #include "configVariableEnum.h"
22 #include "configVariableDouble.h"
23 #include "configVariableFilename.h"
24 #include "configVariableString.h"
25 #include "configVariableList.h"
26 #include "autoTextureScale.h"
27 
28 NotifyCategoryDecl(gobj, EXPCL_PANDA_GOBJ, EXPTP_PANDA_GOBJ);
29 NotifyCategoryDecl(shader, EXPCL_PANDA_GOBJ, EXPTP_PANDA_GOBJ);
30 
31 // Configure variables for gobj package.
32 extern EXPCL_PANDA_GOBJ ConfigVariableInt max_texture_dimension;
33 extern EXPCL_PANDA_GOBJ ConfigVariableDouble texture_scale;
34 extern EXPCL_PANDA_GOBJ ConfigVariableInt texture_scale_limit;
35 extern EXPCL_PANDA_GOBJ ConfigVariableList exclude_texture_scale;
36 
37 
38 extern EXPCL_PANDA_GOBJ ConfigVariableBool keep_texture_ram;
39 extern EXPCL_PANDA_GOBJ ConfigVariableBool driver_compress_textures;
40 extern EXPCL_PANDA_GOBJ ConfigVariableBool driver_generate_mipmaps;
41 extern EXPCL_PANDA_GOBJ ConfigVariableBool vertex_buffers;
42 extern EXPCL_PANDA_GOBJ ConfigVariableBool vertex_arrays;
43 extern EXPCL_PANDA_GOBJ ConfigVariableBool display_lists;
44 extern EXPCL_PANDA_GOBJ ConfigVariableBool hardware_animated_vertices;
45 extern EXPCL_PANDA_GOBJ ConfigVariableBool hardware_point_sprites;
46 extern EXPCL_PANDA_GOBJ ConfigVariableBool hardware_points;
47 extern EXPCL_PANDA_GOBJ ConfigVariableBool singular_points;
48 extern EXPCL_PANDA_GOBJ ConfigVariableBool matrix_palette;
49 extern EXPCL_PANDA_GOBJ ConfigVariableBool display_list_animation;
50 extern EXPCL_PANDA_GOBJ ConfigVariableBool connect_triangle_strips;
51 extern EXPCL_PANDA_GOBJ ConfigVariableBool preserve_triangle_strips;
52 extern EXPCL_PANDA_GOBJ ConfigVariableBool dump_generated_shaders;
53 extern EXPCL_PANDA_GOBJ ConfigVariableBool cache_generated_shaders;
54 extern EXPCL_PANDA_GOBJ ConfigVariableBool vertices_float64;
55 extern EXPCL_PANDA_GOBJ ConfigVariableInt vertex_column_alignment;
56 extern EXPCL_PANDA_GOBJ ConfigVariableBool vertex_animation_align_16;
57 
58 extern EXPCL_PANDA_GOBJ ConfigVariableEnum<AutoTextureScale> textures_power_2;
59 extern EXPCL_PANDA_GOBJ ConfigVariableEnum<AutoTextureScale> textures_square;
60 extern EXPCL_PANDA_GOBJ ConfigVariableBool textures_auto_power_2;
61 extern EXPCL_PANDA_GOBJ ConfigVariableBool textures_header_only;
62 extern EXPCL_PANDA_GOBJ ConfigVariableInt simple_image_size;
63 extern EXPCL_PANDA_GOBJ ConfigVariableDouble simple_image_threshold;
64 
65 extern EXPCL_PANDA_GOBJ ConfigVariableInt geom_cache_size;
66 extern EXPCL_PANDA_GOBJ ConfigVariableInt geom_cache_min_frames;
67 extern EXPCL_PANDA_GOBJ ConfigVariableInt released_vbuffer_cache_size;
68 extern EXPCL_PANDA_GOBJ ConfigVariableInt released_ibuffer_cache_size;
69 
70 extern EXPCL_PANDA_GOBJ ConfigVariableDouble default_near;
71 extern EXPCL_PANDA_GOBJ ConfigVariableDouble default_far;
72 extern EXPCL_PANDA_GOBJ ConfigVariableDouble lens_far_limit;
73 extern EXPCL_PANDA_GOBJ ConfigVariableDouble default_fov;
74 extern EXPCL_PANDA_GOBJ ConfigVariableDouble default_iod;
75 extern EXPCL_PANDA_GOBJ ConfigVariableDouble default_converge;
76 extern EXPCL_PANDA_GOBJ ConfigVariableDouble default_keystone;
77 
78 extern EXPCL_PANDA_GOBJ ConfigVariableFilename vertex_save_file_directory;
79 extern EXPCL_PANDA_GOBJ ConfigVariableString vertex_save_file_prefix;
80 extern EXPCL_PANDA_GOBJ ConfigVariableInt vertex_data_small_size;
81 extern EXPCL_PANDA_GOBJ ConfigVariableInt vertex_data_page_threads;
82 extern EXPCL_PANDA_GOBJ ConfigVariableInt graphics_memory_limit;
83 extern EXPCL_PANDA_GOBJ ConfigVariableInt sampler_object_limit;
84 extern EXPCL_PANDA_GOBJ ConfigVariableDouble adaptive_lru_weight;
85 extern EXPCL_PANDA_GOBJ ConfigVariableInt adaptive_lru_max_updates_per_frame;
86 extern EXPCL_PANDA_GOBJ ConfigVariableDouble async_load_delay;
87 extern EXPCL_PANDA_GOBJ ConfigVariableInt lens_geom_segments;
88 extern EXPCL_PANDA_GOBJ ConfigVariableBool stereo_lens_old_convergence;
89 
90 extern EXPCL_PANDA_GOBJ ConfigVariableBool basic_shaders_only;
91 extern EXPCL_PANDA_GOBJ ConfigVariableString cg_glsl_version;
92 extern EXPCL_PANDA_GOBJ ConfigVariableBool glsl_preprocess;
93 extern EXPCL_PANDA_GOBJ ConfigVariableInt glsl_include_recursion_limit;
94 
95 #endif
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
This is a convenience class to specialize ConfigVariable as a Filename type.
This is a convenience class to specialize ConfigVariable as a boolean type.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
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.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
This class specializes ConfigVariable as an enumerated type.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
This is a convenience class to specialize ConfigVariable as an integer type.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.