Home | History | Annotate | Download | only in Tools

Lines Matching refs:pLight

983 			if(!WriteData32(pFile, ePODFileLightIdxTgt,	&s.pLight[i].nIdxTarget)) return false;
984 if(!WriteData32(pFile, ePODFileLightColour, s.pLight[i].pfColour, sizeof(s.pLight[i].pfColour) / sizeof(*s.pLight[i].pfColour))) return false;
985 if(!WriteData32(pFile, ePODFileLightType, &s.pLight[i].eType)) return false;
987 if(s.pLight[i].eType != ePODDirectional)
989 if(!WriteData32(pFile, ePODFileLightConstantAttenuation, &s.pLight[i].fConstantAttenuation)) return false;
990 if(!WriteData32(pFile, ePODFileLightLinearAttenuation, &s.pLight[i].fLinearAttenuation)) return false;
991 if(!WriteData32(pFile, ePODFileLightQuadraticAttenuation, &s.pLight[i].fQuadraticAttenuation)) return false;
994 if(s.pLight[i].eType == ePODSpot)
996 if(!WriteData32(pFile, ePODFileLightFalloffAngle, &s.pLight[i].fFalloffAngle)) return false;
997 if(!WriteData32(pFile, ePODFileLightFalloffExponent, &s.pLight[i].fFalloffExponent)) return false;
1661 case ePODFileNumLight: if(!src.Read32(s.nNumLight)) return false; if(!SafeAlloc(s.pLight, s.nNumLight)) return false; break;
1672 case ePODFileLight: if(!ReadLight(s.pLight[nLights++], src)) return false; break;
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]);