IDirect3DResource8

This interface is used by applications to query and prepare resources.

You can create a texture resource by calling IDirect3DDevice8::CreateTexture

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

The IDirect3DResource8 interface, like all COM interfaces, inherits the IUnknown interface methods. The IUnknown interface supports the following three methods.

IUnknown AddRef
  QueryInterface
  Release

The LPDIRECT3DRESOURCE8 and PDIRECT3DRESOURCE8 types are defined as pointers to the IDirect3DResource8 interface.

typedef struct IDirect3DResource8 *LPDIRECT3DRESOURCE8, *PDIRECT3DRESOURCE8;

Requirements

OS Versions: Windows CE .NET 4.0 and later.
Header: D3d8.h.
Link Library: D3d8.lib.

See Also

Direct3D Interfaces

 Last updated on Thursday, April 08, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.