Clear some properties in `ParticleBuffer.destroy()`. (#4407)
* Clear some properties in `destroy` * Update ParticleShader.js The ` vec2 v = aVertexPosition;` is needless , the `v` is a new vec2 , use `aVertexPosition` will puzzle users (the people that read the code). The ` if (color.a == 0.0) discard;` will take unexpected result. * Update ParticleBuffer.js * cosmetic
batch-dev
bugfix/polygon-offset
dev
dev-blendmode-add-again
dev-canvas-renderer-dirty-transform
dev-graphics-fix-batches
dev-line-join
dev-offscreen-canvas
dev-renderTexture-pool
dev-replace-buble-with-babel
englercj/update-s3
fix-svg
master
multiple-pointer-down-events
upgrade
v5.0.4
v5.0.3
v5.0.2
v5.0.1
v5.0.0-rc.3
v5.0.0-rc.2
v5.0.0-rc
v5.0.0-alpha.3
v5.0.0-alpha.2
v5.0.0
floattex
|
---|
|
packages/particles/src/webgl/ParticleBuffer.js |
---|
packages/particles/src/webgl/ParticleShader.js |
---|