Auf dieser Seite

QRhiTexture::NativeTexture Struct

struct QRhiTexture::NativeTexture

Enthält Informationen zu den zugrunde liegenden nativen Ressourcen einer Textur. Mehr...

Öffentliche Variablen

int layout
quint64 object

Ausführliche Beschreibung

Dokumentation zu den Member-Variablen

int NativeTexture::layout

Legt das aktuelle Bildlayout für APIs wie Vulkan fest.

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

quint64 NativeTexture::object

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

object Bei OpenGL ist das native Handle ein GLuint-Wert, sodass „ object “ in einen GLuint umgewandelt werden kann. Bei Vulkan ist das native Handle ein `VkImage`, sodass ` ` in ein `VkImage` umgewandelt werden kann. Bei Direct3D 11 und Metal enthält ` object ` jeweils einen Zeiger auf `ID3D11Texture2D` bzw. `MTLTexture`. Bei Direct3D 12 enthält ` object ` einen Zeiger auf `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.