Fluent-Qt

API reference

QmlTextureLayer

Composes borrowed QmlViews into an application-owned OpenGL panel.

fluent::qmlbridge::QmlTextureLayer

Inherits QObject

Constructors

Methods

bool synchronize()

Adopts current-page views without recreating their QML scenes.

quint64 requiredBytes(const QRectF& source, qreal devicePixelRatio) const

Conservative target bytes for source, or maximum quint64 if unsupported. Source is the panel rectangle in root-widget coordinates; DPR is in (0, 4].

unsigned int compose(unsigned int baseTexture, const QSize& pixels, quint64 baseRevision)

Composes over a borrowed bottom-up RGBA texture; zero means failure. The result is borrowed and expires on resize, context loss or cache release.

void clearFrameCaches()

Releases GPU caches while retaining scene delegation and local state.

void release()

Restores native Quick widgets after the caller removes capture effects.

Signals

Destructors

All inherited Qt members:QObject