16#ifndef QGSTERRAINTILELOADER_P_H
17#define QGSTERRAINTILELOADER_P_H
40class QgsTerrainEntity;
41class QgsTerrainTileEntity;
56class QgsTerrainTileLoader :
public QgsChunkLoader
62 QgsTerrainTileLoader( QgsTerrainEntity *terrain, QgsChunkNode *mNode );
69 Qt3DRender::QTexture2D *createTexture( QgsTerrainTileEntity *entity );
71 void createTextureComponent( QgsTerrainTileEntity *entity,
bool isShadingEnabled,
const QgsPhongMaterialSettings &shadingMaterial,
bool useTexture );
73 QgsTerrainEntity *terrain() {
return mTerrain; }
76 void onImageReady(
int jobId,
const QImage &image );
79 QgsTerrainEntity *mTerrain =
nullptr;
81 QString mTileDebugText;
82 int mTextureJobId = -1;
A rectangle specified with double values.