mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 10:54:24 -04:00
Added a config variable to dump all generated shaders
This commit is contained in:
parent
baa7dfcb33
commit
151d8c2814
@ -213,6 +213,12 @@ ConfigVariableBool preserve_triangle_strips
|
|||||||
"effective at combining multiple Geoms together, but they will "
|
"effective at combining multiple Geoms together, but they will "
|
||||||
"not implicitly decompose triangle strips."));
|
"not implicitly decompose triangle strips."));
|
||||||
|
|
||||||
|
ConfigVariableBool dump_generated_shaders
|
||||||
|
("dump-generated-shaders", false,
|
||||||
|
PRC_DESC("Set this true to cause all generated shaders to be written "
|
||||||
|
"to disk. This is useful for debugging broken shader "
|
||||||
|
"generators."));
|
||||||
|
|
||||||
ConfigVariableEnum<AutoTextureScale> textures_power_2
|
ConfigVariableEnum<AutoTextureScale> textures_power_2
|
||||||
("textures-power-2", ATS_down,
|
("textures-power-2", ATS_down,
|
||||||
PRC_DESC("Specify whether textures should automatically be constrained to "
|
PRC_DESC("Specify whether textures should automatically be constrained to "
|
||||||
|
@ -66,6 +66,7 @@ extern EXPCL_PANDA_GOBJ ConfigVariableBool matrix_palette;
|
|||||||
extern EXPCL_PANDA_GOBJ ConfigVariableBool display_list_animation;
|
extern EXPCL_PANDA_GOBJ ConfigVariableBool display_list_animation;
|
||||||
extern EXPCL_PANDA_GOBJ ConfigVariableBool connect_triangle_strips;
|
extern EXPCL_PANDA_GOBJ ConfigVariableBool connect_triangle_strips;
|
||||||
extern EXPCL_PANDA_GOBJ ConfigVariableBool preserve_triangle_strips;
|
extern EXPCL_PANDA_GOBJ ConfigVariableBool preserve_triangle_strips;
|
||||||
|
extern EXPCL_PANDA_GOBJ ConfigVariableBool dump_generated_shaders;
|
||||||
|
|
||||||
extern EXPCL_PANDA_GOBJ ConfigVariableEnum<AutoTextureScale> textures_power_2;
|
extern EXPCL_PANDA_GOBJ ConfigVariableEnum<AutoTextureScale> textures_power_2;
|
||||||
extern EXPCL_PANDA_GOBJ ConfigVariableEnum<AutoTextureScale> textures_square;
|
extern EXPCL_PANDA_GOBJ ConfigVariableEnum<AutoTextureScale> textures_square;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user