aboutsummaryrefslogtreecommitdiffstats
path: root/src/quick/items/qquickrendertarget_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/quick/items/qquickrendertarget_p.h')
-rw-r--r--src/quick/items/qquickrendertarget_p.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/quick/items/qquickrendertarget_p.h b/src/quick/items/qquickrendertarget_p.h
index fd1fb2afd8..7f3190947e 100644
--- a/src/quick/items/qquickrendertarget_p.h
+++ b/src/quick/items/qquickrendertarget_p.h
@@ -36,6 +36,7 @@ public:
enum class Type {
Null,
NativeTexture,
+ NativeTextureArray,
NativeRenderbuffer,
RhiRenderTarget,
PaintDevice
@@ -52,8 +53,16 @@ public:
uint rhiFormat;
uint rhiFlags;
};
+ struct NativeTextureArray {
+ quint64 object;
+ int layoutOrState;
+ int arraySize;
+ uint rhiFormat;
+ uint rhiFlags;
+ };
union {
NativeTexture nativeTexture;
+ NativeTextureArray nativeTextureArray;
quint64 nativeRenderbufferObject;
QRhiRenderTarget *rhiRt;
QPaintDevice *paintDevice;