Searched refs:lightModel (Results 1 – 4 of 4) sorted by relevance
2002 LightModelParameters &lightModel = state->lightModelParameters(); in SetLightModelParameters() local2007 lightModel.color = ColorF::fromData(params); in SetLightModelParameters()2010 lightModel.twoSided = *params == 1.0f ? true : false; in SetLightModelParameters()2019 const LightModelParameters &lightModel = state->lightModelParameters(); in GetLightModelParameters() local2024 *params = lightModel.twoSided ? 1.0f : 0.0f; in GetLightModelParameters()2027 lightModel.color.writeData(params); in GetLightModelParameters()
325 const auto &lightModel = gles1State.mLightModel; in prepareForDraw() local328 lightModel.color.data()); in prepareForDraw()
2275 LightModelParameters &lightModel = state->lightModelParameters(); in SetLightModelParameters() local2280 lightModel.color = ColorF::fromData(params); in SetLightModelParameters()2283 lightModel.twoSided = *params == 1.0f ? true : false; in SetLightModelParameters()2292 const LightModelParameters &lightModel = state->lightModelParameters(); in GetLightModelParameters() local2297 *params = lightModel.twoSided ? 1.0f : 0.0f; in GetLightModelParameters()2300 lightModel.color.writeData(params); in GetLightModelParameters()
349 const auto &lightModel = gles1State.mLightModel; in prepareForDraw() local352 lightModel.color.data()); in prepareForDraw()