|
Blender V5.0
|
A running instance of the engine. More...
#include <eevee_instance.hh>
Inherits DrawEngine.
Public Member Functions | |
| Instance () | |
| ~Instance () | |
| blender::StringRefNull | name_get () final |
| bool | is_loaded (ShaderGroups groups) const |
| template<typename... Args> | |
| void | info_append (const char *msg, Args &&...args) |
| template<typename... Args> | |
| void | info_append_i18n (const char *msg, Args &&...args) |
| const char * | info_get () |
| bool | is_viewport () const |
| bool | is_baking () const |
| bool | overlays_enabled () const |
| bool | gpencil_engine_enabled () const |
| bool | use_scene_lights () const |
| bool | use_studio_light () const |
| bool | use_lookdev_overlay () const |
| int | get_recalc_flags (const ObjectRef &ob_ref) |
| int | get_recalc_flags (const ::World &world) |
Sync | |
Sync will gather data from the scene that can change over a time step (i.e: motion steps). IMPORTANT: xxx.sync() functions area responsible for creating DRW resources as well as querying temp texture pool. All DRWPasses should be ready by the end end_sync(). | |
| void | begin_sync () final |
| void | object_sync (ObjectRef &ob_ref, Manager &manager) final |
| void | end_sync () final |
| bool | do_lightprobe_sphere_sync () const |
| bool | do_planar_probe_sync () const |
| bool | needs_lightprobe_sphere_passes () const |
| bool | needs_planar_probe_passes () const |
| void | render_sync () |
| Public Member Functions inherited from DrawEngine | |
| virtual | ~DrawEngine ()=default |
Static Public Attributes | |
| static CLG_LogRef | log = {"eevee"} |
| Static Public Attributes inherited from DrawEngine | |
| static constexpr int | GPU_INFO_SIZE = 512 |
Initialization | |
Initialization functions need to be called once at the start of a frame. Active camera, render extent and enabled render passes are immutable until next init. This takes care of resizing output buffers and view in case a parameter changed. IMPORTANT: xxx.init() functions are NOT meant to acquire and allocate DRW resources. Any attempt to do so will likely produce use after free situations. | |
| void | init (const int2 &output_res, const rcti *output_rect, const rcti *visible_rect, RenderEngine *render, Depsgraph *depsgraph, Object *camera_object=nullptr, const RenderLayer *render_layer=nullptr, View *drw_view_=nullptr, const View3D *v3d=nullptr, const RegionView3D *rv3d=nullptr) |
| void | init () final |
| void | init_light_bake (Depsgraph *depsgraph, draw::Manager *manager) |
Interface | |
| void | render_frame (RenderEngine *engine, RenderLayer *render_layer, const char *view_name) |
| void | store_metadata (RenderResult *render_result) |
| void | draw_viewport () |
| void | draw_viewport_image_render () |
| void | draw (Manager &manager) final |
| void | light_bake_irradiance (Object &probe, FunctionRef< void()> context_enable, FunctionRef< void()> context_disable, FunctionRef< bool()> stop, FunctionRef< void(LightProbeGridCacheFrame *, float progress)> result_update) |
| static void | update_passes (RenderEngine *engine, Scene *scene, ViewLayer *view_layer) |
A running instance of the engine.
Definition at line 80 of file eevee_instance.hh.
|
inline |
Definition at line 180 of file eevee_instance.hh.
References ambient_occlusion, camera, capture_view, blender::math::clamp(), cryptomatte, data, depth_of_field, film, hiz_buffer, light_probes, lights, lookdev, lookdev_view, main_view, materials, motion_blur, pipelines, planar_probes, raytracing, render_buffers, sampling, shaders, shadows, sphere_probes, subsurface, sync, uniform_data, velocity, volume, volume_probes, and world.
|
inline |
Definition at line 209 of file eevee_instance.hh.
|
finalvirtual |
Scene synchronization. Command buffers building.
Implements DrawEngine.
Definition at line 322 of file eevee_instance.cc.
References ambient_occlusion, cryptomatte, depth_of_field, film, hiz_buffer, is_light_bake, is_viewport(), light_probes, lights, lookdev, main_view, materials, motion_blur, pipelines, raytracing, sampling, SCE_LAY_SOLID, SCE_LAY_STRAND, SCE_LAY_VOLUMES, shadows, sphere_probes, use_curves, use_surfaces, use_volumes, velocity, view_layer, volume, volume_probes, and world.
Referenced by blender::eevee::DeferredPipeline::begin_sync(), and render_sync().
| bool blender::eevee::Instance::do_lightprobe_sphere_sync | ( | ) | const |
Return true when probe pipeline is used during this sample.
Definition at line 496 of file eevee_instance.cc.
References materials, and needs_lightprobe_sphere_passes().
| bool blender::eevee::Instance::do_planar_probe_sync | ( | ) | const |
Definition at line 507 of file eevee_instance.cc.
References materials, and needs_planar_probe_passes().
|
finalvirtual |
Command Submission.
Implements DrawEngine.
Definition at line 772 of file eevee_instance.cc.
References DefaultFramebufferList::default_fb, draw_ctx, draw_viewport(), draw_viewport_image_render(), GPU_framebuffer_viewport_reset(), DrawEngine::info, info_get(), is_viewport_image_render, and STRNCPY().
| void blender::eevee::Instance::draw_viewport | ( | ) |
Definition at line 698 of file eevee_instance.cc.
References DefaultFramebufferList::default_fb, draw_ctx, DRW_viewport_request_redraw(), film, GPU_backend_get_type(), GPU_BACKEND_OPENGL, GPU_DEVICE_ATI, GPU_DEVICE_INTEL, GPU_DEVICE_NVIDIA, GPU_DRIVER_ANY, GPU_DRIVER_OFFICIAL, GPU_framebuffer_clear_color_depth(), GPU_OS_ANY, GPU_OS_WIN, GPU_type_matches(), GPU_use_subprocess_compilation(), info_append_i18n(), is_loaded(), is_playback, is_viewport_compositor_enabled, materials, needed_shaders, sampling, velocity, and blender::eevee::WORLD_SHADERS.
Referenced by draw().
| void blender::eevee::Instance::draw_viewport_image_render | ( | ) |
Definition at line 755 of file eevee_instance.cc.
References film, is_viewport_compositor_enabled, sampling, and velocity.
Referenced by draw().
|
finalvirtual |
Implements DrawEngine.
Definition at line 433 of file eevee_instance.cc.
References blender::eevee::CLOSURE_SSS, cryptomatte, DEG_get_update_count(), depsgraph, film, is_image_render, light_probes, lights, loaded_shaders, materials, needed_shaders, blender::eevee::NONE, pipelines, planar_probes, sampling, SET_FLAG_FROM_TEST, shaders, shadows, sphere_probes, subsurface, blender::eevee::SUBSURFACE_SHADERS, uniform_data, velocity, volume, and blender::eevee::VOLUME_EVAL_SHADERS.
Referenced by blender::eevee::DeferredPipeline::end_sync(), and render_sync().
|
inline |
Definition at line 354 of file eevee_instance.hh.
References ID_RECALC_SHADING, and world.
|
inline |
Definition at line 349 of file eevee_instance.hh.
References blender::draw::ObjectRef::recalc_flags().
|
inline |
True if the grease pencil engine might be running.
Definition at line 320 of file eevee_instance.hh.
References DEG_id_type_any_exists(), depsgraph, and ID_GP.
|
inline |
Definition at line 279 of file eevee_instance.hh.
References BLI_str_endswith().
Referenced by blender::eevee::DeferredPipeline::debug_draw().
|
inline |
Definition at line 290 of file eevee_instance.hh.
References BLI_str_endswith(), and RPT_.
Referenced by draw_viewport().
|
inline |
Definition at line 299 of file eevee_instance.hh.
Referenced by draw().
|
finalvirtual |
Init engine. Run first and for every redraw.
Implements DrawEngine.
Definition at line 60 of file eevee_instance.cc.
References BLI_rctf_compare(), BLI_rctf_init(), BLI_rctf_size_x(), BLI_rctf_size_y(), BLI_rcti_init(), camera, DefaultTextureList::color, blender::draw::View::default_get(), depsgraph, draw_ctx, DRW_context_get(), ED_region_visible_rect(), ED_view3d_calc_camera_border(), floorf, GPU_texture_height(), GPU_texture_width(), init(), max, min, R_BORDER, rv3d, RV3D_CAMOB, scene, size(), v3d, V3D_RENDER_BORDER, rcti::xmax, rctf::xmin, rcti::xmin, rcti::ymax, rctf::ymin, and rcti::ymin.
Referenced by init(), and blender::workbench::Instance::init().
| void blender::eevee::Instance::init | ( | const int2 & | output_res, |
| const rcti * | output_rect, | ||
| const rcti * | visible_rect, | ||
| RenderEngine * | render, | ||
| Depsgraph * | depsgraph, | ||
| Object * | camera_object = nullptr, | ||
| const RenderLayer * | render_layer = nullptr, | ||
| View * | drw_view_ = nullptr, | ||
| const View3D * | v3d = nullptr, | ||
| const RegionView3D * | rv3d = nullptr ) |
Definition at line 128 of file eevee_instance.cc.
References ambient_occlusion, blender::assign_if_different(), BLI_rcti_size_x(), BLI_rcti_size_y(), camera, camera_orig_object, debug_mode, blender::eevee::DEFAULT_MATERIALS, blender::eevee::DEFERRED_CAPTURE_SHADERS, blender::eevee::DEFERRED_LIGHTING_SHADERS, blender::eevee::DEFERRED_PLANAR_SHADERS, DEG_get_update_count(), depsgraph, depth_of_field, blender::eevee::DEPTH_OF_FIELD_SHADERS, blender::eevee::DeferredLayer::do_merge_direct_indirect_eval(), blender::eevee::DeferredLayer::do_split_direct_indirect_radiance(), draw_ctx, draw_overlays, DRW_context_get(), DRW_manager_get(), drw_view, film, blender::eevee::FILM_SHADERS, G, blender::eevee::HIZ_SHADERS, blender::eevee::HORIZON_SCAN_SHADERS, is_image_render, is_loaded(), is_navigating, is_painting, is_playback, is_transforming, is_viewport(), is_viewport_compositor_enabled, is_viewport_image_render, blender::eevee::LIGHT_CULLING_SHADERS, light_probes, loaded_shaders, lookdev, main_view, manager, materials, motion_blur, blender::eevee::MOTION_BLUR_SHADERS, needed_shaders, needs_lightprobe_sphere_passes(), needs_planar_probe_passes(), blender::eevee::NONE, planar_probes, raytracing, blender::eevee::RAYTRACING_SHADERS, render, render_buffers, render_layer, rv3d, sampling, SCE_EEVEE_SHADOW_JITTERED_VIEWPORT, scene, SET_FLAG_FROM_TEST, shaders, blender::eevee::SHADOW_SHADERS, shadows, blender::eevee::SPHERE_PROBE_SHADERS, sphere_probes, v3d, V3D_HIDE_OVERLAYS, velocity, volume, blender::eevee::VOLUME_PROBE_SHADERS, volume_probes, rcti::xmin, and rcti::ymin.
Referenced by eevee_render().
| void blender::eevee::Instance::init_light_bake | ( | Depsgraph * | depsgraph, |
| draw::Manager * | manager ) |
Definition at line 255 of file eevee_instance.cc.
References ambient_occlusion, camera, camera_orig_object, debug_mode, depsgraph, depth_of_field, drw_view, film, G, blender::eevee::IRRADIANCE_BAKE_SHADERS, is_light_bake, light_probes, lookdev, main_view, manager, motion_blur, needed_shaders, planar_probes, raytracing, render, render_buffers, render_layer, rv3d, sampling, scene, shaders, blender::eevee::SHADOW_SHADERS, shadows, sphere_probes, blender::eevee::SURFEL_SHADERS, v3d, velocity, volume, and volume_probes.
|
inline |
Definition at line 309 of file eevee_instance.hh.
References is_light_bake.
Referenced by is_viewport(), and light_bake_irradiance().
|
inline |
Definition at line 235 of file eevee_instance.hh.
References is_loaded(), and loaded_shaders.
Referenced by draw_viewport(), init(), is_loaded(), and render_frame().
|
inline |
Definition at line 304 of file eevee_instance.hh.
References is_baking(), and render.
Referenced by begin_sync(), blender::eevee::foreach_hair_particle_handle(), and init().
| void blender::eevee::Instance::light_bake_irradiance | ( | Object & | probe, |
| FunctionRef< void()> | context_enable, | ||
| FunctionRef< void()> | context_disable, | ||
| FunctionRef< bool()> | stop, | ||
| FunctionRef< void(LightProbeGridCacheFrame *, float progress)> | result_update ) |
WORKAROUND: Re-sync now that all shaders are compiled.
Definition at line 861 of file eevee_instance.cc.
References BLI_assert, BLI_time_now_seconds(), capture_view, ceilf, CLOG_INFO, DRWContext::CUSTOM, depsgraph, draw_ctx, DRW_custom_pipeline_begin(), DRW_custom_pipeline_end(), blender::draw::drw_debug_clear(), DRW_submission_end(), DRW_submission_start(), float, G, GPU_finish(), GPU_flush(), GPU_pass_cache_wait_for_all(), i, blender::math::interpolate(), is_baking(), log, materials, max, min_iii(), render_sync(), sampling, and volume_probes.
|
inlinefinalvirtual |
| bool blender::eevee::Instance::needs_lightprobe_sphere_passes | ( | ) | const |
Return true when probe passes should be loaded. It can be true even if do_<type>_probe_sync() is false due to shaders still being compiled.
Definition at line 491 of file eevee_instance.cc.
References sphere_probes.
Referenced by do_lightprobe_sphere_sync(), and init().
| bool blender::eevee::Instance::needs_planar_probe_passes | ( | ) | const |
Definition at line 502 of file eevee_instance.cc.
References planar_probes.
Referenced by do_planar_probe_sync(), and init().
Implements DrawEngine.
Definition at line 368 of file eevee_instance.cc.
References draw_ctx, DRW_object_is_renderable(), DRW_object_visibility_in_active_context(), ELEM, blender::eevee::foreach_hair_particle_handle(), light_probes, lights, manager, OB_CURVES, OB_GREASE_PENCIL, OB_LAMP, OB_LIGHTPROBE, OB_MESH, OB_POINTCLOUD, OB_VISIBLE_PARTICLES, OB_VISIBLE_SELF, OB_VOLUME, blender::draw::ObjectRef::object, sync, and Object::type.
Referenced by render_sync().
|
inline |
Definition at line 314 of file eevee_instance.hh.
| void blender::eevee::Instance::render_frame | ( | RenderEngine * | engine, |
| RenderLayer * | render_layer, | ||
| const char * | view_name ) |
Definition at line 638 of file eevee_instance.cc.
References DRW_render_context_disable(), DRW_render_context_enable(), film, G, GPU_backend_get_type(), GPU_BACKEND_METAL, GPU_flush(), GPU_render_step(), is_loaded(), needed_shaders, printf, RE_engine_set_error_message(), RE_engine_update_progress(), RE_engine_update_stats(), render, render_layer, RPT_, and sampling.
Referenced by eevee_render().
| void blender::eevee::Instance::render_sync | ( | ) |
Definition at line 473 of file eevee_instance.cc.
References begin_sync(), depsgraph, DRW_render_object_iter(), end_sync(), manager, object_sync(), render, and velocity.
Referenced by light_bake_irradiance().
| void blender::eevee::Instance::store_metadata | ( | RenderResult * | render_result | ) |
Definition at line 785 of file eevee_instance.cc.
References cryptomatte.
Referenced by eevee_render().
|
static |
Definition at line 793 of file eevee_instance.cc.
References AOV_CONFLICT, AOV_TYPE_COLOR, AOV_TYPE_VALUE, CHECK_PASS_EEVEE, CHECK_PASS_LEGACY, EEVEE_RENDER_PASS_CRYPTOMATTE_ASSET, EEVEE_RENDER_PASS_CRYPTOMATTE_MATERIAL, EEVEE_RENDER_PASS_CRYPTOMATTE_OBJECT, LISTBASE_FOREACH, blender::eevee::Film::pass_to_render_pass_names(), RE_engine_register_pass(), RE_PASSNAME_COMBINED, scene, SOCK_FLOAT, SOCK_RGBA, SOCK_VECTOR, VECTOR, view_layer, VIEW_LAYER_CRYPTOMATTE_ASSET, VIEW_LAYER_CRYPTOMATTE_MATERIAL, and VIEW_LAYER_CRYPTOMATTE_OBJECT.
Referenced by eevee_render_update_passes().
|
inline |
Definition at line 343 of file eevee_instance.hh.
References OB_MATERIAL, v3d, and V3D_OVERLAY_LOOK_DEV.
|
inline |
Definition at line 325 of file eevee_instance.hh.
References OB_MATERIAL, OB_RENDER, v3d, V3D_SHADING_SCENE_LIGHTS, and V3D_SHADING_SCENE_LIGHTS_RENDER.
|
inline |
Definition at line 335 of file eevee_instance.hh.
References OB_MATERIAL, OB_RENDER, v3d, V3D_SHADING_SCENE_WORLD, and V3D_SHADING_SCENE_WORLD_RENDER.
| AmbientOcclusion blender::eevee::Instance::ambient_occlusion |
Definition at line 105 of file eevee_instance.hh.
Referenced by begin_sync(), init(), init_light_bake(), and Instance().
| Camera blender::eevee::Instance::camera |
Definition at line 114 of file eevee_instance.hh.
Referenced by init(), init(), init_light_bake(), and Instance().
| Object* blender::eevee::Instance::camera_eval_object |
Camera object if rendering through a camera. nullptr otherwise.
Definition at line 137 of file eevee_instance.hh.
| Object* blender::eevee::Instance::camera_orig_object |
Definition at line 138 of file eevee_instance.hh.
Referenced by init(), and init_light_bake().
| CaptureView blender::eevee::Instance::capture_view |
Definition at line 118 of file eevee_instance.hh.
Referenced by Instance(), and light_bake_irradiance().
| Cryptomatte blender::eevee::Instance::cryptomatte |
Definition at line 110 of file eevee_instance.hh.
Referenced by begin_sync(), end_sync(), blender::eevee::DeferredLayerBase::gbuffer_pass_sync(), Instance(), and store_metadata().
| eDebugMode blender::eevee::Instance::debug_mode = eDebugMode::DEBUG_NONE |
Debug mode from debug value.
Definition at line 177 of file eevee_instance.hh.
Referenced by blender::eevee::DeferredPipeline::debug_draw(), init(), and init_light_bake().
| Depsgraph* blender::eevee::Instance::depsgraph |
Input data.
Definition at line 131 of file eevee_instance.hh.
Referenced by end_sync(), gpencil_engine_enabled(), init(), init(), init_light_bake(), light_bake_irradiance(), and render_sync().
| DepthOfField blender::eevee::Instance::depth_of_field |
Definition at line 109 of file eevee_instance.hh.
Referenced by begin_sync(), init(), init_light_bake(), and Instance().
| const DRWContext* blender::eevee::Instance::draw_ctx = nullptr |
Definition at line 147 of file eevee_instance.hh.
Referenced by draw(), draw_viewport(), init(), init(), light_bake_irradiance(), and object_sync().
| bool blender::eevee::Instance::draw_overlays = false |
True if overlays need to be displayed (only for viewport).
Definition at line 166 of file eevee_instance.hh.
Referenced by init().
Only available when rendering for viewport.
Definition at line 143 of file eevee_instance.hh.
Referenced by init(), and init_light_bake().
| Film blender::eevee::Instance::film |
Definition at line 115 of file eevee_instance.hh.
Referenced by begin_sync(), draw_viewport(), draw_viewport_image_render(), end_sync(), init(), init_light_bake(), Instance(), and render_frame().
| GBuffer blender::eevee::Instance::gbuffer |
Definition at line 111 of file eevee_instance.hh.
Referenced by blender::eevee::DeferredLayerBase::gbuffer_pass_sync().
| HiZBuffer blender::eevee::Instance::hiz_buffer |
Definition at line 112 of file eevee_instance.hh.
Referenced by begin_sync(), blender::eevee::DeferredLayerBase::gbuffer_pass_sync(), and Instance().
| bool blender::eevee::Instance::is_image_render = false |
True if the instance is created for either viewport image render or final image render.
Definition at line 152 of file eevee_instance.hh.
Referenced by end_sync(), and init().
| bool blender::eevee::Instance::is_light_bake = false |
True if the instance is created for light baking.
Definition at line 150 of file eevee_instance.hh.
Referenced by begin_sync(), init_light_bake(), and is_baking().
| bool blender::eevee::Instance::is_navigating = false |
True if current viewport is drawn during navigation operator.
Definition at line 158 of file eevee_instance.hh.
Referenced by init().
| bool blender::eevee::Instance::is_painting = false |
True if current viewport is drawn during painting operator.
Definition at line 160 of file eevee_instance.hh.
Referenced by init().
| bool blender::eevee::Instance::is_playback = false |
True if current viewport is drawn during playback.
Definition at line 156 of file eevee_instance.hh.
Referenced by draw_viewport(), and init().
| bool blender::eevee::Instance::is_transforming = false |
True if current viewport is drawn during transforming operator.
Definition at line 162 of file eevee_instance.hh.
Referenced by init().
| bool blender::eevee::Instance::is_viewport_compositor_enabled = false |
True if viewport compositor is enabled when drawing with this instance.
Definition at line 164 of file eevee_instance.hh.
Referenced by draw_viewport(), draw_viewport_image_render(), and init().
| bool blender::eevee::Instance::is_viewport_image_render = false |
True if the instance is created only for viewport image render.
Definition at line 154 of file eevee_instance.hh.
| LightProbeModule blender::eevee::Instance::light_probes |
Definition at line 125 of file eevee_instance.hh.
Referenced by begin_sync(), end_sync(), init(), init_light_bake(), Instance(), and object_sync().
| LightModule blender::eevee::Instance::lights |
Definition at line 104 of file eevee_instance.hh.
Referenced by begin_sync(), end_sync(), blender::eevee::DeferredLayerBase::gbuffer_pass_sync(), Instance(), and object_sync().
| ShaderGroups blender::eevee::Instance::loaded_shaders = ShaderGroups(0) |
Definition at line 168 of file eevee_instance.hh.
Referenced by end_sync(), init(), and is_loaded().
|
static |
Definition at line 128 of file eevee_instance.hh.
Referenced by light_bake_irradiance(), and blender::eevee::IrradianceBake::surfels_create().
| LookdevModule blender::eevee::Instance::lookdev |
Definition at line 121 of file eevee_instance.hh.
Referenced by begin_sync(), init(), init_light_bake(), and Instance().
| LookdevView blender::eevee::Instance::lookdev_view |
Definition at line 120 of file eevee_instance.hh.
Referenced by Instance().
| MainView blender::eevee::Instance::main_view |
Definition at line 117 of file eevee_instance.hh.
Referenced by begin_sync(), init(), init_light_bake(), and Instance().
| Manager* blender::eevee::Instance::manager |
Definition at line 132 of file eevee_instance.hh.
Referenced by blender::workbench::Instance::curves_sync(), blender::eevee::DeferredPipeline::debug_draw(), blender::workbench::Instance::hair_sync(), init(), init_light_bake(), object_sync(), blender::workbench::Instance::object_sync(), blender::workbench::Instance::pointcloud_sync(), and render_sync().
| MaterialModule blender::eevee::Instance::materials |
Definition at line 100 of file eevee_instance.hh.
Referenced by begin_sync(), do_lightprobe_sphere_sync(), do_planar_probe_sync(), draw_viewport(), end_sync(), init(), Instance(), and light_bake_irradiance().
| MotionBlurModule blender::eevee::Instance::motion_blur |
Definition at line 108 of file eevee_instance.hh.
Referenced by begin_sync(), init(), init_light_bake(), and Instance().
| ShaderGroups blender::eevee::Instance::needed_shaders = ShaderGroups(0) |
Definition at line 169 of file eevee_instance.hh.
Referenced by draw_viewport(), end_sync(), init(), init_light_bake(), and render_frame().
| PipelineModule blender::eevee::Instance::pipelines |
Definition at line 102 of file eevee_instance.hh.
Referenced by begin_sync(), blender::eevee::DeferredPipeline::end_sync(), end_sync(), blender::eevee::DeferredLayerBase::gbuffer_pass_sync(), and Instance().
| PlanarProbeModule blender::eevee::Instance::planar_probes |
Definition at line 123 of file eevee_instance.hh.
Referenced by end_sync(), init(), init_light_bake(), Instance(), and needs_planar_probe_passes().
| RayTraceModule blender::eevee::Instance::raytracing |
Definition at line 106 of file eevee_instance.hh.
Referenced by begin_sync(), blender::eevee::DeferredLayer::do_merge_direct_indirect_eval(), init(), init_light_bake(), and Instance().
| RenderEngine* blender::eevee::Instance::render |
Definition at line 141 of file eevee_instance.hh.
Referenced by init(), init_light_bake(), is_viewport(), render_frame(), and render_sync().
| RenderBuffers blender::eevee::Instance::render_buffers |
Definition at line 116 of file eevee_instance.hh.
Referenced by blender::eevee::DeferredLayerBase::gbuffer_pass_sync(), init(), init_light_bake(), and Instance().
| const RenderLayer* blender::eevee::Instance::render_layer |
Only available when rendering for final render.
Definition at line 140 of file eevee_instance.hh.
Referenced by init(), init_light_bake(), and render_frame().
| const RegionView3D* blender::eevee::Instance::rv3d |
Definition at line 145 of file eevee_instance.hh.
Referenced by init(), init(), and init_light_bake().
| Sampling blender::eevee::Instance::sampling |
Definition at line 113 of file eevee_instance.hh.
Referenced by begin_sync(), blender::eevee::DeferredLayer::do_split_direct_indirect_radiance(), draw_viewport(), draw_viewport_image_render(), end_sync(), blender::eevee::DeferredLayerBase::gbuffer_pass_sync(), init(), init_light_bake(), Instance(), light_bake_irradiance(), and render_frame().
| Scene* blender::eevee::Instance::scene |
Evaluated IDs.
Definition at line 134 of file eevee_instance.hh.
Referenced by blender::eevee::DeferredPipeline::begin_sync(), blender::image_engine::Instance::image_sync(), init(), init(), init_light_bake(), and update_passes().
| ShaderModule& blender::eevee::Instance::shaders |
Definition at line 97 of file eevee_instance.hh.
Referenced by end_sync(), init(), init_light_bake(), and Instance().
| ShadowModule blender::eevee::Instance::shadows |
Definition at line 103 of file eevee_instance.hh.
Referenced by begin_sync(), end_sync(), blender::eevee::DeferredLayerBase::gbuffer_pass_sync(), init(), init_light_bake(), and Instance().
| SphereProbeModule blender::eevee::Instance::sphere_probes |
Definition at line 122 of file eevee_instance.hh.
Referenced by begin_sync(), end_sync(), blender::eevee::DeferredLayerBase::gbuffer_pass_sync(), init(), init_light_bake(), Instance(), and needs_lightprobe_sphere_passes().
| SubsurfaceModule blender::eevee::Instance::subsurface |
Definition at line 101 of file eevee_instance.hh.
Referenced by end_sync(), and Instance().
| SyncModule blender::eevee::Instance::sync |
Definition at line 98 of file eevee_instance.hh.
Referenced by Instance(), object_sync(), and blender::eevee::step_object_sync_render().
| UniformDataModule blender::eevee::Instance::uniform_data |
Definition at line 99 of file eevee_instance.hh.
Referenced by end_sync(), blender::eevee::DeferredLayerBase::gbuffer_pass_sync(), and Instance().
| bool blender::eevee::Instance::use_curves = true |
Definition at line 173 of file eevee_instance.hh.
Referenced by begin_sync().
| bool blender::eevee::Instance::use_surfaces = true |
| bool blender::eevee::Instance::use_volumes = true |
Definition at line 174 of file eevee_instance.hh.
Referenced by begin_sync().
| const View3D* blender::eevee::Instance::v3d |
Definition at line 144 of file eevee_instance.hh.
Referenced by init(), init(), init_light_bake(), use_lookdev_overlay(), use_scene_lights(), and use_studio_light().
| VelocityModule blender::eevee::Instance::velocity |
Definition at line 107 of file eevee_instance.hh.
Referenced by begin_sync(), draw_viewport(), draw_viewport_image_render(), end_sync(), init(), init_light_bake(), Instance(), render_sync(), and blender::eevee::step_object_sync_render().
| ViewLayer* blender::eevee::Instance::view_layer |
Definition at line 135 of file eevee_instance.hh.
Referenced by begin_sync(), and update_passes().
| VolumeModule blender::eevee::Instance::volume |
Definition at line 126 of file eevee_instance.hh.
Referenced by begin_sync(), end_sync(), init(), init_light_bake(), and Instance().
| VolumeProbeModule blender::eevee::Instance::volume_probes |
Definition at line 124 of file eevee_instance.hh.
Referenced by begin_sync(), blender::eevee::DeferredLayerBase::gbuffer_pass_sync(), init(), init_light_bake(), Instance(), and light_bake_irradiance().
| World blender::eevee::Instance::world |
Definition at line 119 of file eevee_instance.hh.
Referenced by begin_sync(), get_recalc_flags(), and Instance().