IDirect3DSurface9 interface (d3d9helper.h)

Applications use the methods of the IDirect3DSurface9 interface to query and prepare surfaces.

Inheritance

The IDirect3DSurface9 interface inherits from IDirect3DResource9. IDirect3DSurface9 also has these types of members:

Methods

The IDirect3DSurface9 interface has these methods.

 
IDirect3DSurface9::GetContainer

The IDirect3DSurface9::GetContainer method (d3d9helper.h) provides access to the parent cube texture or texture (mipmap) object.
IDirect3DSurface9::GetDC

The IDirect3DSurface9::GetDC method (d3d9helper.h) retrieves a device context.
IDirect3DSurface9::GetDesc

The IDirect3DSurface9::GetDesc method (d3d9helper.h) retrieves a description of the surface.
IDirect3DSurface9::LockRect

The IDirect3DSurface9::LockRect method (d3d9helper.h) locks a rectangle on a surface.
IDirect3DSurface9::ReleaseDC

The IDirect3DSurface9::ReleaseDC method (d3d9helper.h) releases a device context handle.
IDirect3DSurface9::UnlockRect

The IDirect3DSurface9::UnlockRect method (d3d9helper.h) unlocks a rectangle on a surface.

Remarks

The LPDIRECT3DSURFACE9 and PDIRECT3DSURFACE9 types are defined as pointers to the IDirect3DSurface9 interface.


typedef struct IDirect3DSurface9 *LPDIRECT3DSURFACE9, *PDIRECT3DSURFACE9;

Requirements

   
Target Platform Windows
Header d3d9helper.h (include D3D9.h)

See also

Direct3D Interfaces

IDirect3DResource9