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

 

 

커뮤니티 추가 항목

표시:
© 2015 Microsoft