ID3D10ShaderResourceView1 interface (d3d10_1.h)

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.

Inheritance

The ID3D10ShaderResourceView1 interface inherits from ID3D10ShaderResourceView. ID3D10ShaderResourceView1 also has these types of members:

Methods

The ID3D10ShaderResourceView1 interface has these methods.

 
ID3D10ShaderResourceView1::GetDesc1

Get the shader resource view's description. (ID3D10ShaderResourceView1.GetDesc1)

Remarks

To create a shader-resource view, call ID3D10Device1::CreateShaderResourceView1.

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.

This method requires Windows Vista Service Pack 1.

Requirements

Requirement Value
Target Platform Windows
Header d3d10_1.h (include D3D10Shader.h)

See also

ID3D10ShaderResourceView

Resource Interfaces