![]() |
NDEVR
API Documentation
|
Manages all images within the Vulkan space. More...
Public Member Functions | |
| GLESImageManager (const DynamicPointer< GLESGraphicsDevice > &instance) | |
| Constructs a GLESImageManager for the given device. | |
| ~GLESImageManager () | |
| Destroys all managed GPU textures. | |
| ConstPointer< GLESImageData > | getImage (const StringView &id) |
| Retrieves or creates a GPU-backed image by identifier. | |
| bool | needsImageUpdate () const |
| Checks whether any managed image needs re-uploading. | |
| bool | updateImages () |
| Re-uploads any images whose source data has changed. | |
Public Attributes | |
| DynamicPointer< GLESGraphicsDevice > | m_device |
| The OpenGL graphics device. | |
| Dictionary< String, DynamicPointer< GLESImageData > > | m_file_map |
| Map of image IDs to GPU image data. | |
|
inline |
Constructs a GLESImageManager for the given device.
| [in] | instance | The OpenGL graphics device. |
Definition at line 158 of file GLESImage.h.
References m_device.
|
inline |
Retrieves or creates a GPU-backed image by identifier.
| [in] | id | The image identifier in the ImageFactory. |
Definition at line 198 of file GLESImage.h.
References IsValid(), m_device, and m_file_map.
|
inline |
Checks whether any managed image needs re-uploading.
Definition at line 186 of file GLESImage.h.
References m_file_map.
|
inline |
Re-uploads any images whose source data has changed.
Definition at line 171 of file GLESImage.h.
References m_device, and m_file_map.