D3DPICKRECORD

typedef struct _D3DPICKRECORD {

BYTE bOpcode;

BYTE bPad;

DWORD dwOffset;

D3DVALUE dvZ;

} D3DPICKRECORD, *LPD3DPICKRECORD;

Returns information about picked primitives in an execute buffer for the IDirect3DDevice::GetPickRecords method.

bOpcode

Opcode of the picked primitive.

bPad

Pad byte.

dwOffset

Offset from the start of the execute buffer in which the picked primitive was found.

dvZ

Depth of the picked primitive.

The x- and y-coordinates of the picked primitive are specified in the call to the IDirect3DDevice::Pick method that created the pick records.