LiteFX::Rendering::Backends::DirectX12FrameBuffer::create¶
Initializes a DirectX 12 frame buffer.
Synopsis¶
Declared in <litefx/backends/dx12.hpp>
[[dllimport, dllexport]] static SharedPtr<DirectX12FrameBuffer> create(
DirectX12Device const& device,
Size2d const& renderArea,
StringView name = "");
Return Value¶
A pointer to the newly created frame buffer instance.
Parameters¶
| Name | Description |
|---|---|
| device | The device the frame buffer is allocated on. |
| renderArea | The initial size of the render area. |
| name | The name of the frame buffer. |