Düzenle

Aracılığıyla paylaş


IDirect3DSurface9 interface (d3d9.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 (d3d9.h) method provides access to the parent cube texture or texture (mipmap) object.
IDirect3DSurface9::GetDC

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

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

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

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

The IDirect3DSurface9::UnlockRect (d3d9.h) method 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

Requirement Value
Target Platform Windows
Header d3d9.h (include D3D9.h)

See also

Direct3D Interfaces

IDirect3DResource9