QGIS API Documentation 3.41.0-Master (fda2aa46e9a)
Loading...
Searching...
No Matches
qgsrenderpassquad.h
Go to the documentation of this file.
1/***************************************************************************
2 qgsrenderpassquad.h
3 --------------------------------------
4 Date : June 2022
5 Copyright : (C) 2022 by Belgacem Nedjima
6 Email : belgacem dot nedjima 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 QGSRENDERPASSQUAD_H
17#define QGSRENDERPASSQUAD_H
18
19#include <Qt3DCore/QEntity>
20#include <Qt3DRender/QTexture>
21#include <Qt3DRender/QParameter>
22#include <Qt3DRender/QMaterial>
23#include <Qt3DRender/QEffect>
24#include <Qt3DRender/QCamera>
25#include <Qt3DRender/QShaderProgram>
26#include <Qt3DRender/QLayer>
27
28#define SIP_NO_FILE
29
38class QgsRenderPassQuad : public Qt3DCore::QEntity
39{
40 Q_OBJECT
41 public:
43 QgsRenderPassQuad( Qt3DRender::QLayer *layer, QNode *parent = nullptr );
44
45 protected:
46 Qt3DRender::QMaterial *mMaterial = nullptr;
47 Qt3DRender::QShaderProgram *mShader = nullptr;
48};
49
50#endif // QGSRENDERPASSQUAD_H
Qt3DRender::QShaderProgram * mShader
Qt3DRender::QMaterial * mMaterial