このページでは

QRhiTexture::NativeTexture Struct

struct QRhiTexture::NativeTexture

テクスチャの基盤となるネイティブリソースに関する情報が含まれています。詳細...

パブリック変数

int layout
quint64 object

詳細な説明

メンバ変数のドキュメント

int NativeTexture::layout

Vulkan などの API における現在の画像レイアウトを指定します。

Vulkanの場合、layout にはVkImageLayout 値が含まれます。

quint64 NativeTexture::object

ネイティブオブジェクトハンドルを含む64ビット整数。

object OpenGL では、ネイティブハンドルは GLuint 型であるため、object を GLuint にキャストできます。 Vulkan では、ネイティブハンドルは VkImage であるため、` ` を VkImage にキャストできます。Direct3D 11 および Metal では、`object ` にはそれぞれ ID3D11Texture2D または MTLTexture のポインタが含まれます。Direct3D 12 では、`object ` には ID3D12Resource のポインタが含まれます。

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