Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
QRhiCallback Class Referenceabstract

The QRhiCallback class implements a thread-safe wrapper around QRhi cleanup callbacks. For adding a callback to QRhi, create a shared insance of the class and invoke addToRhi for the specific QRhi. To deactivate the callback delete the instance. More...

#include <qrhivaluemapper_p.h>

Inheritance diagram for QRhiCallback:
Collaboration diagram for QRhiCallback:

Classes

class  Manager

Public Member Functions

 QRhiCallback ()
virtual ~QRhiCallback ()
void registerCallback (QRhi &rhi)

Protected Member Functions

virtual void onRhiCleanup (QRhi &rhi)=0

Detailed Description

The QRhiCallback class implements a thread-safe wrapper around QRhi cleanup callbacks. For adding a callback to QRhi, create a shared insance of the class and invoke addToRhi for the specific QRhi. To deactivate the callback delete the instance.

Definition at line 35 of file qrhivaluemapper_p.h.

Constructor & Destructor Documentation

◆ QRhiCallback()

QRhiCallback::QRhiCallback ( )

Definition at line 74 of file qrhivaluemapper.cpp.

◆ ~QRhiCallback()

QRhiCallback::~QRhiCallback ( )
virtualdefault

Member Function Documentation

◆ onRhiCleanup()

virtual void QRhiCallback::onRhiCleanup ( QRhi & rhi)
protectedpure virtual

◆ registerCallback()

void QRhiCallback::registerCallback ( QRhi & rhi)

Definition at line 78 of file qrhivaluemapper.cpp.


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