18 void setSize(const QSize &size);
21 void setDepth(int depth);
23 QString formatName() const;
24 void setFormatName(const QString &str);
26 void contentsFromBase64(const QByteArray &base64);
28 QByteArray base64Data() const;
31 static image::Image *imageFromBase64(const QByteArray &data);
32 static QImage qimageFromRawImage(const image::Image *img,
33 float lowerValue = 0.0f,
34 float upperValue = 1.0f,
41 QByteArray m_base64Data;
48 class ApiTexture : public ApiSurface
53 QString label() const;
54 void setLabel(const QString &str);
60 class ApiFramebuffer : public ApiSurface
66 void setType(const QString &str);