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.

特征

  • 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.

快速入门

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

import QtCanvas3D 1.1
							

快速入门 page for further information on how to use Qt Canvas 3D in your application.

References