Added Quaternion component type
Not compatible with Vertex Declaration though Former-commit-id: 3174553981ab23fe59ed616c2ce1a27bf7db0108
This commit is contained in:
@@ -919,6 +919,9 @@ bool NzRenderer::IsComponentTypeSupported(nzComponentType type)
|
||||
case nzComponentType_Int3:
|
||||
case nzComponentType_Int4:
|
||||
return glVertexAttribIPointer != nullptr; // Fonction requise pour envoyer des entiers
|
||||
|
||||
case nzComponentType_Quaternion:
|
||||
return false;
|
||||
}
|
||||
|
||||
NazaraError("Attribute type out of enum (0x" + NzString::Number(type, 16) + ')');
|
||||
@@ -1851,6 +1854,11 @@ bool NzRenderer::EnsureStateUpdate()
|
||||
break;
|
||||
}
|
||||
|
||||
default:
|
||||
{
|
||||
NazaraInternalError("Unsupported component type");
|
||||
break;
|
||||
}
|
||||
}
|
||||
// Les attributs d'instancing ont un diviseur spécifique (pour dépendre de l'instance en cours)
|
||||
if (i == 1)
|
||||
|
||||
Reference in New Issue
Block a user