QGIS API Documentation 3.38.0-Grenoble (exported)
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( QNode *parent = nullptr );
44
46 Qt3DRender::QLayer *layer() { return mLayer; }
47 protected:
48 Qt3DRender::QMaterial *mMaterial = nullptr;
49 Qt3DRender::QShaderProgram *mShader = nullptr;
50 Qt3DRender::QLayer *mLayer = nullptr;
51};
52
53#endif // QGSRENDERPASSQUAD_H
Qt3DRender::QLayer * mLayer
Qt3DRender::QShaderProgram * mShader
Qt3DRender::QLayer * layer()
Returns the layer object used to select this entity for rendering in a specific rendering pass.
Qt3DRender::QMaterial * mMaterial