Skip to content

wclssdn/optimize_draw_call

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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)