Microsoft DirectX 8.1 (Visual Basic) |
Retrieves a back buffers from the swap chain of the device.
object.GetBackBuffer( _ BackBuffer As Long, _ BufferType As CONST_D3DBACKBUFFERTYPE) As Direct3DSurface8
A Direct3DSurface8 object, representing the returned back buffer surface.
If BackBuffer exceeds or equals the total number of back buffers, an error is raised and Err.Number may be set to D3DERR_INVALIDCALL.
For information on trapping errors, see the Microsoft® Visual Basic® Error Handling topic.