Stand/Stand/BackgroundBlur.hpp
2024-10-16 11:20:42 +08:00

27 lines
481 B
C++

#pragma once
#include <soup/TransientToken.hpp>
#include "TextureDynamic.hpp"
namespace Stand
{
class BackgroundBlur
{
private:
TextureDynamic tex;
TextureDynamic blurTmpTex;
public:
void drawH(float x, float y, float width, float height, uint8_t passes);
void drawC(float x, float y, float width, float height, uint8_t passes);
void reset();
};
class EphemeralBackgroundBlur : public BackgroundBlur
{
public:
soup::TransientToken transient_token;
};
}