Blender V4.3
workbench_effect_outline_info.hh
Go to the documentation of this file.
1/* SPDX-FileCopyrightText: 2023 Blender Authors
2 *
3 * SPDX-License-Identifier: GPL-2.0-or-later */
4
6
7GPU_SHADER_CREATE_INFO(workbench_effect_outline)
8 .typedef_source("workbench_shader_shared.h")
9 .fragment_source("workbench_effect_outline_frag.glsl")
10 .sampler(0, ImageType::UINT_2D, "objectIdBuffer")
11 .uniform_buf(WB_WORLD_SLOT, "WorldData", "world_data")
12 .fragment_out(0, Type::VEC4, "fragColor")
13 .additional_info("draw_fullscreen")
14 .do_static_compilation(true);
#define GPU_SHADER_CREATE_INFO(_info)
#define WB_WORLD_SLOT