Microsoft DirectX 8.1 (Visual Basic) |
Retrieves a pointer to the Microsoft® Direct3D® surface that is being used as a render target.
object.GetRenderTarget() As Direct3DSurface8
A Direct3DSurface8 object, representing the returned render target surface for this device.
If the method fails, an error is raised and Err.Number may be set to D3DERR_INVALIDCALL if one of the parameters is invalid.
For information on trapping errors, see the Microsoft® Visual Basic® Error Handling topic.