qskinny/playground/parrots/TextureFilterNode.h

31 lines
668 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-18 08:02:45 +00:00
2023-12-18 08:39:17 +00:00
class TextureFilterNodePrivate;
2023-12-07 10:24:47 +00:00
2023-12-18 08:39:17 +00:00
class TextureFilterNode : public QSGGeometryNode
2023-12-07 10:24:47 +00:00
{
using Inherited = QSGGeometryNode;
public:
2023-12-18 08:39:17 +00:00
TextureFilterNode();
~TextureFilterNode();
2023-12-07 10:24:47 +00:00
void setTexture( QSGTexture* );
QSGTexture* texture();
void setRect( const QRectF& );
private:
2023-12-18 08:39:17 +00:00
Q_DECLARE_PRIVATE( TextureFilterNode )
2023-12-07 10:24:47 +00:00
};