NativeTexture Struct

struct QRhiTexture::NativeTexture

Enthält Informationen über die zugrunde liegenden nativen Ressourcen einer Textur. Mehr...

Öffentliche Variablen

int layout
quint64 object

Detaillierte Beschreibung

Dokumentation der Mitgliedsvariablen

int NativeTexture::layout

Gibt das aktuelle Bildlayout für APIs wie Vulkan an.

Für Vulkan enthält layout den Wert VkImageLayout.

quint64 NativeTexture::object

64-Bit-Ganzzahl, die das native Objekt-Handle enthält.

Bei OpenGL ist das native Handle ein GLuint-Wert, so dass object in einen GLuint gecastet werden kann. Bei Vulkan ist das native Handle ein VkImage, so dass object in ein VkImage umgewandelt werden kann. Bei Direct3D 11 und Metal enthält object einen ID3D11Texture2D- bzw. MTLTexture-Zeiger. Bei Direct3D 12 enthält object einen ID3D12Resource-Zeiger.

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