Searched refs:lightIndex (Results 1 – 2 of 2) sorted by relevance
230 const GLEScmContext::Light& GLEScmContext::getLightInfo(uint32_t lightIndex) { in getLightInfo() argument231 return mLights[lightIndex]; in getLightInfo()1363 uint32_t lightIndex = light - GL_LIGHT0; in lightf() local1365 if (lightIndex >= kMaxLights) { in lightf()1367 lightIndex); in lightf()1383 mLights[lightIndex].spotlightExponent = param; in lightf()1386 mLights[lightIndex].spotlightCutoffAngle = param; in lightf()1389 mLights[lightIndex].attenuationConst = param; in lightf()1392 mLights[lightIndex].attenuationLinear = param; in lightf()1395 mLights[lightIndex].attenuationQuadratic = param; in lightf()[all …]
187 const Light& getLightInfo(uint32_t lightIndex);