Fist assetsystem implementations for textures and materials

This commit is contained in:
2026-05-06 19:45:14 +02:00
parent 1665569326
commit 95bdb1c8bb
19 changed files with 1069 additions and 49 deletions

View File

@@ -1183,7 +1183,7 @@ namespace TSE::EDITOR
ImGui::Image(element->GetTextureId(), texSize, {0,1}, {1,0});
ImGui::SameLine();
ImGui::SetCursorPos(ImVec2(field_size.y + 1,(60-label_size.y) / 2));
ImGui::TextUnformatted(element->name.c_str());
ImGui::TextUnformatted(element->name().c_str());
ImGui::EndChild();
@@ -1198,7 +1198,7 @@ namespace TSE::EDITOR
}
void ElementDrawer::DrawTextureNormal(Texture *element, const bool &debug, const std::string& label)
{
ImGui::TextUnformatted(element->name.c_str());
ImGui::TextUnformatted(element->name().c_str());
if(debug)
{
ImGui::Separator();