ID3D11View Interface

DirectX Graphics API - Core Objects

ID3D11View

The ID3D11View interface is the base interface for all view interfaces in Direct3D 11.

Interface Hierarchy

The ID3D11View interface is derived from ID3D11Object.


interface ID3D11View : ID3D11Object
{
    // Methods specific to ID3D11View
    void GetResource(ID3D11Resource** ppResource);
    void GetDesc( D3D11_VIEW_DESC* pDesc );
};
            

Methods

Method Description
GetResource Retrieves the resource that the view is bound to.
GetDesc Retrieves a description of the view.

Remarks

A view defines a specific way to access the data in a resource. For example, a ID3D11ShaderResourceView allows a shader to read from a texture, while a ID3D11RenderTargetView allows the pixel shader to write to a texture.

All view interfaces inherit from ID3D11View, providing a common way to query for the underlying resource and view description.

Derived Interfaces

The following interfaces derive from ID3D11View:

See Also

Direct3D 11 Core Structures

Direct3D 11 Objects