diff --git a/src/DirectX12GameEngine.Shaders/Renderer/ShaderRenderer.cs b/src/DirectX12GameEngine.Shaders/Renderer/ShaderRenderer.cs
new file mode 100644
index 00000000..5533346f
--- /dev/null
+++ b/src/DirectX12GameEngine.Shaders/Renderer/ShaderRenderer.cs
@@ -0,0 +1,44 @@
+using System;
+using System.Diagnostics.Contracts;
+using System.IO;
+using System.Reflection;
+using DirectX12GameEngine.Shaders.Renderer.Models;
+
+namespace DirectX12GameEngine.Shaders.Renderer
+{
+ ///
+ /// A that uses the mustache templating system to render HLSL shaders
+ ///
+ public sealed class ShaderRenderer
+ {
+ ///
+ /// Gets the singleton instance to use
+ ///
+ public static ShaderRenderer Instance { get; } = new ShaderRenderer();
+
+ ///
+ /// Creates a new instance and loads the mustache template to use
+ ///
+ private ShaderRenderer()
+ {
+ string
+ assemblyPath = Assembly.GetExecutingAssembly().Location,
+ assemblyDirectory = Path.GetDirectoryName(assemblyPath) ?? throw new InvalidOperationException("Can't find the assembly directory"),
+ templatePath = Path.Combine(assemblyDirectory, "Assets", "ShaderTemplate.mustache");
+ Template = File.ReadAllText(templatePath);
+ }
+
+ ///
+ /// Gets the mustache template used by the shader renderer
+ ///
+ public string Template { get; }
+
+ ///
+ /// Renders a new HLSL shader source with the given parameters
+ ///
+ /// The input instance with the shader information
+ /// The source code for the new HLSL shader
+ [Pure]
+ public string Render(ShaderInfo info) => Nustache.Core.Render.StringToString(Template, info);
+ }
+}