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
QCocoaOffscreenSurface Class Reference
+ Inheritance diagram for QCocoaOffscreenSurface:
+ Collaboration diagram for QCocoaOffscreenSurface:

Public Member Functions

 QCocoaOffscreenSurface (QOffscreenSurface *offscreenSurface)
 
QSurfaceFormat format () const override
 Returns the actual surface format of the offscreen surface.
 
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.
 
- 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 256 of file qcocoaintegration.mm.

Constructor & Destructor Documentation

◆ QCocoaOffscreenSurface()

QCocoaOffscreenSurface::QCocoaOffscreenSurface ( QOffscreenSurface * offscreenSurface)
inline

Definition at line 259 of file qcocoaintegration.mm.

Member Function Documentation

◆ format()

QSurfaceFormat QCocoaOffscreenSurface::format ( ) const
inlineoverridevirtual

Returns the actual surface format of the offscreen surface.

Reimplemented from QPlatformOffscreenSurface.

Definition at line 261 of file qcocoaintegration.mm.

References QPlatformOffscreenSurface::offscreenSurface(), Q_ASSERT, and QOffscreenSurface::requestedFormat().

+ Here is the call graph for this function:

◆ isValid()

bool QCocoaOffscreenSurface::isValid ( ) const
inlineoverridevirtual

Returns true if the platform offscreen surface has been allocated.

Reimplemented from QPlatformOffscreenSurface.

Definition at line 266 of file qcocoaintegration.mm.


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