![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <QtGui/qtguiglobal.h>#include <QtGui/qpa/qplatformgraphicsbuffer.h>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. | |