IDirect3DSurface9 interface
Applications use the methods of the IDirect3DSurface9 interface to query and prepare surfaces.
Members
The IDirect3DSurface9 interface inherits from IDirect3DResource9. IDirect3DSurface9 also has these types of members:
Methods
The IDirect3DSurface9 interface has these methods.
| Method | Description |
|---|---|
| GetContainer |
Provides access to the parent cube texture or texture (mipmap) object, if this surface is a child level of a cube texture or a mipmap. This method can also provide access to the parent swap chain if the surface is a back-buffer child. |
| GetDC |
Retrieves a device context. |
| GetDesc |
Retrieves a description of the surface. |
| LockRect |
Locks a rectangle on a surface. |
| ReleaseDC |
Release a device context handle. |
| UnlockRect |
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
|
Header |
|
|---|---|
|
Library |
|
See also