Container for weak texture reference. More...
#include <kanzi/core.ui/graphics2d/framebuffer.hpp>
Public Member Functions | |
| size_t | getFaceIndex () const |
| Gets the face attachment index. | |
| size_t | getMipmapLevel () const |
| Gets the mipmap attachment level. | |
| TextureSharedPtr | getSharedTexture () const |
| Gets a shared reference to the contained texture. | |
| bool | matches (const TextureSharedPtr &texture, size_t faceIndex, size_t mipmapLevel) const |
| Indicates whether the contained texture attachment matches given parameters. | |
| TextureContainer & | operator= (const TextureContainer &)=delete |
| Deleted copy operator. | |
| TextureContainer & | operator= (TextureContainer &&other) noexcept |
| Move operator. | |
| TextureContainer (const TextureContainer &)=delete | |
| Deleted copy constructor. | |
| TextureContainer (const TextureSharedPtr &texture, size_t faceIndex, size_t mipmapLevel) | |
| Constructor. | |
| TextureContainer (TextureContainer &&other) noexcept | |
| Move constructor. | |
Protected Attributes | |
| size_t | m_faceIndex |
| Attachment face index. | |
| size_t | m_mipmapLevel |
| Attachment mipmap level. | |
| TextureWeakPtr | m_texture |
| Weak texture reference. | |
Container for weak texture reference.
|
inlineexplicit |
Constructor.
| texture | Texture referenced. |
| faceIndex | Attachment face index. |
| mipmapLevel | Mipmap level. |
|
inlinenoexcept |
Move constructor.
| other | Source container. |
|
delete |
Deleted copy constructor.
|
inlinenoexcept |
Move operator.
| other | Source container. |
|
delete |
Deleted copy operator.
|
inline |
Indicates whether the contained texture attachment matches given parameters.
| texture | Texture referenced. |
| faceIndex | Attachment face index. |
| mipmapLevel | Mipmap level. |
|
inline |
Gets a shared reference to the contained texture.
|
inline |
Gets the face attachment index.
|
inline |
Gets the mipmap attachment level.
|
protected |
Weak texture reference.
|
protected |
Attachment face index.
|
protected |
Attachment mipmap level.