material initial and pose fix

This commit is contained in:
bird_egop
2026-06-06 21:26:56 +03:00
parent 776bb9fcb3
commit 5baf3f324f
13 changed files with 536 additions and 248 deletions
@@ -0,0 +1,16 @@
namespace NResUI.Rendering.Viewport;
public sealed class ViewportMaterial
{
public string Name { get; }
public uint TextureHandle { get; }
public bool HasTexture => TextureHandle != 0;
public ViewportMaterial(string name, uint textureHandle = 0)
{
Name = name;
TextureHandle = textureHandle;
}
public static ViewportMaterial Untextured { get; } = new("Untextured");
}