Blender
V4.5
source
blender
draw
engines
workbench
shaders
infos
workbench_transparent_resolve_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
5
#ifdef GPU_SHADER
6
# pragma once
7
# include "
gpu_glsl_cpp_stubs.hh
"
8
9
# include "
gpu_shader_fullscreen_info.hh
"
10
#endif
11
12
#include "
gpu_shader_create_info.hh
"
13
14
GPU_SHADER_CREATE_INFO
(workbench_transparent_resolve)
15
FRAGMENT_OUT
(0,
float4
, frag_color)
16
SAMPLER
(0,
sampler2D
, transparent_accum)
17
SAMPLER
(1,
sampler2D
, transparent_revealage)
18
FRAGMENT_SOURCE
(
"workbench_transparent_resolve_frag.glsl"
)
19
ADDITIONAL_INFO
(gpu_fullscreen)
20
DO_STATIC_COMPILATION
()
21
GPU_SHADER_CREATE_END
()
gpu_glsl_cpp_stubs.hh
GPU_SHADER_CREATE_INFO
#define GPU_SHADER_CREATE_INFO(_info)
GPU_SHADER_CREATE_END
#define GPU_SHADER_CREATE_END()
gpu_shader_create_info.hh
SAMPLER
#define SAMPLER(slot, type, name)
Definition
gpu_shader_create_info.hh:156
FRAGMENT_SOURCE
#define FRAGMENT_SOURCE(filename)
Definition
gpu_shader_create_info.hh:168
ADDITIONAL_INFO
#define ADDITIONAL_INFO(info_name)
Definition
gpu_shader_create_info.hh:180
FRAGMENT_OUT
#define FRAGMENT_OUT(slot, type, name)
Definition
gpu_shader_create_info.hh:128
DO_STATIC_COMPILATION
#define DO_STATIC_COMPILATION()
Definition
gpu_shader_create_info.hh:174
gpu_shader_fullscreen_info.hh
SamplerBase
Definition
gpu_glsl_cpp_stubs.hh:523
VecBase< float, 4 >
Generated on Fri Apr 3 2026 06:33:18 for Blender by
doxygen
1.11.0