gongminmin / KlayGE

KlayGE is a cross-platform open source game engine with plugin-based architecture.
http://www.klayge.org
GNU General Public License v2.0
2.1k stars 349 forks source link

Remove naive instancing in Renderable #183

Closed gongminmin closed 6 years ago

gongminmin commented 6 years ago

The instances list in Renderable is not practical. Most renderables doesn't work with it because of lacking OnInstanceBegin()/End(). Remove it and use the instance steam when necessary.