Added support for int shader variables

This commit is contained in:
Simon Lübeß
2021-09-19 14:22:37 +02:00
parent 8471b7d7b9
commit 90284739c0
4 changed files with 44 additions and 69 deletions
@@ -31,6 +31,8 @@ namespace GlitchyEngine.Renderer
_type = .Bool;
case .Float:
_type = .Float;
case .Int:
_type = .Int;
default:
Log.EngineLogger.Assert(false, scope $"Unhandled shader variable type: {shaderTypeDescription.Type}");
}