Obsolete Members for Shape
The following members of QML type Shape are obsolete. They are provided to keep old source code working. We strongly advise against using them in new code.
Properties
- vendorExtensionsEnabled : bool
(obsolete)
Property Documentation
vendorExtensionsEnabled : bool |
This property is obsolete. It is provided to keep old source code working. We strongly advise against using it in new code.
This property controls the usage of non-standard OpenGL extensions like GL_NV_path_rendering
.
The default value is false
.
As of Qt 5.12 Shape.NvprRenderer is disabled by default and a uniform behavior, based on triangulating the path and generating QSGGeometryNode instances, is used regardless of the graphics card and drivers. To enable using vendor-specific path rendering approaches set the value to true
. Depending on the platform and content, this can lead to improved performance. Setting the value to true
is safe in any case since rendering falls back to the default method when the vendor-specific approach, such as GL_NV_path_rendering
, is not supported at run time.
Changing the default value (false) is not recommended. In particular, support for Shape.NvprRenderer will not be available in future Qt versions. Applications experiencing rendering problems with the property set to true are advised to set it to false.