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.

127 lines
5.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. struct BATCHBUFFER;
  12. extern "C"
  13. {
  14. void Directional7(LPD3DFE_PROCESSVERTICES pv,
  15. D3DI_LIGHT *light,
  16. D3DVERTEX *pInpCoord,
  17. D3DVALUE* pWeights,
  18. BYTE* pMatrixIndices,
  19. D3DVECTOR *pInpNormal,
  20. D3DLIGHTINGELEMENT *pEyeSpaceData);
  21. void Directional7Model(LPD3DFE_PROCESSVERTICES pv,
  22. D3DI_LIGHT *light,
  23. D3DVERTEX *pInpCoord,
  24. D3DVALUE* pWeights,
  25. BYTE* pMatrixIndices,
  26. D3DVECTOR *pInpNormal,
  27. D3DLIGHTINGELEMENT *pEyeSpaceData);
  28. void PointSpot7(LPD3DFE_PROCESSVERTICES pv,
  29. D3DI_LIGHT *light,
  30. D3DVERTEX *pInpCoord,
  31. D3DVALUE* pWeights,
  32. BYTE* pMatrixIndices,
  33. D3DVECTOR *pInpNormal,
  34. D3DLIGHTINGELEMENT *pEyeSpaceData);
  35. void PointSpot7Model(LPD3DFE_PROCESSVERTICES pv,
  36. D3DI_LIGHT *light,
  37. D3DVERTEX *pInpCoord,
  38. D3DVALUE* pWeights,
  39. BYTE* pMatrixIndices,
  40. D3DVECTOR *pInpNormal,
  41. D3DLIGHTINGELEMENT *pEyeSpaceData);
  42. void DirectionalFirst(LPD3DFE_PROCESSVERTICES pv,
  43. DWORD dwVerCount,
  44. BATCHBUFFER *pBatchBuffer,
  45. D3DI_LIGHT *light,
  46. D3DVERTEX *in,
  47. D3DVALUE* pWeights,
  48. BYTE* pMatrixIndices,
  49. D3DVECTOR *pNormal,
  50. DWORD *pDiffuse,
  51. DWORD *pSpecular);
  52. void DirectionalNext(LPD3DFE_PROCESSVERTICES pv,
  53. DWORD dwVerCount,
  54. BATCHBUFFER *pBatchBuffer,
  55. D3DI_LIGHT *light,
  56. D3DVERTEX *in,
  57. D3DVALUE* pWeights,
  58. BYTE* pMatrixIndices,
  59. D3DVECTOR *pNormal,
  60. DWORD *pDiffuse,
  61. DWORD *pSpecular);
  62. void PointSpotFirst(LPD3DFE_PROCESSVERTICES pv,
  63. DWORD dwVerCount,
  64. BATCHBUFFER *pBatchBuffer,
  65. D3DI_LIGHT *light,
  66. D3DVERTEX *in,
  67. D3DVALUE* pWeights,
  68. BYTE* pMatrixIndices,
  69. D3DVECTOR *pNormal,
  70. DWORD *pDiffuse,
  71. DWORD *pSpecular);
  72. void PointSpotNext(LPD3DFE_PROCESSVERTICES pv,
  73. DWORD dwVerCount,
  74. BATCHBUFFER *pBatchBuffer,
  75. D3DI_LIGHT *light,
  76. D3DVERTEX *in,
  77. D3DVALUE* pWeights,
  78. BYTE* pMatrixIndices,
  79. D3DVECTOR *pNormal,
  80. DWORD *pDiffuse,
  81. DWORD *pSpecular);
  82. void DirectionalFirstModel(LPD3DFE_PROCESSVERTICES pv,
  83. DWORD dwVerCount,
  84. BATCHBUFFER *pBatchBuffer,
  85. D3DI_LIGHT *light,
  86. D3DVERTEX *in,
  87. D3DVALUE* pWeights,
  88. BYTE* pMatrixIndices,
  89. D3DVECTOR *pNormal,
  90. DWORD *pDiffuse,
  91. DWORD *pSpecular);
  92. void DirectionalNextModel(LPD3DFE_PROCESSVERTICES pv,
  93. DWORD dwVerCount,
  94. BATCHBUFFER *pBatchBuffer,
  95. D3DI_LIGHT *light,
  96. D3DVERTEX *in,
  97. D3DVALUE* pWeights,
  98. BYTE* pMatrixIndices,
  99. D3DVECTOR *pNormal,
  100. DWORD *pDiffuse,
  101. DWORD *pSpecular);
  102. void PointSpotFirstModel(LPD3DFE_PROCESSVERTICES pv,
  103. DWORD dwVerCount,
  104. BATCHBUFFER *pBatchBuffer,
  105. D3DI_LIGHT *light,
  106. D3DVERTEX *in,
  107. D3DVALUE* pWeights,
  108. BYTE* pMatrixIndices,
  109. D3DVECTOR *pNormal,
  110. DWORD *pDiffuse,
  111. DWORD *pSpecular);
  112. void PointSpotNextModel(LPD3DFE_PROCESSVERTICES pv,
  113. DWORD dwVerCount,
  114. BATCHBUFFER *pBatchBuffer,
  115. D3DI_LIGHT *light,
  116. D3DVERTEX *in,
  117. D3DVALUE* pWeights,
  118. BYTE* pMatrixIndices,
  119. D3DVECTOR *pNormal,
  120. DWORD *pDiffuse,
  121. DWORD *pSpecular);
  122. }
  123. #endif /* __LIGHT_H__ */