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>.
Loading...
Searching...
No Matches
VulkanWrapper Class Reference

#include <vulkanwrapper.h>

+ Collaboration diagram for VulkanWrapper:

Public Member Functions

 VulkanWrapper (QOpenGLContext *glContext)
 
VulkanImageWrappercreateTextureImage (const QImage &img)
 
VulkanImageWrappercreateTextureImageFromData (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)
 

Detailed Description

Definition at line 18 of file vulkanwrapper.h.

Constructor & Destructor Documentation

◆ VulkanWrapper()

VulkanWrapper::VulkanWrapper ( QOpenGLContext * glContext)

Definition at line 661 of file vulkanwrapper.cpp.

Member Function Documentation

◆ createTextureImage()

VulkanImageWrapper * VulkanWrapper::createTextureImage ( const QImage & img)

Definition at line 666 of file vulkanwrapper.cpp.

References VulkanWrapperPrivate::createTextureImage().

+ Here is the call graph for this function:

◆ createTextureImageFromData()

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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ freeTextureImage()

void VulkanWrapper::freeTextureImage ( VulkanImageWrapper * imageWrapper)

Definition at line 691 of file vulkanwrapper.cpp.

References VulkanWrapperPrivate::freeTextureImage().

Referenced by VulkanServerBuffer::~VulkanServerBuffer().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getImageInfo()

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.


The documentation for this class was generated from the following files: