PFND3DDDI_SETSTREAMSOURCEUM callback function (d3dumddi.h)
The SetStreamSourceUM function binds a vertex stream source to a user memory buffer.
PFND3DDDI_SETSTREAMSOURCEUM Pfnd3dddiSetstreamsourceum;
HRESULT Pfnd3dddiSetstreamsourceum(
[in] HANDLE hDevice,
const D3DDDIARG_SETSTREAMSOURCEUM *unnamedParam2,
const VOID *unnamedParam3
)
{...}
[in] hDevice
A handle to the display device (graphics context).
unnamedParam2
pData [in]
A pointer to a D3DDDIARG_SETSTREAMSOURCEUM structure that specifies the vertex stream source to bind.
unnamedParam3
pUMBuffer [in]
A pointer to the user-memory buffer that supplies the vertex data for the vertex stream source.
SetStreamSourceUM returns S_OK or an appropriate error result if the vertex stream source is not successfully bound.
Requirement | Value |
---|---|
Minimum supported client | Available in Windows Vista and later versions of the Windows operating systems. |
Target Platform | Desktop |
Header | d3dumddi.h (include D3dumddi.h) |