mirror of
https://github.com/sampletext32/ParkanPlayground.git
synced 2026-08-15 02:57:49 +04:00
material initial and pose fix
This commit is contained in:
@@ -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");
|
||||
}
|
||||
Reference in New Issue
Block a user