Lines Matching refs:pLight

983 			if(!WriteData32(pFile, ePODFileLightIdxTgt,	&s.pLight[i].nIdxTarget)) return false;  in WritePOD()
984 …!WriteData32(pFile, ePODFileLightColour, s.pLight[i].pfColour, sizeof(s.pLight[i].pfColour) / size… in WritePOD()
985 if(!WriteData32(pFile, ePODFileLightType, &s.pLight[i].eType)) return false; in WritePOD()
987 if(s.pLight[i].eType != ePODDirectional) in WritePOD()
989 …if(!WriteData32(pFile, ePODFileLightConstantAttenuation, &s.pLight[i].fConstantAttenuation)) retu… in WritePOD()
990 …if(!WriteData32(pFile, ePODFileLightLinearAttenuation, &s.pLight[i].fLinearAttenuation)) return… in WritePOD()
991 …if(!WriteData32(pFile, ePODFileLightQuadraticAttenuation, &s.pLight[i].fQuadraticAttenuation)) ret… in WritePOD()
994 if(s.pLight[i].eType == ePODSpot) in WritePOD()
996 … if(!WriteData32(pFile, ePODFileLightFalloffAngle, &s.pLight[i].fFalloffAngle)) return false; in WritePOD()
997 …if(!WriteData32(pFile, ePODFileLightFalloffExponent, &s.pLight[i].fFalloffExponent)) return fal… in WritePOD()
1661 …case ePODFileNumLight: if(!src.Read32(s.nNumLight)) return false; if(!SafeAlloc(s.pLight, s.nN… in ReadScene()
1672 case ePODFileLight: if(!ReadLight(s.pLight[nLights++], src)) return false; break; in ReadScene()
1992 if(scene.nNumLight && SafeAlloc(pLight, scene.nNumLight))
1997 PVRTModelPODCopyLight(scene.pLight[i], pLight[i]);
2170 FREE(pLight);
2863 _ASSERT(pLight[u32Idx].eType!=ePODDirectional);
2879 _ASSERT(pLight[u32Idx].eType!=ePODPoint);
4364 if(in.nNumLight && SafeAlloc(out.pLight, in.nNumLight))
4369 PVRTModelPODCopyLight(in.pLight[i], out.pLight[i]);