16 path_trace.get_render_tile_size(),
17 path_trace.get_render_size(),
18 path_trace.get_render_tile_params().layer,
19 path_trace.get_render_tile_params().
view),
20 path_trace_(path_trace),
21 copied_from_device_(
false)
26 const int num_channels,
32 if (!copied_from_device_) {
35 copied_from_device_ =
true;
41 if (pass ==
nullptr) {
48 if (pass ==
nullptr) {
55 if (pass ==
nullptr) {
61 const float exposure = buffer_params.
exposure;
69 const PassAccessorCPU pass_accessor(pass_access_info, exposure, num_samples);
76 const int num_channels,
77 const float *pixels)
const
92 const float exposure = buffer_params.
exposure;
93 const int num_samples = 1;
bool use_approximate_shadow_catcher
const BufferPass * find_pass(string_view name) const
const BufferPass * get_actual_display_pass(PassType type, PassMode mode=PassMode::NOISY) const
bool use_transparent_background
NODE_DECLARE PassType type
bool use_approximate_shadow_catcher
bool use_approximate_shadow_catcher_background
bool set_pass_pixels(const string_view pass_name, const int num_channels, const float *pixels) const override
bool get_pass_pixels(const string_view pass_name, const int num_channels, float *pixels) const override
PathTraceTile(PathTrace &path_trace)
bool get_render_tile_pixels(const PassAccessor &pass_accessor, const PassAccessor::Destination &destination)
bool copy_render_tile_from_device()
bool set_render_tile_pixels(PassAccessor &pass_accessor, const PassAccessor::Source &source)
const BufferParams & get_render_tile_params() const
int get_num_render_tile_samples() const
#define CCL_NAMESPACE_END