The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
DXGI_RATIONAL structure
Represents a rational number.
Syntax
typedef struct DXGI_RATIONAL { UINT Numerator; UINT Denominator; } DXGI_RATIONAL;
Members
- Numerator
-
Type: UINT
-
An unsigned integer value representing the top of the rational number.
- Denominator
-
Type: UINT
-
An unsigned integer value representing the bottom of the rational number.
Remarks
This structure is a member of the DXGI_MODE_DESC structure.
The DXGI_RATIONAL structure operates under the following rules:
- 0/0 is legal and will be interpreted as 0/1.
- 0/anything is interpreted as zero.
- If you are representing a whole number, the denominator should be 1.
Requirements
|
Header |
|
|---|
See also
Show: