Blender V4.3
scene.cc File Reference
#include <cstddef>
#include <cstdio>
#include <cstring>
#include <optional>
#include "MEM_guardedalloc.h"
#include "DNA_anim_types.h"
#include "DNA_collection_types.h"
#include "DNA_curveprofile_types.h"
#include "DNA_defaults.h"
#include "DNA_gpencil_legacy_types.h"
#include "DNA_lightprobe_types.h"
#include "DNA_linestyle_types.h"
#include "DNA_mask_types.h"
#include "DNA_material_types.h"
#include "DNA_mesh_types.h"
#include "DNA_node_types.h"
#include "DNA_object_types.h"
#include "DNA_rigidbody_types.h"
#include "DNA_scene_types.h"
#include "DNA_screen_types.h"
#include "DNA_sequence_types.h"
#include "DNA_sound_types.h"
#include "DNA_space_types.h"
#include "DNA_text_types.h"
#include "DNA_vfont_types.h"
#include "DNA_view3d_types.h"
#include "DNA_windowmanager_types.h"
#include "DNA_world_types.h"
#include "BKE_callbacks.hh"
#include "BLI_blenlib.h"
#include "BLI_math_rotation.h"
#include "BLI_string.h"
#include "BLI_string_utils.hh"
#include "BLI_task.h"
#include "BLI_threads.h"
#include "BLI_utildefines.h"
#include "BLO_readfile.hh"
#include "BLT_translation.hh"
#include "BKE_action.hh"
#include "BKE_anim_data.hh"
#include "BKE_animsys.h"
#include "BKE_bpath.hh"
#include "BKE_collection.hh"
#include "BKE_colortools.hh"
#include "BKE_curveprofile.h"
#include "BKE_duplilist.hh"
#include "BKE_editmesh.hh"
#include "BKE_effect.h"
#include "BKE_fcurve.hh"
#include "BKE_idprop.hh"
#include "BKE_idtype.hh"
#include "BKE_image.hh"
#include "BKE_image_format.hh"
#include "BKE_layer.hh"
#include "BKE_lib_id.hh"
#include "BKE_lib_query.hh"
#include "BKE_lib_remap.hh"
#include "BKE_main.hh"
#include "BKE_mesh_types.hh"
#include "BKE_node_runtime.hh"
#include "BKE_paint.hh"
#include "BKE_pointcache.h"
#include "BKE_preview_image.hh"
#include "BKE_rigidbody.h"
#include "BKE_scene.hh"
#include "BKE_scene_runtime.hh"
#include "BKE_screen.hh"
#include "BKE_sound.h"
#include "BKE_unit.hh"
#include "BKE_workspace.hh"
#include "DEG_depsgraph.hh"
#include "DEG_depsgraph_build.hh"
#include "DEG_depsgraph_debug.hh"
#include "DEG_depsgraph_query.hh"
#include "RE_engine.h"
#include "RNA_access.hh"
#include "SEQ_iterator.hh"
#include "SEQ_sequencer.hh"
#include "BLO_read_write.hh"
#include "IMB_colormanagement.hh"
#include "IMB_imbuf.hh"
#include "DRW_engine.hh"
#include "bmesh.hh"

Go to the source code of this file.

Classes

struct  DepsgraphKey
 

Macros

#define DNA_DEPRECATED_ALLOW
 
#define BKE_LIB_FOREACHID_UNDO_PRESERVE_PROCESS_IDSUPER_P(_data, _id_p, _do_undo_restore, _action, _reader, _id_old_p, _cb_flag)
 
#define BKE_LIB_FOREACHID_UNDO_PRESERVE_PROCESS_FUNCTION_CALL(_data, _do_undo_restore, _func_call)
 
#define FOREACHID_PROCESS_ID_NOCHECK(_data, _id_super, _cb_flag)
 
#define FOREACHID_PROCESS_IDSUPER(_data, _id_super, _cb_flag)
 

Enumerations

enum  eSceneForeachUndoPreserveProcess { SCENE_FOREACH_UNDO_RESTORE , SCENE_FOREACH_UNDO_NO_RESTORE }
 
enum  eCyclesFeatureSet { CYCLES_FEATURES_SUPPORTED = 0 , CYCLES_FEATURES_EXPERIMENTAL = 1 }
 

Functions

CurveMappingBKE_sculpt_default_cavity_curve ()
 
void BKE_sculpt_check_cavity_curves (Sculpt *sd)
 
static void scene_init_data (ID *id)
 
static void scene_copy_markers (Scene *scene_dst, const Scene *scene_src, const int flag)
 
static void scene_copy_data (Main *bmain, std::optional< Library * > owner_library, ID *id_dst, const ID *id_src, const int flag)
 
static void scene_free_markers (Scene *scene, bool do_id_user)
 
static void scene_free_data (ID *id)
 
static void scene_foreach_rigidbodyworldSceneLooper (RigidBodyWorld *, ID **id_pointer, void *user_data, int cb_flag)
 
static void scene_foreach_toolsettings_id_pointer_process (ID **id_p, const eSceneForeachUndoPreserveProcess action, BlendLibReader *reader, ID **id_old_p, const uint cb_flag)
 
static void scene_foreach_paint (LibraryForeachIDData *data, Paint *paint, const bool do_undo_restore, BlendLibReader *reader, Paint *paint_old)
 
static void scene_foreach_toolsettings (LibraryForeachIDData *data, ToolSettings *toolsett, const bool do_undo_restore, BlendLibReader *reader, ToolSettings *toolsett_old)
 
static void scene_foreach_layer_collection (LibraryForeachIDData *data, ListBase *lb, const bool is_master)
 
static bool seq_foreach_member_id_cb (Sequence *seq, void *user_data)
 
static void scene_foreach_id (ID *id, LibraryForeachIDData *data)
 
static bool seq_foreach_path_callback (Sequence *seq, void *user_data)
 
static void scene_foreach_path (ID *id, BPathForeachPathData *bpath_data)
 
static void scene_foreach_cache (ID *id, IDTypeForeachCacheFunctionCallback function_callback, void *user_data)
 
static void scene_blend_write (BlendWriter *writer, ID *id, const void *id_address)
 
static void direct_link_paint_helper (BlendDataReader *reader, const Scene *scene, Paint **paint)
 
static void link_recurs_seq (BlendDataReader *reader, ListBase *lb)
 
static void scene_blend_read_data (BlendDataReader *reader, ID *id)
 
