Blender
V4.5
source
blender
compositor
shaders
infos
compositor_bokeh_image_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
#include "
gpu_shader_create_info.hh
"
6
7
GPU_SHADER_CREATE_INFO
(compositor_bokeh_image)
8
LOCAL_GROUP_SIZE
(16, 16)
9
PUSH_CONSTANT
(
float
, exterior_angle)
10
PUSH_CONSTANT
(
float
, rotation)
11
PUSH_CONSTANT
(
float
, roundness)
12
PUSH_CONSTANT
(
float
, catadioptric)
13
PUSH_CONSTANT
(
float
, lens_shift)
14
IMAGE
(0,
GPU_RGBA16F
, write,
image2D
, output_img)
15
COMPUTE_SOURCE
(
"compositor_bokeh_image.glsl"
)
16
DO_STATIC_COMPILATION
()
17
GPU_SHADER_CREATE_END
()
GPU_RGBA16F
@ GPU_RGBA16F
Definition
GPU_texture.hh:656
image2D
ImageBase< float, 2 > image2D
Definition
gpu_glsl_cpp_stubs.hh:654
PUSH_CONSTANT
#define PUSH_CONSTANT(type, name)
GPU_SHADER_CREATE_INFO
#define GPU_SHADER_CREATE_INFO(_info)
LOCAL_GROUP_SIZE
#define LOCAL_GROUP_SIZE(...)
IMAGE
#define IMAGE(slot, format, qualifiers, type, name)
GPU_SHADER_CREATE_END
#define GPU_SHADER_CREATE_END()
COMPUTE_SOURCE
#define COMPUTE_SOURCE(filename)
DO_STATIC_COMPILATION
#define DO_STATIC_COMPILATION()
gpu_shader_create_info.hh
Generated on
for Blender by
doxygen
1.16.1