2025-11-09 12:05:07 +01:00
|
|
|
|
|
|
|
|
using System.Text.Json.Serialization;
|
2017-10-14 00:06:58 +02:00
|
|
|
|
|
|
|
|
namespace ElectronNET.API.Entities
|
|
|
|
|
{
|
2017-10-24 21:43:27 +02:00
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
2017-10-14 00:06:58 +02:00
|
|
|
public class GPUFeatureStatus
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
2020-05-31 03:09:54 +02:00
|
|
|
/// Canvas.
|
2017-10-14 00:06:58 +02:00
|
|
|
/// </summary>
|
2025-11-09 12:05:07 +01:00
|
|
|
[JsonPropertyName("2d_canvas")]
|
2017-10-14 00:06:58 +02:00
|
|
|
public string Canvas { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
2020-05-31 03:09:54 +02:00
|
|
|
/// Flash.
|
2017-10-14 00:06:58 +02:00
|
|
|
/// </summary>
|
2025-11-09 12:05:07 +01:00
|
|
|
[JsonPropertyName("flash_3d")]
|
2017-10-14 00:06:58 +02:00
|
|
|
public string Flash3D { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
2020-05-31 03:09:54 +02:00
|
|
|
/// Flash Stage3D.
|
2017-10-14 00:06:58 +02:00
|
|
|
/// </summary>
|
2025-11-09 12:05:07 +01:00
|
|
|
[JsonPropertyName("flash_stage3d")]
|
2017-10-14 00:06:58 +02:00
|
|
|
public string FlashStage3D { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
2020-05-31 03:09:54 +02:00
|
|
|
/// Flash Stage3D Baseline profile.
|
2017-10-14 00:06:58 +02:00
|
|
|
/// </summary>
|
2025-11-09 12:05:07 +01:00
|
|
|
[JsonPropertyName("flash_stage3d_baseline")]
|
2017-10-14 00:06:58 +02:00
|
|
|
public string FlashStage3dBaseline { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
2020-05-31 03:09:54 +02:00
|
|
|
/// Compositing.
|
2017-10-14 00:06:58 +02:00
|
|
|
/// </summary>
|
2025-11-09 12:05:07 +01:00
|
|
|
[JsonPropertyName("gpu_compositing")]
|
2017-10-14 00:06:58 +02:00
|
|
|
public string GpuCompositing { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
2020-05-31 03:09:54 +02:00
|
|
|
/// Multiple Raster Threads.
|
2017-10-14 00:06:58 +02:00
|
|
|
/// </summary>
|
2025-11-09 12:05:07 +01:00
|
|
|
[JsonPropertyName("multiple_raster_threads")]
|
2017-10-14 00:06:58 +02:00
|
|
|
public string MultipleRasterThreads { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
2020-05-31 03:09:54 +02:00
|
|
|
/// Native GpuMemoryBuffers.
|
2017-10-14 00:06:58 +02:00
|
|
|
/// </summary>
|
2025-11-09 12:05:07 +01:00
|
|
|
[JsonPropertyName("native_gpu_memory_buffers")]
|
2017-10-14 00:06:58 +02:00
|
|
|
public string NativeGpuMemoryBuffers { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
2020-05-31 03:09:54 +02:00
|
|
|
/// Rasterization.
|
2017-10-14 00:06:58 +02:00
|
|
|
/// </summary>
|
|
|
|
|
public string Rasterization { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
2020-05-31 03:09:54 +02:00
|
|
|
/// Video Decode.
|
2017-10-14 00:06:58 +02:00
|
|
|
/// </summary>
|
2025-11-09 12:05:07 +01:00
|
|
|
[JsonPropertyName("video_decode")]
|
2017-10-14 00:06:58 +02:00
|
|
|
public string VideoDecode { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
2020-05-31 03:09:54 +02:00
|
|
|
/// Video Encode.
|
2017-10-14 00:06:58 +02:00
|
|
|
/// </summary>
|
2025-11-09 12:05:07 +01:00
|
|
|
[JsonPropertyName("video_encode")]
|
2017-10-14 00:06:58 +02:00
|
|
|
public string VideoEncode { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
2020-05-31 03:09:54 +02:00
|
|
|
/// VPx Video Decode.
|
2017-10-14 00:06:58 +02:00
|
|
|
/// </summary>
|
2025-11-09 12:05:07 +01:00
|
|
|
[JsonPropertyName("vpx_decode")]
|
2017-10-14 00:06:58 +02:00
|
|
|
public string VpxDecode { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
2020-05-31 03:09:54 +02:00
|
|
|
/// WebGL.
|
2017-10-14 00:06:58 +02:00
|
|
|
/// </summary>
|
|
|
|
|
public string Webgl { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
2020-05-31 03:09:54 +02:00
|
|
|
/// WebGL2.
|
2017-10-14 00:06:58 +02:00
|
|
|
/// </summary>
|
|
|
|
|
public string Webgl2 { get; set; }
|
|
|
|
|
}
|
|
|
|
|
}
|