D3DRASTER_STATUS structure

Describes the raster status.

Syntax


typedef struct D3DRASTER_STATUS {
  BOOL InVBlank;
  UINT ScanLine;
} D3DRASTER_STATUS, *LPD3DRASTER_STATUS;

Members

InVBlank

Type: BOOL

TRUE if the raster is in the vertical blank period. FALSE if the raster is not in the vertical blank period.

ScanLine

Type: UINT

If InVBlank is FALSE, then this value is an integer roughly corresponding to the current scan line painted by the raster. Scan lines are numbered in the same way as Direct3D surface coordinates: 0 is the top of the primary surface, extending to the value (height of the surface - 1) at the bottom of the display.

If InVBlank is TRUE, then this value is set to zero and can be ignored.

Requirements

Header

D3D9Types.h

See also

Direct3D Structures
GetRasterStatus

 

 

Show: