16#ifndef QGSTERRAINTILELOADER_P_H
17#define QGSTERRAINTILELOADER_P_H
40class QgsTerrainEntity;
41class QgsTerrainTileEntity;
57class QgsTerrainTileLoader :
public QgsChunkLoader
63 QgsTerrainTileLoader( QgsTerrainEntity *terrain, QgsChunkNode *mNode );
70 Qt3DRender::QTexture2D *createTexture( QgsTerrainTileEntity *entity );
72 void createTextureComponent( QgsTerrainTileEntity *entity,
bool isShadingEnabled,
const QgsPhongMaterialSettings &shadingMaterial,
bool useTexture );
74 QgsTerrainEntity *terrain() {
return mTerrain; }
77 void onImageReady(
int jobId,
const QImage &image );
80 QgsTerrainEntity *mTerrain =
nullptr;
82 QString mTileDebugText;
83 int mTextureJobId = -1;
A rectangle specified with double values.