QRhiTexture::NativeTexture Struct
struct QRhiTexture::NativeTextureContient des informations sur les ressources natives sous-jacentes d'une texture. Plus d'informations...
Variables publiques
Documentation des variables membres
int NativeTexture::layout
Spécifie la disposition actuelle de l'image pour les API telles que Vulkan.
Pour Vulkan, layout contient une valeur VkImageLayout.
quint64 NativeTexture::object
Entier de 64 bits contenant la poignée de l'objet natif.
Avec OpenGL, le handle natif est une valeur GLuint, et object peut donc être transformé en GLuint. Avec Vulkan, la poignée native est une VkImage, et object peut donc être converti en VkImage. Avec Direct3D 11 et Metal, object contient un pointeur ID3D11Texture2D ou MTLTexture, respectivement. Avec Direct3D 12, object contient un pointeur 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.