LiteFX::Rendering::Backends::DirectX12Backend::createSurface¶
Creates a surface on a window handle.
Synopsis¶
Declared in <litefx/backends/dx12.hpp>
[[dllimport, dllexport]] UniquePtr<DirectX12Surface> createSurface(HWND const& hwnd) const;
Return Value¶
The instance of the created surface.
Parameters¶
| Name | Description |
|---|---|
| hwnd | The window handle on which the surface should be created. |