Bicameral Engine
GPU-resident engine for a magic-research open-world game
Loading...
Searching...
No Matches
bicameral::sim::ProbePeekReference Class Reference

#include <probe_peek.h>

Collaboration diagram for bicameral::sim::ProbePeekReference:
[legend]

Public Member Functions

 ProbePeekReference (const BakedReactionTable &table)
void Look (PeekCell cell)
void Stop ()
void Advance (std::span< const reaction::RxCell > world, uint64_t tick)
const MultiresNest & Nest () const
std::vector< uint32_t > Extraction () const

Private Attributes

const BakedReactionTable * m_table
std::array< uint32_t, PROBE_VIEW_SPECIES_COUNT > m_viewSpecies {}
MultiresNest m_nest
PeekState m_state

Detailed Description

Definition at line 117 of file probe_peek.h.

Constructor & Destructor Documentation

◆ ProbePeekReference()

bicameral::sim::ProbePeekReference::ProbePeekReference ( const BakedReactionTable & table)
explicit

Definition at line 149 of file probe_peek.cpp.

References m_nest, m_table, m_viewSpecies, bicameral::sim::MakeMultiresNest(), and bicameral::sim::ProbeViewSpecies().

Here is the call graph for this function:

Member Function Documentation

◆ Advance()

◆ Extraction()

std::vector< uint32_t > bicameral::sim::ProbePeekReference::Extraction ( ) const
nodiscard

Definition at line 185 of file probe_peek.cpp.

References bicameral::sim::LoadNestCell(), m_nest, m_table, m_viewSpecies, bicameral::sim::PEEK_FIRST_SHADOW_SLOT, and bicameral::sim::PEEK_LEVEL_COUNT.

Here is the call graph for this function:

◆ Look()

void bicameral::sim::ProbePeekReference::Look ( PeekCell cell)
inline

Definition at line 121 of file probe_peek.h.

References m_state.

◆ Nest()

const MultiresNest & bicameral::sim::ProbePeekReference::Nest ( ) const
inlinenodiscard

Definition at line 127 of file probe_peek.h.

References m_nest.

◆ Stop()

void bicameral::sim::ProbePeekReference::Stop ( )
inline

Definition at line 122 of file probe_peek.h.

References m_state.

Member Data Documentation

◆ m_nest

MultiresNest bicameral::sim::ProbePeekReference::m_nest
private

Definition at line 135 of file probe_peek.h.

Referenced by Advance(), Extraction(), Nest(), and ProbePeekReference().

◆ m_state

PeekState bicameral::sim::ProbePeekReference::m_state
private

Definition at line 136 of file probe_peek.h.

Referenced by Advance(), Look(), and Stop().

◆ m_table

const BakedReactionTable* bicameral::sim::ProbePeekReference::m_table
private

Definition at line 133 of file probe_peek.h.

Referenced by Advance(), Extraction(), and ProbePeekReference().

◆ m_viewSpecies

std::array<uint32_t, PROBE_VIEW_SPECIES_COUNT> bicameral::sim::ProbePeekReference::m_viewSpecies {}
private

Definition at line 134 of file probe_peek.h.

Referenced by Extraction(), and ProbePeekReference().


The documentation for this class was generated from the following files: