Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ID3D11ShaderResourceView1 interface

A shader-resource-view interface represents the subresources a shader can access during rendering. Examples of shader resources include a constant buffer, a texture buffer, and a texture.

Members

The ID3D11ShaderResourceView1 interface inherits from ID3D11ShaderResourceView. ID3D11ShaderResourceView1 also has these types of members:

Methods

The ID3D11ShaderResourceView1 interface has these methods.

MethodDescription
GetDesc1

Gets the shader-resource view's description.

 

Remarks

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

A shader-resource view is required when binding a resource to a shader stage; the binding occurs by calling ID3D11DeviceContext::GSSetShaderResources, ID3D11DeviceContext::VSSetShaderResources or ID3D11DeviceContext::PSSetShaderResources.

Requirements

Minimum supported client

Windows 10 [desktop apps | UWP apps]

Minimum supported server

Windows Server 2016 [desktop apps | Windows Store apps]

Header

D3D11_3.h

Library

D3D11.lib

See also

ID3D11ShaderResourceView
Resource Interfaces

 

 

Show:
© 2017 Microsoft