17 #ifndef __BLENDER_SESSION_H__
18 #define __BLENDER_SESSION_H__
20 #include "RNA_blender_cpp.h"
49 BL::SpaceView3D &
b_v3d,
67 const string &pass_type,
68 const int custom_flag,
70 const int bake_height);
85 bool draw(
int w,
int h);
88 void get_status(
string &status,
string &substatus);
90 void get_progress(
float &progress,
double &total_time,
double &render_time);
156 bool do_update_only);
struct Depsgraph Depsgraph
struct RegionView3D RegionView3D
struct RenderEngine RenderEngine
struct RenderLayer RenderLayer
SIMD_FORCE_INLINE const btScalar & w() const
Return the w value.
void stamp_view_layer_metadata(Scene *scene, const string &view_layer_name)
void get_progress(float &progress, double &total_time, double &render_time)
BL::RenderSettings b_render
void get_kernel_status(string &kernel_status)
static bool print_render_stats
void update_bake_progress()
BL::RenderEngine b_engine
void synchronize(BL::Depsgraph &b_depsgraph)
static int end_resumable_chunk
void do_write_update_render_tile(RenderTile &rtile, bool do_update_only, bool do_read_only, bool highlight)
void write_render_result(BL::RenderLayer &b_rlay, RenderTile &rtile)
void builtin_images_load()
void update_status_progress()
void * python_thread_state
void free_blender_memory_if_possible()
static int start_resumable_chunk
BL::Preferences b_userpref
void read_render_tile(RenderTile &rtile)
static int current_resumable_chunk
void reset_session(BL::BlendData &b_data, BL::Depsgraph &b_depsgraph)
void bake(BL::Depsgraph &b_depsgrah, BL::Object &b_object, const string &pass_type, const int custom_flag, const int bake_width, const int bake_height)
void update_render_tile(RenderTile &rtile, bool highlight)
void render(BL::Depsgraph &b_depsgraph)
void write_render_tile(RenderTile &rtile)
void update_render_result(BL::RenderLayer &b_rlay, RenderTile &rtile)
BlenderSession(BL::RenderEngine &b_engine, BL::Preferences &b_userpref, BL::BlendData &b_data, bool preview_osl)
void do_write_update_render_result(BL::RenderLayer &b_rlay, RenderTile &rtile, bool do_update_only)
static int num_resumable_chunks
void get_status(string &status, string &substatus)
BL::Depsgraph b_depsgraph
static DeviceTypeMask device_override
void update_resumable_tile_manager(int num_samples)
#define CCL_NAMESPACE_END