EN
本內容沒有您的語言版本,但有英文版本。

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

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

DXGI.h

See also

DXGI Structures

 

 

社群新增項目

顯示:
© 2014 Microsoft