| 35 | } |
| 36 | |
| 37 | void TexPool::DestroyAsync() |
| 38 | { |
| 39 | SetAlive(false); |
| 40 | DestroyJob *job = new DestroyJob(this); |
| 41 | common::SharedPtr<job::JobItem> itemParam(job); |
| 42 | job::JobQueue::DefaultQueue()->Enqueue(itemParam); |
| 43 | } |
| 44 | |
| 45 | bool TexPool::Add(Plugin *plugin, IDParam const& id, bool allowReplace) |
| 46 | { |