|
Bicameral Engine
GPU-resident engine for a magic-research open-world game
|
#include <probe_peek.h>
Public Member Functions | |
| void | Look (PeekCell cell) |
| void | Stop () |
| bool | IsLooking () const |
| PeekCell | Requested () const |
| void | RecordAfterExtract (ID3D12GraphicsCommandList10 *list, const ProbeExtractContext &context) |
| void | RecordReadback (ID3D12GraphicsCommandList10 *list) |
| bool | Read (MultiresNest &nest) const |
Static Public Member Functions | |
| static std::expected< ProbePeek, std::string > | Create (ID3D12Device5 *device, const BakedReactionTable &table) |
Private Member Functions | |
| ProbePeek (GpuMultires &&nest, const std::array< uint32_t, PROBE_VIEW_SPECIES_COUNT > &viewSpecies) | |
Private Attributes | |
| GpuMultires | m_nest |
| ComPtr< ID3D12PipelineState > | m_mirrorPipeline |
| ComPtr< ID3D12PipelineState > | m_extractPipeline |
| std::array< uint32_t, PROBE_VIEW_SPECIES_COUNT > | m_viewSpecies {} |
| PeekState | m_state |
| bool | m_uploaded = false |
Definition at line 87 of file probe_peek.h.
|
inlineprivate |
Definition at line 105 of file probe_peek.h.
References m_nest, and m_viewSpecies.
Referenced by Create().
|
staticnodiscard |
Definition at line 82 of file probe_peek.cpp.
References bicameral::sim::GpuMultires::Create(), bicameral::gpu::CreateComputePipeline(), bicameral::gpu::LoadShader(), m_extractPipeline, m_mirrorPipeline, m_nest, ProbePeek(), bicameral::sim::ProbeViewSpecies(), and bicameral::sim::GpuMultires::RootSignature().
Referenced by bicameral::frame::anonymous_namespace{frame_loop.cpp}::CreateParts().
|
inlinenodiscard |
Definition at line 94 of file probe_peek.h.
References m_state.
|
inline |
Definition at line 92 of file probe_peek.h.
References m_state.
|
inlinenodiscard |
Definition at line 102 of file probe_peek.h.
References m_nest.
| void bicameral::sim::ProbePeek::RecordAfterExtract | ( | ID3D12GraphicsCommandList10 * | list, |
| const ProbeExtractContext & | context ) |
Definition at line 106 of file probe_peek.cpp.
References bicameral::sim::PeekState::Plan::cell, bicameral::sim::ProbeExtractContext::cells, bicameral::sim::ProbeExtractContext::debugRing, bicameral::sim::ProbeExtractContext::extraction, m_extractPipeline, m_mirrorPipeline, m_nest, m_state, m_uploaded, m_viewSpecies, bicameral::sim::MakeMultiresNest(), bicameral::sim::PeekState::Plan::mirror, bicameral::sim::PEEK_FIRST_SHADOW_SLOT, bicameral::sim::PEEK_LEVEL_COUNT, bicameral::sim::PEEK_MIRROR_SLOT, bicameral::sim::PeekPointOfCell(), bicameral::sim::PeekState::Plan::pullBack, bicameral::sim::PeekState::Plan::refine, bicameral::sim::PeekState::Plan::removeShadow, bicameral::sim::PeekState::Plan::step, bicameral::sim::ProbeExtractContext::tick, bicameral::sim::PeekCell::x, bicameral::sim::PeekCell::y, and bicameral::sim::PeekCell::z.
|
inline |
Definition at line 101 of file probe_peek.h.
References m_nest.
|
inlinenodiscard |
Definition at line 95 of file probe_peek.h.
References m_state.
|
inline |
Definition at line 93 of file probe_peek.h.
References m_state.
|
private |
Definition at line 110 of file probe_peek.h.
Referenced by Create(), and RecordAfterExtract().
|
private |
Definition at line 109 of file probe_peek.h.
Referenced by Create(), and RecordAfterExtract().
|
private |
Definition at line 108 of file probe_peek.h.
Referenced by Create(), ProbePeek(), Read(), RecordAfterExtract(), and RecordReadback().
|
private |
Definition at line 112 of file probe_peek.h.
Referenced by IsLooking(), Look(), RecordAfterExtract(), Requested(), and Stop().
|
private |
Definition at line 113 of file probe_peek.h.
Referenced by RecordAfterExtract().
|
private |
Definition at line 111 of file probe_peek.h.
Referenced by ProbePeek(), and RecordAfterExtract().