Gamua / Starling-Framework

The Cross Platform Game Engine
http://www.starling-framework.org
Other
2.87k stars 826 forks source link

Why not use “Worker” #781

Closed liuhaitao32 closed 5 years ago

liuhaitao32 commented 9 years ago

starling can be provided to the developers choose to use "Worker" . "Worker" can be used in the calculation , rendering and processing material (class AssetManager).

PrimaryFeather commented 9 years ago

It can't be used for rendering, unfortunately — you can't access Stage3D from a worker thread. However, there might be other uses (especially in the AssetManager, as you suggested), so it's definitely something I'd like to look into. I can't give you any time estimates yet, though!

PrimaryFeather commented 5 years ago

I decided that using workers is better left to the application code, and Starling shouldn't rely on them. So I'm closing this issue.