Fluent-Qt

API reference

ParticleLayer

Render a borrowed ParticleBackdrop into an existing OpenGL compositor.

fluent::spatial::ParticleLayer

Inherits QObject

Constructors

Properties

bool active
Read isActive()Notify activeChanged()

Methods

static quint64 estimatedBytes(const QSize& logicalSize, qreal devicePixelRatio)

Conservative current-context target bytes, or zero when unsupported. Includes the actual driver MSAA count; performs at most a tiny context probe.

bool render(qreal devicePixelRatio, quint64 maximumBytes = 67108864)

Render/reuse the current frame within the byte limit; false restores CPU. DPR must be finite and in (0, 4]. The default per-layer limit is 64 MiB.

unsigned int textureId() const

Borrowed premultiplied RGBA, bottom-up OpenGL texture; zero when inactive. Valid only in the current context until release, resize or context replacement.

void release()

Release GPU resources and resume the source's unchanged CPU state.

Signals

Destructors

Subclass interfaces

Methods

All inherited Qt members:QObject