Blender
V5.3
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
#endif
13
14
#include "
gpu_shader_create_info.hh
"
15
16
GPU_SHADER_CREATE_INFO
(gpu_srgb_to_framebuffer_space)
17
PUSH_CONSTANT
(
bool
, srgbTarget)
18
DEFINE
(
"blender_srgb_to_framebuffer_space(a) a"
)
19
GPU_SHADER_CREATE_END
()
20
21
GPU_SHADER_CREATE_INFO
(gpu_scene_linear_to_rec709_space)
22
PUSH_CONSTANT
(
float3x3
, gpu_scene_linear_to_rec709)
23
DEFINE
(
"BLENDER_SCENE_LINEAR_TO_REC709"
)
24
GPU_SHADER_CREATE_END
()
gpu_shader_compat.hh
GPU_SHADER_CREATE_INFO
#define GPU_SHADER_CREATE_INFO(_info)
Definition
gpu_shader_create_info.cc:661
GPU_SHADER_CREATE_END
#define GPU_SHADER_CREATE_END()
Definition
gpu_shader_create_info.cc:669
gpu_shader_create_info.hh
PUSH_CONSTANT
#define PUSH_CONSTANT(type, name)
Definition
gpu_shader_create_info.hh:156
DEFINE
#define DEFINE(name)
Definition
gpu_shader_create_info.hh:201
float3x3
Definition
types_float3x3.h:21
Generated on
for Blender by
doxygen
1.18.0