Skip to content

Latest commit

 

History

History
80 lines (61 loc) · 2.69 KB

ns-d3dumddi-_d3dddiarg_setstreamsource.md

File metadata and controls

80 lines (61 loc) · 2.69 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
NS:d3dumddi._D3DDDIARG_SETSTREAMSOURCE
_D3DDDIARG_SETSTREAMSOURCE (d3dumddi.h)
The D3DDDIARG_SETSTREAMSOURCE structure describes the portion of the vertex stream to bind to a vertex buffer.
display\d3dddiarg_setstreamsource.htm
display
05/10/2018
D3DDDIARG_SETSTREAMSOURCE structure
D3DDDIARG_SETSTREAMSOURCE, D3DDDIARG_SETSTREAMSOURCE structure [Display Devices], UMDisplayDriver_param_Structs_f90eed83-1d01-4502-84e4-22cff72016d6.xml, _D3DDDIARG_SETSTREAMSOURCE, d3dumddi/D3DDDIARG_SETSTREAMSOURCE, display.d3dddiarg_setstreamsource
d3dumddi.h
D3dumddi.h
Windows
Available in Windows Vista and later versions of the Windows operating systems.
Windows
D3DDDIARG_SETSTREAMSOURCE
_D3DDDIARG_SETSTREAMSOURCE
d3dumddi/_D3DDDIARG_SETSTREAMSOURCE
D3DDDIARG_SETSTREAMSOURCE
d3dumddi/D3DDDIARG_SETSTREAMSOURCE
APIRef
kbSyntax
HeaderDef
d3dumddi.h
_D3DDDIARG_SETSTREAMSOURCE
D3DDDIARG_SETSTREAMSOURCE

_D3DDDIARG_SETSTREAMSOURCE structure

-description

The D3DDDIARG_SETSTREAMSOURCE structure describes the portion of the vertex stream to bind to a vertex buffer.

-struct-fields

-field Stream [in]

The stream to bind, which is a value between zero and the maximum number of streams that are specified by the driver.

-field hVertexBuffer [in]

A handle to the vertex buffer. If this member is zero, the stream should no longer be bound to a vertex buffer.

-field Offset [in]

The offset in bytes into the stream.

The Offset value must be DWORD-aligned.

-field Stride [in]

The size, in bytes, from one vertex to the next vertex. If Stride is set to zero, all of the vertices receive the same data for processing.

For example, an application might use two input source streams where the first stream contains position information and the second stream contains normal information. If stride for the second stream is set to zero, all of the vertices in the second stream use the same normal information, which is the first normal information that occurs in the second stream.

The Stride value must be DWORD-aligned.

-see-also

SetStreamSource