using XCEngine; namespace XCEngine.Rendering { public abstract class ScriptableRenderPipeline : Object { private bool m_disposed; protected ScriptableRenderPipeline() { } internal void DisposeInstance() { if (m_disposed) { return; } Dispose(true); m_disposed = true; } protected virtual bool SupportsStageRenderGraph( CameraFrameStage stage) { return false; } protected virtual bool RecordStageRenderGraph( ScriptableRenderContext context) { return false; } protected virtual void Dispose( bool disposing) { } } }