Property | Type | Description | |
---|---|---|---|
DisplayResolution | System |
Method | Description | |
---|---|---|
DisplayResolution ( int width, int height, int bitsPerPixel, float refreshRate, |
Creates a new DisplayResolution object for the specified DisplayDevice. OpenTK will select the closest match between all available resolutions on the specified DisplayDevice. |
|
DisplayResolution ( int x, int y, int width, int height, int bitsPerPixel, float refreshRate ) : System | ||
Equals ( object obj ) : bool |
Determines whether the specified resolutions are equal.
|
|
GetHashCode ( ) : int |
Returns a unique hash representing this resolution.
|
|
ToString ( ) : string |
Returns a System.String representing this DisplayResolution.
|
|
operator ( ) : bool |
Compares two instances for equality.
|
Method | Description | |
---|---|---|
DisplayResolution ( ) : System |
public DisplayResolution ( int width, int height, int bitsPerPixel, float refreshRate, |
||
width | int | The requested width in pixels. |
height | int | The requested height in pixels. |
bitsPerPixel | int | The requested bits per pixel in bits. |
refreshRate | float | The requested refresh rate in hertz. |
device | ||
return | System |
public DisplayResolution ( int x, int y, int width, int height, int bitsPerPixel, float refreshRate ) : System | ||
x | int | |
y | int | |
width | int | |
height | int | |
bitsPerPixel | int | |
refreshRate | float | |
return | System |
public Equals ( object obj ) : bool | ||
obj | object | The System.Object to check against. |
return | bool |