Class for Texture factory.
More...
#include <Texture.hpp>
|
static std::unique_ptr< Texture > | create (Device &device, const std::string &filepath) |
|
static std::unordered_map< std::string, std::shared_ptr< Texture > > | loadAll (Device &device, const std::string &folderPath) |
|
Class for Texture factory.
Definition at line 21 of file Texture.hpp.
◆ TextureFactory() [1/3]
ven::TextureFactory::TextureFactory |
( |
| ) |
|
|
delete |
◆ ~TextureFactory()
ven::TextureFactory::~TextureFactory |
( |
| ) |
|
|
default |
◆ TextureFactory() [2/3]
◆ TextureFactory() [3/3]
◆ create()
static std::unique_ptr< Texture > ven::TextureFactory::create |
( |
Device & | device, |
|
|
const std::string & | filepath ) |
|
inlinestatic |
◆ loadAll()
std::unordered_map< std::string, std::shared_ptr< ven::Texture > > ven::TextureFactory::loadAll |
( |
Device & | device, |
|
|
const std::string & | folderPath ) |
|
static |
◆ operator=() [1/2]
◆ operator=() [2/2]
The documentation for this class was generated from the following files:
- /home/runner/work/VEngine/VEngine/include/VEngine/Factories/Texture.hpp
- /home/runner/work/VEngine/VEngine/src/Factories/Texture.cpp