Important: |
---|
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist. |
A version of this page is also available for
4/8/2010
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 IUnknowninterface.
Grouping | Methods |
---|---|
Container |
|
Devices |
|
Information |
|
Locking |
Obtaining a Pointer
You can obtain a pointer to an IDirect3DMobileSurfaceinterfaces 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
Header | d3dm.h |
Library | D3dm.lib, D3dmguid.lib |
Windows Embedded CE | Windows CE 5.0 and later |
Windows Mobile | Windows Mobile Version 5.0 and later |