Files
aurora/lib/rmlui.hpp
CraftyBoss eceac96bcb RmlUi integration (#142)
* begin work on integration

* draw null tex when tex handle is null, switch to immediates for geometry translation

* fix window resizing and texture loads, switch to dynamic ubo

* remove immediate usage

* Add initial rmlui public API

* Use proper dimensions; fix texture resolution

* Remove unnecessary SetDimensions

* Cleanup & add clip mask support

* Implement blur and shadow filters

---------

Co-authored-by: Luke Street <luke@street.dev>
2026-04-27 23:43:30 -06:00

17 lines
505 B
C++

#pragma once
#include "aurora/aurora.h"
#include "gfx/common.hpp"
#include <SDL3/SDL_events.h>
#include <aurora/rmlui.hpp>
#include <dawn/webgpu_cpp.h>
namespace aurora::rmlui {
void initialize(const AuroraWindowSize& size) noexcept;
void handle_event(SDL_Event& event) noexcept;
void render(const wgpu::CommandEncoder& encoder, const wgpu::TextureView& outputView, const wgpu::Extent3D& size,
const gfx::Viewport& viewport) noexcept;
void shutdown() noexcept;
} // namespace aurora::rmlui