Blender
V4.3
source
blender
gpu
shaders
infos
gpu_shader_2D_image_desaturate_color_info.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
9
#include "
gpu_shader_create_info.hh
"
10
11
GPU_SHADER_CREATE_INFO
(gpu_shader_2D_image_desaturate_color)
12
.additional_info(
"gpu_shader_2D_image_common"
)
13
.push_constant(Type::VEC4,
"color"
)
14
.push_constant(Type::FLOAT,
"factor"
)
15
.fragment_source(
"gpu_shader_image_desaturate_frag.glsl"
)
16
.do_static_compilation(
true
);
GPU_SHADER_CREATE_INFO
#define GPU_SHADER_CREATE_INFO(_info)
gpu_shader_create_info.hh
Generated on Thu Feb 6 2025 07:36:39 for Blender by
doxygen
1.11.0