Lines Matching refs:pLight
2262 const D3DLIGHT9 *pLight ) in NineDevice9_SetLight() argument
2267 DBG("This=%p Index=%u pLight=%p\n", This, Index, pLight); in NineDevice9_SetLight()
2268 if (pLight) in NineDevice9_SetLight()
2269 nine_dump_D3DLIGHT9(DBG_FF, pLight); in NineDevice9_SetLight()
2271 user_assert(pLight, D3DERR_INVALIDCALL); in NineDevice9_SetLight()
2272 user_assert(pLight->Type < NINED3DLIGHT_INVALID, D3DERR_INVALIDCALL); in NineDevice9_SetLight()
2276 hr = nine_state_set_light(&state->ff, Index, pLight); in NineDevice9_SetLight()
2280 if (pLight->Type != D3DLIGHT_DIRECTIONAL && in NineDevice9_SetLight()
2281 pLight->Attenuation0 == 0.0f && in NineDevice9_SetLight()
2282 pLight->Attenuation1 == 0.0f && in NineDevice9_SetLight()
2283 pLight->Attenuation2 == 0.0f) { in NineDevice9_SetLight()
2290 nine_context_set_light(This, Index, pLight); in NineDevice9_SetLight()
2298 D3DLIGHT9 *pLight ) in NineDevice9_GetLight() argument
2303 user_assert(pLight, D3DERR_INVALIDCALL); in NineDevice9_GetLight()
2308 *pLight = state->ff.light[Index]; in NineDevice9_GetLight()