• Home
  • Raw
  • Download

Lines Matching refs:nNumVertex

845 …if(!WriteMarker(pFile, ePODFileMeshInterleaved, false, mesh.nNumVertex * mesh.sVertex.nStride)) re…  in WriteInterleaved()
847 for(i = 0; i < mesh.nNumVertex; ++i) in WriteInterleaved()
1045 if(!WriteData32(pFile, ePODFileMeshNumVtx, &s.pMesh[i].nNumVertex)) return false; 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()
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 …if(!WriteCPODData(pFile, ePODFileMeshBoneWeight, s.pMesh[i].sBoneWeight, s.pMesh[i].nNumVertex, s.… in WritePOD()
1433 PVRTFixInterleavedEndiannessUsingCPODData(s.pInterleaved, s.sVertex, s.nNumVertex); in PVRTFixInterleavedEndianness()
1434 PVRTFixInterleavedEndiannessUsingCPODData(s.pInterleaved, s.sNormals, s.nNumVertex); in PVRTFixInterleavedEndianness()
1435 PVRTFixInterleavedEndiannessUsingCPODData(s.pInterleaved, s.sTangents, s.nNumVertex); in PVRTFixInterleavedEndianness()
1436 PVRTFixInterleavedEndiannessUsingCPODData(s.pInterleaved, s.sBinormals, s.nNumVertex); in PVRTFixInterleavedEndianness()
1439 PVRTFixInterleavedEndiannessUsingCPODData(s.pInterleaved, s.psUVW[i], s.nNumVertex); in PVRTFixInterleavedEndianness()
1441 PVRTFixInterleavedEndiannessUsingCPODData(s.pInterleaved, s.sVtxColours, s.nNumVertex); in PVRTFixInterleavedEndianness()
1442 PVRTFixInterleavedEndiannessUsingCPODData(s.pInterleaved, s.sBoneIdx, s.nNumVertex); in PVRTFixInterleavedEndianness()
1443 PVRTFixInterleavedEndiannessUsingCPODData(s.pInterleaved, s.sBoneWeight, s.nNumVertex); in PVRTFixInterleavedEndianness()
1472 case ePODFileMeshNumVtx: if(!src.Read32(s.nNumVertex)) return false; break; in ReadMesh()
3172 if(!mesh.nNumVertex)
3192 …PVRTBoundingBoxComputeInterleaved(&BoundingBox, mesh.sVertex.pData, mesh.nNumVertex, 0, mesh.sVe…
3263 for(unsigned int i = 0; i < mesh.nNumVertex; ++i)
3289 PVRTModelPODDataConvert(mesh.sVertex, mesh.nNumVertex, eNewType);
3403 const PVRTuint32 nNumVertex, argument
3411 for(PVRTuint32 i = 0; i < nNumVertex; ++i)
3430 const PVRTuint32 nNumVertex, argument
3442 SafeAlloc(data.pData, nAlignedStride * nNumVertex);
3445 for(PVRTuint32 i = 0; i < nNumVertex; ++i)
3459 if(!mesh.nNumVertex)
3467 DeinterleaveArray(mesh.sVertex, mesh.pInterleaved, mesh.nNumVertex, ui32AlignToNBytes);
3468 DeinterleaveArray(mesh.sNormals, mesh.pInterleaved, mesh.nNumVertex, ui32AlignToNBytes);
3469 DeinterleaveArray(mesh.sTangents, mesh.pInterleaved, mesh.nNumVertex, ui32AlignToNBytes);
3470 DeinterleaveArray(mesh.sBinormals, mesh.pInterleaved, mesh.nNumVertex, ui32AlignToNBytes);
3473 DeinterleaveArray(mesh.psUVW[i], mesh.pInterleaved, mesh.nNumVertex, ui32AlignToNBytes);
3475 DeinterleaveArray(mesh.sVtxColours, mesh.pInterleaved, mesh.nNumVertex, ui32AlignToNBytes);
3476 DeinterleaveArray(mesh.sBoneIdx, mesh.pInterleaved, mesh.nNumVertex, ui32AlignToNBytes);
3477 DeinterleaveArray(mesh.sBoneWeight, mesh.pInterleaved, mesh.nNumVertex, ui32AlignToNBytes);
3524 SafeAlloc(mesh.pInterleaved, mesh.nNumVertex * nStride);
3532 …InterleaveArray((char*)mesh.pInterleaved, mesh.sVertex, mesh.nNumVertex, nStride, nVertexPadding, …
3535 …InterleaveArray((char*)mesh.pInterleaved, mesh.sNormals, mesh.nNumVertex, nStride, nNormalPadding,…
3538 …InterleaveArray((char*)mesh.pInterleaved, mesh.sTangents, mesh.nNumVertex, nStride, nTangentPaddin…
3541 …InterleaveArray((char*)mesh.pInterleaved, mesh.sBinormals, mesh.nNumVertex, nStride, nBinormalPadd…
3544 …InterleaveArray((char*)mesh.pInterleaved, mesh.sVtxColours, mesh.nNumVertex, nStride, nVtxColourPa…
3549 …InterleaveArray((char*)mesh.pInterleaved, mesh.psUVW[i], mesh.nNumVertex, nStride, nUVWPadding[i],…
3553 …InterleaveArray((char*)mesh.pInterleaved, mesh.sBoneIdx, mesh.nNumVertex, nStride, nBoneIdxPadding…
3556 …InterleaveArray((char*)mesh.pInterleaved, mesh.sBoneWeight, mesh.nNumVertex, nStride, nBoneWeightP…
3571 if(!mesh.pInterleaved || !mesh.nNumVertex)
3574 _ASSERT(mesh.nNumVertex && mesh.nNumFaces);
3577 mesh.nNumVertex = PVRTModelPODCountIndices(mesh);
3578 SafeAlloc(pNew, mesh.sVertex.nStride * mesh.nNumVertex);
3583 for(unsigned int i = 0; i < mesh.nNumVertex; ++i)
3590 for(unsigned int i = 0; i < mesh.nNumVertex; ++i)
3885 out.nNumVertex = in.nNumVertex;
3892 PVRTModelPODCopyCPODData(in.sVertex , out.sVertex , out.nNumVertex, bInterleaved);
3893 PVRTModelPODCopyCPODData(in.sNormals , out.sNormals , out.nNumVertex, bInterleaved);
3894 PVRTModelPODCopyCPODData(in.sTangents , out.sTangents , out.nNumVertex, bInterleaved);
3895 PVRTModelPODCopyCPODData(in.sBinormals , out.sBinormals , out.nNumVertex, bInterleaved);
3896 PVRTModelPODCopyCPODData(in.sVtxColours, out.sVtxColours, out.nNumVertex, bInterleaved);
3897 PVRTModelPODCopyCPODData(in.sBoneIdx , out.sBoneIdx , out.nNumVertex, bInterleaved);
3898 PVRTModelPODCopyCPODData(in.sBoneWeight, out.sBoneWeight, out.nNumVertex, bInterleaved);
3906 PVRTModelPODCopyCPODData(in.psUVW[i], out.psUVW[i], out.nNumVertex, bInterleaved);
3911 if(bInterleaved && SafeAlloc(out.pInterleaved, out.nNumVertex * in.sVertex.nStride))
3912 memcpy(out.pInterleaved, in.pInterleaved, out.nNumVertex * in.sVertex.nStride);
4171 …char*) realloc(outMesh.sVertex.pData, PVRTModelPODDataStride(outMesh.sVertex) * inMesh.nNumVertex);
4177 …ar*) realloc(outMesh.sNormals.pData, PVRTModelPODDataStride(outMesh.sNormals) * inMesh.nNumVertex);
4183 …*) realloc(outMesh.sTangents.pData, PVRTModelPODDataStride(outMesh.sTangents) * inMesh.nNumVertex);
4189 … realloc(outMesh.sBinormals.pData, PVRTModelPODDataStride(outMesh.sBinormals) * inMesh.nNumVertex);
4202 SafeAlloc(pbTransformed, inMesh.nNumVertex);
4316 for(j = 0; j < inMesh.nNumVertex; ++j)