PageRenderTime 38ms CodeModel.GetById 10ms RepoModel.GetById 0ms app.codeStats 0ms

/Rendering/BasicTests/Program.cs

#
C# | 108 lines | 16 code | 7 blank | 85 comment | 0 complexity | 529640b4976466b419a1bab168fbd3ee MD5 | raw file
Possible License(s): Apache-2.0
  1. namespace Delta.Rendering.BasicTests
  2. {
  3. /// <summary>
  4. /// Entry point for all DrawTests, MaterialTests and FontTests.
  5. /// </summary>
  6. public class Program
  7. {
  8. #region Main (Static)
  9. /// <summary>
  10. /// Main entry point, will just call one of the tests, uncomment the rest
  11. /// </summary>
  12. public static void Main()
  13. {
  14. #region Tests
  15. //GraphicsTests.ClearColor();
  16. //GraphicsTests.ClearBackgroundInsideLoop();
  17. //GraphicsTests.TestSolidColors();
  18. //DrawTests.DrawLine();
  19. //DrawTests.DrawLineAndTexture();
  20. //DrawTests.AddLinesAndTexturesDynamically();
  21. //DrawTests.DrawAlternatingLines();
  22. //DrawTests.DrawTransparentLines();
  23. //DrawTests.DrawLotsOfRotatedLines();
  24. //DrawTests.DrawDynamicLines();
  25. //DrawTests.DrawCircleSimple();
  26. //DrawTests.DrawCircles();
  27. //DrawTests.DrawCircleAtMousePos();
  28. //DrawTests.DrawFilledCircle();
  29. //DrawTests.DrawCirclePerformance();
  30. //DrawTests.DrawRectangle();
  31. //DrawTests.DrawFilledRectangle();
  32. //DrawTests.DrawLines3D();
  33. //DrawTests.DrawBox3D();
  34. //DrawTests.GetRayFromScreenPoint();
  35. //DrawTests.DrawRotatedBox3D();
  36. //DrawTests.DrawSphere();
  37. //DrawTests.DrawSimpleQuad3D();
  38. //DrawTests.DrawGrid();
  39. //DrawTests.DrawFilledRectangleWithFont();
  40. //MaterialTests.DrawDefaultMaterial();
  41. //MaterialTests.DrawDefaultMaterialAutoRotated();
  42. //MaterialTests.DrawDefaultMaterialWithLines();
  43. //MaterialTests.DrawManyMaterialsPerformance();
  44. //MaterialTests.DrawTransparentMaterial();
  45. //MaterialTests.DrawOpaqueMaterial();
  46. //MaterialTests.DrawTwoSameMaterials();
  47. //MaterialTests.DrawTwoMaterialsFromSameAtlas();
  48. //MaterialTests.DrawAdditiveMaterial();
  49. //MaterialTests.DrawSubstractiveMaterial();
  50. //MaterialTests.DrawAdditiveMaterialComplex();
  51. //MaterialTests.DrawLightEffectMaterial();
  52. //MaterialTests.DrawAlphaTestMaterial();
  53. //MaterialTests.DrawAnimatedMaterial();
  54. //MaterialTests.DrawAnimatedMaterialAndOverwritingAnimationSpeed();
  55. //MaterialTests.DrawAnimatedMaterialCustomIndicesAndTimes();
  56. //MaterialTests.DrawLayeredMaterials();
  57. //MaterialTests.DrawScreenRectangle();
  58. //MaterialTests.CreateMaterialDynamic();
  59. //MaterialTests.DrawImage();
  60. //MaterialTests.DrawBillboard();
  61. //MaterialTests.DrawDDS888Image();
  62. //MaterialTests.DrawMaterialRotated();
  63. //MaterialTests.CreateTextureDynamically();
  64. //MaterialTests.CreateTextureDynamicallyWithAlpha();
  65. //MaterialTests.DrawLineOnTexture();
  66. //MaterialTests.DrawAnimatedAndNormalImagesAlternating();
  67. //MaterialTests.DrawAnimatedImageWithGameTimePause();
  68. MaterialTests.DrawMaterialFlipped();
  69. // Do these ones still exist??
  70. //MaterialTests.DrawVertexColored();
  71. //MaterialTests.DrawWater();
  72. //MaterialTests.LoadParticleDiffuseMap();
  73. //MaterialTests.SaveAndLoad();
  74. //MaterialTests.TestComplexUIMaterialsTest();
  75. //MaterialTests.TestIpadUVIssue();
  76. //MaterialTests.TestLanguageMaterial();
  77. //MaterialTests.MaskTexture();
  78. //MaterialTests.TakeScreenshot();
  79. //MaterialTests.DrawNoTextured();
  80. //FontTests.DrawSimpleText();
  81. //FontTests.DrawSingleLineRotatedText();
  82. //FontTests.DrawTextWordWrapped();
  83. //FontTests.DrawPerformanceTest();
  84. //FontTests.TestFontRamBug();
  85. #endregion
  86. #region Tutorials
  87. //Tutorials.DrawLines();
  88. //Tutorials.DrawImage();
  89. //Tutorials.DrawDefaultMaterial();
  90. //Tutorials.DrawColoredDefaultMaterial();
  91. //Tutorials.DrawCircle();
  92. //Tutorials.DrawFilledBox();
  93. //Tutorials.DrawAxis();
  94. //Tutorials.DrawAnimatedImage();
  95. //Tutorials.DrawRotatingRectangle();
  96. //Tutorials.DrawSphere();
  97. #endregion
  98. }
  99. #endregion
  100. }
  101. }