static void scene_blend_read_after_liblink (BlendLibReader *reader, ID *id)
 
static void scene_undo_preserve (BlendLibReader *reader, ID *id_new, ID *id_old)
 
static void scene_lib_override_apply_post (ID *id_dst, ID *)
 
constexpr IDTypeInfo get_type_info ()
 
static void remove_sequencer_fcurves (Scene *sce)
 
ToolSettingsBKE_toolsettings_copy (ToolSettings *toolsettings, const int flag)
 
void BKE_toolsettings_free (ToolSettings *toolsettings)
 
void BKE_scene_copy_data_eevee (Scene *sce_dst, const Scene *sce_src)
 
SceneBKE_scene_duplicate (Main *bmain, Scene *sce, eSceneCopyMethod type)
 
void BKE_scene_groups_relink (Scene *sce)
 
bool BKE_scene_can_be_removed (const Main *bmain, const Scene *scene)
 
SceneBKE_scene_add (Main *bmain, const char *name)
 
bool BKE_scene_object_find (Scene *scene, Object *ob)
 
ObjectBKE_scene_object_find_by_name (const Scene *scene, const char *name)
 
void BKE_scene_set_background (Main *bmain, Scene *scene)
 
SceneBKE_scene_set_name (Main *bmain, const char *name)
 
int BKE_scene_base_iter_next (Depsgraph *depsgraph, SceneBaseIter *iter, Scene **scene, int val, Base **base, Object **ob)
 
bool BKE_scene_has_view_layer (const Scene *scene, const ViewLayer *layer)
 
SceneBKE_scene_find_from_collection (const Main *bmain, const Collection *collection)
 
bool BKE_scene_camera_switch_update (Scene *scene)
 
const char * BKE_scene_find_marker_name (const Scene *scene, int frame)
 
const char * BKE_scene_find_last_marker_name (const Scene *scene, int frame)
 
int BKE_scene_frame_snap_by_seconds (Scene *scene, double interval_in_seconds, int frame)
 
void BKE_scene_remove_rigidbody_object (Main *bmain, Scene *scene, Object *ob, const bool free_us)
 
bool BKE_scene_validate_setscene (Main *bmain, Scene *sce)
 
float BKE_scene_ctime_get (const Scene *scene)
 
float BKE_scene_frame_to_ctime (const Scene *scene, const int frame)
 
float BKE_scene_frame_get (const Scene *scene)
 
void BKE_scene_frame_set (Scene *scene, float frame)
 
static bool check_rendered_viewport_visible (Main *bmain)
 
static void prepare_mesh_for_viewport_render (Main *bmain, const Scene *scene, ViewLayer *view_layer)
 
void BKE_scene_update_sound (Depsgraph *depsgraph, Main *bmain)
 
void BKE_scene_update_tag_audio_volume (Depsgraph *, Scene *scene)
 
static void scene_graph_update_tagged (Depsgraph *depsgraph, Main *bmain, bool only_if_tagged)
 
void BKE_scene_graph_update_tagged (Depsgraph *depsgraph, Main *bmain)
 
void BKE_scene_graph_evaluated_ensure (Depsgraph *depsgraph, Main *bmain)
 
void BKE_scene_graph_update_for_newframe_ex (Depsgraph *depsgraph, const bool clear_recalc)
 
void BKE_scene_graph_update_for_newframe (Depsgraph *depsgraph)
 
void BKE_scene_view_layer_graph_evaluated_ensure (Main *bmain, Scene *scene, ViewLayer *view_layer)
 
SceneRenderViewBKE_scene_add_render_view (Scene *sce, const char *name)
 
bool BKE_scene_remove_render_view (Scene *scene, SceneRenderView *srv)
 
int get_render_subsurf_level (const RenderData *r, int lvl, bool for_render)
 
int get_render_child_particle_number (const RenderData *r, int child_num, bool for_render)
 
Base_setlooper_base_step (Scene **sce_iter, ViewLayer *view_layer, Base *base)
 
bool BKE_scene_use_shading_nodes_custom (Scene *scene)
 
bool BKE_scene_use_spherical_stereo (Scene *scene)
 
bool BKE_scene_uses_blender_eevee (const Scene *scene)
 
bool BKE_scene_uses_blender_workbench (const Scene *scene)
 
bool BKE_scene_uses_cycles (const Scene *scene)
 
bool BKE_scene_uses_shader_previews (const Scene *scene)
 
bool BKE_scene_uses_cycles_experimental_features (Scene *scene)
 
void BKE_scene_base_flag_to_objects (const Scene *scene, ViewLayer *view_layer)
 
void BKE_scene_object_base_flag_sync_from_base (Base *base)
 
void BKE_scene_disable_color_management (Scene *scene)
 
bool BKE_scene_check_rigidbody_active (const Scene *scene)
 
int BKE_render_num_threads (const RenderData *rd)
 
int BKE_scene_num_threads (const Scene *scene)
 
void BKE_render_resolution (const RenderData *r, const bool use_crop, int *r_width, int *r_height)
 
int BKE_render_preview_pixel_size (const RenderData *r)
 
double BKE_scene_unit_scale (const UnitSettings *unit, const int unit_type, double value)
 
int BKE_scene_multiview_num_views_get (const RenderData *rd)
 
bool BKE_scene_multiview_is_stereo3d (const RenderData *rd)
 
bool BKE_scene_multiview_is_render_view_active (const RenderData *rd, const SceneRenderView *srv)
 
bool BKE_scene_multiview_is_render_view_first (const RenderData *rd, const char *viewname)
 
bool BKE_scene_multiview_is_render_view_last (const RenderData *rd, const char *viewname)
 
SceneRenderViewBKE_scene_multiview_render_view_findindex (const RenderData *rd, const int view_id)
 
const char * BKE_scene_multiview_render_view_name_get (const RenderData *rd, const int view_id)
 
int BKE_scene_multiview_view_id_get (const RenderData *rd, const char *viewname)
 
void BKE_scene_multiview_filepath_get (const SceneRenderView *srv, const char *filepath, char *r_filepath)
 
void BKE_scene_multiview_view_filepath_get (const RenderData *rd, const char *filepath, const char *viewname, char *r_filepath)
 
const char * BKE_scene_multiview_view_suffix_get (const RenderData *rd, const char *viewname)
 
const char * BKE_scene_multiview_view_id_suffix_get (const RenderData *rd, const int view_id)
 
