Qt Canvas 3D

Canvas3D module was deprecated in Qt 5.12. Depracated modules are no longer maintained. They are provided to keep old source code working, but they can be removed in a future release. We strongly advise against using deprecated modules in new code or project.

Qt Canvas 3D module provides a way to make WebGL-like 3D drawing calls from Qt Quick JavaScript.

Features

  • Uses OpenGL or OpenGL ES 2 for rendering.
  • Qt Quick 2 support.
  • Use Qt Quick items as texture sources.
  • Render content via offscreen framebuffer, or directly into Qt Quick scene background or foreground.

Getting Started

To import Qt Canvas 3D QML types, add the following import statement to your .qml file:

import QtCanvas3D 1.1

See the Getting Started page for further information on how to use Qt Canvas 3D in your application.

References

© The Qt Company Ltd
Licensed under the GNU Free Documentation License, Version 1.3.
https://doc.qt.io/qt-5.12/qtcanvas3d-index.html