PageRenderTime 142ms CodeModel.GetById 100ms app.highlight 2ms RepoModel.GetById 39ms app.codeStats 0ms

/Rendering/BasicTests/Program.cs

#
C# | 108 lines | 16 code | 7 blank | 85 comment | 0 complexity | 529640b4976466b419a1bab168fbd3ee MD5 | raw file
  1namespace 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
 19			//DrawTests.DrawLine();
 20			//DrawTests.DrawLineAndTexture();
 21			//DrawTests.AddLinesAndTexturesDynamically();
 22			//DrawTests.DrawAlternatingLines();
 23			//DrawTests.DrawTransparentLines();
 24			//DrawTests.DrawLotsOfRotatedLines();
 25			//DrawTests.DrawDynamicLines();
 26			//DrawTests.DrawCircleSimple();
 27			//DrawTests.DrawCircles();
 28			//DrawTests.DrawCircleAtMousePos();
 29			//DrawTests.DrawFilledCircle();
 30			//DrawTests.DrawCirclePerformance();
 31			//DrawTests.DrawRectangle();
 32			//DrawTests.DrawFilledRectangle();
 33			//DrawTests.DrawLines3D();
 34			//DrawTests.DrawBox3D();
 35			//DrawTests.GetRayFromScreenPoint();
 36			//DrawTests.DrawRotatedBox3D();
 37			//DrawTests.DrawSphere();
 38			//DrawTests.DrawSimpleQuad3D();
 39			//DrawTests.DrawGrid();
 40			//DrawTests.DrawFilledRectangleWithFont();
 41
 42			//MaterialTests.DrawDefaultMaterial();
 43			//MaterialTests.DrawDefaultMaterialAutoRotated();
 44			//MaterialTests.DrawDefaultMaterialWithLines();
 45			//MaterialTests.DrawManyMaterialsPerformance();
 46			//MaterialTests.DrawTransparentMaterial();
 47			//MaterialTests.DrawOpaqueMaterial();
 48			//MaterialTests.DrawTwoSameMaterials();
 49			//MaterialTests.DrawTwoMaterialsFromSameAtlas();
 50			//MaterialTests.DrawAdditiveMaterial();
 51			//MaterialTests.DrawSubstractiveMaterial();
 52			//MaterialTests.DrawAdditiveMaterialComplex();
 53			//MaterialTests.DrawLightEffectMaterial();
 54			//MaterialTests.DrawAlphaTestMaterial();
 55			//MaterialTests.DrawAnimatedMaterial();
 56			//MaterialTests.DrawAnimatedMaterialAndOverwritingAnimationSpeed();
 57			//MaterialTests.DrawAnimatedMaterialCustomIndicesAndTimes();
 58			//MaterialTests.DrawLayeredMaterials();	
 59			//MaterialTests.DrawScreenRectangle();
 60			//MaterialTests.CreateMaterialDynamic();
 61			//MaterialTests.DrawImage();
 62			//MaterialTests.DrawBillboard();
 63			//MaterialTests.DrawDDS888Image();
 64			//MaterialTests.DrawMaterialRotated();
 65			//MaterialTests.CreateTextureDynamically();
 66			//MaterialTests.CreateTextureDynamicallyWithAlpha();
 67			//MaterialTests.DrawLineOnTexture();
 68			//MaterialTests.DrawAnimatedAndNormalImagesAlternating();
 69			//MaterialTests.DrawAnimatedImageWithGameTimePause();
 70			MaterialTests.DrawMaterialFlipped();
 71
 72			// Do these ones still exist??
 73			//MaterialTests.DrawVertexColored();
 74			//MaterialTests.DrawWater();
 75			//MaterialTests.LoadParticleDiffuseMap();
 76			//MaterialTests.SaveAndLoad();
 77			//MaterialTests.TestComplexUIMaterialsTest();
 78			//MaterialTests.TestIpadUVIssue();
 79			//MaterialTests.TestLanguageMaterial();
 80			//MaterialTests.MaskTexture();
 81
 82			//MaterialTests.TakeScreenshot();
 83			//MaterialTests.DrawNoTextured();
 84
 85			//FontTests.DrawSimpleText();
 86			//FontTests.DrawSingleLineRotatedText();
 87			//FontTests.DrawTextWordWrapped();
 88			//FontTests.DrawPerformanceTest();
 89			//FontTests.TestFontRamBug();
 90			#endregion
 91
 92			#region Tutorials
 93			//Tutorials.DrawLines();
 94			//Tutorials.DrawImage();
 95			//Tutorials.DrawDefaultMaterial();
 96			//Tutorials.DrawColoredDefaultMaterial();
 97			//Tutorials.DrawCircle();
 98			//Tutorials.DrawFilledBox();
 99			//Tutorials.DrawAxis();
100			//Tutorials.DrawAnimatedImage();
101			//Tutorials.DrawRotatingRectangle();
102			//Tutorials.DrawSphere();
103			#endregion
104		}
105		#endregion
106	}
107}
108