Windows Dev Center

Expand Minimize

ID3D10Device::VSSetShader method

Set a vertex shader to the device.

Syntax


void VSSetShader(
  [in] ID3D10VertexShader *pVertexShader
);

Parameters

pVertexShader [in]

Type: ID3D10VertexShader*

Pointer to a vertex shader (see ID3D10VertexShader). Passing in NULL disables the shader for this pipeline stage.

Return value

Returns nothing.

Remarks

The method will not hold a reference to the interfaces passed in. For that reason, applications should be careful not to release an interface currently in use by the device.

Requirements

Header

D3D10.h

Library

D3D10.lib

See also

ID3D10Device Interface

 

 

Community Additions

ADD
Show:
© 2015 Microsoft