Blender V4.3
path_trace_tile.h
Go to the documentation of this file.
1/* SPDX-FileCopyrightText: 2021-2022 Blender Foundation
2 *
3 * SPDX-License-Identifier: Apache-2.0 */
4
5#pragma once
6
8
10
11/* PathTraceTile
12 *
13 * Implementation of OutputDriver::Tile interface for path tracer. */
14
15class PathTrace;
16
18 public:
19 PathTraceTile(PathTrace &path_trace);
20
21 bool get_pass_pixels(const string_view pass_name, const int num_channels, float *pixels) const;
22 bool set_pass_pixels(const string_view pass_name,
23 const int num_channels,
24 const float *pixels) const;
25
26 private:
27 PathTrace &path_trace_;
28 mutable bool copied_from_device_;
29};
30
bool set_pass_pixels(const string_view pass_name, const int num_channels, const float *pixels) const
bool get_pass_pixels(const string_view pass_name, const int num_channels, float *pixels) const
PathTraceTile(PathTrace &path_trace)
#define CCL_NAMESPACE_END