Updated C# bindings for new material API changes!
@@ -7,6 +7,17 @@ using System.Threading.Tasks;
namespace StereoKit
{
+ [StructLayout(LayoutKind.Sequential)]
+ public struct Color32
+ {
+ public byte r, g, b, a;
+ }
+ [StructLayout(LayoutKind.Sequential)]
+ public struct Color
+ {
+ public float r, g, b, a;
+ }
+
[StructLayout(LayoutKind.Sequential)]
public struct Vec3
{
