| Microsoft DirectX 8.1 (C++) | 
Applications use the methods of the IDirect3DResource8 interface to query and prepare resources.
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.
The methods of the IDirect3DResource8 interface can be organized into the following groups.
| Devices | GetDevice | 
| Information | GetType | 
| Private Surface Data | FreePrivateData | 
| GetPrivateData | |
| SetPrivateData | |
| Resource Management | GetPriority | 
| PreLoad | |
| SetPriority | 
This interface, like all COM interfaces, inherits from the IUnknown Interface.
The LPDIRECT3DRESOURCE8 and PDIRECT3DRESOURCE8 types are defined as pointers to the IDirect3DResource8 interface.
typedef struct IDirect3DResource8 *LPDIRECT3DRESOURCE8, *PDIRECT3DRESOURCE8;
  Header: Declared in D3d8.h.
  Import Library: Use D3d8.lib.