refactor(srp): split universal managed pipeline assembly
This commit is contained in:
@@ -66,68 +66,68 @@ namespace XCEngine.Rendering
|
||||
m_stageColorData ??
|
||||
(m_stageColorData = ResolveStageColorData());
|
||||
|
||||
internal bool RecordScene()
|
||||
public bool RecordScene()
|
||||
{
|
||||
return InternalCalls
|
||||
.Rendering_ScriptableRenderContext_RecordScene(
|
||||
m_nativeHandle);
|
||||
}
|
||||
|
||||
internal bool RecordOpaqueScenePhase()
|
||||
public bool RecordOpaqueScenePhase()
|
||||
{
|
||||
return RecordScenePhaseInternal(
|
||||
RecordedScenePhase.Opaque);
|
||||
}
|
||||
|
||||
internal bool RecordSkyboxScenePhase()
|
||||
public bool RecordSkyboxScenePhase()
|
||||
{
|
||||
return RecordScenePhaseInternal(
|
||||
RecordedScenePhase.Skybox);
|
||||
}
|
||||
|
||||
internal bool RecordTransparentScenePhase()
|
||||
public bool RecordTransparentScenePhase()
|
||||
{
|
||||
return RecordScenePhaseInternal(
|
||||
RecordedScenePhase.Transparent);
|
||||
}
|
||||
|
||||
internal bool RecordBeforeOpaqueInjection()
|
||||
public bool RecordBeforeOpaqueInjection()
|
||||
{
|
||||
return RecordSceneInjectionPointInternal(
|
||||
RecordedSceneInjectionPoint.BeforeOpaque);
|
||||
}
|
||||
|
||||
internal bool RecordAfterOpaqueInjection()
|
||||
public bool RecordAfterOpaqueInjection()
|
||||
{
|
||||
return RecordSceneInjectionPointInternal(
|
||||
RecordedSceneInjectionPoint.AfterOpaque);
|
||||
}
|
||||
|
||||
internal bool RecordBeforeSkyboxInjection()
|
||||
public bool RecordBeforeSkyboxInjection()
|
||||
{
|
||||
return RecordSceneInjectionPointInternal(
|
||||
RecordedSceneInjectionPoint.BeforeSkybox);
|
||||
}
|
||||
|
||||
internal bool RecordAfterSkyboxInjection()
|
||||
public bool RecordAfterSkyboxInjection()
|
||||
{
|
||||
return RecordSceneInjectionPointInternal(
|
||||
RecordedSceneInjectionPoint.AfterSkybox);
|
||||
}
|
||||
|
||||
internal bool RecordBeforeTransparentInjection()
|
||||
public bool RecordBeforeTransparentInjection()
|
||||
{
|
||||
return RecordSceneInjectionPointInternal(
|
||||
RecordedSceneInjectionPoint.BeforeTransparent);
|
||||
}
|
||||
|
||||
internal bool RecordAfterTransparentInjection()
|
||||
public bool RecordAfterTransparentInjection()
|
||||
{
|
||||
return RecordSceneInjectionPointInternal(
|
||||
RecordedSceneInjectionPoint.AfterTransparent);
|
||||
}
|
||||
|
||||
internal bool RecordColorScaleFullscreenPass(
|
||||
public bool RecordColorScaleFullscreenPass(
|
||||
Vector4 colorScale)
|
||||
{
|
||||
return RecordFullscreenPassInternal(
|
||||
@@ -137,7 +137,7 @@ namespace XCEngine.Rendering
|
||||
colorScale);
|
||||
}
|
||||
|
||||
internal bool RecordShaderVectorFullscreenPass(
|
||||
public bool RecordShaderVectorFullscreenPass(
|
||||
string shaderPath,
|
||||
Vector4 vectorPayload,
|
||||
string passName = null)
|
||||
|
||||
@@ -8,13 +8,13 @@ namespace XCEngine.Rendering
|
||||
{
|
||||
}
|
||||
|
||||
protected internal virtual bool SupportsStageRenderGraph(
|
||||
protected virtual bool SupportsStageRenderGraph(
|
||||
CameraFrameStage stage)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
protected internal virtual bool RecordStageRenderGraph(
|
||||
protected virtual bool RecordStageRenderGraph(
|
||||
ScriptableRenderContext context)
|
||||
{
|
||||
return false;
|
||||
|
||||
@@ -8,22 +8,22 @@ namespace XCEngine.Rendering
|
||||
{
|
||||
}
|
||||
|
||||
protected internal virtual ScriptableRenderPipeline CreatePipeline()
|
||||
protected virtual ScriptableRenderPipeline CreatePipeline()
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
protected internal virtual void ConfigureCameraRenderRequest(
|
||||
protected virtual void ConfigureCameraRenderRequest(
|
||||
ScriptableRenderPipelineCameraRequestContext context)
|
||||
{
|
||||
}
|
||||
|
||||
protected internal virtual void ConfigureCameraFramePlan(
|
||||
protected virtual void ConfigureCameraFramePlan(
|
||||
ScriptableRenderPipelinePlanningContext context)
|
||||
{
|
||||
}
|
||||
|
||||
protected internal virtual FinalColorSettings GetDefaultFinalColorSettings()
|
||||
protected virtual FinalColorSettings GetDefaultFinalColorSettings()
|
||||
{
|
||||
return FinalColorSettings.CreateDefault();
|
||||
}
|
||||
|
||||
@@ -17,7 +17,7 @@ namespace XCEngine.Rendering.Renderer
|
||||
return null;
|
||||
}
|
||||
|
||||
protected internal override bool SupportsStageRenderGraph(
|
||||
protected override bool SupportsStageRenderGraph(
|
||||
CameraFrameStage stage)
|
||||
{
|
||||
ScriptableRenderer renderer = GetOrCreateRenderer();
|
||||
@@ -25,7 +25,7 @@ namespace XCEngine.Rendering.Renderer
|
||||
renderer.SupportsStageRenderGraph(stage);
|
||||
}
|
||||
|
||||
protected internal override bool RecordStageRenderGraph(
|
||||
protected override bool RecordStageRenderGraph(
|
||||
ScriptableRenderContext context)
|
||||
{
|
||||
ScriptableRenderer renderer = GetOrCreateRenderer();
|
||||
|
||||
@@ -10,7 +10,7 @@ namespace XCEngine.Rendering.Renderer
|
||||
{
|
||||
}
|
||||
|
||||
protected internal override ScriptableRenderPipeline CreatePipeline()
|
||||
protected override ScriptableRenderPipeline CreatePipeline()
|
||||
{
|
||||
ScriptableRendererData rendererData =
|
||||
ResolveRendererData();
|
||||
@@ -19,7 +19,7 @@ namespace XCEngine.Rendering.Renderer
|
||||
: null;
|
||||
}
|
||||
|
||||
protected internal override void ConfigureCameraRenderRequest(
|
||||
protected override void ConfigureCameraRenderRequest(
|
||||
ScriptableRenderPipelineCameraRequestContext context)
|
||||
{
|
||||
ScriptableRendererData rendererData =
|
||||
@@ -31,7 +31,7 @@ namespace XCEngine.Rendering.Renderer
|
||||
}
|
||||
}
|
||||
|
||||
protected internal override void ConfigureCameraFramePlan(
|
||||
protected override void ConfigureCameraFramePlan(
|
||||
ScriptableRenderPipelinePlanningContext context)
|
||||
{
|
||||
ScriptableRendererData rendererData =
|
||||
|
||||
Reference in New Issue
Block a user