using SM.Base.Shaders; using SM.Base.Window; using SM2D.Shader; namespace SM2D.Pipelines { /// /// This implements the most basic render pipeline. /// public class Basic2DPipeline : RenderPipeline { /// /// The access to the pipeline. /// public static Basic2DPipeline Pipeline = new Basic2DPipeline(); /// public override MaterialShader DefaultShader { get; protected set; } = ShaderCollection.Instanced; private Basic2DPipeline() {} /// protected override void RenderProcess(ref DrawContext context) { context.Scene?.Draw(context); } } }