void BKE_scene_multiview_view_prefix_get (Scene *scene, const char *filepath, char *r_prefix, const char **r_ext)
 
void BKE_scene_multiview_videos_dimensions_get (const RenderData *rd, const size_t width, const size_t height, size_t *r_width, size_t *r_height)
 
int BKE_scene_multiview_num_videos_get (const RenderData *rd)
 
static uint depsgraph_key_hash (const void *key_v)
 
static bool depsgraph_key_compare (const void *key_a_v, const void *key_b_v)
 
static void depsgraph_key_free (void *key_v)
 
static void depsgraph_key_value_free (void *value)
 
void BKE_scene_allocate_depsgraph_hash (Scene *scene)
 
void BKE_scene_ensure_depsgraph_hash (Scene *scene)
 
void BKE_scene_free_depsgraph_hash (Scene *scene)
 
void BKE_scene_free_view_layer_depsgraph (Scene *scene, ViewLayer *view_layer)
 
static Depsgraph ** scene_get_depsgraph_p (Scene *scene, ViewLayer *view_layer, const bool allocate_ghash_entry)
 
static Depsgraph ** scene_ensure_depsgraph_p (Main *bmain, Scene *scene, ViewLayer *view_layer)
 
Depsgraph * BKE_scene_get_depsgraph (const Scene *scene, const ViewLayer *view_layer)
 
Depsgraph * BKE_scene_ensure_depsgraph (Main *bmain, Scene *scene, ViewLayer *view_layer)
 
static char * scene_undo_depsgraph_gen_key (Scene *scene, ViewLayer *view_layer, char *key_full)
 
GHashBKE_scene_undo_depsgraphs_extract (Main *bmain)
 
void BKE_scene_undo_depsgraphs_restore (Main *bmain, GHash *depsgraph_extract)
 
Scene Orientation Slots
TransformOrientationSlotBKE_scene_orientation_slot_get (Scene *scene, int slot_index)
 
TransformOrientationSlotBKE_scene_orientation_slot_get_from_flag (Scene *scene, int flag)
 
void BKE_scene_orientation_slot_set_index (TransformOrientationSlot *orient_slot, int orientation)
 
int BKE_scene_orientation_slot_get_index (const TransformOrientationSlot *orient_slot)
 
int BKE_scene_orientation_get_index (Scene *scene, int slot_index)
 
int BKE_scene_orientation_get_index_from_flag (Scene *scene, int flag)
 
Scene Orientation
void BKE_scene_transform_orientation_remove (Scene *scene, TransformOrientation *orientation)
 
TransformOrientationBKE_scene_transform_orientation_find (const Scene *scene, const int index)
 
int BKE_scene_transform_orientation_get_index (const Scene *scene, const TransformOrientation *orientation)
 
Scene Cursor Rotation
template<>
blender::float3x3 View3DCursor::matrix< blender::float3x3 > () const
 
template<>
blender::float4x4 View3DCursor::matrix< blender::float4x4 > () const
 

Variables

IDTypeInfo IDType_ID_SCE = get_type_info()
 
const char * RE_engine_id_BLENDER_EEVEE = "BLENDER_EEVEE"
 
const char * RE_engine_id_BLENDER_EEVEE_NEXT = "BLENDER_EEVEE_NEXT"
 
const char * RE_engine_id_BLENDER_WORKBENCH = "BLENDER_WORKBENCH"
 
const char * RE_engine_id_CYCLES = "CYCLES"
 

Macro Definition Documentation

◆ BKE_LIB_FOREACHID_UNDO_PRESERVE_PROCESS_FUNCTION_CALL

#define BKE_LIB_FOREACHID_UNDO_PRESERVE_PROCESS_FUNCTION_CALL ( _data,
_do_undo_restore,
_func_call )
Value:
{ \
if (_do_undo_restore) { \
_func_call; \
} \
else { \
BLI_assert((_data) != nullptr); \
BKE_LIB_FOREACHID_PROCESS_FUNCTION_CALL(_data, _func_call); \
} \
} \
(void)0

Definition at line 564 of file scene.cc.

Referenced by scene_foreach_toolsettings().

◆ BKE_LIB_FOREACHID_UNDO_PRESERVE_PROCESS_IDSUPER_P

#define BKE_LIB_FOREACHID_UNDO_PRESERVE_PROCESS_IDSUPER_P ( _data,
_id_p,
_do_undo_restore,
_action,
_reader,
_id_old_p,
_cb_flag )
Value:
{ \
if (_do_undo_restore) { \
scene_foreach_toolsettings_id_pointer_process( \
(ID **)(_id_p), _action, _reader, (ID **)(_id_old_p), _cb_flag); \
} \
else { \
BLI_assert((_data) != nullptr); \
BKE_LIB_FOREACHID_PROCESS_IDSUPER_P(_data, _id_p, _cb_flag); \
} \
} \
(void)0
Definition DNA_ID.h:413

Definition at line 550 of file scene.cc.

Referenced by scene_foreach_paint(), and scene_foreach_toolsettings().

◆ DNA_DEPRECATED_ALLOW

#define DNA_DEPRECATED_ALLOW

Definition at line 10 of file scene.cc.

◆ FOREACHID_PROCESS_ID_NOCHECK

#define FOREACHID_PROCESS_ID_NOCHECK ( _data,
_id_super,
_cb_flag )
Value:
{ \
BKE_lib_query_foreachid_process((_data), reinterpret_cast<ID **>(&(_id_super)), (_cb_flag)); \
return false; \
} \
} \
((void)0)
bool BKE_lib_query_foreachid_iter_stop(const LibraryForeachIDData *data)
Definition lib_query.cc:66

Referenced by seq_foreach_member_id_cb().

◆ FOREACHID_PROCESS_IDSUPER

#define FOREACHID_PROCESS_IDSUPER ( _data,
_id_super,
_cb_flag )
Value:
{ \
CHECK_TYPE(&((_id_super)->id), ID *); \
FOREACHID_PROCESS_ID_NOCHECK(_data, _id_super, _cb_flag); \
} \
((void)0)

Referenced by seq_foreach_member_id_cb().

Enumeration Type Documentation

◆ eCyclesFeatureSet

Enumerator
CYCLES_FEATURES_SUPPORTED 
CYCLES_FEATURES_EXPERIMENTAL 

Definition at line 2793 of file scene.cc.

◆ eSceneForeachUndoPreserveProcess

This code is shared by both the regular foreach_id looper, and the code trying to restore or preserve ID pointers like brushes across undo-steps.

