このページでは

QRhiTextureUploadEntry Class

テクスチャのアップロード操作における 1 つのレイヤー(キューブマップの場合は「面」、3D テクスチャの場合は「スライス」、テクスチャ配列の場合は「要素」)について説明します。詳細...

ヘッダー: #include <rhi/qrhi.h>
CMake: find_package(Qt6 REQUIRED COMPONENTS GuiPrivate)
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 default] QRhiTextureUploadEntry::QRhiTextureUploadEntry()

レイヤー 0 およびレベル 0 を対象とする、空の QRhiTextureUploadEntry を作成します。

注: 空の QRhiTextureUploadEntryは 、まずsetDescription() を通じてQRhiTextureSubresourceUploadDescription を設定せずに送信してはなりません。

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

指定されたlayer およびmiplevel を対象とし、desc で記述されたサブリソースの内容を持つQRhiTextureUploadEntryを構築します。

QRhiTextureSubresourceUploadDescription QRhiTextureUploadEntry::description() const

現在設定されているサブリソースの説明を返します。

setDescription()も参照してください 。

int QRhiTextureUploadEntry::layer() const

現在設定されているレイヤーインデックス(キューブマップの面、配列レイヤー)を返します。デフォルトは 0 です。

setLayer()も参照してください 。

int QRhiTextureUploadEntry::level() const

現在設定されているミップレベルを返します。デフォルトは 0 です。

setLevel()も参照してください 。

void QRhiTextureUploadEntry::setDescription(const QRhiTextureSubresourceUploadDescription &desc)

サブリソースの説明「desc 」を設定します。

description()も参照してください 。

void QRhiTextureUploadEntry::setLayer(int layer)

layer を設定します。

layer()も参照してください 。

void QRhiTextureUploadEntry::setLevel(int level)

ミップlevel を設定します。

level()も参照してください 。

© 2026 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.