Commit Graph

4 Commits

Author SHA1 Message Date
halx99 8a8d96e8d4 Refine DrawNode, should not use Node::_programState for private use (#251)
The follow classes should not reuse Node::_programState, otherwise needs override Node::setProgramState to update programState of pipelineDescriptor:
- DrawNode
- LayerColor
- LayerRadialGradient
- ParticleBatchNode
- ParticleSystemQuad
2020-10-26 14:49:14 +08:00
halx99 c594e3789c Refactor programState management (#236)
1. Add custom program registery
2. Re-enable batch draw for custom program
2020-10-16 16:23:14 +08:00
halx99 1d53eaf3ff Take care _programState use 2020-07-21 23:11:03 +08:00
halx99 8df3d5e274 Init Commit 2019-11-23 20:27:39 +08:00