Enumerator
SCENE_FOREACH_UNDO_RESTORE 
SCENE_FOREACH_UNDO_NO_RESTORE 

Definition at line 481 of file scene.cc.

Function Documentation

◆ _setlooper_base_step()

Base * _setlooper_base_step ( Scene ** sce_iter,
ViewLayer * view_layer,
Base * base )

Helper function for the SETLOOPER and SETLOOPER_VIEW_LAYER macros

It iterates over the bases of the active layer and then the bases of the active layer of the background (set) scenes recursively.

Definition at line 2726 of file scene.cc.

References BKE_view_layer_default_render(), BKE_view_layer_object_bases_get(), BKE_view_layer_synced_ensure(), ListBase::first, Base::next, and Scene::set.

◆ BKE_render_num_threads()

◆ BKE_render_preview_pixel_size()

int BKE_render_preview_pixel_size ( const RenderData * r)

◆ BKE_render_resolution()

◆ BKE_scene_add()

◆ BKE_scene_add_render_view()

SceneRenderView * BKE_scene_add_render_view ( Scene * sce,
const char * name )

◆ BKE_scene_allocate_depsgraph_hash()

void BKE_scene_allocate_depsgraph_hash ( Scene * scene)

◆ BKE_scene_base_flag_to_objects()

void BKE_scene_base_flag_to_objects ( const Scene * scene,
ViewLayer * view_layer )

◆ BKE_scene_base_iter_next()

◆ BKE_scene_camera_switch_update()

◆ BKE_scene_can_be_removed()

bool BKE_scene_can_be_removed ( const Main * bmain,
const Scene * scene )

Definition at line 1939 of file scene.cc.

References ID_IS_LINKED, LISTBASE_FOREACH, and Main::scenes.

Referenced by scene_delete_poll().

◆ BKE_scene_check_rigidbody_active()

bool BKE_scene_check_rigidbody_active ( const Scene * scene)

Definition at line 2844 of file scene.cc.

References RBW_FLAG_MUTED.

Referenced by BKE_rigidbody_eval_simulation(), and BKE_rigidbody_rebuild_sim().

◆ BKE_scene_copy_data_eevee()

void BKE_scene_copy_data_eevee ( Scene * sce_dst,
const Scene * sce_src )

◆ BKE_scene_ctime_get()

◆ BKE_scene_disable_color_management()

◆ BKE_scene_duplicate()

Scene * BKE_scene_duplicate ( Main * bmain,
Scene * sce,
eSceneCopyMethod type )

◆ BKE_scene_ensure_depsgraph()

◆ BKE_scene_ensure_depsgraph_hash()

void BKE_scene_ensure_depsgraph_hash ( Scene * scene)

Definition at line 3265 of file scene.cc.

References BKE_scene_allocate_depsgraph_hash().

Referenced by scene_get_depsgraph_p().

◆ BKE_scene_find_from_collection()

Scene * BKE_scene_find_from_collection ( const Main * bmain,
const Collection * collection )

Definition at line 2157 of file scene.cc.

References BKE_view_layer_has_collection(), LISTBASE_FOREACH, scene, and Main::scenes.

◆ BKE_scene_find_last_marker_name()

const char * BKE_scene_find_last_marker_name ( const Scene * scene,
int frame )

Return the current marker for this frame, we can have more than 1 marker per frame, this just returns the first (unfortunately).

Definition at line 2255 of file scene.cc.

References TimeMarker::frame, LISTBASE_FOREACH, MAXFRAME, and TimeMarker::name.

Referenced by stampdata().

◆ BKE_scene_find_marker_name()

const char * BKE_scene_find_marker_name ( const Scene * scene,
int frame )

Definition at line 2228 of file scene.cc.

References TimeMarker::frame, markers, TimeMarker::name, TimeMarker::next, and TimeMarker::prev.

Referenced by draw_selected_name().

◆ BKE_scene_frame_get()

◆ BKE_scene_frame_set()

void BKE_scene_frame_set ( Scene * scene,
float frame )

Set current frame and sub-frame based on a fractional frame.

Definition at line 2336 of file scene.cc.

References int.

Referenced by bc_update_scene(), deg_flush_updates_and_refresh(), keyframe_jump_exec(), keyframe_jump_exec(), lineart_bake_startjob(), RE_engine_frame_set(), and seq_render_scene_strip().

◆ BKE_scene_frame_snap_by_seconds()

int BKE_scene_frame_snap_by_seconds ( Scene * scene,
double interval_in_seconds,
int frame )

Definition at line 2273 of file scene.cc.

References FPS, mod_i(), and round_db_to_int().

Referenced by change_frame_apply().

◆ BKE_scene_frame_to_ctime()

float BKE_scene_frame_to_ctime ( const Scene * scene,
int frame )

Convert integer frame number to fractional frame number taking into account sub-frames and time remapping.

Definition at line 2322 of file scene.cc.

Referenced by BKE_ptcache_id_time(), BKE_scene_ctime_get(), DEG_evaluate_on_framechange(), and object_add_or_copy_particle_system().

◆ BKE_scene_free_depsgraph_hash()

void BKE_scene_free_depsgraph_hash ( Scene * scene)

◆ BKE_scene_free_view_layer_depsgraph()

void BKE_scene_free_view_layer_depsgraph ( Scene * scene,
ViewLayer * view_layer )

◆ BKE_scene_get_depsgraph()

◆ BKE_scene_graph_evaluated_ensure()

◆ BKE_scene_graph_update_for_newframe()

◆ BKE_scene_graph_update_for_newframe_ex()

◆ BKE_scene_graph_update_tagged()

◆ BKE_scene_groups_relink()

void BKE_scene_groups_relink ( Scene * sce)

Definition at line 1932 of file scene.cc.

References BKE_rigidbody_world_groups_relink(), and Scene::rigidbody_world.

◆ BKE_scene_has_view_layer()

bool BKE_scene_has_view_layer ( const Scene * scene,
const ViewLayer * layer )

Definition at line 2152 of file scene.cc.

References BLI_findindex().

Referenced by BKE_scene_get_depsgraph(), and scene_get_depsgraph_p().

◆ BKE_scene_multiview_filepath_get()

void BKE_scene_multiview_filepath_get ( const SceneRenderView * srv,
const char * filepath,
char * r_filepath )

Definition at line 3096 of file scene.cc.

