ID3D10EffectShaderResourceVariable::GetResource method (d3d10effect.h)
Get a shader resource.
Syntax
HRESULT GetResource(
[out] ID3D10ShaderResourceView **ppResource
);
Parameters
[out] ppResource
Type: ID3D10ShaderResourceView**
The address of a pointer to a shader-resource-view interface. See ID3D10ShaderResourceView Interface.
Return value
Type: HRESULT
Returns one of the following Direct3D 10 Return Codes.
Requirements
Requirement | Value |
---|---|
Target Platform | Windows |
Header | d3d10effect.h |