Blender
V5.3
source
blender
gpu
shaders
material
gpu_shader_material_vertex_color.bsl.hh
Go to the documentation of this file.
1
/* SPDX-FileCopyrightText: 2019 Blender Authors
2
*
3
* SPDX-License-Identifier: GPL-2.0-or-later */
4
5
#pragma once
6
7
#include "
gpu_shader_compat.hh
"
8
9
[[
node
]]
10
void
node_vertex_color
(
float4
vertex_color,
float4
&out_color,
float
&out_alpha)
11
{
12
out_color = vertex_color;
13
out_alpha = vertex_color.a;
14
}
gpu_shader_compat.hh
node
#define node
Definition
gpu_shader_cxx_attribute.hh:142
node_vertex_color
void node_vertex_color(float4 vertex_color, float4 &out_color, float &out_alpha)
Definition
gpu_shader_material_vertex_color.bsl.hh:10
float4
Definition
sky_math.h:224
Generated on
for Blender by
doxygen
1.18.0