8 #ifndef META_OCEAN_PLATFORM_GL_GL_MEDIUM_TEXTURE_H
9 #define META_OCEAN_PLATFORM_GL_GL_MEDIUM_TEXTURE_H
72 textureFrameTimestamp(false)
78 textureFrameTimestamp(false),
79 textureFrameMedium(frameMedium)
This class implements a 2D OpenGL texture that receives the image content from a frame medium.
Definition: MediumTexture.h:30
bool update()
Updates this texture.
Media::FrameMediumRef textureFrameMedium
Frame medium holding the image data.
Definition: MediumTexture.h:68
const Media::FrameMediumRef & medium() const
Returns the frame medium of this texture.
Definition: MediumTexture.h:84
Timestamp textureFrameTimestamp
Frame timestamp.
Definition: MediumTexture.h:65
void setMedium(const Media::FrameMediumRef &medium)
Sets a new frame medium for this texture.
Definition: MediumTexture.h:89
MediumTexture()
Creates a new OpenGL texture object.
Definition: MediumTexture.h:71
This class implements a 2D OpenGL texture.
Definition: platform/gl/Texture.h:30
This class implements a timestamp.
Definition: Timestamp.h:36
Timestamp & toInvalid()
Sets the timestamp to invalid.
Definition: Timestamp.h:276
The namespace covering the entire Ocean framework.
Definition: Accessor.h:15