byte, sbyte

This commit is contained in:
ousttrue
2021-10-14 19:05:15 +09:00
parent 018f74402b
commit 907044ed78

View File

@@ -72,6 +72,14 @@ namespace UniGLTF
{
return cv.ComponentType;
}
else if (typeof(T) == typeof(sbyte))
{
return glComponentType.BYTE;
}
else if (typeof(T) == typeof(byte))
{
return glComponentType.UNSIGNED_BYTE;
}
else if (typeof(T) == typeof(ushort))
{
return glComponentType.UNSIGNED_SHORT;