4#ifndef QSGOPENVGLAYER_H
5#define QSGOPENVGLAYER_H
7#include <private/qsgadaptationlayer_p.h>
8#include <private/qsgcontext_p.h>
9#include <private/qsgtexture_p.h>
18class QSGOpenVGLayerPrivate;
45 void setLive(
bool live)
override;
66 qreal m_device_pixel_ratio;
67 bool m_mirrorHorizontal;
68 bool m_mirrorVertical;
\inmodule QtCore\reentrant
\group qtquick-scenegraph-nodes \title Qt Quick Scene Graph Node classes
void setDevicePixelRatio(qreal ratio) override
void setLive(bool live) override
bool hasMipmaps() const override
Returns true if the texture data contains mipmap levels.
void markDirtyTexture() override
QImage toImage() const override
void setMirrorVertical(bool mirror) override
bool updateTexture() override
Call this function to explicitly update the dynamic texture.
void invalidated() override
void setRecursive(bool recursive) override
void setFormat(uint format) override
void setRect(const QRectF &rect) override
QSize textureSize() const override
Returns the size of the texture in pixels.
void scheduleUpdate() override
void setMirrorHorizontal(bool mirror) override
void setItem(QSGNode *item) override
bool hasAlphaChannel() const override
Returns true if the texture data contains an alpha channel.
void setHasMipmaps(bool mipmap) override
qint64 comparisonKey() const override
Returns a key suitable for comparing textures.
void setSize(const QSize &size) override
void setSamples(int) override
Combined button and popup list for selecting options.
GLenum GLuint GLintptr GLsizeiptr size
[1]
GLint GLsizei GLsizei GLenum format