Frame Debugger 帧调试器 性能系列5

Frame Debugger 帧调试器

本文档主要是对Unity官方手册的个人理解与总结(其实以翻译记录为主:>)
仅作为个人学习使用,不得作为商业用途,欢迎转载,并请注明出处。
文章中涉及到的操作都是基于Unity2018.3版本
参考链接:https://docs.unity3d.com/Manual/FrameDebugger.html

The Frame Debugger lets you freeze playback for a running game on a particular frame and view the individual draw calls that are used to render that frame. As well as listing the drawcalls, the debugger also lets you step through them one-by-one so you can see in great detail how the Scene is constructed from its graphical elements.
帧调试器(Frame Debugger)允许您为正在运行的游戏在特定的帧冻结回放,并查看用于渲染该帧的单次绘制调用。除列出DC外,调试器还允许您逐个逐个地遍历它们,这样您就可以非常详细地看到场景是如何从图形元素中一步步构造出来。
[外链图片转存失败(img-hyAFv7hN-1565762628460)(https://docs.unity3d.com/uploads/Main/FrameDebugger.jpg)]

Using the Frame Debugger

The Frame Debugger window (menu: Window > Analysis > Frame Debugger) shows the drawcall information and lets you control the “playback” of the frame under construction.
Frame Debugger显示DC信息,允许您控制正在构建的帧的“回放”。

The main list shows the sequence of drawcalls (and other events like framebuffer clear) in the form of a hierarchy that identifies where they originated from. The panel to the right of the list gives further information about the drawcall such as the geometry details and the shader used for rendering.
主列表以层次结构的形式显示了drawcalls序列(以及其他事件,如 framebuffer clear),该层次结构标识了调用的起源。列表右侧的面板提供了关于DC的更多信息,例如用于渲染的几何细节和着色器。

Clicking on an item from the list will show the Scene (in the Game view) as it appears up to and including that drawcall. The left and right arrow buttons in the toolbar move forward

  • 3
    点赞
  • 5
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值