Skip to content

Latest commit

 

History

History
33 lines (21 loc) · 739 Bytes

README.md

File metadata and controls

33 lines (21 loc) · 739 Bytes

QtQuickComputeItem

The QtQuick ComputeItem offers an easy way to integrate Compute Shader into QML code.

The idea is to have an Item that works similar to Qt Quick's ShaderItem.

Build

Requirements: Qt6, cmake, Vulkan

git clone ...
mkdir build_QtQuickComputeItem && cd build_QtQuickComputeItem
cmake ../QtQuickComputeItem
make

Example

You have to set the import path, before you can use the plugin. Tthe following command assumes, that your current directory is the build directory:

export QML_IMPORT_PATH=$(pwd)/lib/

Run the gray scott reaction diffusion example (with image buffers):

cd examples/grayscott_image
./qmlgrayscottimage

Documentation