QQuick3DTextureDataPrivate()
\qmltype TextureData \inherits Object3D \inqmlmodule QtQuick3D \instantiates QQuick3DTextureData
void markAllDirty() override
QQuick3DTextureData(QQuick3DObject *parent=nullptr)
Format
Returns the color format of the texture data assigned in \l textureData property.
void setSize(const QSize &size)
Sets the size of the texture data in pixels.
void setTextureData(const QByteArray &data)
Sets the texture data.
void setDepth(int depth)
Sets the depth of the texture data in pixels.
void setHasTransparency(bool hasTransparency)
Set hasTransparency to true if the texture data has an active alpha channel with non-opaque values.
void textureDataNodeDirty()
Format format() const
Returns the format of the texture data.
QSSGRenderGraphObject * updateSpatialNode(QSSGRenderGraphObject *node) override
const QByteArray textureData() const
Returns the current texture data defined by this item.
QSize size() const
Returns the size of the texture data in pixels.
bool hasTransparency() const
Returns true if the texture data has transparency.
void setFormat(Format format)
Sets the format of the texture data.
int depth() const
Returns the depth of the texture data in pixels.
static QSSGRenderTextureFormat::Format convertToBackendFormat(QQuick3DTextureData::Format format)