16 #ifndef QGSTERRAINTILELOADER_P_H
17 #define QGSTERRAINTILELOADER_P_H
40 class QgsTerrainEntity;
41 class QgsTerrainTileEntity;
56 class QgsTerrainTileLoader :
public QgsChunkLoader
62 QgsTerrainTileLoader( QgsTerrainEntity *terrain, QgsChunkNode *mNode );
68 Qt3DRender::QTexture2D *createTexture( QgsTerrainTileEntity *entity );
70 void createTextureComponent( QgsTerrainTileEntity *entity,
bool isShadingEnabled,
const QgsPhongMaterialSettings &shadingMaterial );
72 QgsTerrainEntity *terrain() {
return mTerrain; }
77 void onImageReady(
int jobId,
const QImage &image );
80 QgsTerrainEntity *mTerrain =
nullptr;
82 QString mTileDebugText;
83 int mTextureJobId = -1;
90 #endif // QGSTERRAINTILELOADER_P_H