|
Unravel Engine C++ Reference
|
#include "mcp_async.h"#include "mcp_protocol.h"#include <editor/system/mcp_manager.h>#include <graphics/graphics.h>#include <graphics/render_pass.h>#include <graphics/texture.h>#include <logging/logging.h>#include <ser20/external/base64.hpp>#include <uuid/uuid.h>#include <bimg/bimg.h>#include <bx/file.h>#include <fstream>#include <memory>#include <thread>Go to the source code of this file.
Namespaces | |
| namespace | unravel |
| namespace | unravel::mcp |
Functions | |
| auto | unravel::mcp::wait_for_file (const std::filesystem::path &path, std::chrono::milliseconds timeout, std::chrono::milliseconds poll_interval) -> bool |
| auto | unravel::mcp::read_file_bytes (const std::filesystem::path &path, std::string &error) -> std::vector< uint8_t > |
| auto | unravel::mcp::encode_base64 (const std::vector< uint8_t > &bytes) -> std::string |
| auto | unravel::mcp::make_temp_screenshot_stem (const std::string &tag) -> std::filesystem::path |
| auto | unravel::mcp::capture_fbo_screenshot (mcp_manager &mcp, rtti::context &ctx, const std::function< gfx::frame_buffer::ptr(rtti::context &)> &resolve_fbo, const std::string &tag, std::chrono::milliseconds wait_timeout) -> tool_result |
| gfx::texture_handle blit_tex = BGFX_INVALID_HANDLE |
Definition at line 32 of file mcp_async.cpp.
| std::string error |
Definition at line 33 of file mcp_async.cpp.
| uint16_t height {0} |
Definition at line 31 of file mcp_async.cpp.
| std::vector<uint8_t> pixels |
Definition at line 28 of file mcp_async.cpp.
| uint32_t ready_frame {0} |
Definition at line 29 of file mcp_async.cpp.
| uint16_t width {0} |
Definition at line 30 of file mcp_async.cpp.