Phosphor
Qt6 / Wayland library suite for window-management tools
 
Loading...
Searching...
No Matches
PixelUnits.h File Reference
#include <PhosphorShaders/phosphorshaders_export.h>
#include <QLatin1String>
#include <QString>
#include <QVariantList>
#include <QVariantMap>

Go to the source code of this file.

Namespaces

namespace  PhosphorShaders
 

Functions

QLatin1String PhosphorShaders::pixelUnit ()
 The unit a parameter declares when its value is logical pixels of the real surface the shader draws on, which is the screen for a zone/overlay pack.
 
PHOSPHORSHADERS_EXPORT void PhosphorShaders::scalePixelParams (const QVariantList &parameterInfos, QVariantMap &values, double factor)
 Scale every px-denominated parameter for a host that renders the shader on a surface smaller than the real thing.