Blender V5.0
gpu_shader_2D_point_varying_size_varying_color_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_shader_shared.hh"
14#endif
15
18
19GPU_SHADER_CREATE_INFO(gpu_shader_2D_point_varying_size_varying_color)
21VERTEX_IN(1, float, size)
22VERTEX_IN(2, float4, color)
23VERTEX_OUT(smooth_color_iface)
24FRAGMENT_OUT(0, float4, fragColor)
25PUSH_CONSTANT(float4x4, ModelViewProjectionMatrix)
26VERTEX_SOURCE("gpu_shader_2D_point_varying_size_varying_color_vert.glsl")
27FRAGMENT_SOURCE("gpu_shader_point_varying_color_frag.glsl")
static DBVT_INLINE btScalar size(const btDbvtVolume &a)
Definition btDbvt.cpp:52
uint pos
#define GPU_SHADER_CREATE_INFO(_info)
#define GPU_SHADER_CREATE_END()
#define VERTEX_OUT(stage_interface)
#define FRAGMENT_SOURCE(filename)
#define PUSH_CONSTANT(type, name)
#define FRAGMENT_OUT(slot, type, name)
#define VERTEX_SOURCE(filename)
#define VERTEX_IN(slot, type, name)
#define DO_STATIC_COMPILATION()
MatBase< 4, 4 > float4x4