cbuffers now initialized with default values from shader

This commit is contained in:
Simon Lübeß
2020-12-30 19:33:51 +01:00
parent 56183c1896
commit 5736f02dbf
2 changed files with 19 additions and 3 deletions
-2
View File
@@ -88,8 +88,6 @@ 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 .(