22#include <QtQuick/private/qsgcontext_p.h>
43 : rt(rt), rpDesc(rpDesc),
cb(
cb) { }
46 : paintDevice(paintDevice) { }
57 int multiViewCount = 0;
77 bool isMirrored()
const;
78 void renderScene()
override;
79 void prepareSceneInline()
override;
80 void renderSceneInline()
override;
81 void nodeChanged(
QSGNode *node, QSGNode::DirtyState
state)
override;
104 m_renderPassRecordingCallbacks.start =
start;
105 m_renderPassRecordingCallbacks.end =
end;
106 m_renderPassRecordingCallbacks.userData = userData;
112 virtual void prepareInline();
113 virtual void renderInline();
115 virtual void preprocess();
117 void addNodesToPreprocess(
QSGNode *node);
118 void removeNodesToPreprocess(
QSGNode *node);
136 void *userData =
nullptr;
137 } m_renderPassRecordingCallbacks;
142 QSet<QSGNode *> m_nodes_to_preprocess;
143 QSet<QSGNode *> m_nodes_dont_preprocess;
145 uint m_changed_emitted : 1;
146 uint m_is_rendering : 1;
147 uint m_is_preprocessing : 1;
165 void visitNode(
QSGNode *
n)
override;
166 void visitChildren(
QSGNode *
n)
override;
The QMatrix4x4 class represents a 4x4 transformation matrix in 3D space.
\inmodule QtGuiPrivate \inheaderfile rhi/qrhi.h
QSGAbstractRenderer gives access to the scene graph nodes and rendering.
Encapsulates the current rendering state during a call to QSGMaterialShader::updateUniformData() and ...
The QSGNodeDumper class provides a way of dumping a scene grahp to the console.
The QSGNodeVisitor class is a helper class for traversing the scene graph.
\group qtquick-scenegraph-nodes \title Qt Quick Scene Graph Node classes
void(*)(void *) RenderPassCallback
QSGRenderTarget(QRhiRenderTarget *rt, QRhiRenderPassDescriptor *rpDesc, QRhiCommandBuffer *cb)
QSGRenderTarget(QPaintDevice *paintDevice)
The renderer class is the abstract baseclass used for rendering the QML scene graph.
void setRenderTarget(const QSGRenderTarget &rt)
qreal m_device_pixel_ratio
QByteArray * currentUniformData() const
virtual bool hasVisualizationModeWithContinuousUpdate() const
QRhi * currentRhi() const
QVarLengthArray< QMatrix4x4, 1 > m_current_projection_matrix_native_ndc
QRhiResourceUpdateBatch * currentResourceUpdateBatch() const
const QSGRenderTarget & renderTarget() const
QRhiResourceUpdateBatch * m_current_resource_update_batch
QMatrix4x4 currentCombinedMatrix(int index) const
qreal currentOpacity() const
QMatrix4x4 m_current_model_view_matrix
QByteArray * m_current_uniform_data
void setRenderPassRecordingCallbacks(QSGRenderContext::RenderPassCallback start, QSGRenderContext::RenderPassCallback end, void *userData)
QSGMaterialShader::RenderState state(QSGMaterialShader::RenderState::DirtyStates dirty) const
QSGRenderContext * context() const
QMatrix4x4 currentProjectionMatrix(int index) const
qreal devicePixelRatio() const
qreal m_current_determinant
QSGRenderContext * m_context
QVarLengthArray< QMatrix4x4, 1 > m_current_projection_matrix
void setDevicePixelRatio(qreal ratio)
qreal determinant() const
virtual void setVisualizationMode(const QByteArray &)
virtual void releaseCachedResources()
QMatrix4x4 currentModelViewMatrix() const
Combined button and popup list for selecting options.
Q_QUICK_EXPORT void qsg_set_fatal_renderer_error()
Q_QUICK_EXPORT bool qsg_test_and_clear_fatal_render_error()
static QString dump(const QByteArray &)
SSL_CTX int(* cb)(SSL *ssl, unsigned char **out, unsigned char *outlen, const unsigned char *in, unsigned int inlen, void *arg)