Wire viewport shell host chain and move host under app
This commit is contained in:
@@ -48,7 +48,7 @@
|
||||
|
||||
1. `new_editor/app/Shell/ProductShellAsset.cpp` 里,`scene` 和 `game` 仍然只是 `HostedContent`,还没有切到正式的 `ViewportShell` 主线。
|
||||
2. `new_editor/app/Workspace/ProductEditorWorkspace.cpp` 里,没有真正的 viewport service owner,也没有 scene/game render request 生命周期。
|
||||
3. `new_editor/Host/NativeRenderer.h/.cpp` 当前是 Direct2D/DirectWrite 宿主,只支持它自己的位图纹理路径。
|
||||
3. `new_editor/app/Host/NativeRenderer.h/.cpp` 当前是 Direct2D/DirectWrite 宿主,只支持它自己的位图纹理路径。
|
||||
4. `engine/include/XCEngine/UI/Types.h` 虽然已经有 `UITextureHandleKind::ShaderResourceView`,但 `NativeRenderer` 目前并没有真正消费这类引擎 render target。
|
||||
|
||||
### 2.3 根因结论
|
||||
@@ -132,7 +132,7 @@
|
||||
|
||||
主要工作:
|
||||
|
||||
1. 在 `new_editor/Host` 下建立正式的 window renderer
|
||||
1. 在 `new_editor/app/Host` 下建立正式的 window renderer
|
||||
2. 对齐旧 `editor/src/Platform/D3D12WindowRenderer.h` 的能力边界
|
||||
3. 让 `Application` 能拿到:
|
||||
- `RHIDevice`
|
||||
|
||||
Reference in New Issue
Block a user