Changeset View
Changeset View
Standalone View
Standalone View
intern/cycles/integrator/path_trace.h
| Show First 20 Lines • Show All 230 Lines • ▼ Show 20 Lines | protected: | ||||
| /* Pointer to a device which is configured to be used for path tracing. If multiple devices | /* Pointer to a device which is configured to be used for path tracing. If multiple devices | ||||
| * are configured this is a `MultiDevice`. */ | * are configured this is a `MultiDevice`. */ | ||||
| Device *device_ = nullptr; | Device *device_ = nullptr; | ||||
| /* CPU device for creating temporary render buffers on the CPU side. */ | /* CPU device for creating temporary render buffers on the CPU side. */ | ||||
| unique_ptr<Device> cpu_device_; | unique_ptr<Device> cpu_device_; | ||||
| Film *film_; | |||||
| DeviceScene *device_scene_; | DeviceScene *device_scene_; | ||||
| RenderScheduler &render_scheduler_; | RenderScheduler &render_scheduler_; | ||||
| TileManager &tile_manager_; | TileManager &tile_manager_; | ||||
| /* Display driver for interactive render buffer display. */ | /* Display driver for interactive render buffer display. */ | ||||
| unique_ptr<PathTraceDisplay> display_; | unique_ptr<PathTraceDisplay> display_; | ||||
| Show All 9 Lines | protected: | ||||
| /* Render buffer parameters of the full frame and current big tile. */ | /* Render buffer parameters of the full frame and current big tile. */ | ||||
| BufferParams full_params_; | BufferParams full_params_; | ||||
| BufferParams big_tile_params_; | BufferParams big_tile_params_; | ||||
| /* Denoiser which takes care of denoising the big tile. */ | /* Denoiser which takes care of denoising the big tile. */ | ||||
| unique_ptr<Denoiser> denoiser_; | unique_ptr<Denoiser> denoiser_; | ||||
| /* Denoiser device descriptor which holds the denoised big tile for multi-device workloads. */ | |||||
| unique_ptr<PathTraceWork> denoiser_buffer_; | |||||
| /* State which is common for all the steps of the render work. | /* State which is common for all the steps of the render work. | ||||
| * Is brought up to date in the `render()` call and is accessed from all the steps involved into | * Is brought up to date in the `render()` call and is accessed from all the steps involved into | ||||
| * rendering the work. */ | * rendering the work. */ | ||||
| struct { | struct { | ||||
| /* Denotes whether render buffers parameters of path trace works are to be reset for the new | /* Denotes whether render buffers parameters of path trace works are to be reset for the new | ||||
| * value of the big tile parameters. */ | * value of the big tile parameters. */ | ||||
| bool need_reset_params = false; | bool need_reset_params = false; | ||||
| ▲ Show 20 Lines • Show All 46 Lines • Show Last 20 Lines | |||||