Blender
V5.0
source
blender
gpu
shaders
infos
gpu_srgb_to_framebuffer_space_infos.hh
Go to the documentation of this file.
1
/* SPDX-FileCopyrightText: 2022 Blender Authors
2
*
3
* SPDX-License-Identifier: GPL-2.0-or-later */
4
8
9
#ifdef GPU_SHADER
10
# pragma once
11
# include "
gpu_shader_compat.hh
"
12
13
# include "
gpu_srgb_to_framebuffer_space_infos.hh
"
14
#endif
15
16
#include "
gpu_shader_create_info.hh
"
17
18
GPU_SHADER_CREATE_INFO
(gpu_srgb_to_framebuffer_space)
19
PUSH_CONSTANT
(
bool
, srgbTarget)
20
DEFINE
(
"blender_srgb_to_framebuffer_space(a) a"
)
21
GPU_SHADER_CREATE_END
()
22
23
GPU_SHADER_CREATE_INFO
(gpu_scene_linear_to_rec709_space)
24
PUSH_CONSTANT
(
float3x3
, gpu_scene_linear_to_rec709)
25
DEFINE
(
"BLENDER_SCENE_LINEAR_TO_REC709"
)
26
GPU_SHADER_CREATE_END
()
gpu_shader_compat.hh
GPU_SHADER_CREATE_INFO
#define GPU_SHADER_CREATE_INFO(_info)
GPU_SHADER_CREATE_END
#define GPU_SHADER_CREATE_END()
gpu_shader_create_info.hh
PUSH_CONSTANT
#define PUSH_CONSTANT(type, name)
Definition
gpu_shader_create_info.hh:154
DEFINE
#define DEFINE(name)
Definition
gpu_shader_create_info.hh:197
float3x3
MatBase< 3, 3 > float3x3
Definition
gpu_shader_cxx_matrix.hh:90
gpu_srgb_to_framebuffer_space_infos.hh
Generated on
for Blender by
doxygen
1.16.1