alpqr / qrhibasis

A simple example of basis_universal + QRhi

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Simple experiment for using the transcoder from https://github.com/BinomialLLC/basis_universal together with Qt's upcoming graphics abstraction layer, see f.ex. https://www.qt.io/blog/qt-quick-on-vulkan-metal-direct3d

The example loads a .basis file (generated with basisu -mipmap stuff.png) and transcodes either to ETC2 or BC1, depending on what is supported at run time. Falls back to transcoding to plain RGBA8 otherwise. It then draws a textured quad.

Should work on all QRhi backends, switch with command line args: -d (D3D11) -v (Vulkan) -m (Metal) -g (OpenGL).

About

A simple example of basis_universal + QRhi


Languages

Language:POV-Ray SDL 74.3%Language:C++ 23.3%Language:C 2.4%Language:GLSL 0.0%Language:QMake 0.0%Language:Batchfile 0.0%