feat(RHI): 实现 RHIFence 抽象基类

- 新增 RHIFence 抽象基类
- D3D12Fence 继承 RHIFence
- OpenGLFence 继承 RHIFence
- 文档更新 RHIFence 差异处理策略
This commit is contained in:
2026-03-17 17:36:17 +08:00
parent f046e17ad6
commit af718279ff
6 changed files with 1305 additions and 17 deletions

View File

@@ -44,7 +44,7 @@ void D3D12Fence::Wait(uint64_t value) {
}
}
uint64_t D3D12Fence::GetCompletedValue() {
uint64_t D3D12Fence::GetCompletedValue() const {
return m_fence->GetCompletedValue();
}