refactor(srp): remove managed frame planning hook

- derive fullscreen stage planning from pipeline render-graph support
- trim planning-only APIs from the managed SRP bridge and public surface
- update probes and tests to lock the slimmer SRP API boundary
This commit is contained in:
2026-04-19 13:47:20 +08:00
parent 08e2b38df2
commit 537d7d99fc
19 changed files with 179 additions and 517 deletions

View File

@@ -11,7 +11,6 @@ namespace XCEngine {
namespace Rendering {
struct CameraRenderRequest;
struct CameraFramePlan;
struct DirectionalShadowPlanningSettings;
namespace Pipelines {
@@ -54,7 +53,6 @@ public:
const DirectionalShadowPlanningSettings& directionalShadowSettings)
const override;
FinalColorSettings GetDefaultFinalColorSettings() const override;
void ConfigureCameraFramePlan(CameraFramePlan& plan) const override;
private:
std::shared_ptr<const class ManagedRenderPipelineAssetRuntime>
@@ -85,9 +83,6 @@ public:
virtual bool TryGetDefaultFinalColorSettings(FinalColorSettings&) const {
return false;
}
virtual void ConfigureCameraFramePlan(CameraFramePlan&) const {
}
};
class ManagedRenderPipelineBridge {

View File

@@ -266,8 +266,6 @@ private:
MonoObject* CreateManagedScriptableRenderContext(uint64_t nativeHandle);
MonoObject* CreateManagedScriptableRenderPipelineCameraRequestContext(
uint64_t nativeHandle);
MonoObject* CreateManagedScriptableRenderPipelinePlanningContext(
uint64_t nativeHandle);
MonoObject* GetManagedObject(uint32_t gcHandle) const;
MonoMethod* ResolveManagedMethod(
MonoClass* monoClass,
@@ -308,13 +306,11 @@ private:
MonoClass* m_scriptableRenderPipelineClass = nullptr;
MonoClass* m_scriptableRenderContextClass = nullptr;
MonoClass* m_scriptableRenderPipelineCameraRequestContextClass = nullptr;
MonoClass* m_scriptableRenderPipelinePlanningContextClass = nullptr;
MonoClass* m_serializeFieldAttributeClass = nullptr;
MonoMethod* m_gameObjectConstructor = nullptr;
MonoMethod* m_scriptableRenderContextConstructor = nullptr;
MonoMethod* m_scriptableRenderPipelineCameraRequestContextConstructor =
nullptr;
MonoMethod* m_scriptableRenderPipelinePlanningContextConstructor = nullptr;
MonoClassField* m_managedGameObjectUUIDField = nullptr;
MonoClassField* m_gameObjectUUIDField = nullptr;
MonoClassField* m_scriptComponentUUIDField = nullptr;