Blender
V3.3
source
blender
gpu
shaders
infos
gpu_shader_2D_image_desaturate_color_info.hh
Go to the documentation of this file.
1
/* SPDX-License-Identifier: GPL-2.0-or-later
2
* Copyright 2022 Blender Foundation. All rights reserved. */
3
8
#include "
gpu_shader_create_info.hh
"
9
10
GPU_SHADER_CREATE_INFO
(gpu_shader_2D_image_desaturate_color)
11
.additional_info(
"gpu_shader_2D_image_common"
)
12
.push_constant(Type::VEC4,
"color"
)
13
.push_constant(
Type::FLOAT
,
"factor"
)
14
.fragment_source(
"gpu_shader_image_desaturate_frag.glsl"
)
15
.do_static_compilation(
true
);
GPU_SHADER_CREATE_INFO
#define GPU_SHADER_CREATE_INFO(_info)
gpu_shader_create_info.hh
FLOAT
@ FLOAT
Definition:
scene/attribute.h:37
Generated on Tue Oct 22 2024 13:18:25 for Blender by
doxygen
1.9.1