8#ifndef META_OCEAN_RENDERING_MEDIA_TEXTURE_2D_H
9#define META_OCEAN_RENDERING_MEDIA_TEXTURE_2D_H
Definition of a frame type composed by the frame dimension, pixel format and pixel origin.
Definition Frame.h:30
This class is the base class for all 2D textures receiving their image content from Media objects.
Definition MediaTexture2D.h:41
bool hasTransparentPixel() const override
Returns whether this texture contains at least one transparent pixel.
~MediaTexture2D() override
Destructs a 2D media texture object.
FrameType frameType_
The frame type of the current frame.
Definition MediaTexture2D.h:96
Timestamp frameTimestamp_
The timestamp of the current frame.
Definition MediaTexture2D.h:99
FrameType frameType() const override
Returns the frame type of this texture.
virtual Media::FrameMediumRef medium() const
Returns the frame medium of this texture.
ObjectType type() const override
Returns the type of this object.
MediaTexture2D()
Creates a new 2D media texture object.
Media::FrameMediumRef frameMedium_
Frame medium providing the image data.
Definition MediaTexture2D.h:93
virtual void setMedium(const Media::FrameMediumRef &medium)
Sets the frame medium of this texture.
ObjectType
Definition of different object type.
Definition Object.h:63
This class implements a smart rendering object reference.
Definition rendering/ObjectRef.h:34
This class is the base class for all 2D textures.
Definition Texture2D.h:38
This class implements a timestamp.
Definition Timestamp.h:36
SmartObjectRef< MediaTexture2D > MediaTexture2DRef
Definition of a smart object reference holding a 2D texture.
Definition MediaTexture2D.h:33
The namespace covering the entire Ocean framework.
Definition Accessor.h:15