Allow loading texture from memory buffer for imgui
This commit is contained in:
@@ -207,6 +207,8 @@ public:
|
||||
|
||||
ImTextureID load_texture(const std::string & filename, vk::raii::Sampler && sampler);
|
||||
ImTextureID load_texture(const std::string & filename);
|
||||
ImTextureID load_texture(const std::span<const std::byte> & bytes, vk::raii::Sampler && sampler);
|
||||
ImTextureID load_texture(const std::span<const std::byte> & bytes);
|
||||
void free_texture(ImTextureID);
|
||||
void set_current();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user