![]() |
Qt 6.x
The Qt SDK
|
\inmodule QtGui More...
#include <qrhi.h>
Public Member Functions | |
QRhiTextureUploadEntry ()=default | |
Constructs an empty QRhiTextureUploadEntry targeting layer 0 and level 0. | |
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. | |
int | layer () const |
void | setLayer (int layer) |
Sets the layer. | |
int | level () const |
void | setLevel (int level) |
Sets the mip level. | |
QRhiTextureSubresourceUploadDescription | description () const |
void | setDescription (const QRhiTextureSubresourceUploadDescription &desc) |
Sets the subresource description desc. | |
\inmodule QtGui
Describes one layer (face for cubemaps, slice for 3D textures, element for texture arrays) in a texture upload operation.
|
default |
Constructs an empty QRhiTextureUploadEntry targeting layer 0 and level 0.
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.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |