Frame Debugger 帧调试器 性能系列5

Unity的Frame Debugger工具允许开发者暂停游戏特定帧的回放,详细查看绘制调用(Drawcalls)以理解场景构造过程。它显示DC信息,并支持逐个遍历,便于分析渲染性能和问题。此外,支持远程调试,但需要多线程渲染平台及Development Build。通过调整颜色通道和亮度,可深入检查渲染目标和着色器属性值。
摘要由CSDN通过智能技术生成

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

综合图形调试器性能分析工具是用于优化集成图形设备的开发和调试的工具。它可以帮助开发人员分析和调试图形应用程序的性能问题。 调试器的功能之一是允许开发人员捕捉和分析图形。图形是显示器上的一图像,由多个图元和纹理组成。通过调试器,开发人员可以检查每个图元的绘制顺序、坐标和纹理,以找出图形显示问题的根源。例如,当图形出现断线、闪烁或绘制错误时,开发人员可以使用调试器来查找导致这些问题的代码或参数错误。 另一个功能是性能分析器,它可以帮助开发人员找出性能瓶颈并优化图形应用程序。性能分析器会记录和分析率、GPU利用率、渲染时间等性能指标。开发人员可以根据分析结果,了解应用程序中哪些部分消耗了较多的GPU资源,从而对代码进行相应的优化。 综合图形调试器性能分析工具对于游戏开发和图形应用程序优化非常有用。通过调试器,开发人员可以找出图形渲染问题的根源,并及时修复。通过性能分析器,开发人员可以了解应用程序的性能状况,并通过优化代码来提高应用程序的率和流畅度。 总之,综合图形调试器性能分析工具是开发人员在优化集成图形设备时的重要工具。它们可以帮助开发人员分析和调试图形应用程序,并通过优化代码来提高应用程序的性能
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值