Platform SDK: DirectX |
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 in 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, lpvData points to a particular component, and dwStride is the stride, in bytes, of the composite format. In an array that contains only one vertex component, dwStride is 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.
Version: Requires DirectX 6.0 or later.
Header: Declared in d3dtypes.h.