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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user