Polyphase Game Engine
Loading...
Searching...
No Matches
EditorImageCache.h
Go to the documentation of this file.
1#pragma once
2
3#if EDITOR
4
5#include "imgui.h"
6
7#include <stdint.h>
8#include <string>
9
26namespace EditorImageCache
27{
35 ImTextureID Get(const std::string& absPath);
36
38 bool GetSize(const std::string& absPath, int32_t& outWidth, int32_t& outHeight);
39
51 void Invalidate(const std::string& absPath);
52
54 void InvalidateAll();
55
61 void RetirePending();
62
67 void Shutdown();
68}
69
70#endif // EDITOR
void Shutdown()
Definition Engine.cpp:1147