This PR introduces image textures, finally closing this long awaited feature.
Unfortunately this comes with a change in public API: the initialize and before_render trait methods of ImguiRenderLoop now accept a RenderEngine mutable reference. The imgui::Context can still be accessed through that object's ctx method, though, so the change is rather minimal.
Additionally, other modules where shifted around where it made sense:
moved the hooks::input and hooks::render modules under renderer::input and renderer::state respectively, so that hooks only contains hook modules.
Renamed renderer::dx12 to renderer::engine as Dx12 is now the only renderer anyway.
This PR introduces image textures, finally closing this long awaited feature.
Unfortunately this comes with a change in public API: the
initialize
andbefore_render
trait methods ofImguiRenderLoop
now accept aRenderEngine
mutable reference. Theimgui::Context
can still be accessed through that object'sctx
method, though, so the change is rather minimal.Additionally, other modules where shifted around where it made sense:
hooks::input
andhooks::render
modules underrenderer::input
andrenderer::state
respectively, so thathooks
only contains hook modules.renderer::dx12
torenderer::engine
as Dx12 is now the only renderer anyway.Closes #57.