Skip to content

Latest commit

 

History

History
77 lines (57 loc) · 2.54 KB

nc-d3dumddi-pfnd3dddi_setstreamsource.md

File metadata and controls

77 lines (57 loc) · 2.54 KB
UID title description old-location tech.root ms.date keywords ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames f1_keywords topic_type api_type api_location api_name
NC:d3dumddi.PFND3DDDI_SETSTREAMSOURCE
PFND3DDDI_SETSTREAMSOURCE (d3dumddi.h)
The SetStreamSource function binds a portion of a vertex stream source to a vertex buffer.
display\setstreamsource.htm
display
05/10/2018
PFND3DDDI_SETSTREAMSOURCE callback function
PFND3DDDI_SETSTREAMSOURCE, PFND3DDDI_SETSTREAMSOURCE callback, SetStreamSource, SetStreamSource callback function [Display Devices], UserModeDisplayDriver_Functions_c84f438f-92b5-4d01-8d27-275deedc29e4.xml, d3dumddi/SetStreamSource, display.setstreamsource
d3dumddi.h
D3dumddi.h
Desktop
Available in Windows Vista and later versions of the Windows operating systems.
Windows
PFND3DDDI_SETSTREAMSOURCE
d3dumddi/PFND3DDDI_SETSTREAMSOURCE
APIRef
kbSyntax
UserDefined
d3dumddi.h
PFND3DDDI_SETSTREAMSOURCE

PFND3DDDI_SETSTREAMSOURCE callback function

-description

The SetStreamSource function binds a portion of a vertex stream source to a vertex buffer.

-parameters

-param hDevice

A handle to the display device (graphics context).

-param unnamedParam2

pData [in]

A pointer to a D3DDDIARG_SETSTREAMSOURCE structure that specifies the portion of the vertex stream source to bind.

-returns

SetStreamSource returns S_OK or an appropriate error result if the portion of the vertex stream source is not successfully bound.

-remarks

The Microsoft Direct3D runtime calls the user-mode display driver's SetStreamSource function to store vertex data of multiple vertex formats in a single vertex data stream. The runtime notifies the driver of where vertex data of a particular format is located in the vertex data stream by supplying the stream offset, in bytes, to the beginning of that vertex data.

-see-also

D3DDDIARG_SETSTREAMSOURCE

D3DDDI_DEVICEFUNCS