mirror of
https://github.com/jkocon/g-helper.git
synced 2026-02-23 13:00:52 +01:00
Experimental GPU overclock
This commit is contained in:
@@ -0,0 +1,43 @@
|
||||
using System.Runtime.InteropServices;
|
||||
using NvAPIWrapper.Native.Attributes;
|
||||
using NvAPIWrapper.Native.General.Structures;
|
||||
using NvAPIWrapper.Native.Interfaces;
|
||||
using NvAPIWrapper.Native.Interfaces.Display;
|
||||
|
||||
namespace NvAPIWrapper.Native.Display.Structures
|
||||
{
|
||||
/// <inheritdoc cref="IDisplayDVCInfo" />
|
||||
[StructLayout(LayoutKind.Sequential, Pack = 8)]
|
||||
[StructureVersion(1)]
|
||||
public struct PrivateDisplayDVCInfo : IInitializable, IDisplayDVCInfo
|
||||
{
|
||||
internal StructureVersion _Version;
|
||||
internal int _CurrentLevel;
|
||||
internal int _MinimumLevel;
|
||||
internal int _MaximumLevel;
|
||||
|
||||
/// <inheritdoc />
|
||||
public int CurrentLevel
|
||||
{
|
||||
get => _CurrentLevel;
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
public int MinimumLevel
|
||||
{
|
||||
get => _MinimumLevel;
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
int IDisplayDVCInfo.DefaultLevel
|
||||
{
|
||||
get => 0;
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
public int MaximumLevel
|
||||
{
|
||||
get => _MaximumLevel;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user