?/TD>
Microsoft DirectX 9.0

D3DRASTER_STATUS Structure


Describes the raster status.

Syntax

typedef struct _D3DRASTER_STATUS {
    BOOL InVBlank;
    UINT ScanLine;
} D3DRASTER_STATUS;

Members

InVBlank
TRUE if the raster is in the vertical blank period. FALSE if the raster is not in the vertical blank period.
ScanLine
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 Microsoft?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.

Structure Information

Headerd3d9types.h
Minimum operating systems Windows 98

See Also

IDirect3DDevice9::GetRasterStatus


© 2002 Microsoft Corporation. All rights reserved.