Blender
V5.3
source
blender
draw
intern
shaders
draw_volume.bsl.hh
Go to the documentation of this file.
1
/* SPDX-FileCopyrightText: 2018-2023 Blender Authors
2
*
3
* SPDX-License-Identifier: GPL-2.0-or-later */
4
8
9
#pragma once
10
11
#include "
draw_shader_shared.hh
"
12
13
namespace
draw
{
14
15
struct
Volume
{
16
[[
uniform
(
DRW_VOLUME_UBO_SLOT
),
frequency
(BATCH)]]
VolumeInfos
&
drw_volume
;
17
};
18
19
}
// namespace draw
DRW_VOLUME_UBO_SLOT
#define DRW_VOLUME_UBO_SLOT
Definition
draw_defines.hh:19
draw_shader_shared.hh
uniform
#define uniform(slot)
Definition
gpu_shader_cxx_attribute.hh:117
frequency
#define frequency(freq)
Definition
gpu_shader_cxx_attribute.hh:132
draw
Definition
select_lib.bsl.hh:10
VolumeInfos
Definition
draw_shader_shared.hh:592
draw::Volume
Definition
draw_volume.bsl.hh:15
draw::Volume::drw_volume
VolumeInfos & drw_volume
Definition
draw_volume.bsl.hh:16
Generated on
for Blender by
doxygen
1.18.0