Wavelength
Privacy-focused, cross-platform, and open-source communication application
Loading...
Searching...
No Matches
BlobRenderState Struct Reference

Structure holding state information relevant for rendering decisions. More...

#include <blob_renderer.h>

Collaboration diagram for BlobRenderState:

Public Attributes

BlobConfig::AnimationState animation_state = BlobConfig::kIdle
 The current animation state (Idle, Moving, Resizing).
 
bool is_absorbing = false
 True if the blob is currently absorbing another instance.
 
bool is_being_absorbed = false
 True if the blob is currently being absorbed by another instance.
 
bool is_closing_after_absorption = false
 True if the application is closing after being absorbed.
 
bool is_pulse_active = false
 True if a pulse effect should be rendered.
 
double opacity = 1.0
 Overall opacity multiplier for the blob.
 
double scale = 1.0
 Overall scale multiplier for the blob.
 

Detailed Description

Structure holding state information relevant for rendering decisions.

Member Data Documentation

◆ animation_state

BlobConfig::AnimationState BlobRenderState::animation_state = BlobConfig::kIdle

The current animation state (Idle, Moving, Resizing).

◆ is_absorbing

bool BlobRenderState::is_absorbing = false

True if the blob is currently absorbing another instance.

◆ is_being_absorbed

bool BlobRenderState::is_being_absorbed = false

True if the blob is currently being absorbed by another instance.

◆ is_closing_after_absorption

bool BlobRenderState::is_closing_after_absorption = false

True if the application is closing after being absorbed.

◆ is_pulse_active

bool BlobRenderState::is_pulse_active = false

True if a pulse effect should be rendered.

◆ opacity

double BlobRenderState::opacity = 1.0

Overall opacity multiplier for the blob.

◆ scale

double BlobRenderState::scale = 1.0

Overall scale multiplier for the blob.


The documentation for this struct was generated from the following file: