Canvas3DContextAttributes QML Type

Attribute set for Context3D. More...

Import Statement: import QtCanvas3D 1.1
Since: QtCanvas3D 1.0

Properties

Detailed Description

Deprecated in Qt 5.12. Canvas3DContextAttributes is an attribute set that can be given as parameter on first call to Canvas3D object's getContext(string type, Canvas3DContextAttributes options) method call. It can also be requested from the Context3D using Context3D::getContextAttributes() later on to verify what exact attributes are in fact enabled/disabled in the created context.

See also Context3D and Canvas3D.

Property Documentation

alpha : bool

Deprecated in Qt 5.12. Specifies whether the default render target of the Context3D has an alpha channel for the purposes of blending its contents with overlapping Qt Quick items. Defaults to true.


antialias : bool

Deprecated in Qt 5.12. Specifies whether antialiasing buffer is created for the default render target of the Context3D. Defaults to true.


depth : bool

Deprecated in Qt 5.12. Specifies whether a depth attachment is to be created and attached to the default render target of the Context3D. Defaults to true.


failIfMajorPerformanceCaveat : bool

Deprecated in Qt 5.12. Ignored. Defaults to false.


preferLowPowerToHighPerformance : bool

Deprecated in Qt 5.12. Ignored. Defaults to false.


premultipliedAlpha : bool

Deprecated in Qt 5.12. Qt Quick always expects premultiplied alpha values when blending Qt Quick items together, so keeping this property true is recommended. Setting it to false can cause a minor performance impact, as an additional render pass is needed. Defaults to true.


preserveDrawingBuffer : bool

Deprecated in Qt 5.12. Specifies whether or not the drawing buffer contents are preserved from frame to frame. Ignored when drawing to the background or the foreground of the Qt Quick scene. Defaults to false.


stencil : bool

Deprecated in Qt 5.12. Specifies whether a stencil attachment is to be created and attached to the default render target of the Context3D. Defaults to false.


© 2019 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.