ID3D11DeviceContext::IASetInputLayout method (d3d11.h)
Bind an input-layout object to the input-assembler stage.
Syntax
void IASetInputLayout(
[in, optional] ID3D11InputLayout *pInputLayout
);
Parameters
[in, optional] pInputLayout
Type: ID3D11InputLayout*
A pointer to the input-layout object (see ID3D11InputLayout), which describes the input buffers that will be read by the IA stage.
Return value
None
Remarks
Input-layout objects describe how vertex buffer data is streamed into the IA pipeline stage. To create an input-layout object, call ID3D11Device::CreateInputLayout.
The method will hold a reference to the interfaces passed in. This differs from the device state behavior in Direct3D 10.
Requirements
Requirement | Value |
---|---|
Target Platform | Windows |
Header | d3d11.h |
Library | D3D11.lib |