Texture2D Class. This class defines the basic behaves of Texture2DArray. More...
#include <Texture2DArray.h>
Public Member Functions | |
| Texture2DArray () | |
| Constructor Function. | |
| Texture2DArray (const RendererResourceCreateInfo &info) | |
| Constructor Function. Used for create render resource. | |
| Texture2DArray (const std::string &path) | |
| Constructor Function. Init class variable, load date immediately. Usually call it. | |
| virtual | ~Texture2DArray () override=default |
| Destructor Function. | |
| template<typename T > | |
| std::shared_ptr< T > | GetResource () |
| Get Specific resource, usually is a wrapper of VulkanImage. | |
Protected Attributes | |
| std::any | m_Resource |
| Texture's resource, coule be any kind of type. | |
| std::string | m_ResourcePath |
| Texture's path in disk. | |
Friends | |
| class | TextureLoader |
Texture2D Class. This class defines the basic behaves of Texture2DArray.
Definition at line 18 of file Texture2DArray.h.