#pragma once #include "Ports/PortFwd.h" #include #include #include #include #ifndef NOMINMAX #define NOMINMAX #endif #include namespace XCEngine::UI::Editor::App { bool LoadEmbeddedPngBytes( UINT resourceId, const std::uint8_t*& outData, std::size_t& outSize, std::string& outError); bool LoadEmbeddedPngTexture( Ports::TexturePort& renderer, UINT resourceId, ::XCEngine::UI::UITextureHandle& outTexture, std::string& outError); } // namespace XCEngine::UI::Editor::App