110 static bool atexit_registered =
false;
111 if (!atexit_registered) {
113 atexit_registered =
true;
130 qDebug(
"Material destroyed after qt_print_material_count() was called.");
206 return diff < 0 ? -1 : (diff > 0 ? 1 : 0);
The QSGMaterial class encapsulates rendering state for a shader program.
QSGMaterial::Flags flags() const
Returns the material's flags.
virtual int compare(const QSGMaterial *other) const
Compares this material to other and returns 0 if they are equal; -1 if this material should sort befo...
virtual QSGMaterialType * type() const =0
This function is called by the scene graph to query an identifier that is unique to the QSGMaterialSh...
void setFlag(Flags flags, bool on=true)
Sets the flags flags on this material if on is true; otherwise clears the attribute.
Combined button and popup list for selecting options.
void qsg_set_material_failure()
static int qt_material_count
\group qtquick-scenegraph-materials \title Qt Quick Scene Graph Material Classes
static void qt_print_material_count()
bool qsg_test_and_clear_material_failure()
QT_BEGIN_NAMESPACE bool qsg_material_failure