Blender V5.0
fallback_default_view.hh
Go to the documentation of this file.
1/* SPDX-FileCopyrightText: 2025 Blender Authors
2 *
3 * SPDX-License-Identifier: GPL-2.0-or-later */
4
5#pragma once
6
7#include "OCIO_view.hh"
8
9namespace blender::ocio {
10
11class ColorSpace;
12
13class FallbackDefaultView : public View {
14 protected:
16
17 public:
23
24 StringRefNull name() const override
25 {
26 return "Standard";
27 }
28
29 StringRefNull description() const override
30 {
31 return "";
32 }
33
34 bool is_hdr() const override
35 {
36 return false;
37 }
38
39 bool support_emulation() const override
40 {
41 return false;
42 }
43
44 Gamut gamut() const override
45 {
46 return Gamut::Rec709;
47 }
48
50 {
52 }
53
54 const ColorSpace *display_colorspace() const override
55 {
57 }
58};
59
60} // namespace blender::ocio
TransferFunction transfer_function() const override
StringRefNull name() const override
const ColorSpace * display_colorspace() const override
StringRefNull description() const override
FallbackDefaultView(const ColorSpace *display_colorspace)