SpiecsEngine
 
Loading...
Searching...
No Matches
Spices::Texture2DArray Class Reference

Texture2D Class. This class defines the basic behaves of Texture2DArray. More...

#include <Texture2DArray.h>

Inheritance diagram for Spices::Texture2DArray:
Spices::Texture2D Spices::Texture

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
 

Detailed Description

Texture2D Class. This class defines the basic behaves of Texture2DArray.

Todo
finish it.

Definition at line 18 of file Texture2DArray.h.


The documentation for this class was generated from the following files: