ID3D11Resource interface (d3d11.h)

A resource interface provides common actions on all resources.

Inheritance

The ID3D11Resource interface inherits from ID3D11DeviceChild. ID3D11Resource also has these types of members:

Methods

The ID3D11Resource interface has these methods.

 
ID3D11Resource::GetEvictionPriority

Get the eviction priority of a resource. (ID3D11Resource.GetEvictionPriority)
ID3D11Resource::GetType

Get the type of the resource. (ID3D11Resource.GetType)
ID3D11Resource::SetEvictionPriority

Set the eviction priority of a resource. (ID3D11Resource.SetEvictionPriority)

Remarks

You don't directly create a resource interface; instead, you create buffers and textures that inherit from a resource interface. For more info, see How to: Create a Vertex Buffer, How to: Create an Index Buffer, How to: Create a Constant Buffer, and How to: Create a Texture.

Requirements

Requirement Value
Minimum supported client Windows 7 [desktop apps | UWP apps]
Minimum supported server Windows Server 2008 R2 [desktop apps | UWP apps]
Target Platform Windows
Header d3d11.h

See also

ID3D11DeviceChild

Resource Interfaces