mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 02:42:49 -04:00
Added basic_shaders_only
This commit is contained in:
parent
e4b53add82
commit
d7307dd0be
@ -309,6 +309,15 @@ ConfigVariableBool sync_video
|
|||||||
"cheesy estimate of scene complexity. Some drivers may ignore "
|
"cheesy estimate of scene complexity. Some drivers may ignore "
|
||||||
"this request."));
|
"this request."));
|
||||||
|
|
||||||
|
ConfigVariableBool basic_shaders_only
|
||||||
|
("basic_shaders_only", false,
|
||||||
|
PRC_DESC("Set this to true if you aren't interested in shader model three "
|
||||||
|
"and beyond. Setting this flag will cause panda to disable "
|
||||||
|
"bleeding-edge shader functionality which tends to be unreliable "
|
||||||
|
"or broken. At some point, when functionality that is currently "
|
||||||
|
"flaky becomes reliable, we may expand the definition of what "
|
||||||
|
"constitutes 'basic' shaders."));
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////
|
||||||
// Function: init_libdisplay
|
// Function: init_libdisplay
|
||||||
// Description: Initializes the library. This must be called at
|
// Description: Initializes the library. This must be called at
|
||||||
|
@ -90,6 +90,7 @@ extern EXPCL_PANDA_DISPLAY ConfigVariableInt back_buffers;
|
|||||||
|
|
||||||
extern EXPCL_PANDA_DISPLAY ConfigVariableDouble background_color;
|
extern EXPCL_PANDA_DISPLAY ConfigVariableDouble background_color;
|
||||||
extern EXPCL_PANDA_DISPLAY ConfigVariableBool sync_video;
|
extern EXPCL_PANDA_DISPLAY ConfigVariableBool sync_video;
|
||||||
|
extern EXPCL_PANDA_DISPLAY ConfigVariableBool basic_shaders_only;
|
||||||
|
|
||||||
extern EXPCL_PANDA_DISPLAY void init_libdisplay();
|
extern EXPCL_PANDA_DISPLAY void init_libdisplay();
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user