[Engine] EngineRuntime 최소 오케스트레이터 구현#90
Merged
Merged
Conversation
- EngineWorld에 WorldQuery/WorldCommands 노출 추가 - EngineRuntime에 EcsCore, CommandBuffer, systems_ 소유권 추가 - addSystem, initialize, stepFrame 고정 스텝 루프 및 CommandBuffer flush 구현 - EngineRuntimeTests: 시스템 update 호출 및 CommandBuffer flush 검증 테스트 추가
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
EngineWorld확장:WorldQuery와WorldCommands를query()/commands()로 노출,EcsCore와CommandBuffer참조 보유EngineRuntime확장:EcsCore와CommandBuffer소유,addSystem(std::unique_ptr<EngineSystem>)등록 API 추가initialize(): 등록된 시스템의configure(world)순차 호출stepFrame():EngineStepContext구성 → 등록된 시스템update(world, ctx)순차 실행 → 매 고정 스텝 후CommandBuffer::flush(core)적용EngineRuntimeTests추가: 시스템update()호출 횟수 검증,WorldCommandsenqueue 후 flush 반영 검증 (2개)Related Issue
Area
Architecture Check
application -> domain -> engine.src/domain.domainorapplicationdependencies tosrc/engine.src/as the include root.Verification
cmake --preset windows-debug-no-appcmake --build --preset build-no-app-debugctest --preset test-no-app-debugwindows-debug-no-app/build-no-app-debug/test-no-app-debugpreset 기준 실행 — configure, build, test(1/1) 모두 통과.Risks / Follow-up
addSystem()등록 순서에 의존 — phase 기반 스케줄링은 Task-Implement SystemScheduler phase ordering and execution loop #47 범위EngineStepContext.derivedSeed는 항상 0으로 고정 — seed 파생 전략은 별도 이슈에서 확장 가능