Changeset View
Changeset View
Standalone View
Standalone View
intern/cycles/scene/scene.h
| Show First 20 Lines • Show All 264 Lines • ▼ Show 20 Lines | public: | ||||
| void reset(); | void reset(); | ||||
| void device_free(); | void device_free(); | ||||
| void collect_statistics(RenderStats *stats); | void collect_statistics(RenderStats *stats); | ||||
| void enable_update_stats(); | void enable_update_stats(); | ||||
| bool load_kernels(Progress &progress); | |||||
| bool update(Progress &progress); | bool update(Progress &progress); | ||||
| bool has_shadow_catcher(); | bool has_shadow_catcher(); | ||||
| void tag_shadow_catcher_modified(); | void tag_shadow_catcher_modified(); | ||||
| /* This function is used to create a node of a specified type instead of | /* This function is used to create a node of a specified type instead of | ||||
| * calling 'new', and sets the scene as the owner of the node. | * calling 'new', and sets the scene as the owner of the node. | ||||
| * The function has overloads that will also add the created node to the right | * The function has overloads that will also add the created node to the right | ||||
| ▲ Show 20 Lines • Show All 47 Lines • ▼ Show 20 Lines | protected: | ||||
| bool need_data_update(); | bool need_data_update(); | ||||
| void free_memory(bool final); | void free_memory(bool final); | ||||
| bool kernels_loaded; | bool kernels_loaded; | ||||
| uint loaded_kernel_features; | uint loaded_kernel_features; | ||||
| void update_kernel_features(); | void update_kernel_features(); | ||||
| bool load_kernels(Progress &progress, bool lock_scene = true); | |||||
| bool has_shadow_catcher_ = false; | bool has_shadow_catcher_ = false; | ||||
| bool shadow_catcher_modified_ = true; | bool shadow_catcher_modified_ = true; | ||||
| /* Maximum number of closure during session lifetime. */ | /* Maximum number of closure during session lifetime. */ | ||||
| int max_closure_global; | int max_closure_global; | ||||
| /* Get maximum number of closures to be used in kernel. */ | /* Get maximum number of closures to be used in kernel. */ | ||||
| ▲ Show 20 Lines • Show All 72 Lines • Show Last 20 Lines | |||||