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 );
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;
89 #endif // QGSTERRAINTILELOADER_P_H