Lines Matching defs:light_idx
1778 UINT light_idx, const struct wined3d_light *light)
1780 UINT hash_idx = LIGHTMAP_HASHFUNC(light_idx);
1785 TRACE("device %p, light_idx %u, light %p.\n", device, light_idx, light);
1819 if (object->OriginalIndex == light_idx)
1833 object->OriginalIndex = light_idx;
1838 light_idx, light->type,
1935 UINT light_idx, struct wined3d_light *light)
1937 UINT hash_idx = LIGHTMAP_HASHFUNC(light_idx);
1941 TRACE("device %p, light_idx %u, light %p.\n", device, light_idx, light);
1946 if (light_info->OriginalIndex == light_idx)
1961 HRESULT CDECL wined3d_device_set_light_enable(struct wined3d_device *device, UINT light_idx, BOOL enable)
1963 UINT hash_idx = LIGHTMAP_HASHFUNC(light_idx);
1967 TRACE("device %p, light_idx %u, enable %#x.\n", device, light_idx, enable);
1972 if (light_info->OriginalIndex == light_idx)
1982 wined3d_device_set_light(device, light_idx, &WINED3D_default_light);
1988 if (light_info->OriginalIndex == light_idx)
2063 HRESULT CDECL wined3d_device_get_light_enable(const struct wined3d_device *device, UINT light_idx, BOOL *enable)
2065 UINT hash_idx = LIGHTMAP_HASHFUNC(light_idx);
2069 TRACE("device %p, light_idx %u, enable %p.\n", device, light_idx, enable);
2074 if (light_info->OriginalIndex == light_idx)