#include <screenshot.h>
|
| ID3D12CommandList * | Record (ID3D12Resource *backBuffer) |
| std::expected< void, std::string > | WriteBmp (const fs::path &path) const |
Definition at line 18 of file screenshot.h.
◆ ScreenshotCapture()
| bicameral::render::ScreenshotCapture::ScreenshotCapture |
( |
| ) |
|
|
privatedefault |
◆ Create()
| std::expected< ScreenshotCapture, std::string > bicameral::render::ScreenshotCapture::Create |
( |
ID3D12Device * | device, |
|
|
ID3D12Resource * | backBuffer ) |
|
staticnodiscard |
◆ Record()
| ID3D12CommandList * bicameral::render::ScreenshotCapture::Record |
( |
ID3D12Resource * | backBuffer | ) |
|
|
nodiscard |
◆ WriteBmp()
| std::expected< void, std::string > bicameral::render::ScreenshotCapture::WriteBmp |
( |
const fs::path & | path | ) |
const |
|
nodiscard |
◆ m_allocator
| ComPtr<ID3D12CommandAllocator> bicameral::render::ScreenshotCapture::m_allocator |
|
private |
◆ m_footprint
| D3D12_PLACED_SUBRESOURCE_FOOTPRINT bicameral::render::ScreenshotCapture::m_footprint {} |
|
private |
◆ m_height
| uint32_t bicameral::render::ScreenshotCapture::m_height = 0 |
|
private |
◆ m_list
| ComPtr<ID3D12GraphicsCommandList> bicameral::render::ScreenshotCapture::m_list |
|
private |
◆ m_readback
| ComPtr<ID3D12Resource> bicameral::render::ScreenshotCapture::m_readback |
|
private |
◆ m_width
| uint32_t bicameral::render::ScreenshotCapture::m_width = 0 |
|
private |
The documentation for this class was generated from the following files: