Microsoft DirectX 8.1 (C++) |
Applications use the methods of the IDirect3DSurface8 interface to query and prepare surfaces.
The methods of the IDirect3DSurface8 interface can be organized into the following groups.
Devices | GetDevice |
Information | GetContainer |
GetDesc | |
Locking Surfaces | LockRect |
UnlockRect | |
Private Surface Data | FreePrivateData |
GetPrivateData | |
SetPrivateData |
This interface, like all COM interfaces, inherits from the IUnknown Interface.
The LPDIRECT3DSURFACE8 and PDIRECT3DSURFACE8 types are defined as pointers to the IDirect3DSurface8 interface.
typedef struct IDirect3DSurface8 *LPDIRECT3DSURFACE8, *PDIRECT3DSURFACE8;
Header: Declared in D3d8.h.
Import Library: Use D3d8.lib.