• Home
  • Raw
  • Download

Lines Matching refs:pMesh

1045 			if(!WriteData32(pFile, ePODFileMeshNumVtx,			&s.pMesh[i].nNumVertex)) return false;  in WritePOD()
1046 if(!WriteData32(pFile, ePODFileMeshNumFaces, &s.pMesh[i].nNumFaces)) return false; in WritePOD()
1047 if(!WriteData32(pFile, ePODFileMeshNumUVW, &s.pMesh[i].nNumUVW)) return false; in WritePOD()
1048 …if(!WriteData32(pFile, ePODFileMeshStripLength, s.pMesh[i].pnStripLength, s.pMesh[i].nNumStrips))… in WritePOD()
1049 if(!WriteData32(pFile, ePODFileMeshNumStrips, &s.pMesh[i].nNumStrips)) return false; in WritePOD()
1050 if(!WriteInterleaved(pFile, s.pMesh[i])) return false; in WritePOD()
1051 …if(!WriteData32(pFile, ePODFileMeshBoneBatchBoneMax,&s.pMesh[i].sBoneBatches.nBatchBoneMax)) retur… in WritePOD()
1052 …if(!WriteData32(pFile, ePODFileMeshBoneBatchCnt, &s.pMesh[i].sBoneBatches.nBatchCnt)) return false; in WritePOD()
1053 …(pFile, ePODFileMeshBoneBatches, s.pMesh[i].sBoneBatches.pnBatches, s.pMesh[i].sBoneBatches.nBatc… in WritePOD()
1054 …(!WriteData32(pFile, ePODFileMeshBoneBatchBoneCnts, s.pMesh[i].sBoneBatches.pnBatchBoneCnt, s.pMes… in WritePOD()
1055 …if(!WriteData32(pFile, ePODFileMeshBoneBatchOffsets, s.pMesh[i].sBoneBatches.pnBatchOffset,s.pMesh in WritePOD()
1056 if(!WriteData32(pFile, ePODFileMeshUnpackMatrix, s.pMesh[i].mUnpackMatrix.f, 16)) return false; in WritePOD()
1058 …if(!WriteCPODData(pFile, ePODFileMeshFaces, s.pMesh[i].sFaces, PVRTModelPODCountIndices(s.pMesh in WritePOD()
1059 …if(!WriteCPODData(pFile, ePODFileMeshVtx, s.pMesh[i].sVertex, s.pMesh[i].nNumVertex, s.pMesh[i]… in WritePOD()
1060 …if(!WriteCPODData(pFile, ePODFileMeshNor, s.pMesh[i].sNormals, s.pMesh[i].nNumVertex, s.pMesh[i]… in WritePOD()
1061 …if(!WriteCPODData(pFile, ePODFileMeshTan, s.pMesh[i].sTangents, s.pMesh[i].nNumVertex, s.pMesh[i… in WritePOD()
1062 …if(!WriteCPODData(pFile, ePODFileMeshBin, s.pMesh[i].sBinormals, s.pMesh[i].nNumVertex, s.pMesh in WritePOD()
1064 for(j = 0; j < s.pMesh[i].nNumUVW; ++j) in WritePOD()
1065 …if(!WriteCPODData(pFile, ePODFileMeshUVW, s.pMesh[i].psUVW[j], s.pMesh[i].nNumVertex, s.pMesh[i].… in WritePOD()
1067 …if(!WriteCPODData(pFile, ePODFileMeshVtxCol, s.pMesh[i].sVtxColours, s.pMesh[i].nNumVertex, s.pMe… in WritePOD()
1068 …if(!WriteCPODData(pFile, ePODFileMeshBoneIdx, s.pMesh[i].sBoneIdx, s.pMesh[i].nNumVertex, s.pMesh in WritePOD()
1069 …f(!WriteCPODData(pFile, ePODFileMeshBoneWeight, s.pMesh[i].sBoneWeight, s.pMesh[i].nNumVertex, s.p… in WritePOD()
1662 …case ePODFileNumMesh: if(!src.Read32(s.nNumMesh)) return false; if(!SafeAlloc(s.pMesh, s.nNum… in ReadScene()
1674 case ePODFileMesh: if(!ReadMesh(s.pMesh[nMeshes++], src)) return false; break; in ReadScene()
1974 if(scene.nNumMesh && SafeAlloc(pMesh, scene.nNumMesh))
1979 PVRTModelPODCopyMesh(scene.pMesh[i], pMesh[i]);
2182 FREE(pMesh[i].sFaces.pData);
2183 FREE(pMesh[i].pnStripLength);
2184 if(pMesh[i].pInterleaved)
2186 FREE(pMesh[i].pInterleaved);
2190 FREE(pMesh[i].sVertex.pData);
2191 FREE(pMesh[i].sNormals.pData);
2192 FREE(pMesh[i].sTangents.pData);
2193 FREE(pMesh[i].sBinormals.pData);
2194 for(unsigned int j = 0; j < pMesh[i].nNumUVW; ++j)
2195 FREE(pMesh[i].psUVW[j].pData);
2196 FREE(pMesh[i].sVtxColours.pData);
2197 FREE(pMesh[i].sBoneIdx.pData);
2198 FREE(pMesh[i].sBoneWeight.pData);
2200 FREE(pMesh[i].psUVW);
2201 pMesh[i].sBoneBatches.Release();
2203 FREE(pMesh);
4109 SafeAlloc(out.pMesh, in.nNumMeshNode);
4134 SPODMesh& inMesh = in.pMesh[inNode.nIdx];
4135 SPODMesh& outMesh = out.pMesh[i];