|
Bicameral Engine
GPU-resident engine for a magic-research open-world game
|
#include <probe_view.h>
Public Member Functions | |
| void | Record (ID3D12GraphicsCommandList *list, const ProbeViewTarget &target, const ProbeViewInputs &inputs) const |
Static Public Member Functions | |
| static std::expected< ProbeView, std::string > | Create (ID3D12Device *device, DXGI_FORMAT renderTargetFormat) |
Private Member Functions | |
| ProbeView ()=default | |
Private Attributes | |
| ComPtr< ID3D12RootSignature > | m_rootSignature |
| ComPtr< ID3D12PipelineState > | m_pipeline |
Definition at line 33 of file probe_view.h.
|
privatedefault |
|
staticnodiscard |
Definition at line 20 of file probe_view.cpp.
References bicameral::gpu::CreateRootSignature(), bicameral::DescribeHresult(), bicameral::gpu::LoadShader(), m_pipeline, m_rootSignature, and ProbeView().
Referenced by bicameral::frame::anonymous_namespace{frame_loop.cpp}::CreateParts().
| void bicameral::render::ProbeView::Record | ( | ID3D12GraphicsCommandList * | list, |
| const ProbeViewTarget & | target, | ||
| const ProbeViewInputs & | inputs ) const |
Definition at line 57 of file probe_view.cpp.
References bicameral::render::ProbeViewTarget::backBuffer, bicameral::render::ProbeViewInputs::constants, bicameral::render::ProbeViewInputs::extraction0, bicameral::render::ProbeViewInputs::extraction1, bicameral::render::ProbeViewInputs::extraction2, bicameral::render::ProbeViewTarget::height, m_pipeline, m_rootSignature, bicameral::render::ProbeViewTarget::renderTargetView, bicameral::gpu::RootSignatureLayout::SrvIndex(), bicameral::gpu::Transition(), and bicameral::render::ProbeViewTarget::width.
|
private |
Definition at line 46 of file probe_view.h.
|
private |
Definition at line 45 of file probe_view.h.