Bemærk
Adgang til denne side kræver godkendelse. Du kan prøve at logge på eller ændre mapper.
Adgang til denne side kræver godkendelse. Du kan prøve at ændre mapper.
The SetStreamSourceUM function binds a vertex stream source to a user memory buffer.
Syntax
PFND3DDDI_SETSTREAMSOURCEUM Pfnd3dddiSetstreamsourceum;
HRESULT Pfnd3dddiSetstreamsourceum(
[in] HANDLE hDevice,
const D3DDDIARG_SETSTREAMSOURCEUM *unnamedParam2,
const VOID *unnamedParam3
)
{...}
Parameters
[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.
Return value
SetStreamSourceUM returns S_OK or an appropriate error result if the vertex stream source is not successfully bound.
Requirements
| 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) |