Blender
V3.3
intern
cycles
scene
scene/volume.h
Go to the documentation of this file.
1
/* SPDX-License-Identifier: Apache-2.0
2
* Copyright 2020-2022 Blender Foundation */
3
4
#pragma once
5
6
#include "
graph/node.h
"
7
8
#include "
scene/mesh.h
"
9
10
CCL_NAMESPACE_BEGIN
11
12
class
Volume
:
public
Mesh
{
13
public
:
14
NODE_DECLARE
15
16
Volume
();
17
18
NODE_SOCKET_API
(
float
, clipping)
19
NODE_SOCKET_API
(
float
, step_size)
20
NODE_SOCKET_API
(
bool
, object_space)
21
NODE_SOCKET_API
(
float
,
velocity_scale
)
22
23
virtual
void
clear
(
bool
preserve_shaders =
false
)
override
;
24
};
25
26
CCL_NAMESPACE_END
CCL_NAMESPACE_END
#define CCL_NAMESPACE_END
Definition:
cuda/compat.h:9
node.h
NODE_SOCKET_API
#define NODE_SOCKET_API(type_, name)
Definition:
graph/node.h:54
CCL_NAMESPACE_BEGIN
Definition:
python.cpp:37
NODE_DECLARE
#define NODE_DECLARE
Definition:
node_type.h:135
mesh.h
Mesh
Definition:
DNA_mesh_types.h:151
Volume
Definition:
DNA_volume_types.h:52
Volume::Volume
NODE_DECLARE Volume()
Definition:
scene/volume.cpp:36
Volume::clear
virtual void clear(bool preserve_shaders=false) override
Definition:
scene/volume.cpp:43
Volume::velocity_scale
float velocity_scale
Definition:
DNA_volume_types.h:93
Generated on Sat Jul 27 2024 14:57:55 for Blender by
doxygen
1.9.1