Materials kind of working and used in some places

- Also Texture viewer fixes
This commit is contained in:
Simon Lübeß
2025-02-09 01:39:35 +01:00
parent acfb052137
commit 76087d6ba4
21 changed files with 572 additions and 322 deletions
@@ -84,7 +84,7 @@ class MaterialProcessor : IAssetProcessor
{
Log.EngineLogger.Error("The buffers of a material must be ConstantBuffers.");
continue;
// TODO: Why even allow any kind of Buffer for Materials? Will this make sense later if we can create and bind Buffers from C#?
// TODO: Why even allow any other kind of Buffer for Materials? Will this make sense later if we can create and bind Buffers from C#?
}
Span<uint8> data = processedMaterial.CloneBuffer(buffer.Name, cBuffer);