hyprland-plugins/hyprtrails/globals.hpp

12 lines
235 B
C++

#pragma once
#include <hyprland/src/plugins/PluginAPI.hpp>
inline HANDLE PHANDLE = nullptr;
struct SGlobalState {
CShader trailShader;
wl_event_source* tick = nullptr;
};
inline std::unique_ptr<SGlobalState> g_pGlobalState;