IDirect3DMobileSurface (Windows CE 5.0)
This interface is exposed by any object that has a height, width, pixel format, and a buffer associated with it. This includes the front and back buffers, the depth buffer, and individual texture map levels. This interface includes methods to lock the surface, to retrieve a pointer to the surface buffer, and other methods used to query surface details.
Methods
The following table shows the methods for this interface by functional grouping. Like all COM interfaces, this interface inherits the methods for the IUnknown interface.
Grouping | Methods |
---|---|
Container | GetContainer |
Devices | GetDC |
Information | GetDesc |
Locking | LockRect |
Obtaining a Pointer
You can obtain a pointer to an IDirect3DMobileSurface interfaces by calling any one of the following methods
- IDirect3DMobileDevice::CreateDepthStencilSurface
- IDirect3DMobileDevice::CreateImageSurface
- IDirect3DMobileDevice::CreateRenderTarget
- IDirect3DMobileDevice::GetBackBuffer
- IDirect3DMobileDevice::GetDepthStencilSurface
- IDirect3DMobileDevice::GetFrontBuffer
- IDirect3DMobileDevice::GetRenderTarget
- IDirect3DMobileSwapChain::GetBackBuffer
- IDirect3DMobileTexture::GetSurfaceLevel
Requirements
OS Versions: Windows CE 5.0 and later.
Header: D3dm.h.
Link Library: D3dm.lib, D3dmguid.lib.
See Also
Send Feedback on this topic to the authors