Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


CreateDebugView()

Creates an object containing debug information of the device.
Read time 1 minuteLast updated 6 days ago

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