mirror of
https://github.com/seekrs/MacroLibX.git
synced 2026-01-11 14:43:34 +00:00
adding secret bindings
This commit is contained in:
@@ -14,6 +14,8 @@ namespace mlx
|
||||
Handle CreateWindow(const mlx_window_create_info* info, std::int32_t& id, bool hidden);
|
||||
void DestroyWindow(Handle window) noexcept;
|
||||
|
||||
SDL_Window* GetRawWindow(Handle window) noexcept;
|
||||
|
||||
void InputsFetcher(std::function<void(mlx_event_type, int, int)> functor);
|
||||
|
||||
VkSurfaceKHR CreateVulkanSurface(Handle window, VkInstance instance) const noexcept;
|
||||
|
||||
@@ -38,6 +38,8 @@ namespace mlx
|
||||
MLX_FORCEINLINE std::vector<const char*> GetRequiredVulkanInstanceExtentions() const noexcept { return SDLManager::Get().GetRequiredVulkanInstanceExtentions(p_window); }
|
||||
MLX_FORCEINLINE Vec2ui GetVulkanDrawableSize() const noexcept { return SDLManager::Get().GetVulkanDrawableSize(p_window); }
|
||||
|
||||
[[nodiscard]] inline Handle GetRawHandle() const noexcept { return p_window; }
|
||||
|
||||
void Destroy() noexcept;
|
||||
|
||||
~Window() { Destroy(); }
|
||||
|
||||
Reference in New Issue
Block a user