using XCEngine; namespace XCEngine.Rendering { public sealed class ScriptableRenderPipelinePlanningContext { private readonly ulong m_nativeHandle; internal ScriptableRenderPipelinePlanningContext( ulong nativeHandle) { m_nativeHandle = nativeHandle; } public int rendererIndex => InternalCalls .Rendering_ScriptableRenderPipelinePlanningContext_GetRendererIndex( m_nativeHandle); public bool IsStageRequested( CameraFrameStage stage) { return InternalCalls .Rendering_ScriptableRenderPipelinePlanningContext_IsStageRequested( m_nativeHandle, (int)stage); } public CameraFrameColorSource GetStageColorSource( CameraFrameStage stage) { return (CameraFrameColorSource)InternalCalls .Rendering_ScriptableRenderPipelinePlanningContext_GetStageColorSource( m_nativeHandle, (int)stage); } public bool UsesGraphManagedOutputColor( CameraFrameStage stage) { return InternalCalls .Rendering_ScriptableRenderPipelinePlanningContext_GetStageUsesGraphManagedOutputColor( m_nativeHandle, (int)stage); } public bool RequestFullscreenStage( CameraFrameStage stage, CameraFrameColorSource source, bool usesGraphManagedOutputColor = false) { return InternalCalls .Rendering_ScriptableRenderPipelinePlanningContext_RequestFullscreenStage( m_nativeHandle, (int)stage, (int)source, usesGraphManagedOutputColor); } public void ClearFullscreenStage( CameraFrameStage stage) { InternalCalls .Rendering_ScriptableRenderPipelinePlanningContext_ClearFullscreenStage( m_nativeHandle, (int)stage); } public bool RequestShadowCasterStage() { return InternalCalls .Rendering_ScriptableRenderPipelinePlanningContext_RequestShadowCasterStage( m_nativeHandle); } public void ClearShadowCasterStage() { InternalCalls .Rendering_ScriptableRenderPipelinePlanningContext_ClearShadowCasterStage( m_nativeHandle); } public bool HasExplicitShadowCasterStageConfiguration() { return InternalCalls .Rendering_ScriptableRenderPipelinePlanningContext_GetHasExplicitShadowCasterStageConfiguration( m_nativeHandle); } public bool RequestDepthOnlyStage() { return InternalCalls .Rendering_ScriptableRenderPipelinePlanningContext_RequestDepthOnlyStage( m_nativeHandle); } public bool RequestCameraDepthOnlyStage() { return InternalCalls .Rendering_ScriptableRenderPipelinePlanningContext_RequestCameraDepthOnlyStage( m_nativeHandle); } public void ClearDepthOnlyStage() { InternalCalls .Rendering_ScriptableRenderPipelinePlanningContext_ClearDepthOnlyStage( m_nativeHandle); } public bool HasExplicitDepthOnlyStageConfiguration() { return InternalCalls .Rendering_ScriptableRenderPipelinePlanningContext_GetHasExplicitDepthOnlyStageConfiguration( m_nativeHandle); } public bool HasFinalColorProcessing() { return InternalCalls .Rendering_ScriptableRenderPipelinePlanningContext_GetHasFinalColorProcessing( m_nativeHandle); } } }