En esta página

QRhiTexture::NativeTexture Struct

struct QRhiTexture::NativeTexture

Contiene información sobre los recursos nativos subyacentes de una textura. Más...

Variables públicas

int layout
quint64 object

Descripción detallada

Documentación de las variables miembro

int NativeTexture::layout

Especifica la disposición actual de la imagen para API como Vulkan.

En el caso de Vulkan, ` layout ` contiene un valor de tipo ` VkImageLayout `.

quint64 NativeTexture::object

Entero de 64 bits que contiene el identificador nativo del objeto.

Con OpenGL, el identificador nativo es un valor GLuint, por lo que object puede convertirse a GLuint. Con Vulkan, el identificador nativo es un VkImage, por lo que object puede convertirse a un VkImage. Con Direct3D 11 y Metal, object contiene un puntero a ID3D11Texture2D o MTLTexture, respectivamente. Con Direct3D 12, object contiene un puntero a 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.