CGfxShadowMap.cpp 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. #include "CGfxShadowMap.h"
  2. #include "CResourceManager.h"
  3. #include "CGfxShadowMapManager.h"
  4. #include "CFTTClearSettings.h"
  5. #include "CShadowMapShader.h"
  6. #include "TGame.h"
  7. #include "GFXSCENE.h"
  8. #include "CGfxShadowMapUniform.h"
  9. #include "CFTTCamera.h"
  10. #include "CFTTGraphicsDevice.h"
  11. #include "FTT2D.h"
  12. static float flt_300228[3] = {-1.0, 0.0, -1.0};
  13. static float flt_300234[3] = {0.0, 1.0, 0.0};
  14. static float flt_300240[3] = {-0.0, -0.0, -1.0};
  15. static float flt_30024C[3] = {1.0, 1.0, 0.0};
  16. CGfxShadowMapManager *CGfxShadowMap::ms_pManager;
  17. //001C6BF4 ^_-
  18. void SetupShader() {
  19. }
  20. //-------------------------------------------------------------------------------------------------
  21. //001C94B0 ^_- 经过单元测试,功能正常
  22. CGfxShadowMap::CGfxShadowMap(uchar a2) {
  23. }
  24. //-------------------------------------------------------------------------------------------------
  25. //001C9544 001CA854
  26. CGfxShadowMap::~CGfxShadowMap() {
  27. }
  28. //-------------------------------------------------------------------------------------------------
  29. //001C72E4 ^_- 只有一个数据结构赋值不一样
  30. void CGfxShadowMap::Clear(bool a0, uchar a1) {
  31. }
  32. //-------------------------------------------------------------------------------------------------
  33. //001C7D90 ^_^
  34. CFTTTexture *CGfxShadowMap::GetTexture() {
  35. //001C7D9C
  36. LOGE("CGfxShadowMap::GetTexture%p",this);
  37. return (CFTTTexture *)rand();
  38. }
  39. //-------------------------------------------------------------------------------------------------
  40. //001C9548
  41. void CGfxShadowMap::GetRTT() {
  42. }
  43. //-------------------------------------------------------------------------------------------------
  44. //001C9584
  45. void CGfxShadowMap::BMap(bool) {
  46. }
  47. //-------------------------------------------------------------------------------------------------
  48. //001C96B4 ^_-模块测试, 输出一致
  49. void CGfxShadowMap::MappingBounds(CFTTVector32 &a2, CFTTVector32 &a3, uchar a4) {
  50. }
  51. //-------------------------------------------------------------------------------------------------
  52. //001C9764 ^_-模块测试, 输出一致
  53. void CGfxShadowMap::SamplingBounds(CFTTVector32 &a2, CFTTVector32 &a3, uchar a4) {
  54. }
  55. //-------------------------------------------------------------------------------------------------
  56. //001C9850 ^_-模块测试未发现异常
  57. void CGfxShadowMap::Scissor(uchar a1) {
  58. }
  59. //-------------------------------------------------------------------------------------------------