Nesta página

QRhiTexture::NativeTexture Struct

struct QRhiTexture::NativeTexture

Contém informações sobre os recursos nativos subjacentes de uma textura. Mais...

Variáveis públicas

int layout
quint64 object

Descrição detalhada

Documentação das variáveis-membro

int NativeTexture::layout

Especifica o layout de imagem atual para APIs como o Vulkan.

Para o Vulkan, ` layout ` contém o valor ` VkImageLayout `.

quint64 NativeTexture::object

Inteiro de 64 bits que contém o identificador nativo do objeto.

No OpenGL, o identificador nativo é um valor GLuint; portanto, ` object ` pode ser convertido para um GLuint. No Vulkan, o identificador nativo é um `VkImage`, portanto, ` object ` pode ser convertido para um `VkImage`. No Direct3D 11 e no Metal, ` object ` contém um ponteiro para `ID3D11Texture2D` ou `MTLTexture`, respectivamente. No Direct3D 12, ` object ` contém um ponteiro para `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.