23 lines
No EOL
560 B
C#
23 lines
No EOL
560 B
C#
using System;
|
|
using OpenTK.Graphics.OpenGL4;
|
|
using SM.Base;
|
|
using SM.Base.Drawing;
|
|
using SM.Base.Windows;
|
|
using SM.OGL.Framebuffer;
|
|
using SM2D.Shader;
|
|
|
|
namespace SM2D.Pipelines
|
|
{
|
|
public class Basic2DPipeline : RenderPipeline
|
|
{
|
|
public static Basic2DPipeline Pipeline = new Basic2DPipeline();
|
|
|
|
public override MaterialShader DefaultShader { get; protected set; } = ShaderCollection.Instanced;
|
|
|
|
|
|
protected override void RenderProcess(ref DrawContext context)
|
|
{
|
|
context.Scene?.Draw(context);
|
|
}
|
|
}
|
|
} |