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
QWasmOffscreenSurface Class Referencefinal

#include <qwasmoffscreensurface.h>

+ Inheritance diagram for QWasmOffscreenSurface:
+ Collaboration diagram for QWasmOffscreenSurface:

Public Member Functions

 QWasmOffscreenSurface (QOffscreenSurface *offscreenSurface)
 
 ~QWasmOffscreenSurface () final
 
const std::string & id () const
 
bool isValid () const override
 Returns true if the platform offscreen surface has been allocated.
 
- Public Member Functions inherited from QPlatformOffscreenSurface
 QPlatformOffscreenSurface (QOffscreenSurface *offscreenSurface)
 
 ~QPlatformOffscreenSurface () override
 
QOffscreenSurfaceoffscreenSurface () const
 
QPlatformScreenscreen () 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.
 
- Public Member Functions inherited from QPlatformSurface
virtual ~QPlatformSurface ()
 
QSurfacesurface () const
 

Additional Inherited Members

- Static Public Member Functions inherited from QPlatformSurface
static bool isRasterSurface (QSurface *surface)
 
- Protected Attributes inherited from QPlatformOffscreenSurface
QScopedPointer< QPlatformOffscreenSurfacePrivated_ptr
 

Detailed Description

Definition at line 16 of file qwasmoffscreensurface.h.

Constructor & Destructor Documentation

◆ QWasmOffscreenSurface()

QT_BEGIN_NAMESPACE QWasmOffscreenSurface::QWasmOffscreenSurface ( QOffscreenSurface * offscreenSurface)
explicit

Definition at line 8 of file qwasmoffscreensurface.cpp.

References QSize::height(), QPlatformOffscreenSurface::offscreenSurface(), QOffscreenSurface::size(), and QSize::width().

+ Here is the call graph for this function:

◆ ~QWasmOffscreenSurface()

QWasmOffscreenSurface::~QWasmOffscreenSurface ( )
final

Definition at line 25 of file qwasmoffscreensurface.cpp.

Member Function Documentation

◆ id()

const std::string & QWasmOffscreenSurface::id ( ) const
inline

Definition at line 22 of file qwasmoffscreensurface.h.

◆ isValid()

bool QWasmOffscreenSurface::isValid ( ) const
overridevirtual

Returns true if the platform offscreen surface has been allocated.

Reimplemented from QPlatformOffscreenSurface.

Definition at line 30 of file qwasmoffscreensurface.cpp.


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