8#ifndef META_OCEAN_RENDERING_GI_MEDIA_TEXTURE_2D_H
9#define META_OCEAN_RENDERING_GI_MEDIA_TEXTURE_2D_H
This class implements Ocean's image class.
Definition Frame.h:1969
This class implements a color defined by red, green, blue and alpha parameters.
Definition RGBAColor.h:41
~GIMediaTexture2D() override
Destructs a Global Illumination texture 2D object.
GIMediaTexture2D()
Creates a new Global Illumination texture 2D object.
Frame textureFrame_
Texture frame.
Definition GIMediaTexture2D.h:76
bool isValid() const override
Returns whether the texture internally holds valid data.
const Frame & frame() const
Returns the frame of this texture.
Definition GIMediaTexture2D.h:79
friend class GIFactory
Definition GIMediaTexture2D.h:33
void onDynamicUpdate(const ViewRef &view, const Timestamp timestamp) override
Update function called by the framebuffer.
bool textureColor(const TextureCoordinate &textureCoordinate, RGBAColor &color) const override
Returns the texture color for a given texture coordinate.
GITexture2D()
Creates a new Global Illumination texture 2D object.
MediaTexture2D()
Creates a new 2D media texture object.
This class implements a timestamp.
Definition Timestamp.h:64
SmartObjectRef< View > ViewRef
Definition of a smart object reference holding a view node.
Definition View.h:39
Vector2 TextureCoordinate
Definition of a 2D texture coordinate.
Definition rendering/Rendering.h:89
Namespace of the Rendering Global Illumination library.
Definition GIAttribute.h:23
Namespace of the Rendering library.
Definition AbsoluteTransform.h:18
The namespace covering the entire Ocean framework.
Definition Accessor.h:15