Qt 6.x
The Qt SDK
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
qplatformgraphicsbufferhelper.h File Reference
#include <QtGui/qtguiglobal.h>
#include <QtGui/qpa/qplatformgraphicsbuffer.h>
+ Include dependency graph for qplatformgraphicsbufferhelper.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  QPlatformGraphicsBufferHelper
 \inmodule QtGui
 

Functions

Q_GUI_EXPORT bool QPlatformGraphicsBufferHelper::lockAndBindToTexture (QPlatformGraphicsBuffer *graphicsBuffer, bool *swizzleRandB, bool *premultipliedB, const QRect &rect=QRect())
 Convenience function to both lock and bind the graphicsBuffer to a texture.
 
bool QPlatformGraphicsBufferHelper::bindSWToTexture (const QPlatformGraphicsBuffer *graphicsBuffer, bool *swizzleRandB=nullptr, bool *premultipliedB=nullptr, const QRect &rect=QRect())
 Convenience function that uploads the current raster content to the currently bound texture.