Blender V5.0
BLI_colorspace.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
8
9#pragma once
10
13
14namespace blender {
15
16namespace colorspace {
17
18/* Coefficients to compute luma from RGB. */
20
21/* Conversion between scene linear and common linear spaces. */
32
33/* For fast path when converting to/from sRGB. */
34extern bool scene_linear_is_rec709;
35
36}; // namespace colorspace
37
38} // namespace blender
float3x3 rec2020_to_scene_linear
float3x3 acescg_to_scene_linear
float3x3 scene_linear_to_rec2020
float3x3 rec709_to_scene_linear
float3x3 scene_linear_to_rec709
float3x3 scene_linear_to_acescg
MatBase< float, 3, 3 > float3x3
VecBase< float, 3 > float3