8#ifndef META_OCEAN_RENDERING_MEDIA_TEXTURE_2D_H
9#define META_OCEAN_RENDERING_MEDIA_TEXTURE_2D_H
This class is the base class for all 2D textures receiving their image content from Media objects.
Definition MediaTexture2D.h:38
bool hasTransparentPixel() const override
Returns whether this texture contains at least one transparent pixel.
~MediaTexture2D() override
Destructs a 2D media texture object.
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:84
virtual void setMedium(const Media::FrameMediumRef &medium)
Sets the frame medium of this texture.
ObjectType
Definition of different object type.
Definition Object.h:62
This class implements a smart rendering object reference.
Definition rendering/ObjectRef.h:34
Texture2D()
Creates a new 2D texture object.
SmartObjectRef< MediaTexture2D > MediaTexture2DRef
Definition of a smart object reference holding a 2D texture.
Definition MediaTexture2D.h:30
Namespace of the Rendering library.
Definition AbsoluteTransform.h:18
The namespace covering the entire Ocean framework.
Definition Accessor.h:15