Welcome to mirror list, hosted at ThFree Co, Russian Federation.

output_driver.h « hydra « cycles « intern - git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: f10adfccf4309bfc7a456410d86496768a7270c0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/* SPDX-License-Identifier: Apache-2.0
 * Copyright 2022 NVIDIA Corporation
 * Copyright 2022 Blender Foundation */

#pragma once

#include "hydra/config.h"
#include "session/output_driver.h"

HDCYCLES_NAMESPACE_OPEN_SCOPE

class HdCyclesOutputDriver final : public CCL_NS::OutputDriver {
 public:
  HdCyclesOutputDriver(HdCyclesSession *renderParam);

 private:
  void write_render_tile(const Tile &tile) override;
  bool update_render_tile(const Tile &tile) override;

  HdCyclesSession *const _renderParam;
};

HDCYCLES_NAMESPACE_CLOSE_SCOPE