8#ifndef META_OCEAN_RENDERING_TEXTURES_H
9#define META_OCEAN_RENDERING_TEXTURES_H
Attribute()
Creates a new attribute object.
ObjectType
Definition of different object type.
Definition Object.h:62
This class implements a smart rendering object reference.
Definition rendering/ObjectRef.h:34
This class is the base class for all textures objects.
Definition Textures.h:39
virtual bool hasAlphaTexture() const
Returns whether at least one texture has at least one alpha pixel.
~Textures() override
Destructs a textures object.
std::vector< TextureRef > TextureObjects
Definition of a vector holding textures.
Definition Textures.h:45
ObjectType type() const override
Returns the type of this object.
Textures()
Creates a new textures object.
virtual void setTexture(const TextureRef &texture, const unsigned int layerIndex)
Sets the texture for a specified texture layer.
virtual TextureRef texture(const unsigned int layerIndex) const
Returns the texture for a specified texture layer.
virtual void addTexture(const TextureRef &texture)
Adds a texture at the next free position of the texture layer.
TextureObjects textures_
Vector holding texture objects.
Definition Textures.h:102
unsigned int numberTextures() const
Returns the number of specified texture layers.
Definition Textures.h:105
SmartObjectRef< Texture > TextureRef
Definition of a smart object reference holding a texture.
Definition rendering/Texture.h:31
SmartObjectRef< Textures > TexturesRef
Definition of a smart object reference holding a textures.
Definition Textures.h:32
Namespace of the Rendering library.
Definition AbsoluteTransform.h:18
The namespace covering the entire Ocean framework.
Definition Accessor.h:15