Blender V5.0
gpu_shader_2D_point_uniform_size_uniform_color_outline_aa_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_uniform_size_uniform_color_outline_aa)
21VERTEX_OUT(smooth_radii_outline_iface)
22FRAGMENT_OUT(0, float4, fragColor)
23PUSH_CONSTANT(float4x4, ModelViewProjectionMatrix)
25PUSH_CONSTANT(float4, outlineColor)
26PUSH_CONSTANT(float, size)
27PUSH_CONSTANT(float, outlineWidth)
28VERTEX_SOURCE("gpu_shader_2D_point_uniform_size_outline_aa_vert.glsl")
29FRAGMENT_SOURCE("gpu_shader_point_uniform_color_outline_aa_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