7#include <QtQuick/QQuickItem>
53 Q_PROPERTY(
int sampleCount READ sampleCount WRITE setSampleCount NOTIFY sampleCountChanged FINAL)
54 Q_PROPERTY(
TextureFormat colorBufferFormat READ colorBufferFormat WRITE setColorBufferFormat NOTIFY colorBufferFormatChanged FINAL)
55 Q_PROPERTY(
bool mirrorVertically READ isMirrorVerticallyEnabled WRITE setMirrorVertically NOTIFY mirrorVerticallyChanged FINAL)
56 Q_PROPERTY(
bool alphaBlending READ alphaBlending WRITE setAlphaBlending NOTIFY alphaBlendingChanged FINAL)
57 Q_PROPERTY(
int fixedColorBufferWidth READ fixedColorBufferWidth WRITE setFixedColorBufferWidth NOTIFY fixedColorBufferWidthChanged FINAL)
58 Q_PROPERTY(
int fixedColorBufferHeight READ fixedColorBufferHeight WRITE setFixedColorBufferHeight NOTIFY fixedColorBufferHeightChanged FINAL)
59 Q_PROPERTY(
QSize effectiveColorBufferSize READ effectiveColorBufferSize NOTIFY effectiveColorBufferSizeChanged FINAL)
73 int sampleCount()
const;
74 void setSampleCount(
int samples);
76 TextureFormat colorBufferFormat()
const;
77 void setColorBufferFormat(TextureFormat
format);
79 bool isMirrorVerticallyEnabled()
const;
80 void setMirrorVertically(
bool enable);
82 bool alphaBlending()
const;
83 void setAlphaBlending(
bool enable);
85 int fixedColorBufferWidth()
const;
86 void setFixedColorBufferWidth(
int width);
87 int fixedColorBufferHeight()
const;
88 void setFixedColorBufferHeight(
int height);
90 QSize effectiveColorBufferSize()
const;
92 bool isTextureProvider()
const override;
108 bool isAutoRenderTargetEnabled()
const;
109 void setAutoRenderTarget(
bool enabled);
113 void geometryChange(
const QRectF &newGeometry,
const QRectF &oldGeometry)
override;
114 void releaseResources()
override;
117 void invalidateSceneGraph();
The QQuickItem class provides the most basic of all visual items in \l {Qt Quick}.
virtual void synchronize(QQuickRhiItem *item)=0
This function is called on the render thread, if there is one, while the main/GUI thread is blocked.
virtual void initialize(QRhiCommandBuffer *cb)=0
Called when the item is initialized for the first time, when the associated texture's size,...
virtual void render(QRhiCommandBuffer *cb)=0
Called when the backing color buffer's contents needs updating.
void autoRenderTargetChanged()
void colorBufferFormatChanged()
void alphaBlendingChanged()
void effectiveColorBufferSizeChanged()
void fixedColorBufferHeightChanged()
void mirrorVerticallyChanged()
void sampleCountChanged()
void fixedColorBufferWidthChanged()
virtual QQuickRhiItemRenderer * createRenderer()=0
Reimplement this function to create and return a new instance of a QQuickRhiItemRenderer subclass.
\inmodule QtCore\reentrant
\inmodule QtGuiPrivate \inheaderfile rhi/qrhi.h
\group qtquick-scenegraph-nodes \title Qt Quick Scene Graph Node classes
The QSGTextureProvider class encapsulates texture based entities in QML.
Combined button and popup list for selecting options.
GLint GLsizei GLsizei height
GLenum GLenum GLsizei const GLuint GLboolean enabled
GLint GLsizei GLsizei GLenum format
SSL_CTX int(* cb)(SSL *ssl, unsigned char **out, unsigned char *outlen, const unsigned char *in, unsigned int inlen, void *arg)