References BLI_path_suffix(), BLI_strncpy(), FILE_MAX, and SceneRenderView::suffix.

Referenced by RE_RenderAnim().

◆ BKE_scene_multiview_is_render_view_active()

◆ BKE_scene_multiview_is_render_view_first()

bool BKE_scene_multiview_is_render_view_first ( const RenderData * rd,
const char * viewname )
Returns
true if viewname is the first or if the name is NULL or not found.

Definition at line 3002 of file scene.cc.

References BKE_scene_multiview_is_render_view_active(), LISTBASE_FOREACH, R_MULTIVIEW, RenderData::scemode, STREQ, and RenderData::views.

Referenced by blender::render::Context::viewer_output_to_viewer_image().

◆ BKE_scene_multiview_is_render_view_last()

bool BKE_scene_multiview_is_render_view_last ( const RenderData * rd,
const char * viewname )
Returns
true if viewname is the last or if the name is NULL or not found.

Definition at line 3021 of file scene.cc.

References BKE_scene_multiview_is_render_view_active(), LISTBASE_FOREACH_BACKWARD, R_MULTIVIEW, RenderData::scemode, STREQ, and RenderData::views.

◆ BKE_scene_multiview_is_stereo3d()

◆ BKE_scene_multiview_num_videos_get()

◆ BKE_scene_multiview_num_views_get()

◆ BKE_scene_multiview_render_view_findindex()

SceneRenderView * BKE_scene_multiview_render_view_findindex ( const RenderData * rd,
const int view_id )

◆ BKE_scene_multiview_render_view_name_get()

const char * BKE_scene_multiview_render_view_name_get ( const RenderData * rd,
const int view_id )

◆ BKE_scene_multiview_videos_dimensions_get()

void BKE_scene_multiview_videos_dimensions_get ( const RenderData * rd,
const size_t width,
const size_t height,
size_t * r_width,
size_t * r_height )

◆ BKE_scene_multiview_view_filepath_get()

void BKE_scene_multiview_view_filepath_get ( const RenderData * rd,
const char * filepath,
const char * view,
char * r_filepath )

When multi-view is not used the filepath is as usual (e.g., Image.jpg). When multi-view is on, even if only one view is enabled the view is incorporated into the file name (e.g., Image_L.jpg). That allows for the user to re-render individual views.

Definition at line 3104 of file scene.cc.

References BLI_findstring(), BLI_path_suffix(), BLI_strncpy(), FILE_MAX, offsetof, STRNCPY, SceneRenderView::suffix, and RenderData::views.

Referenced by BKE_image_render_write(), and image_save_single().

◆ BKE_scene_multiview_view_id_get()

◆ BKE_scene_multiview_view_id_suffix_get()

◆ BKE_scene_multiview_view_prefix_get()

◆ BKE_scene_multiview_view_suffix_get()

◆ BKE_scene_num_threads()

◆ BKE_scene_object_base_flag_sync_from_base()

void BKE_scene_object_base_flag_sync_from_base ( Base * base)

Synchronize object base flags

This is usually handled by the depsgraph. However, in rare occasions we need to use the latest object flags before depsgraph is fully updated.

It should (ideally) only run for copy-on-written objects since this is runtime data generated per-view-layer.

Definition at line 2820 of file scene.cc.

References Object::base_flag, Base::flag, and Base::object.

Referenced by blender::ed::object::base_select(), BKE_scene_base_flag_to_objects(), BKE_scene_set_background(), loose_data_instantiate_collection_process(), loose_data_instantiate_object_base_instance_init(), blender::ed::object::make_object_duplilist_real(), and blender::ed::object::object_hide_view_clear_exec().

◆ BKE_scene_object_find()

bool BKE_scene_object_find ( Scene * scene,
Object * ob )

Check if there is any instance of the object in the scene.

Definition at line 1963 of file scene.cc.

References BKE_view_layer_object_bases_get(), BKE_view_layer_synced_ensure(), BLI_findptr(), LISTBASE_FOREACH, and offsetof.

◆ BKE_scene_object_find_by_name()

Object * BKE_scene_object_find_by_name ( const Scene * scene,
const char * name )

◆ BKE_scene_orientation_get_index()

◆ BKE_scene_orientation_get_index_from_flag()

int BKE_scene_orientation_get_index_from_flag ( Scene * scene,
int flag )

◆ BKE_scene_orientation_slot_get()

◆ BKE_scene_orientation_slot_get_from_flag()

◆ BKE_scene_orientation_slot_get_index()

◆ BKE_scene_orientation_slot_set_index()

void BKE_scene_orientation_slot_set_index ( TransformOrientationSlot * orient_slot,
int orientation )

Activate a transform orientation in a 3D view based on an enum value.

Parameters
orientationIf this is V3D_ORIENT_CUSTOM or greater, the custom transform orientation with index orientation - V3D_ORIENT_CUSTOM gets activated.

Definition at line 2372 of file scene.cc.

References TransformOrientationSlot::index_custom, TransformOrientationSlot::type, and V3D_ORIENT_CUSTOM.

Referenced by select_orientation_exec().

◆ BKE_scene_remove_render_view()

bool BKE_scene_remove_render_view ( Scene * scene,
SceneRenderView * srv )

Definition at line 2678 of file scene.cc.

References BLI_findindex(), BLI_remlink(), and MEM_freeN().

Referenced by render_view_remove_exec().

◆ BKE_scene_remove_rigidbody_object()

void BKE_scene_remove_rigidbody_object ( Main * bmain,
Scene * scene,
Object * ob,
const bool free_us )

◆ BKE_scene_set_background()

void BKE_scene_set_background ( Main * bmain,
Scene * sce )

Sets the active scene, mainly used when running in background mode (--scene command line argument). This is also called to set the scene directly, bypassing windowing code. Otherwise WM_window_set_active_scene is used when changing scenes by the user.

Definition at line 1987 of file scene.cc.

References BKE_scene_object_base_flag_sync_from_base(), BKE_scene_validate_setscene(), BKE_view_layer_object_bases_get(), BKE_view_layer_synced_ensure(), LISTBASE_FOREACH, and Main::objects.

Referenced by BKE_scene_set_name(), Freestyle::BlenderStrokeRenderer::BlenderStrokeRenderer(), ED_scene_change_update(), and setup_app_data().

◆ BKE_scene_set_name()

Scene * BKE_scene_set_name ( Main * bmain,
const char * name )

◆ BKE_scene_transform_orientation_find()

