Blender V5.0
gpu_clip_planes_infos.hh
Go to the documentation of this file.
1/* SPDX-FileCopyrightText: 2022 Blender Authors
2 *
3 * SPDX-License-Identifier: GPL-2.0-or-later */
4
8
9#ifdef GPU_SHADER
10# pragma once
11# include "gpu_shader_compat.hh"
12
13# include "GPU_shader_shared.hh"
14
15# define USE_WORLD_CLIP_PLANES
16#endif
17
19
20GPU_SHADER_CREATE_INFO(gpu_clip_planes)
21UNIFORM_BUF_FREQ(1, GPUClipPlanes, clipPlanes, PASS)
22TYPEDEF_SOURCE("GPU_shader_shared.hh")
23DEFINE("USE_WORLD_CLIP_PLANES")
#define GPU_SHADER_CREATE_INFO(_info)
#define GPU_SHADER_CREATE_END()
#define TYPEDEF_SOURCE(filename)
#define DEFINE(name)
#define UNIFORM_BUF_FREQ(slot, type_name, name, freq)