StelTextureSP createTextureThread(const QString &url, const StelTexture::StelTextureParams ¶ms=StelTexture::StelTextureParams(), bool lazyLoading=true)
Load an image from a file and create a new texture from it in a new thread.
Contains the parameters defining how a texture is created.
int getGLMemoryUsage()
Returns the estimated memory usage of all textures currently loaded through StelTexture.
StelTextureSP createTexture(const QString &filename, const StelTexture::StelTextureParams ¶ms=StelTexture::StelTextureParams())
Load an image from a file and create a new texture from it.
QSharedPointer< StelTexture > StelTextureSP
Use shared pointer to simplify memory managment.