![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
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>
Classes | |
class | Manager |
Public Member Functions | |
QRhiCallback () | |
virtual | ~QRhiCallback () |
void | registerCallback (QRhi &rhi) |
Protected Member Functions | |
virtual void | onRhiCleanup (QRhi &rhi)=0 |
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.
QRhiCallback::QRhiCallback | ( | ) |
Definition at line 74 of file qrhivaluemapper.cpp.
|
virtualdefault |
Definition at line 78 of file qrhivaluemapper.cpp.