Minor Update - Gestion des Texture Update

Feat :

+ Utilisation de vector pour stocker les texture filename
~ Refonte du chargement des textures
This commit is contained in:
2024-04-12 17:11:06 +02:00
parent 42226741ce
commit aa4f1146b7
6 changed files with 54 additions and 102 deletions

View File

@@ -30,7 +30,7 @@ public:
TextureClass(const TextureClass&);
~TextureClass();
bool Initialize(ID3D11Device*, ID3D11DeviceContext*, char*);
bool Initialize(ID3D11Device*, ID3D11DeviceContext*, std::string);
void Shutdown();
ID3D11ShaderResourceView* GetTexture();
@@ -39,7 +39,7 @@ public:
int GetHeight();
private:
bool LoadTarga(char*);
bool LoadTarga(std::string);
private:
unsigned char* m_targaData;