TransformOrientation * BKE_scene_transform_orientation_find ( const Scene * scene,
const int index )

◆ BKE_scene_transform_orientation_get_index()

int BKE_scene_transform_orientation_get_index ( const Scene * scene,
const TransformOrientation * orientation )
Returns
the index that orientation has within scene's transform-orientation list or -1 if not found.

Definition at line 3491 of file scene.cc.

References BLI_findindex().

Referenced by BIF_selectTransformOrientation(), and BKE_scene_transform_orientation_remove().

◆ BKE_scene_transform_orientation_remove()

◆ BKE_scene_undo_depsgraphs_extract()

◆ BKE_scene_undo_depsgraphs_restore()

◆ BKE_scene_unit_scale()

double BKE_scene_unit_scale ( const UnitSettings * unit,
int unit_type,
double value )

Apply the needed correction factor to value, based on unit_type (only length-related are affected currently) and unit->scale_length.

Definition at line 2900 of file scene.cc.

References B_UNIT_ACCELERATION, B_UNIT_AREA, B_UNIT_CAMERA, B_UNIT_LENGTH, B_UNIT_MASS, B_UNIT_POWER, B_UNIT_VELOCITY, B_UNIT_VOLUME, B_UNIT_WAVELENGTH, double(), pow(), and USER_UNIT_NONE.

Referenced by outputNumInput(), ui_get_but_scale_unit(), and user_string_to_number().

◆ BKE_scene_update_sound()

◆ BKE_scene_update_tag_audio_volume()

void BKE_scene_update_tag_audio_volume ( Depsgraph * ,
Scene * scene )

Definition at line 2483 of file scene.cc.

References BLI_assert, DEG_is_evaluated_id(), and ID_RECALC_AUDIO_VOLUME.

◆ BKE_scene_use_shading_nodes_custom()

bool BKE_scene_use_shading_nodes_custom ( Scene * scene)

Definition at line 2759 of file scene.cc.

References RE_engines_find(), and RE_USE_SHADING_NODES_CUSTOM.

Referenced by shader_tree_poll().

◆ BKE_scene_use_spherical_stereo()

bool BKE_scene_use_spherical_stereo ( Scene * scene)

Definition at line 2765 of file scene.cc.

References RE_engines_find(), and RE_USE_SPHERICAL_STEREO.

◆ BKE_scene_uses_blender_eevee()

◆ BKE_scene_uses_blender_workbench()

◆ BKE_scene_uses_cycles()

◆ BKE_scene_uses_cycles_experimental_features()

bool BKE_scene_uses_cycles_experimental_features ( Scene * scene)

Return whether the Cycles experimental feature is enabled. It is invalid to call without first ensuring that Cycles is the active render engine (e.g. with BKE_scene_uses_cycles).

Note
We cannot use const as RNA_id_pointer_create is not using a const ID.

Definition at line 2798 of file scene.cc.

References BKE_scene_uses_cycles(), BLI_assert, CYCLES_FEATURES_EXPERIMENTAL, RNA_enum_get(), RNA_id_pointer_create(), RNA_pointer_get(), and RNA_pointer_is_null().

Referenced by RE_engine_supports_alembic_procedural(), and uiTemplateCacheFileProcedural().

◆ BKE_scene_uses_shader_previews()

bool BKE_scene_uses_shader_previews ( const Scene * scene)

◆ BKE_scene_validate_setscene()

bool BKE_scene_validate_setscene ( Main * bmain,
Scene * sce )

Checks for cycle, returns true if it's all OK.

Definition at line 2295 of file scene.cc.

References BLI_listbase_count(), Main::scenes, and Scene::set.

Referenced by BKE_scene_set_background().

◆ BKE_scene_view_layer_graph_evaluated_ensure()

void BKE_scene_view_layer_graph_evaluated_ensure ( Main * bmain,
Scene * scene,
ViewLayer * view_layer )

Ensures given scene/view_layer pair has a valid, up-to-date depsgraph.

Warning
Sets matching depsgraph as active, so should only be called from the active editing context (usually, from operators).

Definition at line 2652 of file scene.cc.

References BKE_scene_ensure_depsgraph(), BKE_scene_graph_update_tagged(), DEG_make_active(), and depsgraph.

◆ BKE_sculpt_check_cavity_curves()

void BKE_sculpt_check_cavity_curves ( Sculpt * sd)

◆ BKE_sculpt_default_cavity_curve()

◆ BKE_toolsettings_copy()

◆ BKE_toolsettings_free()

◆ check_rendered_viewport_visible()

◆ depsgraph_key_compare()

static bool depsgraph_key_compare ( const void * key_a_v,
const void * key_b_v )
static

Definition at line 3239 of file scene.cc.

References DepsgraphKey::view_layer.

Referenced by BKE_scene_allocate_depsgraph_hash().

◆ depsgraph_key_free()

static void depsgraph_key_free ( void * key_v)
static

Definition at line 3247 of file scene.cc.

References MEM_freeN().

Referenced by BKE_scene_free_depsgraph_hash(), and BKE_scene_free_view_layer_depsgraph().

◆ depsgraph_key_hash()

static uint depsgraph_key_hash ( const void * key_v)
static

Definition at line 3231 of file scene.cc.

References BLI_ghashutil_ptrhash(), hash, and DepsgraphKey::view_layer.

Referenced by BKE_scene_allocate_depsgraph_hash().

◆ depsgraph_key_value_free()

static void depsgraph_key_value_free ( void * value)
static

◆ direct_link_paint_helper()

static void direct_link_paint_helper ( BlendDataReader * reader,
const Scene * scene,
Paint ** paint )
static

Definition at line 1180 of file scene.cc.

References BKE_paint_blend_read_data(), and BLO_read_struct.

Referenced by scene_blend_read_data().

◆ get_render_child_particle_number()

int get_render_child_particle_number ( const RenderData * r,
int child_num,
bool for_render )

◆ get_render_subsurf_level()

◆ get_type_info()

◆ link_recurs_seq()

◆ prepare_mesh_for_viewport_render()

static void prepare_mesh_for_viewport_render ( Main * bmain,
const Scene * scene,
ViewLayer * view_layer )
static

◆ remove_sequencer_fcurves()

static void remove_sequencer_fcurves ( Scene * sce)
static

◆ scene_blend_read_after_liblink()

◆ scene_blend_read_data()

static void scene_blend_read_data ( BlendDataReader * reader,
ID * id )
static

Definition at line 1206 of file scene.cc.

