1
mirror of https://github.com/sampletext32/ParkanPlayground.git synced 2025-12-09 11:11:24 +04:00
Files
parkan-playground/TexmLib/Extensions.cs
2025-11-27 19:01:41 +03:00

16 lines
289 B
C#

namespace TexmLib;
public static class Extensions
{
public static int AsStride(this int format)
{
return format switch
{
0x22B8 => 32,
0x115C => 16,
0x235 => 16,
0x378 => 32,
0 => 32
};
}
}