• Home
  • Raw
  • Download

Lines Matching refs:pMaterial

1008 			if(!WriteData32(pFile, ePODFileMatFlags,  &s.pMaterial[i].nFlags)) return false;  in WritePOD()
1009 …if(!WriteData(pFile, ePODFileMatName, s.pMaterial[i].pszName, (unsigned int)strlen(s.pMaterial in WritePOD()
1010 if(!WriteData32(pFile, ePODFileMatIdxTexDiffuse, &s.pMaterial[i].nIdxTexDiffuse)) return false; in WritePOD()
1011 if(!WriteData32(pFile, ePODFileMatIdxTexAmbient, &s.pMaterial[i].nIdxTexAmbient)) return false; in WritePOD()
1012 …if(!WriteData32(pFile, ePODFileMatIdxTexSpecularColour, &s.pMaterial[i].nIdxTexSpecularColour)) re… in WritePOD()
1013 …if(!WriteData32(pFile, ePODFileMatIdxTexSpecularLevel, &s.pMaterial[i].nIdxTexSpecularLevel)) retu… in WritePOD()
1014 if(!WriteData32(pFile, ePODFileMatIdxTexBump, &s.pMaterial[i].nIdxTexBump)) return false; in WritePOD()
1015 if(!WriteData32(pFile, ePODFileMatIdxTexEmissive, &s.pMaterial[i].nIdxTexEmissive)) return false; in WritePOD()
1016 …if(!WriteData32(pFile, ePODFileMatIdxTexGlossiness, &s.pMaterial[i].nIdxTexGlossiness)) return fal… in WritePOD()
1017 if(!WriteData32(pFile, ePODFileMatIdxTexOpacity, &s.pMaterial[i].nIdxTexOpacity)) return false; in WritePOD()
1018 …if(!WriteData32(pFile, ePODFileMatIdxTexReflection, &s.pMaterial[i].nIdxTexReflection)) return fal… in WritePOD()
1019 …if(!WriteData32(pFile, ePODFileMatIdxTexRefraction, &s.pMaterial[i].nIdxTexRefraction)) return fal… in WritePOD()
1020 if(!WriteData32(pFile, ePODFileMatOpacity, &s.pMaterial[i].fMatOpacity)) return false; in WritePOD()
1021 …a32(pFile, ePODFileMatAmbient, s.pMaterial[i].pfMatAmbient, sizeof(s.pMaterial[i].pfMatAmbient) /… in WritePOD()
1022 …a32(pFile, ePODFileMatDiffuse, s.pMaterial[i].pfMatDiffuse, sizeof(s.pMaterial[i].pfMatDiffuse) /… in WritePOD()
1023 …2(pFile, ePODFileMatSpecular, s.pMaterial[i].pfMatSpecular, sizeof(s.pMaterial[i].pfMatSpecular) … in WritePOD()
1024 if(!WriteData32(pFile, ePODFileMatShininess, &s.pMaterial[i].fMatShininess)) return false; in WritePOD()
1025 …le, ePODFileMatEffectFile, s.pMaterial[i].pszEffectFile, s.pMaterial[i].pszEffectFile ? ((unsigne… in WritePOD()
1026 …le, ePODFileMatEffectName, s.pMaterial[i].pszEffectName, s.pMaterial[i].pszEffectName ? ((unsigne… in WritePOD()
1027 if(!WriteData32(pFile, ePODFileMatBlendSrcRGB, &s.pMaterial[i].eBlendSrcRGB))return false; in WritePOD()
1028 if(!WriteData32(pFile, ePODFileMatBlendSrcA, &s.pMaterial[i].eBlendSrcA)) return false; in WritePOD()
1029 if(!WriteData32(pFile, ePODFileMatBlendDstRGB, &s.pMaterial[i].eBlendDstRGB))return false; in WritePOD()
1030 if(!WriteData32(pFile, ePODFileMatBlendDstA, &s.pMaterial[i].eBlendDstA)) return false; in WritePOD()
1031 if(!WriteData32(pFile, ePODFileMatBlendOpRGB, &s.pMaterial[i].eBlendOpRGB)) return false; in WritePOD()
1032 if(!WriteData32(pFile, ePODFileMatBlendOpA, &s.pMaterial[i].eBlendOpA)) return false; in WritePOD()
1033 …pFile, ePODFileMatBlendColour, s.pMaterial[i].pfBlendColour, sizeof(s.pMaterial[i].pfBlendColour) … in WritePOD()
1034 …pFile, ePODFileMatBlendFactor, s.pMaterial[i].pfBlendFactor, sizeof(s.pMaterial[i].pfBlendFactor) … in WritePOD()
1035 …if(!WriteData(pFile, ePODFileMatUserData, s.pMaterial[i].pUserData, s.pMaterial[i].nUserDataSize… in WritePOD()
1666 …erial: if(!src.Read32(s.nNumMaterial)) return false; if(!SafeAlloc(s.pMaterial, s.nNumMaterial)… in ReadScene()
1673 case ePODFileMaterial: if(!ReadMaterial(s.pMaterial[nMaterials++], src)) return false; break; in ReadScene()
2010 if(scene.nNumMaterial && SafeAlloc(pMaterial, scene.nNumMaterial))
2015 PVRTModelPODCopyMaterial(scene.pMaterial[i], pMaterial[i]);
2174 FREE(pMaterial[i].pszName);
2175 FREE(pMaterial[i].pszEffectFile);
2176 FREE(pMaterial[i].pszEffectName);
2177 FREE(pMaterial[i].pUserData);
2179 FREE(pMaterial);
4382 if(in.nNumMaterial && SafeAlloc(out.pMaterial, in.nNumMaterial))
4387 PVRTModelPODCopyMaterial(in.pMaterial[i], out.pMaterial[i]);
4483 const SPODMaterial &srcMaterial = src.pMaterial[i];
4491 SPODMaterial &dstMaterial = dst.pMaterial[j];