Interact with Materials from scripts

This commit is contained in:
Simon Lübeß
2025-02-14 11:54:07 +01:00
parent e5437c6ff6
commit aaed4199d3
24 changed files with 739 additions and 64 deletions
+4 -3
View File
@@ -187,11 +187,12 @@ class TextureViewer
Width = 100,
Height = 100,
ColorTargetDescriptions = TargetDescription[](
.(.R8G8B8A8_UNorm, clearColor: .Color(ColorRGBA.Pink)),
.(.R32_UInt)
.(.R8G8B8A8_UNorm, clearColor: .Color(ColorRGBA.Pink), ownDebugName: new $"Color"),
.(.R32_UInt, ownDebugName: new $"Enity ID (Unused)")
),
DepthTargetDescription = .(.D24_UNorm_S8_UInt)
DepthTargetDescription = .(.D24_UNorm_S8_UInt, ownDebugName: new $"Depth Stencil")
});
_targets.[Friend]Identifier = "Asset Viewer";
}
float2 _position;