ID3D11VertexShader Interface

A vertex-shader interface manages an executable program (a vertex shader) that controls the vertex-shader stage.

Syntax

interface ID3D11VertexShader : public ID3D11DeviceChild  

Remarks

This interface inherits from another interface but does not have additional members.

The vertex-shader interface has no methods; use HLSL to implement your shader functionality. All shaders are implemented from a common set of features referred to as the common-shader core..

To create a vertex shader interface, call ID3D11Device::CreateVertexShader. Before using a vertex shader you must bind it to the device by calling ID3D11DeviceContext::VSSetShader.

This interface is defined in D3D11.h.

Requirements

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

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