mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-05-19 00:20:23 -07:00
26 lines
637 B
C++
26 lines
637 B
C++
#pragma once
|
|
#include "PassElement.hpp"
|
|
#include <optional>
|
|
#include "../OpenGL.hpp"
|
|
|
|
class CRendererHintsPassElement : public IPassElement {
|
|
public:
|
|
struct SData {
|
|
std::optional<SRenderModifData> renderModif;
|
|
};
|
|
|
|
CRendererHintsPassElement(const SData& data);
|
|
virtual ~CRendererHintsPassElement() = default;
|
|
|
|
virtual void draw(const CRegion& damage);
|
|
virtual bool needsLiveBlur();
|
|
virtual bool needsPrecomputeBlur();
|
|
virtual bool undiscardable();
|
|
|
|
virtual const char* passName() {
|
|
return "CRendererHintsPassElement";
|
|
}
|
|
|
|
private:
|
|
SData m_data;
|
|
}; |