mirror of
https://github.com/space-wizards/RobustToolbox.git
synced 2026-09-04 11:07:12 +02:00
31 lines
844 B
C#
31 lines
844 B
C#
using Robust.Client.Graphics.Drawing;
|
|
|
|
namespace Robust.Client.Interfaces.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; }
|
|
}
|
|
}
|