Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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 |