blob: 62db77918241324e3dbefb13d39eb27fc0d47e07 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
#pragma once
#include "PassElement.hpp"
class CHyprInnerGlowDecoration;
class CInnerGlowPassElement : public IPassElement {
public:
struct SInnerGlowData {
CHyprInnerGlowDecoration* deco = nullptr;
float a = 1.F;
};
CInnerGlowPassElement(const SInnerGlowData& data_);
virtual ~CInnerGlowPassElement() = default;
virtual bool needsLiveBlur();
virtual bool needsPrecomputeBlur();
virtual const char* passName() {
return "CInnerGlowPassElement";
}
virtual ePassElementType type() {
return EK_INNER_GLOW;
};
SInnerGlowData m_data;
};
|