Phosphor
Qt6 / Wayland library suite for window-management tools
 
Loading...
Searching...
No Matches
PhosphorAnimationShaders::AnimationShaderRegistry::AnimationPack Class Referencefinal

Registry entry: a discovered animation effect as a PhosphorRegistry factory. More...

#include <phosphor-animation/include/PhosphorAnimation/AnimationShaderRegistry.h>

Inheritance diagram for PhosphorAnimationShaders::AnimationShaderRegistry::AnimationPack:
[legend]

Public Member Functions

 AnimationPack (AnimationShaderEffect effect)
 
QString id () const override
 
QString displayName () const override
 
const AnimationShaderEffecteffect () const
 

Detailed Description

Registry entry: a discovered animation effect as a PhosphorRegistry factory.

Registry<AnimationPack> keys on id(); displayName() is the effect's human name. Wraps the parsed AnimationShaderEffect by value (consumers read it back via effect()). Effects carry no capability metadata, so the IFactoryBase default capabilities() ({}) applies unchanged.

Constructor & Destructor Documentation

◆ AnimationPack()

PhosphorAnimationShaders::AnimationShaderRegistry::AnimationPack::AnimationPack ( AnimationShaderEffect  effect)
inlineexplicit

Member Function Documentation

◆ displayName()

QString PhosphorAnimationShaders::AnimationShaderRegistry::AnimationPack::displayName ( ) const
inlineoverride

◆ effect()

const AnimationShaderEffect & PhosphorAnimationShaders::AnimationShaderRegistry::AnimationPack::effect ( ) const
inline

◆ id()

QString PhosphorAnimationShaders::AnimationShaderRegistry::AnimationPack::id ( ) const
inlineoverride

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