QGIS API Documentation 3.43.0-Master (56aa1fd18d7)
qgsdebugtexturerenderview.h
Go to the documentation of this file.
1/***************************************************************************
2 qgsdebugtexturerenderview.h
3 --------------------------------------
4 Date : June 2024
5 Copyright : (C) 2024 by Benoit De Mezzo
6 Email : benoit dot de dot mezzo at oslandia 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 QGSDEBUGTEXTURERENDERVIEW_H
17#define QGSDEBUGTEXTURERENDERVIEW_H
18
20
21namespace Qt3DRender
22{
23 class QLayer;
24} //namespace Qt3DRender
25
26#define SIP_NO_FILE
27
39{
40 public:
42 QgsDebugTextureRenderView( const QString &viewName );
43
45 Qt3DRender::QLayer *debugLayer() const;
46
47 private:
48 Qt3DRender::QLayer *mLayer = nullptr;
49
50 void buildRenderPass();
51};
52
53#endif // QGSDEBUGTEXTURERENDERVIEW_H
Base class for 3D render view.
Simple renderview to preview/debug textures.
Qt3DRender::QLayer * debugLayer() const
Returns layer in which entities must be added in the in order to be processed by this renderview.