Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
|
#include <vulkanwrapper.h>
Public Member Functions | |
VulkanWrapper (QOpenGLContext *glContext) | |
VulkanImageWrapper * | createTextureImage (const QImage &img) |
VulkanImageWrapper * | createTextureImageFromData (const uchar *pixels, uint bufferSize, const QSize &size, uint glInternalFormat) |
int | getImageInfo (const VulkanImageWrapper *imgWrapper, int *memSize, int *w=nullptr, int *h=nullptr) |
void | freeTextureImage (VulkanImageWrapper *imageWrapper) |
Definition at line 18 of file vulkanwrapper.h.
VulkanWrapper::VulkanWrapper | ( | QOpenGLContext * | glContext | ) |
Definition at line 661 of file vulkanwrapper.cpp.
VulkanImageWrapper * VulkanWrapper::createTextureImage | ( | const QImage & | img | ) |
Definition at line 666 of file vulkanwrapper.cpp.
References VulkanWrapperPrivate::createTextureImage().
VulkanImageWrapper * VulkanWrapper::createTextureImageFromData | ( | const uchar * | pixels, |
uint | bufferSize, | ||
const QSize & | size, | ||
uint | glInternalFormat ) |
Definition at line 671 of file vulkanwrapper.cpp.
References VulkanWrapperPrivate::createTextureImageFromData().
Referenced by VulkanServerBufferIntegration::createServerBufferFromData().
void VulkanWrapper::freeTextureImage | ( | VulkanImageWrapper * | imageWrapper | ) |
Definition at line 691 of file vulkanwrapper.cpp.
References VulkanWrapperPrivate::freeTextureImage().
Referenced by VulkanServerBuffer::~VulkanServerBuffer().
int VulkanWrapper::getImageInfo | ( | const VulkanImageWrapper * | imgWrapper, |
int * | memSize, | ||
int * | w = nullptr, | ||
int * | h = nullptr ) |
Definition at line 680 of file vulkanwrapper.cpp.
References VulkanImageWrapper::imgMemSize.