Blender V5.0
oiio_output_driver.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#include <functional>
6
8
9#include "util/string.h"
10
12
14 public:
15 using LogFunction = std::function<void(const string &)>;
16
17 OIIOOutputDriver(const string_view filepath, const string_view pass, LogFunction log);
19
20 void write_render_tile(const Tile &tile) override;
21
22 protected:
23 string filepath_;
24 string pass_;
26};
27
void write_render_tile(const Tile &tile) override
std::function< void(const string &)> LogFunction
~OIIOOutputDriver() override
OIIOOutputDriver(const string_view filepath, const string_view pass, LogFunction log)
OutputDriver()=default
#define CCL_NAMESPACE_END
#define log
const ccl_global KernelWorkTile * tile