Blender V5.3
BlenderSync Class Reference

#include <sync.h>

Public Member Functions

 BlenderSync (blender::RenderEngine &b_engine, blender::Main &b_data, blender::Scene &b_scene, Scene *scene, bool preview, bool use_developer_ui, Progress &progress)
 ~BlenderSync ()
void reset (blender::Main &b_data, blender::Scene &b_scene)
void tag_update ()
void set_bake_target (blender::Object &b_object)
void sync_recalc (blender::Depsgraph &b_depsgraph, blender::bScreen *b_screen, blender::View3D *b_v3d, blender::RegionView3D *b_rv3d)
void sync_data (blender::RenderData &b_render, blender::Depsgraph &b_depsgraph, blender::bScreen *b_screen, blender::View3D *b_v3d, blender::RegionView3D *b_rv3d, const int width, const int height, const DeviceInfo &denoise_device_info)
void sync_view_layer (blender::ViewLayer &b_view_layer)
void sync_render_passes (blender::RenderLayer &b_rlay, blender::ViewLayer &b_view_layer)
void sync_integrator (blender::ViewLayer &b_view_layer, bool background, const DeviceInfo &denoise_device_info)
void sync_scene_attributes ()
void sync_camera (const blender::RenderData &b_render, const int width, const int height, const char *viewname)
void sync_view (const blender::Depsgraph *b_depsgraph, blender::View3D *b_v3d, blender::RegionView3D *b_rv3d, const int width, const int height)
int get_layer_samples ()
int get_layer_bound_samples ()
void free_data_after_sync (blender::Depsgraph &b_depsgraph)

Static Public Member Functions

static SceneParams get_scene_params (blender::UserDef &b_preferences, blender::Main &b_data, blender::Scene &b_scene, const bool background, const bool use_developer_ui)
static SessionParams get_session_params (blender::RenderEngine &b_engine, blender::UserDef &b_preferences, blender::Scene &b_scene, bool background, float pixelsize)
static BufferParams get_buffer_params (blender::View3D *b_v3d, blender::RegionView3D *b_rv3d, Camera *cam, const int width, const int height)
static DenoiseParams get_denoise_params (blender::Scene &b_scene, blender::ViewLayer *b_view_layer, bool background, const DeviceInfo &denoise_device)

Detailed Description

Definition at line 42 of file sync.h.

Constructor & Destructor Documentation

◆ BlenderSync()

BlenderSync::BlenderSync ( blender::RenderEngine & b_engine,
blender::Main & b_data,
blender::Scene & b_scene,
Scene * scene,
bool preview,
bool use_developer_ui,
Progress & progress )

Definition at line 52 of file sync.cpp.

◆ ~BlenderSync()

Member Function Documentation

◆ free_data_after_sync()

◆ get_buffer_params()

◆ get_denoise_params()

◆ get_layer_bound_samples()

int BlenderSync::get_layer_bound_samples ( )
inline

Definition at line 91 of file sync.h.

◆ get_layer_samples()

int BlenderSync::get_layer_samples ( )
inline

Definition at line 87 of file sync.h.

◆ get_scene_params()

◆ get_session_params()

◆ reset()

void BlenderSync::reset ( blender::Main & b_data,
blender::Scene & b_scene )

Definition at line 87 of file sync.cpp.

Referenced by ~BlenderSync().

◆ set_bake_target()

void BlenderSync::set_bake_target ( blender::Object & b_object)

Definition at line 102 of file sync.cpp.

Referenced by ~BlenderSync().

◆ sync_camera()

◆ sync_data()

void BlenderSync::sync_data ( blender::RenderData & b_render,
blender::Depsgraph & b_depsgraph,
blender::bScreen * b_screen,
blender::View3D * b_v3d,
blender::RegionView3D * b_rv3d,
const int width,
const int height,
const DeviceInfo & denoise_device_info )

◆ sync_integrator()

◆ sync_recalc()

◆ sync_render_passes()

◆ sync_scene_attributes()

void BlenderSync::sync_scene_attributes ( )

Definition at line 599 of file sync.cpp.

References FRA2TIME.

Referenced by sync_data(), and ~BlenderSync().

◆ sync_view()

◆ sync_view_layer()

◆ tag_update()

void BlenderSync::tag_update ( )

Definition at line 97 of file sync.cpp.

Referenced by ~BlenderSync().


The documentation for this class was generated from the following files: