ID3D11DeviceContext::IASetInputLayout Method

Bind an input-layout object to the input-assembler stage.

Syntax

public:
void IASetInputLayout(
         ID3D11InputLayout *pInputLayout
)  

Parameters

pInputLayout
Type: ID3D11InputLayout *

[in, optional] 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

Header: Declared in d3d11_x.h (d3d11.h on other Windows platforms).

Library: Use d3d11_x.lib (d3d11.lib on other Windows platforms).

See also

ID3D11DeviceContext

ID3D11DeviceContext Members