QGIS API Documentation 4.1.0-Master (9af12b5a203)
Loading...
Searching...
No Matches
qgsbloomupsampleentity.h
Go to the documentation of this file.
1/***************************************************************************
2 qgsbloomupsampleentity.h
3 --------------------------------------
4 Date : May 2026
5 Copyright : (C) 2026 by Nyall Dawson
6 Email : nyall dot dawson at gmail dot com
7 ***************************************************************************
8 * *
9 * This program is free software; you can redistribute it and/or modify *
10 * it under the terms of the GNU General Public License as published by *
11 * the Free Software Foundation; either version 2 of the License, or *
12 * (at your option) any later version. *
13 * *
14 ***************************************************************************/
15
16#ifndef QGSBLOOMUPSAMPLEENTITY_H
17#define QGSBLOOMUPSAMPLEENTITY_H
18
19#include "qgsrenderpassquad.h"
20
21#define SIP_NO_FILE
22
23namespace Qt3DRender
24{
25 class QParameter;
26 class QTexture2D;
27} //namespace Qt3DRender
28
29
39{
40 Q_OBJECT
41 public:
43 QgsBloomUpsampleEntity( Qt3DRender::QTexture2D *texture, Qt3DRender::QLayer *layer, QNode *parent = nullptr );
44
48 void addParameters( const QVector<Qt3DRender::QParameter *> &parameters );
49
50 private:
51 Qt3DRender::QParameter *mSourceTextureParameter = nullptr;
52};
53
54#endif // QGSBLOOMUPSAMPLEENTITY_H
QgsBloomUpsampleEntity(Qt3DRender::QTexture2D *texture, Qt3DRender::QLayer *layer, QNode *parent=nullptr)
Constructor.
void addParameters(const QVector< Qt3DRender::QParameter * > &parameters)
Adds parameters to the entity.
QgsRenderPassQuad(Qt3DRender::QLayer *layer, QNode *parent=nullptr)
Constructor.