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 Variables Miembro

int NativeTexture::layout

Especifica el diseño de imagen actual para APIs como Vulkan.

Para Vulkan, layout contiene un valor VkImageLayout.

quint64 NativeTexture::object

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

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