Blender V5.0
compositor_motion_blur_infos.hh
Go to the documentation of this file.
1/* SPDX-FileCopyrightText: 2024 Blender Authors
2 *
3 * SPDX-License-Identifier: GPL-2.0-or-later */
4
6
7GPU_SHADER_CREATE_INFO(compositor_motion_blur_max_velocity_dilate)
9PUSH_CONSTANT(float, shutter_speed)
10SAMPLER(0, sampler2D, input_tx)
11STORAGE_BUF(0, read_write, uint, tile_indirection_buf[])
12COMPUTE_SOURCE("compositor_motion_blur_max_velocity_dilate.glsl")
15
16GPU_SHADER_CREATE_INFO(compositor_motion_blur)
17LOCAL_GROUP_SIZE(16, 16)
18PUSH_CONSTANT(int, samples_count)
19PUSH_CONSTANT(float, shutter_speed)
20SAMPLER(0, sampler2D, input_tx)
21SAMPLER(1, sampler2D, depth_tx)
22SAMPLER(2, sampler2D, velocity_tx)
23SAMPLER(3, sampler2D, max_velocity_tx)
24STORAGE_BUF(0, read, uint, tile_indirection_buf[])
25IMAGE(0, SFLOAT_16_16_16_16, write, image2D, output_img)
26COMPUTE_SOURCE("compositor_motion_blur.glsl")
unsigned int uint
#define GPU_SHADER_CREATE_INFO(_info)
#define GPU_SHADER_CREATE_END()
#define SAMPLER(slot, type, name)
#define PUSH_CONSTANT(type, name)
#define STORAGE_BUF(slot, qualifiers, type_name, name)
#define LOCAL_GROUP_SIZE(...)
#define IMAGE(slot, format, qualifiers, type, name)
#define COMPUTE_SOURCE(filename)
#define DO_STATIC_COMPILATION()
ImageBase< float, 2 > image2D
SamplerBase< float, 2 > sampler2D