NGUI Draw calls Optimization

Source: Internet
Author: User

1. Use the Panel as little as possible

2.Panel below the sub-object, try to use the same atlas

3. Try to control the use of dynamic fonts, do not use a large number of dynamic font controls, if possible, the font is also made into Atlas

4. If you must use multiple collections under the same panel, or use a dynamic font, you need to be aware of the depth of the control, using the same set of controls, as far as possible in the same depth interval do not interspersed with other Atlas, for example:

A1, B1, C1 controls use an AA Atlas, A2, B2, C2 controls use a BB Atlas, A3, B3, and C3 controls use dynamic fonts so you can divide them:

A1, B1, C1 use depth range is: 1-10

A2, B2, C2 use depth range is: 11-20

A3, B3, C3 use depth range is: 21-30

NGUI Draw calls Optimization

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.