MAJOR UPDATE - REWORK TEXTURE

-support texture tga retirer

+support texture format standard ajouter
This commit is contained in:
2024-09-29 13:24:18 +02:00
parent c4b4ef83e3
commit bbbea117c3
9 changed files with 29 additions and 38 deletions

View File

@@ -167,7 +167,7 @@ void imguiManager::WidgetObjectWindow(ApplicationClass* app)
for (int count = 0; count < 6; count++)
{
std::string textureLabel = "Texture##" + std::to_string(index);
ID3D11ShaderResourceView* texture = object->GetTexture();
ID3D11ShaderResourceView* texture = object->GetTexture(count);
if (texture != nullptr)
{
// Set the cursor position
@@ -188,7 +188,7 @@ void imguiManager::WidgetObjectWindow(ApplicationClass* app)
for (int count = 0; count < 6; count++)
{
std::string textureLabel = "Texture##" + std::to_string(index);
ID3D11ShaderResourceView* texture = object->GetTexture();
ID3D11ShaderResourceView* texture = object->GetTexture(count);
if (texture != nullptr)
{
// Set the cursor position