References Editing::act_seq, Sculpt::automasking_cavity_curve, Sculpt::automasking_cavity_curve_op, RenderData::bake, BKE_color_managed_view_settings_blend_read_data(), BKE_curvemapping_blend_read(), BKE_curvemapping_init(), BKE_curveprofile_blend_read(), BKE_effector_add_weights(), BKE_image_format_blend_read_data(), BKE_keyingsets_blend_read_data(), BKE_paint_blend_read_data(), BKE_previewimg_blend_read(), BKE_ptcache_blend_read_data(), BKE_screen_view3d_shading_blend_read_data(), BKE_sculpt_check_cavity_curves(), BKE_sound_reset_scene_runtime(), BKE_view_layer_blend_read_data(), BLO_read_data_address, BLO_read_get_new_data_address_no_us(), BLO_read_glob_list(), BLO_read_struct, BLO_read_struct_list, Editing::cache, PaintModeSettings::canvas_image, Editing::channels, GP_Sculpt_Settings::cur_falloff, GP_Sculpt_Settings::cur_primitive, ToolSettings::curves_sculpt, ToolSettings::custom_bevel_profile_preset, GP_Interpolate_Settings::custom_ipo, Scene::customdata_mask, Scene::customdata_mask_modal, Scene::depsgraph_hash, direct_link_paint_helper(), Scene::display, Editing::displayed_channels, Scene::ed, RigidBodyWorld::effector_weights, ELEM, float, Scene::fps_info, ToolSettings::gp_interpolate, ToolSettings::gp_paint, ToolSettings::gp_sculpt, ToolSettings::gp_sculptpaint, ToolSettings::gp_vertexpaint, ToolSettings::gp_weightpaint, Scene::id, id_us_ensure_real(), IDP_BlendDataRead, BakeData::im_format, RenderData::im_format, ToolSettings::imapaint, Scene::keyingsets, UnifiedPaintSettings::last_hit, UnifiedPaintSettings::last_location, Scene::layer_properties, link_recurs_seq(), LISTBASE_FOREACH, RigidBodyWorld::ltime, Scene::markers, RenderData::mblur_shutter_curve, EditingRuntime::media_presence, Editing::metastack, RenderData::mode, RigidBodyWorld::numbodies, ParticleEditSettings::object, RigidBodyWorld::objects, offsetof, ImagePaintSettings::paint, ToolSettings::paint_mode, GP_Sculpt_Settings::paintcursor, ParticleEditSettings::paintcursor, ToolSettings::particle, RigidBodyWorld_Shared::physics_world, RigidBodyWorld_Shared::pointcache, POINTER_OFFSET, Editing::prefetch_job, Scene::preview, RigidBodyWorld_Shared::ptcaches, Scene::r, Scene::rigidbody_world, Editing::runtime, Scene::runtime, ParticleEditSettings::scene, ToolSettings::sculpt, SEQ_blend_read(), Editing::seqbase, Editing::seqbasep, EditingRuntime::sequence_lookup, ToolSettings::sequencer_tool_settings, SceneDisplay::shading, RigidBodyWorld::shared, PointCache::startframe, UvSculpt::strength_curve, EditingRuntime::thumbnail_cache, Scene::toolsettings, Scene::transform_spaces, ToolSettings::unified_paint_settings, ToolSettings::uvsculpt, Scene::view_layers, Scene::view_settings, RenderData::views, ToolSettings::vpaint, ToolSettings::wpaint, and zero_v3().

Referenced by get_type_info().

◆ scene_blend_write()

static void scene_blend_write ( BlendWriter * writer,
ID * id,
const void * id_address )
static

Definition at line 1005 of file scene.cc.

References Sculpt::automasking_cavity_curve, Sculpt::automasking_cavity_curve_op, RenderData::bake, BKE_collection_blend_write_nolib(), BKE_collection_blend_write_prepare_nolib(), BKE_color_managed_view_settings_blend_write(), BKE_curvemapping_blend_write(), BKE_curvemapping_curves_blend_write(), BKE_curveprofile_blend_write(), BKE_id_blend_write(), BKE_image_format_blend_write(), BKE_keyingsets_blend_write(), BKE_paint_blend_write(), BKE_previewimg_blend_write(), BKE_ptcache_blend_write(), BKE_screen_view3d_shading_blend_write(), BKE_view_layer_blend_write(), BLI_assert, BLO_write_allocate_id_buffer(), BLO_write_destroy_id_buffer(), BLO_write_get_id_buffer_temp_id(), BLO_write_id_struct, BLO_write_init_id_buffer_from_id(), BLO_write_is_undo(), BLO_write_struct, BLO_write_struct_at_address, Editing::channels, GP_Sculpt_Settings::cur_falloff, GP_Sculpt_Settings::cur_primitive, Scene::cursor, ToolSettings::curves_sculpt, ToolSettings::custom_bevel_profile_preset, GP_Interpolate_Settings::custom_ipo, Scene::display, Scene::ed, RigidBodyWorld::effector_weights, ToolSettings::gp_interpolate, ToolSettings::gp_paint, ToolSettings::gp_sculpt, ToolSettings::gp_sculptpaint, ToolSettings::gp_vertexpaint, ToolSettings::gp_weightpaint, bNodeTree::id, Collection::id, Scene::id, IDP_BlendWrite(), BakeData::im_format, RenderData::im_format, ToolSettings::imapaint, Scene::keyingsets, Scene::layer_properties, LISTBASE_FOREACH, Scene::markers, Scene::master_collection, RenderData::mblur_shutter_curve, Editing::metastack, blender::bke::node_tree_blend_write(), Scene::nodetree, CurvesSculpt::paint, GpPaint::paint, GpSculptPaint::paint, GpVertexPaint::paint, GpWeightPaint::paint, ImagePaintSettings::paint, Sculpt::paint, VPaint::paint, RigidBodyWorld_Shared::pointcache, Scene::preview, RigidBodyWorld_Shared::ptcaches, Scene::r, Scene::rigidbody_world, ToolSettings::sculpt, SEQ_blend_write(), Editing::seqbase, ToolSettings::sequencer_tool_settings, SceneDisplay::shading, RigidBodyWorld::shared, UvSculpt::strength_curve, Scene::toolsettings, Scene::transform_spaces, ToolSettings::uvsculpt, Scene::view_layers, Scene::view_settings, RenderData::views, ToolSettings::vpaint, and ToolSettings::wpaint.

