Ocean
Loading...
Searching...
No Matches
X3DProgrammableShaderObject.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_PROGRAMMABLE_SHADER_OBJECT_H
9#define META_OCEAN_SCENEDESCRIPTION_SDX_X3D_PROGRAMMABLE_SHADER_OBJECT_H
10
12
14
15namespace Ocean
16{
17
18namespace SceneDescription
19{
20
21namespace SDX
22{
23
24namespace X3D
25{
26
27/**
28 * This class implements an abstract x3d programmable shader object.
29 * @ingroup x3d
30 */
31class OCEAN_SCENEDESCRIPTION_SDX_X3D_EXPORT X3DProgrammableShaderObject : virtual public SDXNode
32{
33 protected:
34
35 /**
36 * Creates a new x3d programmable shader object.
37 * @param environment Node environment
38 */
40
41 /**
42 * Registers the fields of this node.
43 * @param specification Node specification receiving the field informations
44 */
45 void registerFields(NodeSpecification& specification);
46};
47
48}
49
50}
51
52}
53
54}
55
56#endif // META_OCEAN_SCENEDESCRIPTION_SDX_X3D_PROGRAMMABLE_SHADER_OBJECT_H
This class implements a node specification object.
Definition scenedescription/Node.h:77
This class implements an abstract x3d programmable shader object.
Definition X3DProgrammableShaderObject.h:32
void registerFields(NodeSpecification &specification)
Registers the fields of this node.
X3DProgrammableShaderObject(const SDXEnvironment *environment)
Creates a new x3d programmable shader object.
This class implements a node environment container.
Definition SDXNode.h:62
This class implements the base class for all SDX scene description nodes.
Definition SDXNode.h:50
The namespace covering the entire Ocean framework.
Definition Accessor.h:15