mirror of
https://github.com/vrm-c/UniVRM.git
synced 2026-08-23 19:15:07 -05:00
byte, sbyte
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user