![]() |
Qt 6.x
The Qt SDK
|
#include <qwasmoffscreensurface.h>
Public Member Functions | |
QWasmOffscreenSurface (QOffscreenSurface *offscreenSurface) | |
~QWasmOffscreenSurface () final | |
const std::string & | id () const |
![]() | |
QPlatformOffscreenSurface (QOffscreenSurface *offscreenSurface) | |
~QPlatformOffscreenSurface () override | |
QOffscreenSurface * | offscreenSurface () const |
QPlatformScreen * | screen () const override |
Returns the platform screen handle corresponding to this QPlatformOffscreenSurface. | |
virtual QSurfaceFormat | format () const override |
Returns the actual surface format of the offscreen surface. | |
virtual bool | isValid () const |
Returns true if the platform offscreen surface has been allocated. | |
![]() | |
virtual | ~QPlatformSurface () |
virtual QSurfaceFormat | format () const =0 |
QSurface * | surface () const |
virtual QPlatformScreen * | screen () const =0 |
Additional Inherited Members | |
![]() | |
static bool | isRasterSurface (QSurface *surface) |
![]() | |
QScopedPointer< QPlatformOffscreenSurfacePrivate > | d_ptr |
Definition at line 16 of file qwasmoffscreensurface.h.
|
explicit |
Definition at line 8 of file qwasmoffscreensurface.cpp.
References QSize::height(), QPlatformOffscreenSurface::offscreenSurface(), QOffscreenSurface::size(), and QSize::width().
|
final |
Definition at line 25 of file qwasmoffscreensurface.cpp.
|
inline |
Definition at line 22 of file qwasmoffscreensurface.h.