8 #ifndef META_OCEAN_RENDERING_GLES_PHANTOM_ATTRIBUTE_H
9 #define META_OCEAN_RENDERING_GLES_PHANTOM_ATTRIBUTE_H
23 namespace GLESceneGraph
This class implements a color defined by red, green, blue and alpha parameters.
Definition: RGBAColor.h:41
This class is the base class for all dynamic scene graph objects.
Definition: DynamicObject.h:40
This class wraps a GLESceneGraph attribute object.
Definition: GLESAttribute.h:36
ProgramType
Definition of different shader functionalities.
Definition: GLESAttribute.h:43
This class implements a class factory for all GLESceneGraph objects.
Definition: GLESFactory.h:30
This class implements a base for all GLESceneGraph framebuffers.
Definition: rendering/glescenegraph/GLESFramebuffer.h:34
Definition: GLESPhantomAttribute.h:30
Timestamp phantomVideoTimestamp
Timestamp of the last video camera type change.
Definition: GLESPhantomAttribute.h:83
SquareMatrix4 phantomTextureCoordinateTransform
Texture transformation matrix (required for moveable object with fixed texture on them)
Definition: GLESPhantomAttribute.h:95
unsigned int phantomMode
Phantom mode.
Definition: GLESPhantomAttribute.h:89
void onDynamicUpdate(const ViewRef &view, const Timestamp timestamp) override
Update function called by the framebuffer.
SquareMatrix4 phantomNormalizedCameraFrustumMatrix
Normalized camera frustum matrix (required to convert vertex positions into texture coordinates)
Definition: GLESPhantomAttribute.h:98
Timestamp phantomColorTimestamp
Timestamp of the last color change.
Definition: GLESPhantomAttribute.h:86
RGBAColor phantomBackgroundColor
Currently set background color; used for PM_COLOR.
Definition: GLESPhantomAttribute.h:92
~GLESPhantomAttribute() override
Destructor.
Texture2DRef phantomUndistortedBackgroundTexture
Reference to the (undistorted) background texture.
Definition: GLESPhantomAttribute.h:101
void updateBackgroundInformation(const ViewRef &view, const Timestamp timestamp)
Update matrices and texture related to the background image.
GLESAttribute::ProgramType necessaryShader() const override
Returns the shader type necessary to render an object with this attribute.
Texture2DRef phantomUndistortedBackgroundOffsetTexture
Reference to the (undistorted) background offset texture.
Definition: GLESPhantomAttribute.h:104
void bindAttribute(const GLESFramebuffer &framebuffer, GLESShaderProgram &shaderProgram) override
Binds this attribute.
GLESPhantomAttribute()
Constructor.
void unbindAttribute() override
Unbindes this attribute.
This class implements a container for an OpenGL ES shader program.
Definition: GLESShaderProgram.h:53
This class is the base class for all phantom attributes.
Definition: PhantomAttribute.h:36
This class implements a timestamp.
Definition: Timestamp.h:36
The namespace covering the entire Ocean framework.
Definition: Accessor.h:15