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.
Set a shader resource.
Syntax
HRESULT SetResource(
[in] ID3D10ShaderResourceView *pResource
);
Parameters
[in] pResource
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 |