QRhiTextureUploadEntry Class
テクスチャのアップロード操作における1つのレイヤー(キューブマップの場合は面、3Dテクスチャの場合はスライス、テクスチャ配列の場合は要素)を記述します。詳細...
ヘッダー | #include <rhi/qrhi.h> |
CMake: | find_package(Qt6 REQUIRED COMPONENTS Gui) target_link_libraries(mytarget PRIVATE Qt6::GuiPrivate) |
qmake: | QT += gui-private |
以来: | 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) |
詳細説明
注意: これは互換性保証に制限のある RHI API です。詳細はQRhi を参照してください。
メンバ関数のドキュメント
[noexcept]
QRhiTextureUploadEntry::QRhiTextureUploadEntry()
レイヤー 0、レベル 0 をターゲットとする空の QRhiTextureUploadEntry を構築します。
注意: 空の QRhiTextureUploadEntry は、最初にsetDescription() でQRhiTextureSubresourceUploadDescription を設定せずに送信しないでください。
QRhiTextureUploadEntry::QRhiTextureUploadEntry(int layer, int level, const QRhiTextureSubresourceUploadDescription &desc)
与えられたlayer と miplevel をターゲットとする QRhiTextureUploadEntry を、desc で記述されたサブリソースの内容で構築します。
QRhiTextureSubresourceUploadDescription QRhiTextureUploadEntry::description() const
現在設定されているサブリソースの説明を返します。
setDescription()も参照ください 。
int QRhiTextureUploadEntry::layer() const
現在設定されているレイヤインデックス(キューブマップ面、配列レイヤ)を返します。デフォルトは 0 です。
setLayer()も参照してください 。
int QRhiTextureUploadEntry::level() const
現在設定されている mip レベルを返す。デフォルトは 0。
setLevel()も参照して ください。
void QRhiTextureUploadEntry::setDescription(const QRhiTextureSubresourceUploadDescription &desc)
サブリソースの説明desc を設定します。
description()も参照 。
void QRhiTextureUploadEntry::setLayer(int layer)
layer を設定する。
layer()も参照 。
void QRhiTextureUploadEntry::setLevel(int level)
miplevel を設定する。
level()も参照のこと 。
© 2025 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.