Ocean
Loading...
Searching...
No Matches
X3DShaderNode.h
Go to the documentation of this file.
1/*
2 * Copyright (c) Meta Platforms, Inc. and affiliates.
3 *
4 * This source code is licensed under the MIT license found in the
5 * LICENSE file in the root directory of this source tree.
6 */
7
8#ifndef META_OCEAN_SCENEDESCRIPTION_SDX_X3D_X3D_SHADER_NODE_H
9#define META_OCEAN_SCENEDESCRIPTION_SDX_X3D_X3D_SHADER_NODE_H
10
13
14namespace Ocean
15{
16
17namespace SceneDescription
18{
19
20namespace SDX
21{
22
23namespace X3D
24{
25
26/**
27 * This class implements an abstract x3d shader node.
28 * @ingroup scenedescriptionsdxx3d
29 */
30class OCEAN_SCENEDESCRIPTION_SDX_X3D_EXPORT X3DShaderNode : virtual public X3DAppearanceChildNode
31{
32 protected:
33
34 /**
35 * Creates a new abstract x3d shader node.
36 * @param environment Node environment
37 */
38 X3DShaderNode(const SDXEnvironment* environment);
39
40 /**
41 * Registers the fields of this node.
42 * @param specification Node specification receiving the field informations
43 */
44 void registerFields(NodeSpecification& specification);
45
46 protected:
47
48 /// Activate field.
50
51 /// IsSelected.
53
54 /// IsValid field.
56
57 /// Language field.
59};
60
61}
62
63}
64
65}
66
67}
68
69#endif // META_OCEAN_SCENEDESCRIPTION_SDX_X3D_X3D_SHADER_NODE_H
This class implements a node specification object.
Definition scenedescription/Node.h:77
This class implements an abstract x3d appearance child node.
Definition X3DAppearanceChildNode.h:31
This class implements an abstract x3d shader node.
Definition X3DShaderNode.h:31
SingleBool isValid_
IsValid field.
Definition X3DShaderNode.h:55
void registerFields(NodeSpecification &specification)
Registers the fields of this node.
SingleBool isSelected_
IsSelected.
Definition X3DShaderNode.h:52
X3DShaderNode(const SDXEnvironment *environment)
Creates a new abstract x3d shader node.
SingleString language_
Language field.
Definition X3DShaderNode.h:58
SingleBool activate_
Activate field.
Definition X3DShaderNode.h:49
This class implements a node environment container.
Definition SDXNode.h:62
The namespace covering the entire Ocean framework.
Definition Accessor.h:15