Bicameral Engine
GPU-resident engine for a magic-research open-world game
Loading...
Searching...
No Matches
bicameral::frame::FrameLoopOptions Struct Reference

#include <frame_loop.h>

Collaboration diagram for bicameral::frame::FrameLoopOptions:
[legend]

Public Attributes

uint32_t frameLimit = 0
bool vsync = true
uint32_t maxFrameLatency = 2
uint32_t targetFps = 60
bool renderHighPriority = true
uint32_t simLoad = 0
uint32_t simSplit = 1
bool autoClick = false
bool autoPush = false
bool autoIgnite = false
fs::path recordPath
fs::path replayPath
fs::path screenshotPath
std::optional< uint64_t > screenshotTick
fs::path tracePath
gpu::GraphTraceFilter trace
fs::path traceDirectory
bool autoTrace = false
bool peek = false
render::CellCoordinate peekCell
uint32_t peekDepth = 0
bool physics = true
bool checkPhysics = false
bool physicsComputeBroadphase = false
bool editor = false
bool autoTime
bool autoLab = false
uint32_t savePoints = AUTO_SAVE_POINTS
uint64_t saveIntervalTicks = 120
bool autoRewind = false
fs::path packageRoot
render::DebugViewSettings view
render::OrbitCameraState camera
gpu::AdapterKind adapter = gpu::AdapterKind::Hardware

Detailed Description

Definition at line 35 of file frame_loop.h.

Member Data Documentation

◆ adapter

◆ autoClick

bool bicameral::frame::FrameLoopOptions::autoClick = false

Definition at line 48 of file frame_loop.h.

Referenced by anonymous_namespace{main.cpp}::ParseFrameLoopFlag().

◆ autoIgnite

bool bicameral::frame::FrameLoopOptions::autoIgnite = false

Definition at line 51 of file frame_loop.h.

Referenced by anonymous_namespace{main.cpp}::ParseFrameLoopFlag().

◆ autoLab

bool bicameral::frame::FrameLoopOptions::autoLab = false

Definition at line 84 of file frame_loop.h.

Referenced by anonymous_namespace{main.cpp}::ParseFrameLoopFlag().

◆ autoPush

bool bicameral::frame::FrameLoopOptions::autoPush = false

Definition at line 49 of file frame_loop.h.

Referenced by anonymous_namespace{main.cpp}::ParseFrameLoopFlag().

◆ autoRewind

bool bicameral::frame::FrameLoopOptions::autoRewind = false

Definition at line 89 of file frame_loop.h.

Referenced by anonymous_namespace{main.cpp}::ParseFrameLoopFlag().

◆ autoTime

bool bicameral::frame::FrameLoopOptions::autoTime
Initial value:
=
false

Definition at line 80 of file frame_loop.h.

Referenced by anonymous_namespace{main.cpp}::ParseFrameLoopFlag().

◆ autoTrace

bool bicameral::frame::FrameLoopOptions::autoTrace = false

Definition at line 65 of file frame_loop.h.

Referenced by anonymous_namespace{main.cpp}::ParseFrameLoopFlag().

◆ camera

render::OrbitCameraState bicameral::frame::FrameLoopOptions::camera

Definition at line 97 of file frame_loop.h.

Referenced by anonymous_namespace{main.cpp}::ParseViewOption().

◆ checkPhysics

bool bicameral::frame::FrameLoopOptions::checkPhysics = false

Definition at line 75 of file frame_loop.h.

Referenced by anonymous_namespace{main.cpp}::ParseFrameLoopFlag().

◆ editor

bool bicameral::frame::FrameLoopOptions::editor = false

Definition at line 79 of file frame_loop.h.

Referenced by anonymous_namespace{main.cpp}::ParseFrameLoopFlag().

◆ frameLimit

uint32_t bicameral::frame::FrameLoopOptions::frameLimit = 0

Definition at line 37 of file frame_loop.h.

Referenced by anonymous_namespace{main.cpp}::ParseFrameLoopCount().

◆ maxFrameLatency

uint32_t bicameral::frame::FrameLoopOptions::maxFrameLatency = 2

◆ packageRoot

◆ peek

bool bicameral::frame::FrameLoopOptions::peek = false

Definition at line 68 of file frame_loop.h.

Referenced by anonymous_namespace{main.cpp}::ParsePeekOption().

◆ peekCell

render::CellCoordinate bicameral::frame::FrameLoopOptions::peekCell

Definition at line 69 of file frame_loop.h.

Referenced by anonymous_namespace{main.cpp}::ParsePeekOption().

◆ peekDepth

uint32_t bicameral::frame::FrameLoopOptions::peekDepth = 0

Definition at line 70 of file frame_loop.h.

Referenced by anonymous_namespace{main.cpp}::ParsePeekOption().

◆ physics

◆ physicsComputeBroadphase

bool bicameral::frame::FrameLoopOptions::physicsComputeBroadphase = false

◆ recordPath

fs::path bicameral::frame::FrameLoopOptions::recordPath

Definition at line 52 of file frame_loop.h.

Referenced by anonymous_namespace{main.cpp}::ParseOptions().

◆ renderHighPriority

bool bicameral::frame::FrameLoopOptions::renderHighPriority = true

◆ replayPath

fs::path bicameral::frame::FrameLoopOptions::replayPath

◆ saveIntervalTicks

uint64_t bicameral::frame::FrameLoopOptions::saveIntervalTicks = 120

Definition at line 88 of file frame_loop.h.

Referenced by anonymous_namespace{main.cpp}::ParseFrameLoopCount().

◆ savePoints

uint32_t bicameral::frame::FrameLoopOptions::savePoints = AUTO_SAVE_POINTS

Definition at line 87 of file frame_loop.h.

Referenced by anonymous_namespace{main.cpp}::ParseFrameLoopCount().

◆ screenshotPath

fs::path bicameral::frame::FrameLoopOptions::screenshotPath

Definition at line 54 of file frame_loop.h.

Referenced by anonymous_namespace{main.cpp}::ParseViewOption().

◆ screenshotTick

std::optional<uint64_t> bicameral::frame::FrameLoopOptions::screenshotTick

Definition at line 57 of file frame_loop.h.

Referenced by anonymous_namespace{main.cpp}::ParseFrameLoopCount().

◆ simLoad

uint32_t bicameral::frame::FrameLoopOptions::simLoad = 0

◆ simSplit

uint32_t bicameral::frame::FrameLoopOptions::simSplit = 1

◆ targetFps

uint32_t bicameral::frame::FrameLoopOptions::targetFps = 60

Definition at line 40 of file frame_loop.h.

Referenced by anonymous_namespace{main.cpp}::ParseFrameLoopCount().

◆ trace

◆ traceDirectory

fs::path bicameral::frame::FrameLoopOptions::traceDirectory

Definition at line 64 of file frame_loop.h.

Referenced by anonymous_namespace{main.cpp}::ParseOptions().

◆ tracePath

fs::path bicameral::frame::FrameLoopOptions::tracePath

◆ view

render::DebugViewSettings bicameral::frame::FrameLoopOptions::view

Definition at line 96 of file frame_loop.h.

Referenced by anonymous_namespace{main.cpp}::ParseViewOption().

◆ vsync

bool bicameral::frame::FrameLoopOptions::vsync = true

Definition at line 38 of file frame_loop.h.

Referenced by anonymous_namespace{main.cpp}::ParseFrameLoopFlag().


The documentation for this struct was generated from the following file: