refactor(srp): move urp shadow and prepass core blocks into renderer
This commit is contained in:
@@ -532,6 +532,11 @@ namespace XCEngine
|
||||
Rendering_ScriptableRenderPipelinePlanningContext_ClearShadowCasterStage(
|
||||
ulong nativeHandle);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall)]
|
||||
internal static extern bool
|
||||
Rendering_ScriptableRenderPipelinePlanningContext_GetHasExplicitShadowCasterStageConfiguration(
|
||||
ulong nativeHandle);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall)]
|
||||
internal static extern bool
|
||||
Rendering_ScriptableRenderPipelinePlanningContext_RequestDepthOnlyStage(
|
||||
@@ -542,6 +547,11 @@ namespace XCEngine
|
||||
Rendering_ScriptableRenderPipelinePlanningContext_ClearDepthOnlyStage(
|
||||
ulong nativeHandle);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall)]
|
||||
internal static extern bool
|
||||
Rendering_ScriptableRenderPipelinePlanningContext_GetHasExplicitDepthOnlyStageConfiguration(
|
||||
ulong nativeHandle);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall)]
|
||||
internal static extern bool
|
||||
Rendering_ScriptableRenderPipelinePlanningContext_GetHasFinalColorProcessing(
|
||||
|
||||
@@ -80,6 +80,13 @@ namespace XCEngine.Rendering
|
||||
m_nativeHandle);
|
||||
}
|
||||
|
||||
public bool HasExplicitShadowCasterStageConfiguration()
|
||||
{
|
||||
return InternalCalls
|
||||
.Rendering_ScriptableRenderPipelinePlanningContext_GetHasExplicitShadowCasterStageConfiguration(
|
||||
m_nativeHandle);
|
||||
}
|
||||
|
||||
public bool RequestDepthOnlyStage()
|
||||
{
|
||||
return InternalCalls
|
||||
@@ -94,6 +101,13 @@ namespace XCEngine.Rendering
|
||||
m_nativeHandle);
|
||||
}
|
||||
|
||||
public bool HasExplicitDepthOnlyStageConfiguration()
|
||||
{
|
||||
return InternalCalls
|
||||
.Rendering_ScriptableRenderPipelinePlanningContext_GetHasExplicitDepthOnlyStageConfiguration(
|
||||
m_nativeHandle);
|
||||
}
|
||||
|
||||
public bool HasFinalColorProcessing()
|
||||
{
|
||||
return InternalCalls
|
||||
|
||||
Reference in New Issue
Block a user