![]() |
Stellarium 0.12.4
|
Texture Loader interface - used internally by texture implementations to load image data. More...
#include <StelTextureLoader.hpp>
Signals | |
void | error (const QString &errorMsg) |
Emitted when an error occurs during image loading, specifying error message. More... | |
Public Member Functions | |
virtual void | abort () |
Abort texture loading (for example when destroying a texture that's still loading). More... | |
Protected Member Functions | |
StelTextureLoader (QThread *loaderThread) | |
Construct a StelTextureLoader loading in specified thread. More... | |
void | moveToLoaderThread () |
Move the loader to its thread (after setting up image loading). More... | |
Texture Loader interface - used internally by texture implementations to load image data.
Loads image data in a separate thread.
Definition at line 41 of file StelTextureLoader.hpp.
|
inlineprotected |
Construct a StelTextureLoader loading in specified thread.
Definition at line 57 of file StelTextureLoader.hpp.
|
inlinevirtual |
Abort texture loading (for example when destroying a texture that's still loading).
Can only be called from the main thread.
Reimplemented in StelHTTPTextureLoader.
Definition at line 49 of file StelTextureLoader.hpp.
|
signal |
Emitted when an error occurs during image loading, specifying error message.
|
inlineprotected |
Move the loader to its thread (after setting up image loading).
Definition at line 64 of file StelTextureLoader.hpp.