NativeTexture Struct

struct QRhiTexture::NativeTexture

텍스처의 기본 네이티브 리소스에 대한 정보를 포함합니다. 더 보기...

퍼블릭 변수

int layout
quint64 object

상세 설명

멤버 변수 문서

int NativeTexture::layout

Vulkan과 같은 API의 현재 이미지 레이아웃을 지정합니다.

벌칸의 경우 layout 에는 VkImageLayout 값이 포함됩니다.

quint64 NativeTexture::object

네이티브 객체 핸들을 포함하는 64비트 정수입니다.

OpenGL의 경우 네이티브 핸들은 GLuint 값이므로 object 을 GLuint로 형변환할 수 있습니다. Vulkan의 경우 네이티브 핸들은 VkImage이므로 object 을 VkImage로 캐스팅할 수 있습니다. Direct3D 11 및 Metal의 경우 object 에는 각각 ID3D11Texture2D 또는 MTLTexture 포인터가 포함됩니다. Direct3D 12의 경우 object 에는 ID3D12Resource 포인터가 포함됩니다.

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