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.

ID3D11Resource interface

A resource interface provides common actions on all resources.

Members

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

Methods

The ID3D11Resource interface has these methods.

MethodDescription
GetEvictionPriority

Get the eviction priority of a resource.

GetType

Get the type of the resource.

SetEvictionPriority

Set the eviction priority of a resource.

 

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

Minimum supported client

Windows 7 [desktop apps | Windows Store apps]

Minimum supported server

Windows Server 2008 R2 [desktop apps | Windows Store apps]

Minimum supported phone

Windows Phone 8

Header

D3D11.h

Library

D3D11.lib

See also

ID3D11DeviceChild
Resource Interfaces

 

 

Show:
© 2016 Microsoft