Blender
V4.3
intern
cycles
scene
scene/volume.h
Go to the documentation of this file.
1
/* SPDX-FileCopyrightText: 2020-2022 Blender Foundation
2
*
3
* SPDX-License-Identifier: Apache-2.0 */
4
5
#pragma once
6
7
#include "
graph/node.h
"
8
9
#include "
scene/mesh.h
"
10
11
CCL_NAMESPACE_BEGIN
12
13
class
Volume
:
public
Mesh
{
14
public
:
15
NODE_DECLARE
16
17
Volume
();
18
19
NODE_SOCKET_API
(
float
, clipping)
20
NODE_SOCKET_API
(
float
, step_size)
21
NODE_SOCKET_API
(
bool
, object_space)
22
NODE_SOCKET_API
(
float
,
velocity_scale
)
23
24
virtual
void
clear
(
bool
preserve_shaders =
false
)
override
;
25
};
26
27
CCL_NAMESPACE_END
CCL_NAMESPACE_END
#define CCL_NAMESPACE_END
Definition
device/cuda/compat.h:10
node.h
NODE_SOCKET_API
#define NODE_SOCKET_API(type_, name)
Definition
graph/node.h:55
CCL_NAMESPACE_BEGIN
Definition
python.cpp:44
NODE_DECLARE
#define NODE_DECLARE
Definition
node_type.h:142
mesh.h
Mesh
Definition
DNA_mesh_types.h:56
Volume
Definition
DNA_volume_types.h:42
Volume::Volume
NODE_DECLARE Volume()
Definition
scene/volume.cpp:37
Volume::clear
virtual void clear(bool preserve_shaders=false) override
Definition
scene/volume.cpp:44
Volume::velocity_scale
float velocity_scale
Definition
DNA_volume_types.h:83
Generated on Thu Feb 6 2025 07:36:39 for Blender by
doxygen
1.11.0