文档

Unity Engine

Unity Engine

CreateDebugView()

Creates an object containing debug information of the device.
阅读时间1 分钟最后更新于 1 个月前

Definition

public GraphicsDeviceDebugView CreateDebugView()

Returns

Type

Description

GraphicsDeviceDebugViewReturns an object of type GraphicsDeviceDebugView. This object contains a snapshot of the debug information of the device..

Remarks

It is best practice to call this function once per application instantiation. If you call this function, you must call GraphicsDevice.DeleteDebugView during application destruction.
Additional Resources: GraphicsDevice.UpdateDebugView