Skip to content

Experiment multiple windows / QQuickView with bgfx using DX11/GL backend

Notifications You must be signed in to change notification settings

VirtualGeo/qt-rhi-bgfx

Repository files navigation

Qt + bgfx with multiple backend

Since Qt 5.14, it's now possible to select a RHI (OpenGL/DX11/Metal/...) to render QML scene.

This project experiment the interoperability of the new Qt RHI with bgfx in a multi window / multi QML scene context.

Preview

Dependencies

You need at least Qt 5.14

git clone https://github.com/VirtualGeo/qt-rhi-bgfx
mkdir build && cd build
cmake ..

Build bgfx

git clone --recurse-submodules https://github.com/VirtualGeo/bgfx.cmake
cd bgfx.cmake/bgfx
git pull

Back to the bgfx.cmake directory and generate solution.

mkdir build/x64
cd build/x64
cmake ../.. -DBGFX_BUILD_EXAMPLES=OFF -DBGFX_BUILD_TOOLS=OFF -DCMAKE_INSTALL_PREFIX=../../bgfx-install/x64
cmake --build .
cmake --install ../../bgfx-install/x64

About

Experiment multiple windows / QQuickView with bgfx using DX11/GL backend

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published