Unity's Stats form, batched, SetPass, Draw call, etc.

Source: Internet
Author: User

Sun Guangdong 2015.8.12


There is a statistics Stats button in the upper-right corner of game View. When the button is pressed. Overrides the form display, which can be used to optimize the performance of real-time rendering statistics.

The exact statistics show the build target.



The statistics form contains the following information:-

Time per frame and FPS The amount of time it takes to process and render a game frame (which is the countdown, number of frames per second). Please note that. This number only includes making frame updates and rendering the game view; The time it takes it does not include the time to draw the scene view, inspector, and other editor processing in the editor.
Draw Calls Meshes the total number of application batches after the grid is drawn. Notice that the object is rendered multiple times (for example,. objects illuminated by pixel lights), each drawing call in a separate render result.
batched (Draw Calls) The originally separated draw calls was added to the batches. "Batching" is the rendering that the engine will try to combine multiple objects into a draw call to reduce CPU overhead.

To ensure good batching, you should share as many different objects as possible between the materials.

Tris and Verts The number of triangles and vertex draws. This is primarily for low-end hardware optimizations
Screen Screen size, and its (anti-aliasing) anti-aliasing level and memory usage.

SetPass Number of render changes (passes). Each change requires unity to execute when binding a new renderer (shader), which may introduce CPU overhead.

Visible skinned Meshes Number of skinned meshes renders
Animations Number of animation plays










????

Unity's Stats form, batched, SetPass, Draw call, etc.

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.