16 #ifndef QGSTERRAINTILELOADER_P_H 17 #define QGSTERRAINTILELOADER_P_H 36 class QgsTerrainEntity;
37 class QgsTerrainTileEntity;
46 class QgsTerrainTileLoader :
public QgsChunkLoader
52 QgsTerrainTileLoader( QgsTerrainEntity *terrain, QgsChunkNode *mNode );
58 void createTextureComponent( QgsTerrainTileEntity *entity,
bool isShadingEnabled,
const QgsPhongMaterialSettings &shadingMaterial );
60 QgsTerrainEntity *terrain() {
return mTerrain; }
63 void onImageReady(
int jobId,
const QImage &image );
66 QgsTerrainEntity *mTerrain =
nullptr;
68 QString mTileDebugText;
69 int mTextureJobId = -1;
75 #endif // QGSTERRAINTILELOADER_P_H A rectangle specified with double values.
3 Basic shading material used for rendering based on the Phong shading model with three color compone...