Skip to content
This repository has been archived by the owner on Sep 6, 2023. It is now read-only.

Commit

Permalink
Update performance-tips.md
Browse files Browse the repository at this point in the history
  • Loading branch information
bigtimebuddy committed Oct 20, 2022
1 parent 363e09d commit 66f897f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/production/performance-tips.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
- Only optimize when you need to! PixiJS can handle a fair amount of content off the bat
- Be mindful of the complexity of your scene. The more objects you add the slower things will end up
- Order can help, for example sprite / graphic / sprite / graphic is slower than sprite / sprite / graphic / graphic
- Some older mobile devices run things a little slower. Passing in the option `contextAlpha: useContextAlpha` and `antialias: false` to the Renderer or Application can help with performance
- Some older mobile devices run things a little slower. Passing in the option `useContextAlpha: false` and `antialias: false` to the Renderer or Application can help with performance
- Culling, is disabled by default as its often better to do this at an application level or set objects to be `cullable = true`. If you are GPU it will improve performance, if you are CPU bound - it will degrade performance

### Sprites
Expand Down

0 comments on commit 66f897f

Please sign in to comment.