qskinny/playground/parrots/BlurringNode.h

31 lines
667 B
C
Raw Normal View History

2023-12-07 10:24:47 +00:00
/******************************************************************************
* QSkinny - Copyright (C) 2016 Uwe Rathmann
* SPDX-License-Identifier: BSD-3-Clause
*****************************************************************************/
#pragma once
#include <qsgnode.h>
class QRect;
class QSGTexture;
2023-12-08 14:47:32 +00:00
class BlurringNodePrivate;
2023-12-07 10:24:47 +00:00
2023-12-08 14:47:32 +00:00
class BlurringNode : public QSGGeometryNode
2023-12-07 10:24:47 +00:00
{
using Inherited = QSGGeometryNode;
public:
2023-12-08 14:47:32 +00:00
BlurringNode();
~BlurringNode();
2023-12-07 10:24:47 +00:00
void setTexture( QSGTexture* );
QSGTexture* texture();
void setRect( const QRectF& );
QRectF rect() const;
private:
2023-12-08 14:47:32 +00:00
Q_DECLARE_PRIVATE( BlurringNode )
2023-12-07 10:24:47 +00:00
};