remove params methods + implicit BufferBinding cast

pull/35/head
cosmonaut 2022-11-17 11:33:42 -08:00
parent 99a7064e2e
commit 60a49a2e52
2 changed files with 769 additions and 187 deletions

File diff suppressed because it is too large Load Diff

View File

@ -1,5 +1,4 @@
using System;
using System.Runtime.InteropServices;
using RefreshCS;
namespace MoonWorks.Graphics
@ -78,5 +77,10 @@ namespace MoonWorks.Graphics
);
}
}
public static implicit operator BufferBinding(Buffer b)
{
return new BufferBinding(b, 0);
}
}
}