Blender V5.3
eevee_velocity_shared.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
10
11#pragma once
12
14
15#ifndef GPU_SHADER
16namespace blender::eevee {
17#endif
18
19#define VELOCITY_INVALID 512.0
20
26
32
33#ifndef GPU_SHADER
34 VelocityObjectIndex() : ofs(-1, -1, -1), resource_index(-1) {};
35#endif
36};
37
48
49 int _pad0;
50
51#ifndef GPU_SHADER
52 VelocityGeometryIndex() : ofs(-1, -1, -1), do_deform(false), len(-1, -1, -1), _pad0(1) {};
53#endif
54};
55
60
61#ifndef GPU_SHADER
62} // namespace blender::eevee
63#endif
#define host_shared
int32_t bool32_t
unsigned int uint
Definition BKE_text.h:55
unsigned int uint32_t
Definition BKE_text.h:81
struct VelocityGeometryIndex geo
struct VelocityObjectIndex obj