Referenced by get_type_info().

◆ scene_copy_data()

static void scene_copy_data ( Main * bmain,
std::optional< Library * > owner_library,
ID * id_dst,
const ID * id_src,
const int flag )
static

Definition at line 263 of file scene.cc.

References RenderData::bake, BKE_color_managed_colorspace_settings_copy(), BKE_color_managed_display_settings_copy(), BKE_color_managed_view_settings_copy(), BKE_curvemapping_copy_data(), BKE_id_copy_in_lib(), BKE_image_format_copy(), BKE_keyingsets_copy(), BKE_libblock_relink_ex(), BKE_previewimg_id_copy(), BKE_rigidbody_world_copy(), BKE_scene_copy_data_eevee(), BKE_sound_reset_scene_runtime(), BKE_toolsettings_copy(), BKE_view_layer_copy_data(), BKE_view_layer_synced_ensure(), BLI_duplicatelist(), Editing::cache_flag, Editing::channels, Scene::depsgraph_hash, Scene::display, Scene::display_settings, Editing::displayed_channels, Scene::ed, ListBase::first, flag, Scene::fps_info, bNodeTree::id, Collection::id, Scene::id, ID_REMAP_SKIP_NEVER_NULL_USAGE, ID_REMAP_SKIP_USER_CLEAR, IDP_CopyProperty(), BakeData::im_format, RenderData::im_format, Scene::keyingsets, LIB_ID_COPY_NO_PREVIEW, LIB_ID_CREATE_NO_USER_REFCOUNT, LISTBASE_FOREACH, Scene::master_collection, RenderData::mblur_shutter_curve, Scene::nodetree, Scene::preview, View3DShading::prop, Editing::proxy_dir, Editing::proxy_storage, Scene::r, Scene::rigidbody_world, Scene::runtime, scene_copy_markers(), SEQ_DUPE_ALL, SEQ_sequence_base_dupli_recursive(), Editing::seqbase, Editing::seqbasep, Scene::sequencer_colorspace_settings, SceneDisplay::shading, Editing::show_missing_media_flag, STRNCPY, Scene::toolsettings, Scene::transform_spaces, Scene::view_layers, Scene::view_settings, and RenderData::views.

Referenced by get_type_info().

◆ scene_copy_markers()

static void scene_copy_markers ( Scene * scene_dst,
const Scene * scene_src,
const int flag )
static

Definition at line 253 of file scene.cc.

References BLI_duplicatelist(), flag, IDP_CopyProperty_ex(), LISTBASE_FOREACH, and Scene::markers.

Referenced by scene_copy_data().

◆ scene_ensure_depsgraph_p()

static Depsgraph ** scene_ensure_depsgraph_p ( Main * bmain,
Scene * scene,
ViewLayer * view_layer )
static

◆ scene_foreach_cache()

static void scene_foreach_cache ( ID * id,
IDTypeForeachCacheFunctionCallback function_callback,
void * user_data )
static

Definition at line 991 of file scene.cc.

References IDCacheKey::id_session_uid, IDCacheKey::identifier, and offsetof.

Referenced by get_type_info().

◆ scene_foreach_id()

◆ scene_foreach_layer_collection()

◆ scene_foreach_paint()

static void scene_foreach_paint ( LibraryForeachIDData * data,
Paint * paint,
const bool do_undo_restore,
BlendLibReader * reader,
Paint * paint_old )
static

◆ scene_foreach_path()

static void scene_foreach_path ( ID * id,
BPathForeachPathData * bpath_data )
static

Definition at line 983 of file scene.cc.

References SEQ_for_each_callback(), and seq_foreach_path_callback().

Referenced by get_type_info().

◆ scene_foreach_rigidbodyworldSceneLooper()

static void scene_foreach_rigidbodyworldSceneLooper ( RigidBodyWorld * ,
ID ** id_pointer,
void * user_data,
int cb_flag )
static

◆ scene_foreach_toolsettings()

◆ scene_foreach_toolsettings_id_pointer_process()

static void scene_foreach_toolsettings_id_pointer_process ( ID ** id_p,
const eSceneForeachUndoPreserveProcess action,
BlendLibReader * reader,
ID ** id_old_p,
const uint cb_flag )
static

◆ scene_free_data()

◆ scene_free_markers()

static void scene_free_markers ( Scene * scene,
bool do_id_user )
static

Definition at line 381 of file scene.cc.

References IDP_FreePropertyContent_ex(), LISTBASE_FOREACH_MUTABLE, and MEM_freeN().

Referenced by scene_free_data().

◆ scene_get_depsgraph_p()

static Depsgraph ** scene_get_depsgraph_p ( Scene * scene,
ViewLayer * view_layer,
const bool allocate_ghash_entry )
static

◆ scene_graph_update_tagged()

◆ scene_init_data()

◆ scene_lib_override_apply_post()

static void scene_lib_override_apply_post ( ID * id_dst,
ID *  )
static

◆ scene_undo_depsgraph_gen_key()

static char * scene_undo_depsgraph_gen_key ( Scene * scene,
ViewLayer * view_layer,
char * key_full )
static

◆ scene_undo_preserve()

static void scene_undo_preserve ( BlendLibReader * reader,
ID * id_new,
ID * id_old )
static

Definition at line 1541 of file scene.cc.

References Scene::cursor, scene_foreach_toolsettings(), and Scene::toolsettings.

Referenced by get_type_info().

◆ seq_foreach_member_id_cb()

◆ seq_foreach_path_callback()

◆ View3DCursor::matrix< blender::float3x3 >()

◆ View3DCursor::matrix< blender::float4x4 >()

template<>
blender::float4x4 View3DCursor::matrix< blender::float4x4 > ( ) const

Variable Documentation

◆ IDType_ID_SCE

IDTypeInfo IDType_ID_SCE = get_type_info()

Definition at line 1607 of file scene.cc.

Referenced by blender::bke::tests::TEST(), and blender::bke::tests::TEST().

◆ RE_engine_id_BLENDER_EEVEE

const char* RE_engine_id_BLENDER_EEVEE = "BLENDER_EEVEE"

◆ RE_engine_id_BLENDER_EEVEE_NEXT

◆ RE_engine_id_BLENDER_WORKBENCH

const char* RE_engine_id_BLENDER_WORKBENCH = "BLENDER_WORKBENCH"

◆ RE_engine_id_CYCLES

const char* RE_engine_id_CYCLES = "CYCLES"