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

Texture2DCube Class. This class defines the basic behaves of Texture2DCube. More...

#include <Texture2DCube.h>

Inheritance diagram for Spices::Texture2DCube:
Spices::Texture2D Spices::Texture

Public Member Functions

 Texture2DCube ()
 Constructor Function.
 
 Texture2DCube (const RendererResourceCreateInfo &info)
 Constructor Function. Used for create render resource.
 
 Texture2DCube (const std::string &path)
 Constructor Function. Init class variable, load date immediately. Usually call it.
 
virtual ~Texture2DCube () 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

Texture2DCube Class. This class defines the basic behaves of Texture2DCube.

Definition at line 17 of file Texture2DCube.h.


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