NativeTexture Struct
struct QRhiTexture::NativeTextureテクスチャの基礎となるネイティブリソースに関する情報を含みます。詳細...
パブリック変数
メンバ変数の説明
int NativeTexture::layout
VulkanのようなAPIのために、現在の画像レイアウトを指定します。
Vulkanの場合、layout
にはVkImageLayout
。
quint64 NativeTexture::object
ネイティブ・オブジェクト・ハンドルを含む64ビット整数。
OpenGLでは、ネイティブハンドルはGLuint値なので、object
、GLuintにキャストできます。Vulkanでは、ネイティブハンドルはVkImageなので、object
、VkImageにキャストできます。Direct3D 11とMetalでは、object
、それぞれID3D11Texture2DまたはMTLTextureポインタが含まれます。Direct3D 12 の場合object
は ID3D12Resource ポインタを含みます。
© 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.