Namespace: DeltaEngine.Rendering2D.Tests
Assembly: DeltaEngine.Rendering2D.Tests (in DeltaEngine.Rendering2D.Tests.dll) Version: 1.1.1.0 (1.1.1)
Assembly: DeltaEngine.Rendering2D.Tests (in DeltaEngine.Rendering2D.Tests.dll) Version: 1.1.1.0 (1.1.1)
Syntax
Examples
[Test, ApproveFirstFrameScreenshot] public void DrawSpritesWithBlendModeFromContentMetaData() { var drawAreas = CreateDrawAreas(3, 1); new Sprite(logoMaterial, drawAreas[0]); new Sprite( new Material(ShaderFlags.Position2DTextured, "DeltaEngineLogoOpaque"), drawAreas[1]); new Sprite(logoMaterial, drawAreas[2]); new Sprite( new Material(ShaderFlags.Position2DTextured, "DeltaEngineLogoAlpha"), drawAreas[3]); new Sprite(logoMaterial, drawAreas[4]); new Sprite( new Material(ShaderFlags.Position2DTextured, "DeltaEngineLogoAdditive"), drawAreas[5]); }
See Also