Python API: allow external render engines to use Eevee for LookDev shading
This is enabled with bl_use_eevee_viewport = True. It allows external engines to generate an Cycles/Eevee shader node setup to emulate their materials in the realtime viewport, or to leave it to users to do manually. Removed bl_use_exclude_layers and bl_use_shading_nodes that did nothing anymore. This should not break API compatibility, any scripts setting those should continue to work the same as before. Also adds descriptions for some RenderEngine settings.
This commit is contained in:
@@ -55,11 +55,10 @@ struct bNodeTree;
|
||||
/* #define RE_FLAG_DEPRECATED 2 */
|
||||
#define RE_USE_PREVIEW 4
|
||||
#define RE_USE_POSTPROCESS 8
|
||||
#define RE_USE_SHADING_NODES 16
|
||||
#define RE_USE_EXCLUDE_LAYERS 32
|
||||
#define RE_USE_SAVE_BUFFERS 64
|
||||
#define RE_USE_SHADING_NODES_CUSTOM 256
|
||||
#define RE_USE_SPHERICAL_STEREO 512
|
||||
#define RE_USE_EEVEE_VIEWPORT 16
|
||||
#define RE_USE_SAVE_BUFFERS 32
|
||||
#define RE_USE_SHADING_NODES_CUSTOM 64
|
||||
#define RE_USE_SPHERICAL_STEREO 128
|
||||
|
||||
/* RenderEngine.flag */
|
||||
#define RE_ENGINE_ANIMATION 1
|
||||
|
||||
Reference in New Issue
Block a user