wclssdn / optimize_draw_call

for CocosCreator

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Optimize Draw Call Demo

Only for CocosCreator

The core file is assets/Script/Lib/OptimizeDrawCall.ts. You can copy it to your project.

Topic: https://forum.cocos.com/t/draw-call/80902

DEMO

  • common prefabs(bag)
  • rank(scroll view)

DONE

  • support multiple paths(Now, you can also use multiple nodes that contain this Component to do it)
  • support multiple root nodes
  • support inactive nodes

TODO

  • support proxy mode(when you destory optimized node's parent, it will not destory automatically)

About

for CocosCreator


Languages

Language:TypeScript 100.0%