Microsoft DirectX 8.1 (Visual Basic) |
Creates an additional swap chain for rendering multiple views.
object.CreateAdditionalSwapChain( _ PresentationParameters As D3DPRESENT_PARAMETERS) As Direct3DSwapChain8
An Direct3DSwapChain8 object, representing the additional swap chain.
If the method fails, an error is raised and Err.Number can be set to one of the following values.
D3DERR_INVALIDCALL |
D3DERR_OUTOFVIDEOMEMORY |
E_OUTOFMEMORY |
For information on trapping errors, see the Microsoft® Visual Basic® Error Handling topic.
There is always at least one swap chain for each device because Microsoft® Direct3D® for Microsoft DirectX® 8.x has one swap chain as a property of the device.
Note that any given device can support only one full-screen swap chain.