Files
OpenVulkano/openVulkanoCpp/Scene/UI/ImGuiExtensions/ImGuiTextureImage.hpp
2025-11-20 17:05:11 +01:00

18 lines
564 B
C++

/*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
*/
#pragma once
#include "Scene/Texture.hpp"
#include <imgui.h>
namespace ImGui
{
void TextureImage(const OpenVulkano::Scene::Texture& texture, ImVec2 size = ImVec2(-1, -1),
const ImVec2& uv0 = ImVec2(0, 0), const ImVec2& uv1 = ImVec2(1, 1),
const ImVec4& tintColor = ImVec4(1, 1, 1, 1), const ImVec4& borderColor = ImVec4(0, 0, 0, 0));
}