example code:
// Bake mesh as VBO(vertex buffer object) into GPU.
if (lNodeAttribute->GetAttributeType() == FbxNodeAttribute::eMesh)
{
FbxMesh * lMesh = pNode->GetMesh();
if (pSupportVBO && lMesh && !lMesh->GetUserDataPtr())
{
FbxAutoPtr<VBOMesh> lMeshCache(new VBOMesh);
if (lMeshCache->Initialize(lMesh))
{
lMesh->SetUserDataPtr(lMeshCache.Release());
}
}
}
my questions are 1) why we need to call GetUserDataPtr(), SetUserDataPtr() here? 2) what is user record data