4 #ifndef __BLENDER_SESSION_H__
5 #define __BLENDER_SESSION_H__
9 #include "RNA_blender_cpp.h"
37 BL::SpaceView3D &
b_v3d,
57 const string &pass_type,
58 const int custom_flag,
60 const int bake_height);
67 void draw(BL::SpaceImageEditor &space_image);
71 void get_status(
string &status,
string &substatus);
72 void get_progress(
double &progress,
double &total_time,
double &render_time);
struct Depsgraph Depsgraph
struct RegionView3D RegionView3D
Read Guarded memory(de)allocation.
struct RenderEngine RenderEngine
SIMD_FORCE_INLINE const btScalar & w() const
Return the w value.
void stamp_view_layer_metadata(Scene *scene, const string &view_layer_name)
BL::RenderSettings b_render
static bool print_render_stats
bool check_and_report_session_error()
void update_bake_progress()
BL::RenderEngine b_engine
void full_buffer_written(string_view filename)
void synchronize(BL::Depsgraph &b_depsgraph)
vector< string > full_buffer_files_
void ensure_display_driver_if_needed()
void builtin_images_load()
void update_status_progress()
void * python_thread_state
void free_blender_memory_if_possible()
void view_draw(int w, int h)
struct BlenderSession::@1229 draw_state_
BL::Preferences b_userpref
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)
BlenderDisplayDriver * display_driver_
void render(BL::Depsgraph &b_depsgraph)
void draw(BL::SpaceImageEditor &space_image)
BlenderSession(BL::RenderEngine &b_engine, BL::Preferences &b_userpref, BL::BlendData &b_data, bool preview_osl)
void render_frame_finish()
void get_status(string &status, string &substatus)
void get_progress(double &progress, double &total_time, double &render_time)
BL::Depsgraph b_depsgraph
static DeviceTypeMask device_override
#define CCL_NAMESPACE_END
CCL_NAMESPACE_BEGIN typedef std::mutex thread_mutex