|Microsoft DirectX 9.0|
Applications use the methods of the IDirect3DResource9 interface to query and prepare resources.
Frees the specified private data associated with this resource.
Retrieves the device associated with a resource.
Returns the number of texture levels in a multilevel texture.
Retrieves the priority for this resource.
Copies the private data associated with the resource to a provided buffer.
Returns the type of the resource.
Preloads a managed resource.
Assigns the resource-management priority for this resource.
Associates data with the resource that is intended for use by the application, not by Microsoft?Direct3D? Data is passed by value, and multiple sets of data can be associated with a single resource.
To create a texture resource, you can call one of the following methods.
To create a geometry-oriented resource, you can call one of the following methods.
This interface, like all Component Object Model (COM) interfaces, inherits from the IUnknown interface.
The LPDIRECT3DRESOURCE9 and PDIRECT3DRESOURCE9 types are defined as pointers to the IDirect3DResource9 interface.typedef struct IDirect3DResource9 *LPDIRECT3DRESOURCE9, *PDIRECT3DRESOURCE9;
Inherits from IUnknown Header d3d9.h Import library d3d9.lib Minimum operating systems Windows 98