8#ifndef META_OCEAN_RENDERING_GLES_PHANTOM_ATTRIBUTE_H
9#define META_OCEAN_RENDERING_GLES_PHANTOM_ATTRIBUTE_H
This class implements a color defined by red, green, blue and alpha parameters.
Definition RGBAColor.h:41
DynamicObject()
Creates a new dynamic object.
ProgramType
Definition of different shader functionalities.
Definition GLESAttribute.h:43
GLESAttribute()
Creates a new GLESceneGraph attribute object.
This class implements a base for all GLESceneGraph framebuffers.
Definition rendering/glescenegraph/GLESFramebuffer.h:34
friend class GLESFactory
Definition GLESPhantomAttribute.h:31
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:93
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:96
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:90
~GLESPhantomAttribute() override
Destructor.
Texture2DRef phantomUndistortedBackgroundTexture
Reference to the (undistorted) background texture.
Definition GLESPhantomAttribute.h:99
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:102
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
PhantomAttribute()
Creates a new phantom attribute.
This class implements a timestamp.
Definition Timestamp.h:64
SquareMatrixT4< Scalar > SquareMatrix4
Definition of the SquareMatrix4 object, depending on the OCEAN_MATH_USE_SINGLE_PRECISION either with ...
Definition SquareMatrix4.h:39
SmartObjectRef< View > ViewRef
Definition of a smart object reference holding a view node.
Definition View.h:39
SmartObjectRef< Texture2D > Texture2DRef
Definition of a smart object reference holding a 2D texture.
Definition Texture2D.h:32
Namespace of the Rendering GLESceneGraph library.
Definition rendering/glescenegraph/android/Android.h:20
Namespace of the Rendering library.
Definition AbsoluteTransform.h:18
The namespace covering the entire Ocean framework.
Definition Accessor.h:15