Texture loading service. More...
Classes | |
class | TextureLoadJob |
Job for loading texture data. More... | |
Public Member Functions | |
TextureLoadService () | |
Constructor. | |
void | RequestJob (TextureLoadJob job) |
Properties | |
static TextureLoadService | Instance [get] |
The only TextureLoadService service instance. |
Texture loading service.
This service is used to load texture data. Data loading is executed in a separated thread, in order to don't block the rendering cycles; infact the image loading can be time consuming due the large data to load from permanent storage (or from network remote location) or can be CPU cosuming due the data decompression method.
Naturally implementations can load images inline to the current thread, but for better performances it shall be considered to load such data ina separated thread and handle the loading events.
Derm.Render.TextureLoadService.TextureLoadService | ( | ) |
Constructor.
void Derm.Render.TextureLoadService.RequestJob | ( | TextureLoadJob | job | ) |
TextureLoadService Derm.Render.TextureLoadService.Instance [static, get] |
The only TextureLoadService service instance.