ID3D10EffectShaderVariable::GetVertexShader method (d3d10effect.h)
Get a vertex shader.
Syntax
HRESULT GetVertexShader(
[in] UINT ShaderIndex,
[out] ID3D10VertexShader **ppVS
);
Parameters
[in] ShaderIndex
Type: UINT
A zero-based index.
[out] ppVS
Type: ID3D10VertexShader**
A pointer to a ID3D10VertexShader Interface.
Return value
Type: HRESULT
Returns one of the following Direct3D 10 Return Codes.
Requirements
Requirement | Value |
---|---|
Target Platform | Windows |
Header | d3d10effect.h |