Struct DisplayResolution
Represents a display resolution.
Inherited Members
Namespace: OpenTK.Core.Platform
Assembly: OpenTK.Core.dll
Syntax
public readonly struct DisplayResolution
Constructors
DisplayResolution(int, int)
Initializes a new instance of the DisplayResolution struct with the specified vertical and horizontal resolution.
Declaration
public DisplayResolution(int resolutionX, int resolutionY)
Parameters
Type | Name | Description |
---|---|---|
int | resolutionX | The horizontal resolution. |
int | resolutionY | The vertical resolution. |
Fields
ResolutionX
The horizontal resolution in pixels.
Declaration
public readonly int ResolutionX
Field Value
Type | Description |
---|---|
int |
ResolutionY
The vertical resolution in pixels.
Declaration
public readonly int ResolutionY
Field Value
Type | Description |
---|---|
int |
Methods
ToString()
Returns the fully qualified type name of this instance.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
string | The fully qualified type name. |