Resource Interfaces

Resource Interfaces

There are a number of interfaces for the two basic types of resources: buffers and textures. There are also interfaces for views for resources.

Interfaces for Resources (Buffers and Textures)

ID3D11Buffer Accesses buffer data.
ID3D11Resource Base class for a resource.
ID3D11Texture1D Accesses data in a 1D texture or a 1D texture array.
ID3D11Texture2D Accesses data in a 2D texture or a 2D texture array
ID3D11Texture2D1 Represents 2D texel data, which is structured memory.
ID3D11Texture3D Accesses data in a 3D texture or a 3D texture array.
ID3D11Texture3D1 Represents 3D texel data, which is structured memory.


Interfaces for Views for Resources

An application uses a view to bind a resource to a pipeline stage. The view defines how the resource can be accessed during rendering. The API contains the following view interfaces.

ID3D11DepthStencilView Accesses data in a depth-stencil texture.
ID3D11RenderTargetView Accesses data in a render target.
ID3D11RenderTargetView1 Represents the render-target subresources that can be accessed during rendering.
ID3D11ShaderResourceView Accesses data in a shader-resource.
ID3D11ShaderResourceView1 Represents the subresources a shader can access during rendering.
ID3D11UnorderedAccessView Accesses data in an unordered resource.
ID3D11UnorderedAccessView1 Represents the parts of a resource the pipeline can access during rendering.
ID3D11View Accesses data in a resource.


Related topics

Resource Reference



© 2016 Microsoft