Describes one layer (face for cubemaps, slice for 3D textures, element for texture arrays) in a texture upload operation. More...
| Header: | #include <rhi/qrhi.h> |
| CMake: | find_package(Qt6 REQUIRED COMPONENTS Gui)target_link_libraries(mytarget PRIVATE Qt6::GuiPrivate) |
| qmake: | QT += gui-private |
| Since: | Qt 6.6 |
| 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) |
Note: This is a RHI API with limited compatibility guarantees, see QRhi for details.
[noexcept] 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.
Constructs a QRhiTextureUploadEntry targeting the given layer and mip level, with the subresource contents described by desc.
Returns the currently set subresource description.
See also setDescription().
Returns the currently set layer index (cubemap face, array layer). Defaults to 0.
See also setLayer().
Returns the currently set mip level. Defaults to 0.
See also setLevel().
Sets the subresource description desc.
See also description().
Sets the layer.
See also layer().
Sets the mip level.
See also level().
As part of the free Business evaluation, we offer a free welcome call for companies, to talk about your requirements, and how the Felgo SDK & Services can help you. Just sign up and schedule your call.
Sign up now to start your free Business evaluation: