Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

105 lines
4.1 KiB

  1. /*==========================================================================;
  2. *
  3. * Copyright (C) 1997 Microsoft Corporation. All Rights Reserved.
  4. *
  5. * File: light.h
  6. * Content: Direct3D lighting include file
  7. *
  8. ***************************************************************************/
  9. #ifndef __LIGHT_H__
  10. #define __LIGHT_H__
  11. extern void D3DFE_UpdateLights(LPDIRECT3DDEVICEI);
  12. struct BATCHBUFFER;
  13. extern "C"
  14. {
  15. void Directional7(LPD3DFE_PROCESSVERTICES pv,
  16. D3DI_LIGHT *light,
  17. D3DVERTEX *pInpCoord,
  18. D3DVECTOR *pInpNormal,
  19. D3DLIGHTINGELEMENT *pEyeSpaceData);
  20. void Directional7Model(LPD3DFE_PROCESSVERTICES pv,
  21. D3DI_LIGHT *light,
  22. D3DVERTEX *pInpCoord,
  23. D3DVECTOR *pInpNormal,
  24. D3DLIGHTINGELEMENT *pEyeSpaceData);
  25. void PointSpot7(LPD3DFE_PROCESSVERTICES pv,
  26. D3DI_LIGHT *light,
  27. D3DVERTEX *pInpCoord,
  28. D3DVECTOR *pInpNormal,
  29. D3DLIGHTINGELEMENT *pEyeSpaceData);
  30. void PointSpot7Model(LPD3DFE_PROCESSVERTICES pv,
  31. D3DI_LIGHT *light,
  32. D3DVERTEX *pInpCoord,
  33. D3DVECTOR *pInpNormal,
  34. D3DLIGHTINGELEMENT *pEyeSpaceData);
  35. void DirectionalFirst(LPD3DFE_PROCESSVERTICES pv,
  36. DWORD dwVerCount,
  37. BATCHBUFFER *pBatchBuffer,
  38. D3DI_LIGHT *light,
  39. D3DVERTEX *in,
  40. D3DVECTOR *pNormal,
  41. DWORD *pDiffuse,
  42. DWORD *pSpecular);
  43. void DirectionalNext(LPD3DFE_PROCESSVERTICES pv,
  44. DWORD dwVerCount,
  45. BATCHBUFFER *pBatchBuffer,
  46. D3DI_LIGHT *light,
  47. D3DVERTEX *in,
  48. D3DVECTOR *pNormal,
  49. DWORD *pDiffuse,
  50. DWORD *pSpecular);
  51. void PointSpotFirst(LPD3DFE_PROCESSVERTICES pv,
  52. DWORD dwVerCount,
  53. BATCHBUFFER *pBatchBuffer,
  54. D3DI_LIGHT *light,
  55. D3DVERTEX *in,
  56. D3DVECTOR *pNormal,
  57. DWORD *pDiffuse,
  58. DWORD *pSpecular);
  59. void PointSpotNext(LPD3DFE_PROCESSVERTICES pv,
  60. DWORD dwVerCount,
  61. BATCHBUFFER *pBatchBuffer,
  62. D3DI_LIGHT *light,
  63. D3DVERTEX *in,
  64. D3DVECTOR *pNormal,
  65. DWORD *pDiffuse,
  66. DWORD *pSpecular);
  67. void DirectionalFirstModel(LPD3DFE_PROCESSVERTICES pv,
  68. DWORD dwVerCount,
  69. BATCHBUFFER *pBatchBuffer,
  70. D3DI_LIGHT *light,
  71. D3DVERTEX *in,
  72. D3DVECTOR *pNormal,
  73. DWORD *pDiffuse,
  74. DWORD *pSpecular);
  75. void DirectionalNextModel(LPD3DFE_PROCESSVERTICES pv,
  76. DWORD dwVerCount,
  77. BATCHBUFFER *pBatchBuffer,
  78. D3DI_LIGHT *light,
  79. D3DVERTEX *in,
  80. D3DVECTOR *pNormal,
  81. DWORD *pDiffuse,
  82. DWORD *pSpecular);
  83. void PointSpotFirstModel(LPD3DFE_PROCESSVERTICES pv,
  84. DWORD dwVerCount,
  85. BATCHBUFFER *pBatchBuffer,
  86. D3DI_LIGHT *light,
  87. D3DVERTEX *in,
  88. D3DVECTOR *pNormal,
  89. DWORD *pDiffuse,
  90. DWORD *pSpecular);
  91. void PointSpotNextModel(LPD3DFE_PROCESSVERTICES pv,
  92. DWORD dwVerCount,
  93. BATCHBUFFER *pBatchBuffer,
  94. D3DI_LIGHT *light,
  95. D3DVERTEX *in,
  96. D3DVECTOR *pNormal,
  97. DWORD *pDiffuse,
  98. DWORD *pSpecular);
  99. }
  100. #endif /* __LIGHT_H__ */