Ocean
Loading...
Searching...
No Matches
IndependentPrimitive.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_RENDERING_INDEPENDENT_PRIMITIVE_H
9#define META_OCEAN_RENDERING_INDEPENDENT_PRIMITIVE_H
10
13
14namespace Ocean
15{
16
17namespace Rendering
18{
19
20/**
21 * This class is the base class for all independent primitive objects.
22 * @ingroup rendering
23 */
24class OCEAN_RENDERING_EXPORT IndependentPrimitive : virtual public Primitive
25{
26 public:
27
28 /**
29 * Returns the type of this object.
30 * @see Object::type().
31 */
32 ObjectType type() const override;
33
34 protected:
35
36 /**
37 * Creates a new independent primitive object.
38 */
40
41 /**
42 * Destructs an independent primitive object.
43 */
45};
46
47}
48
49}
50
51#endif // META_OCEAN_RENDERING_INDEPENDENT_PRIMITIVE_H
This class is the base class for all independent primitive objects.
Definition IndependentPrimitive.h:25
~IndependentPrimitive() override
Destructs an independent primitive object.
ObjectType type() const override
Returns the type of this object.
IndependentPrimitive()
Creates a new independent primitive object.
ObjectType
Definition of different object type.
Definition Object.h:63
This class is the base class for all primitive objects.
Definition Primitive.h:42
The namespace covering the entire Ocean framework.
Definition Accessor.h:15