The D3DDP_PTRSTRIDE structure contains the address of an array of flexible vertex format components and the stride to the next element in the array. This structure is contained by the D3DDRAWPRIMITIVESTRIDEDDATA structure.
typedef struct _D3DDP_PTRSTRIDE {
LPVOID lpvData;
DWORD dwStride;
} D3DDP_PTRSTRIDE;
This structure can be used with a composite vertex format (like the D3DLVERTEX structure) or a distinct array of vertex components. In a composite vertex format, the lpvData points to a particular component, and the dwStride member is the stride, in bytes, of the composite format. In an array that contains only one vertex component, the dwStride member should be the stride of each element in the array.
Windows NT/2000: Requires Windows 2000.
Windows 95/98: Requires Windows 95 or later. Available as a redistributable for Windows 95.
Header: Declared in d3dtypes.h.