mirror of
https://github.com/jkocon/g-helper.git
synced 2026-02-23 13:00:52 +01:00
26 lines
769 B
C#
26 lines
769 B
C#
using System.Runtime.InteropServices;
|
|
using NvAPIWrapper.Native.Attributes;
|
|
using NvAPIWrapper.Native.General.Structures;
|
|
using NvAPIWrapper.Native.Interfaces;
|
|
|
|
namespace NvAPIWrapper.Native.Display.Structures
|
|
{
|
|
/// <summary>
|
|
/// Contains information regarding the scan-out warping state
|
|
/// </summary>
|
|
[StructLayout(LayoutKind.Sequential, Pack = 8)]
|
|
[StructureVersion(1)]
|
|
public struct ScanOutWarpingStateV1 : IInitializable
|
|
{
|
|
internal StructureVersion _Version;
|
|
internal uint _IsEnabled;
|
|
|
|
/// <summary>
|
|
/// Gets a boolean value indicating if the scan out warping is enabled or not
|
|
/// </summary>
|
|
public bool IsEnabled
|
|
{
|
|
get => _IsEnabled > 0;
|
|
}
|
|
}
|
|
} |