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

© 2021 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.