Microsoft DirectX 8.1 (C++) |
Creates an additional swap chain for rendering multiple views.
HRESULT CreateAdditionalSwapChain( D3DPRESENT_PARAMETERS* pPresentationParameters, IDirect3DSwapChain8** ppSwapChain );
If the method succeeds, the return value is D3D_OK.
If the method fails, the return value can be one of the following values.
D3DERR_INVALIDCALL |
D3DERR_OUTOFVIDEOMEMORY |
E_OUTOFMEMORY |
There is always at least one swap chain (the implicit 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.
Header: Declared in D3d8.h.
Import Library: Use D3d8.lib.