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 ClearColorBuffer = 0x0001,
37 ClearDepthBuffer = 0x0002,
38 ClearStencilBuffer = 0x0004
45 MatrixTransformFlipY = 0x01
48 Q_FLAG(MatrixTransformFlags)
60 QRect viewportRect()
const;
62 void setProjectionMatrixToRect(
const QRectF &
rect);
63 void setProjectionMatrixToRect(
const QRectF &
rect, MatrixTransformFlags
flags);
67 QMatrix4x4 projectionMatrixWithNativeNDC()
const;
72 void setClearMode(ClearMode
mode);
73 ClearMode clearMode()
const;
77 virtual void prepareSceneInline();
78 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.
ClearModeBit
Used with setClearMode() to indicate which buffer should be cleared before the scene render.
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)
#define Q_DECLARE_OPERATORS_FOR_FLAGS(Flags)
GLenum GLuint GLintptr GLsizeiptr size
[1]
IUIAutomationTreeWalker __RPC__deref_out_opt IUIAutomationElement ** parent