mirror of
https://github.com/encounter/aurora.git
synced 2026-07-09 18:19:33 -07:00
eceac96bcb
* 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>
17 lines
505 B
C++
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
|