Added reflection and constant buffers to vertex shaders

This commit is contained in:
Simon Lübeß
2020-12-30 18:52:32 +01:00
parent d0c8685ce7
commit 56183c1896
6 changed files with 56 additions and 56 deletions
+2
View File
@@ -88,6 +88,8 @@ namespace GlitchyEngine
{
_vertexShader = Shader.FromFile!<VertexShader>(_window.Context, "content\\basicShader.hlsl", "VS");
_vertexShader.Buffers[0].SetData(Matrix.Identity);
// Create Input Layout
_vertexLayout = new VertexLayout(_window.Context, new .(