Bicameral Engine
GPU-resident engine for a magic-research open-world game
Loading...
Searching...
No Matches
bicameral::sim::anonymous_namespace{probe_save_point.cpp} Namespace Reference

Functions

void AppendTransitions (std::vector< D3D12_RESOURCE_BARRIER > &barriers, std::span< ID3D12Resource *const > resources, D3D12_RESOURCE_STATES before, D3D12_RESOURCE_STATES after)
void RecordAround (ID3D12GraphicsCommandList10 *list, std::span< ID3D12Resource *const > sources, std::span< ID3D12Resource *const > destinations, bool after)

Variables

constexpr uint64_t CELL_BYTES = uint64_t{PROBE_CELL_COUNT} * sizeof(reaction::RxCell)
constexpr uint64_t THERMAL_BYTES = uint64_t{PROBE_CELL_COUNT} * sizeof(reaction::HcThermalCache)

Function Documentation

◆ AppendTransitions()

void bicameral::sim::anonymous_namespace{probe_save_point.cpp}::AppendTransitions ( std::vector< D3D12_RESOURCE_BARRIER > & barriers,
std::span< ID3D12Resource *const > resources,
D3D12_RESOURCE_STATES before,
D3D12_RESOURCE_STATES after )

Definition at line 25 of file probe_save_point.cpp.

References AppendTransitions(), and bicameral::gpu::Transition().

Referenced by AppendTransitions(), and RecordAround().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ RecordAround()

void bicameral::sim::anonymous_namespace{probe_save_point.cpp}::RecordAround ( ID3D12GraphicsCommandList10 * list,
std::span< ID3D12Resource *const > sources,
std::span< ID3D12Resource *const > destinations,
bool after )

Definition at line 33 of file probe_save_point.cpp.

References AppendTransitions(), and RecordAround().

Referenced by RecordAround().

Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ CELL_BYTES

uint64_t bicameral::sim::anonymous_namespace{probe_save_point.cpp}::CELL_BYTES = uint64_t{PROBE_CELL_COUNT} * sizeof(reaction::RxCell)
constexpr

Definition at line 22 of file probe_save_point.cpp.

◆ THERMAL_BYTES

uint64_t bicameral::sim::anonymous_namespace{probe_save_point.cpp}::THERMAL_BYTES = uint64_t{PROBE_CELL_COUNT} * sizeof(reaction::HcThermalCache)
constexpr

Definition at line 23 of file probe_save_point.cpp.