W3cubDocs

/Qt 5.11

SortPolicy QML Type

Provides storage for the sort types to be used. More...

Import Statement: import Qt3D.Render 2.0
Since: Qt 5.7
Instantiates: QSortPolicy
Inherits:

FrameGraphNode

Properties

Detailed Description

A SortPolicy class stores the sorting type used by the FrameGraph. The sort types determine how drawable entities are sorted before drawing to determine the drawing order. When SortPolicy is present in the FrameGraph, the sorting mechanism is determined by the SortTypes list. Multiple sort types can be used simultaneously. If SortPolicy is not present in the FrameGraph, entities are drawn in the order they appear in the entity hierarchy.

Property Documentation

sortTypes : QVariantList

Specifies the sorting types to be used.

© The Qt Company Ltd
Licensed under the GNU Free Documentation License, Version 1.3.
https://doc.qt.io/qt-5/qml-qt3d-render-sortpolicy.html