Files
RobustToolbox/Robust.Client/Graphics/IClydeDebugStats.cs
Acruid 2183cd7ca1 Massive Namespace Cleanup (#1544)
* Removed the Interfaces folder.
* All objects inside the GameObjects subfolders are now in the GameObjects namespace.
* Added a Resharper DotSettings file to mark the GameObjects subfolders as not providing namespaces.
* Simplified Robust.client.Graphics namespace.
* Automated remove redundant using statements.
2021-02-10 23:27:19 -08:00

34 lines
941 B
C#

namespace Robust.Client.Graphics
{
/// <summary>
/// Provides frame statistics about rendering.
/// </summary>
internal interface IClydeDebugStats
{
/// <summary>
/// The amount of draw calls sent to OpenGL last frame.
/// </summary>
int LastGLDrawCalls { get; }
/// <summary>
/// The amount of Clyde draw calls done last frame.
/// </summary>
/// <remarks>
/// This is stuff like <see cref="DrawingHandleScreen.DrawTexture"/>.
/// </remarks>
int LastClydeDrawCalls { get; }
/// <summary>
/// The amount of batches made.
/// </summary>
int LastBatches { get; }
(int vertices, int indices) LargestBatchSize { get; }
/// <summary>
/// The amount of lights that were rendered last frame.
/// </summary>
int TotalLights { get; }
}
}