QRhiTextureUploadEntry Class

Describes one layer (face for cubemaps) in a texture upload operation. More...

Header: #include <QRhiTextureUploadEntry>
qmake: QT += rhi

Public Functions

QRhiTextureUploadEntry()
QRhiTextureUploadEntry(int layer, int level, const QRhiTextureSubresourceUploadDescription &desc)
QRhiTextureSubresourceUploadDescription description() const
int layer() const
int level() const
void setDescription(const QRhiTextureSubresourceUploadDescription &desc)
void setLayer(int layer)
void setLevel(int level)

Detailed Description

Describes one layer (face for cubemaps) in a texture upload operation.

Member Type Documentation

Property Documentation

Member Function Documentation

QRhiTextureUploadEntry::QRhiTextureUploadEntry()

Constructs an empty QRhiTextureUploadEntry targeting layer 0 and level 0.

Note: an empty QRhiTextureUploadEntry should not be submitted without setting a QRhiTextureSubresourceUploadDescription via setDescription() first.

QRhiTextureUploadEntry::QRhiTextureUploadEntry(int layer, int level, const QRhiTextureSubresourceUploadDescription &desc)

Constructs a QRhiTextureUploadEntry targeting the given layer and mip level, with the subresource contents described by desc.

QRhiTextureSubresourceUploadDescription QRhiTextureUploadEntry::description() const

See also setDescription().

int QRhiTextureUploadEntry::layer() const

See also setLayer().

int QRhiTextureUploadEntry::level() const

See also setLevel().

void QRhiTextureUploadEntry::setDescription(const QRhiTextureSubresourceUploadDescription &desc)

See also description().

void QRhiTextureUploadEntry::setLayer(int layer)

See also layer().

void QRhiTextureUploadEntry::setLevel(int level)

See also level().

Member Variable Documentation

Related Non-Members

Macro Documentation