chore: sync workspace state

This commit is contained in:
2026-03-29 01:36:53 +08:00
parent eb5de3e3d4
commit e5cb79f3ce
4935 changed files with 35593 additions and 360696 deletions

View File

@@ -1,6 +1,7 @@
#pragma once
#include <imgui.h>
#include <string>
struct ID3D12Device;
struct ID3D12CommandQueue;
@@ -14,7 +15,8 @@ class ImGuiBackendBridge;
enum class AssetIconKind {
Folder,
File,
GameObject
GameObject,
Scene
};
void InitializeBuiltInIcons(
@@ -25,6 +27,11 @@ void InitializeBuiltInIcons(
void ShutdownBuiltInIcons();
void DrawAssetIcon(ImDrawList* drawList, const ImVec2& min, const ImVec2& max, AssetIconKind kind);
bool DrawTextureAssetPreview(
ImDrawList* drawList,
const ImVec2& min,
const ImVec2& max,
const std::string& filePath);
} // namespace UI
} // namespace Editor