Platform SDK: DirectX |
The Direct3DDevice7.GetRenderTarget method retrieves the DirectDrawSurface7 object that is being used as a render target.
object.GetRenderTarget() As DirectDrawSurface7
If the method succeeds, a reference to the render-target surface (a DirectDrawSurface7 object) is returned.
If the method fails, an error is raised and Err.Number will be set to DDERR_INVALIDPARAMS if one of the parameters is invalid.