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