4#ifndef QSGABSTRACTRENDERER_P_H
5#define QSGABSTRACTRENDERER_P_H
18#include <QtQuick/private/qtquickglobal_p.h>
19#include <QtQuick/qsgnode.h>
20#include <QtCore/qobject.h>
36 MatrixTransformFlipY = 0x01
39 Q_FLAG(MatrixTransformFlags)
51 QRect viewportRect()
const;
53 void setProjectionMatrixToRect(
const QRectF &
rect);
54 void setProjectionMatrixToRect(
const QRectF &
rect, MatrixTransformFlags
flags);
55 void setProjectionMatrixToRect(
const QRectF &
rect, MatrixTransformFlags
flags,
61 int projectionMatrixCount()
const;
62 int projectionMatrixWithNativeNDCCount()
const;
69 virtual void prepareSceneInline();
70 virtual void renderSceneInline();
The QColor class provides colors based on RGB, HSV or CMYK values.
The QMatrix4x4 class represents a 4x4 transformation matrix in 3D space.
\inmodule QtCore\reentrant
\inmodule QtCore\reentrant
\inmodule QtCore\reentrant
QSGAbstractRenderer gives access to the scene graph nodes and rendering.
virtual void renderScene()=0
Renders the scene.
void setDeviceRect(const QSize &size)
This is an overloaded member function, provided for convenience. It differs from the above function o...
void setViewportRect(const QSize &size)
This is an overloaded member function, provided for convenience. It differs from the above function o...
MatrixTransformFlag
Used with setProjectionMatrixToRect() to indicate the expectations towards the generated projection m...
void sceneGraphChanged()
This signal is emitted on the first modification of a node in the tree after the last scene render.
virtual void nodeChanged(QSGNode *node, QSGNode::DirtyState state)=0
\group qtquick-scenegraph-nodes \title Qt Quick Scene Graph Node classes
The QSGRootNode is the toplevel root of any scene graph.
Combined button and popup list for selecting options.
#define Q_DECLARE_FLAGS(Flags, Enum)
GLenum GLuint GLintptr GLsizeiptr size
[1]