D3DDDIARG_SETSTREAMSOURCEUM - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// d3dumddi.h

typedef struct _D3DDDIARG_SETSTREAMSOURCEUM {
  [in] UINT Stream;
  [in] UINT Stride;
} D3DDDIARG_SETSTREAMSOURCEUM;
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (ns-d3dumddi-_d3dddiarg_setstreamsourceum)

_D3DDDIARG_SETSTREAMSOURCEUM structure

Description

The D3DDDIARG_SETSTREAMSOURCEUM structure describes the vertex stream to bind to a user-memory buffer.

Members

Stream [in]

The index, starting from zero, for the vertex stream to bind to a user-memory buffer.

Stride [in]

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.

See also

SetStreamSourceUM