Blender  V3.3
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 
11 
12 class Volume : public Mesh {
13  public:
15 
16  Volume();
17 
18  NODE_SOCKET_API(float, clipping)
19  NODE_SOCKET_API(float, step_size)
20  NODE_SOCKET_API(bool, object_space)
22 
23  virtual void clear(bool preserve_shaders = false) override;
24 };
25 
#define CCL_NAMESPACE_END
Definition: cuda/compat.h:9
#define NODE_SOCKET_API(type_, name)
Definition: graph/node.h:54
#define NODE_DECLARE
Definition: node_type.h:135
NODE_DECLARE Volume()
virtual void clear(bool preserve_shaders=false) override
float velocity_scale