D3DDDIARG_SETSTREAMSOURCEUM structure (d3dumddi.h)
The D3DDDIARG_SETSTREAMSOURCEUM structure describes the vertex stream to bind to a user-memory buffer.
Syntax
typedef struct _D3DDDIARG_SETSTREAMSOURCEUM {
[in] UINT Stream;
[in] UINT Stride;
} D3DDDIARG_SETSTREAMSOURCEUM;
Members
[in] Stream
The index, starting from zero, for the vertex stream to bind to a user-memory buffer.
[in] Stride
The size, in bytes, from one vertex to the next vertex in the stream. In contrast to the call to the SetStreamSource function, Stride cannot be set to zero. Because only one stream can be bound to a user memory buffer, each vertex in the stream must receive different data for processing.
The Stride value must be DWORD-aligned.
Remarks
In a call to the user-mode display driver's SetStreamSourceUM function, a pointer to a D3DDDIARG_SETSTREAMSOURCEUM structure is passed in the pData parameter. The Microsoft Direct3D runtime supplies vertex data for the vertex stream through the pUMBuffer parameter in a call to the user-mode display driver's SetStreamSourceUM function.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Available in Windows Vista and later versions of the Windows operating systems. |
Header | d3dumddi.h (include D3dumddi.h) |