8 #ifndef META_OCEAN_RENDERING_GI_MEDIA_TEXTURE_2D_H
9 #define META_OCEAN_RENDERING_GI_MEDIA_TEXTURE_2D_H
22 namespace GlobalIllumination
41 inline const Frame& frame()
const;
This class implements Ocean's image class.
Definition: Frame.h:1792
This class implements a color defined by red, green, blue and alpha parameters.
Definition: RGBAColor.h:41
This class implements a class factory for all Global Illumination objects.
Definition: GIFactory.h:30
This class wraps a Global Illumination media texture object.
Definition: GIMediaTexture2D.h:32
~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
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.
This class wraps a Global Illumination texture object.
Definition: GITexture2D.h:34
This class is the base class for all 2D textures receiving their image content from Media objects.
Definition: MediaTexture2D.h:41
This class implements a timestamp.
Definition: Timestamp.h:36
The namespace covering the entire Ocean framework.
Definition: Accessor.h:15