refactor(rendering): remove builtin naming from managed srp context

This commit is contained in:
2026-04-18 13:30:45 +08:00
parent 2409f479e9
commit cf54014de9
5 changed files with 75 additions and 77 deletions

View File

@@ -13,40 +13,40 @@ namespace XCEngine
(CameraFrameStage)InternalCalls.Rendering_ScriptableRenderContext_GetStage(
m_nativeHandle);
public bool RecordBuiltinForwardMainScene()
public bool RecordScene()
{
return InternalCalls
.Rendering_ScriptableRenderContext_RecordBuiltinForwardMainScene(
.Rendering_ScriptableRenderContext_RecordScene(
m_nativeHandle);
}
public bool RenderBuiltinForwardMainScene()
public bool RenderScene()
{
return RecordBuiltinForwardMainScene();
return RecordScene();
}
public bool RecordBuiltinForwardScenePhase(ScenePhase scenePhase)
public bool RecordScenePhase(ScenePhase scenePhase)
{
return InternalCalls
.Rendering_ScriptableRenderContext_RecordBuiltinForwardScenePhase(
.Rendering_ScriptableRenderContext_RecordScenePhase(
m_nativeHandle,
(int)scenePhase);
}
public bool RecordBuiltinForwardInjectionPoint(
public bool RecordSceneInjectionPoint(
SceneRenderInjectionPoint injectionPoint)
{
return InternalCalls
.Rendering_ScriptableRenderContext_RecordBuiltinForwardInjectionPoint(
.Rendering_ScriptableRenderContext_RecordSceneInjectionPoint(
m_nativeHandle,
(int)injectionPoint);
}
public bool RecordBuiltinColorScaleFullscreenPass(
public bool RecordColorScaleFullscreenPass(
Vector4 colorScale)
{
return InternalCalls
.Rendering_ScriptableRenderContext_RecordBuiltinColorScaleFullscreenPass(
.Rendering_ScriptableRenderContext_RecordColorScaleFullscreenPass(
m_nativeHandle,
ref colorScale);
}