Moved pixel-/vertex shader to own files

This commit is contained in:
Simon Lübeß
2020-12-27 13:55:38 +01:00
parent 3a599fd21a
commit 567ef97ffb
7 changed files with 99 additions and 73 deletions
@@ -0,0 +1,12 @@
using System;
namespace GlitchyEngine.Renderer
{
public class VertexShader : Shader
{
public this(GraphicsContext context, String source, String entryPoint, ShaderDefine[] macros = null)
: base(context, source, entryPoint, macros) { }
public override extern void CompileFromSource(String code, String entryPoint, ShaderDefine[] macros = null);
}
}