LiteFX::Rendering::ISwapChain::device¶
Returns the swap chain's parent device instance.
Synopsis¶
Declared in <litefx/rendering_api.hpp>
[[dllimport, dllexport]] virtual IGraphicsDevice const& device() const = 0;
Exceptions¶
| Name | Thrown on |
|---|---|
RuntimeException | Thrown, if the device is already released. |
Return Value¶
A reference of the swap chain's parent device instance.