Blender  V3.3
path_trace_tile.h
Go to the documentation of this file.
1 /* SPDX-License-Identifier: Apache-2.0
2  * Copyright 2021-2022 Blender Foundation */
3 
4 #pragma once
5 
7 
9 
10 /* PathTraceTile
11  *
12  * Implementation of OutputDriver::Tile interface for path tracer. */
13 
14 class PathTrace;
15 
17  public:
18  PathTraceTile(PathTrace &path_trace);
19 
20  bool get_pass_pixels(const string_view pass_name, const int num_channels, float *pixels) const;
21  bool set_pass_pixels(const string_view pass_name,
22  const int num_channels,
23  const float *pixels) const;
24 
25  private:
26  PathTrace &path_trace_;
27  mutable bool copied_from_device_;
28 };
29 
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
Definition: cuda/compat.h:9