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
QWasmAnimationFrameHandler Class Reference

#include <qwasmcompositor.h>

Collaboration diagram for QWasmAnimationFrameHandler:

Public Member Functions

 QWasmAnimationFrameHandler (std::function< void(double)> handler)
 ~QWasmAnimationFrameHandler ()
int64_t requestAnimationFrame ()
void cancelAnimationFrame (int64_t id)

Detailed Description

Definition at line 23 of file qwasmcompositor.h.

Constructor & Destructor Documentation

◆ QWasmAnimationFrameHandler()

QWasmAnimationFrameHandler::QWasmAnimationFrameHandler ( std::function< void(double)> handler)

Definition at line 169 of file qwasmcompositor.cpp.

◆ ~QWasmAnimationFrameHandler()

QWasmAnimationFrameHandler::~QWasmAnimationFrameHandler ( )

Definition at line 175 of file qwasmcompositor.cpp.

Member Function Documentation

◆ cancelAnimationFrame()

void QWasmAnimationFrameHandler::cancelAnimationFrame ( int64_t id)

Definition at line 187 of file qwasmcompositor.cpp.

Referenced by QWasmCompositor::~QWasmCompositor().

Here is the caller graph for this function:

◆ requestAnimationFrame()

int64_t QWasmAnimationFrameHandler::requestAnimationFrame ( )

Definition at line 180 of file qwasmcompositor.cpp.

Referenced by QWasmCompositor::requestUpdate().

Here is the caller graph for this function:

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