|
SimpleGL
1.1.0
A framework for platform independent rendering
|
This class provides methods for managing texture images. More...
#include <manager_vk.hpp>
Public Member Functions | |
| void | remove (std::string name) override |
| Removes and disposes a texture image from the storage. More... | |
| void | clear () override |
| Removes all texture images and disposes them. More... | |
| TextureImage * | load (std::string path, std::string name) |
| Loads a texture from file and stores it. More... | |
Public Member Functions inherited from sgl::Manager< TextureImage > | |
| ~Manager (void) | |
| Deletes a manager and disposes all managed objects. More... | |
| void | put (std::string name, TextureImage *value) |
| Stores a object with specified name. More... | |
| TextureImage * | get (std::string name) |
| Gets a managed object from the storage. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from sgl::Manager< TextureImage > | |
| Manager (void) | |
| Initializes a new manager. More... | |
Protected Attributes inherited from sgl::Manager< TextureImage > | |
| std::map< std::string, TextureImage * > | objects |
| Contains the objects to manage. More... | |
This class provides methods for managing texture images.
Definition at line 57 of file manager_vk.hpp.
|
overridevirtual |
Removes all texture images and disposes them.
Reimplemented from sgl::Manager< TextureImage >.
Definition at line 77 of file manager_vk.cpp.
| TextureImage * sgl::TextureImageManager::load | ( | std::string | path, |
| std::string | name | ||
| ) |
Loads a texture from file and stores it.
| path | File path to the image. |
| name | The name of the texture. |
Definition at line 88 of file manager_vk.cpp.
|
overridevirtual |
Removes and disposes a texture image from the storage.
| name | The name of the texture image. |
Reimplemented from sgl::Manager< TextureImage >.
Definition at line 68 of file manager_vk.cpp.
1.8.11