Device.GetSwapChain Method |
Language: |
Retrieves a reference to a swap chain.
Visual Basic Public Function GetSwapChain( _
ByVal swapChain As Integer _
) As SwapChainC# public SwapChain GetSwapChain(
int swapChain
);C++ public:
SwapChain^ GetSwapChain(
int swapChain
);JScript public function GetSwapChain(
swapChain : int
) : SwapChain;
swapChain System.Int32
Swap chain ordinal value. For more information, see Caps.NumberOfAdaptersInGroup.
Microsoft.DirectX.Direct3D.SwapChain
A SwapChain class that receives a copy of the swap chain.
Exceptions
InvalidCallException The method call is invalid. For example, a method's parameter might contain an invalid value.
Send comments about this topic to Microsoft. © Microsoft Corporation. All rights reserved.
Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center