Blender V4.3
BlenderSync Class Reference

#include <sync.h>

Public Member Functions

 BlenderSync (BL::RenderEngine &b_engine, BL::BlendData &b_data, BL::Scene &b_scene, Scene *scene, bool preview, bool use_developer_ui, Progress &progress)
 
 ~BlenderSync ()
 
void reset (BL::BlendData &b_data, BL::Scene &b_scene)
 
void tag_update ()
 
void sync_recalc (BL::Depsgraph &b_depsgraph, BL::SpaceView3D &b_v3d)
 
void sync_data (BL::RenderSettings &b_render, BL::Depsgraph &b_depsgraph, BL::SpaceView3D &b_v3d, BL::Object &b_override, int width, int height, void **python_thread_state, const DeviceInfo &denoise_device_info)
 
void sync_view_layer (BL::ViewLayer &b_view_layer)
 
void sync_render_passes (BL::RenderLayer &b_render_layer, BL::ViewLayer &b_view_layer)
 
void sync_integrator (BL::ViewLayer &b_view_layer, bool background, const DeviceInfo &denoise_device_info)
 
void sync_camera (BL::RenderSettings &b_render, BL::Object &b_override, int width, int height, const char *viewname)
 
void sync_view (BL::SpaceView3D &b_v3d, BL::RegionView3D &b_rv3d, int width, int height)
 
int get_layer_samples ()
 
int get_layer_bound_samples ()
 
void free_data_after_sync (BL::Depsgraph &b_depsgraph)
 

Static Public Member Functions

static SceneParams get_scene_params (BL::Scene &b_scene, const bool background, const bool use_developer_ui)
 
static SessionParams get_session_params (BL::RenderEngine &b_engine, BL::Preferences &b_userpref, BL::Scene &b_scene, bool background)
 
static bool get_session_pause (BL::Scene &b_scene, bool background)
 
static BufferParams get_buffer_params (BL::SpaceView3D &b_v3d, BL::RegionView3D &b_rv3d, Camera *cam, int width, int height)
 
static DenoiseParams get_denoise_params (BL::Scene &b_scene, BL::ViewLayer &b_view_layer, bool background, const DeviceInfo &denoise_device)
 

Detailed Description

Definition at line 45 of file sync.h.

Constructor & Destructor Documentation

◆ BlenderSync()

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

Definition at line 40 of file sync.cpp.

References RNA_float_get(), RNA_int_get(), and RNA_pointer_get().

◆ ~BlenderSync()

BlenderSync::~BlenderSync ( )

Definition at line 73 of file sync.cpp.

Member Function Documentation

◆ free_data_after_sync()

void BlenderSync::free_data_after_sync ( BL::Depsgraph & b_depsgraph)

Definition at line 796 of file sync.cpp.

References BlenderSession::headless.

Referenced by BlenderSession::render().

◆ get_buffer_params()

BufferParams BlenderSync::get_buffer_params ( BL::SpaceView3D & b_v3d,
BL::RegionView3D & b_rv3d,
Camera * cam,
int width,
int height )
static

◆ get_denoise_params()

◆ get_layer_bound_samples()

int BlenderSync::get_layer_bound_samples ( )
inline

Definition at line 85 of file sync.h.

Referenced by BlenderSession::render().

◆ get_layer_samples()

int BlenderSync::get_layer_samples ( )
inline

Definition at line 81 of file sync.h.

Referenced by BlenderSession::render().

◆ get_scene_params()

◆ get_session_params()

◆ get_session_pause()

bool BlenderSync::get_session_pause ( BL::Scene & b_scene,
bool background )
static

◆ reset()

void BlenderSync::reset ( BL::BlendData & b_data,
BL::Scene & b_scene )

Definition at line 75 of file sync.cpp.

Referenced by BlenderSession::reset_session().

◆ sync_camera()

◆ sync_data()

void BlenderSync::sync_data ( BL::RenderSettings & b_render,
BL::Depsgraph & b_depsgraph,
BL::SpaceView3D & b_v3d,
BL::Object & b_override,
int width,
int height,
void ** python_thread_state,
const DeviceInfo & denoise_device_info )

◆ sync_integrator()

◆ sync_recalc()

◆ sync_render_passes()

void BlenderSync::sync_render_passes ( BL::RenderLayer & b_render_layer,
BL::ViewLayer & b_view_layer )

◆ sync_view()

◆ sync_view_layer()

void BlenderSync::sync_view_layer ( BL::ViewLayer & b_view_layer)

Definition at line 574 of file sync.cpp.

References get_enum(), and RNA_pointer_get().

Referenced by sync_data().

◆ tag_update()

void BlenderSync::tag_update ( )

Definition at line 85 of file sync.cpp.

Referenced by BlenderSession::render().


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