1
0
mirror of https://github.com/Artemis-RGB/Artemis synced 2025-12-13 05:48:35 +00:00
Artemis/src/Artemis.Core/Events/FrameRenderedEventArgs.cs

27 lines
700 B
C#

using System;
using RGB.NET.Core;
namespace Artemis.Core
{
/// <summary>
/// Provides data about frame rendering related events
/// </summary>
public class FrameRenderedEventArgs : EventArgs
{
internal FrameRenderedEventArgs(SKTexture texture, RGBSurface rgbSurface)
{
Texture = texture;
RgbSurface = rgbSurface;
}
/// <summary>
/// Gets the texture used to render this frame
/// </summary>
public SKTexture Texture { get; }
/// <summary>
/// Gets the RGB surface used to render this frame
/// </summary>
public RGBSurface RgbSurface { get; }
}
}