ID3D10ShaderResourceView interface
A shader-resource-view interface specifies the subresources a shader can access during rendering. Examples of shader resources include a constant buffer, a texture buffer, a texture or a sampler.
Members
The ID3D10ShaderResourceView interface inherits from ID3D10View. ID3D10ShaderResourceView also has these types of members:
Methods
The ID3D10ShaderResourceView interface has these methods.
| Method | Description |
|---|---|
| GetDesc |
Get the shader resource view's description. |
Remarks
To create a shader-resource view, call ID3D10Device::CreateShaderResourceView.
A shader-resource view is required when binding a resource to a shader stage; the binding occurs by calling ID3D10Device::GSSetShaderResources, ID3D10Device::VSSetShaderResources or ID3D10Device::PSSetShaderResources.
Requirements
|
Header |
|
|---|---|
|
Library |
|
See also