//
// VideoMode.cs
//
// Copyright (C) 2018 OpenTK
//
// This software may be modified and distributed under the terms
// of the MIT license. See the LICENSE file for details.
//
using System.Runtime.InteropServices;
namespace OpenToolkit.GraphicsLibraryFramework
{
///
/// Replicated handle to a GLFW VideoMode.
///
[StructLayout(LayoutKind.Sequential, Pack = 1)]
public struct VideoMode
{
///
/// The width, in screen coordinates, of the .
///
public int Width;
///
/// The height, in screen coordinates, of the .
///
public int Height;
///
/// The bit depth of the red channel of the .
///
public int RedBits;
///
/// The bit depth of the green channel of the .
///
public int GreenBits;
///
/// The bit depth of the blue channel of the .
///
public int BlueBits;
///
/// The refresh rate, in Hz, of the .
///
public int RefreshRate;
}
}