• Home
  • Raw
  • Download

Lines Matching refs:pCPODData

811 	CPODData **pCPODData = new CPODData*[7 + mesh.nNumUVW];  in WriteInterleaved()  local
813 if(mesh.sVertex.n) pCPODData[ui32CPODDataSize++] = &mesh.sVertex; in WriteInterleaved()
814 if(mesh.sNormals.n) pCPODData[ui32CPODDataSize++] = &mesh.sNormals; in WriteInterleaved()
815 if(mesh.sTangents.n) pCPODData[ui32CPODDataSize++] = &mesh.sTangents; in WriteInterleaved()
816 if(mesh.sBinormals.n) pCPODData[ui32CPODDataSize++] = &mesh.sBinormals; in WriteInterleaved()
817 if(mesh.sVtxColours.n) pCPODData[ui32CPODDataSize++] = &mesh.sVtxColours; in WriteInterleaved()
818 if(mesh.sBoneIdx.n) pCPODData[ui32CPODDataSize++] = &mesh.sBoneIdx; in WriteInterleaved()
819 if(mesh.sBoneWeight.n) pCPODData[ui32CPODDataSize++] = &mesh.sBoneWeight; in WriteInterleaved()
822 if(mesh.psUVW[i].n) pCPODData[ui32CPODDataSize++] = &mesh.psUVW[i]; in WriteInterleaved()
834 if(pCPODData[i]->pData > pCPODData[i + 1]->pData) in WriteInterleaved()
836 PVRTswap(pCPODData[i], pCPODData[i + 1]); in WriteInterleaved()
853 unsigned char* pData = pVtxStart + (size_t) pCPODData[j]->pData; in WriteInterleaved()
855 switch(PVRTModelPODDataTypeSize(pCPODData[j]->eType)) in WriteInterleaved()
857 case 1: if(!WriteFileSafe(pFile, pData, pCPODData[j]->n)) return false; break; in WriteInterleaved()
858 … case 2: if(!WriteFileSafe16(pFile, (unsigned short*) pData, pCPODData[j]->n)) return false; break; in WriteInterleaved()
859 case 4: if(!WriteFileSafe32(pFile, (unsigned int*) pData, pCPODData[j]->n)) return false; break; in WriteInterleaved()
867 …padding = ((size_t)pCPODData[j + 1]->pData - (size_t)pCPODData[j]->pData) - PVRTModelPODDataStride… in WriteInterleaved()
869 …padding = (pCPODData[j]->nStride - (size_t)pCPODData[j]->pData) - PVRTModelPODDataStride(*pCPODDat… in WriteInterleaved()
878 delete[] pCPODData; in WriteInterleaved()