SpriteTests RenderFullscreenSpriteAndThenResizeViewport Method Delta Engine Documentation

Namespace: DeltaEngine.Rendering2D.Tests
Assembly: DeltaEngine.Rendering2D.Tests (in DeltaEngine.Rendering2D.Tests.dll) Version: 1.1.1.0 (1.1.1)
Syntax

public void RenderFullscreenSpriteAndThenResizeViewport()
Examples

[Test]
public void RenderFullscreenSpriteAndThenResizeViewport()
{
    new Sprite(logoMaterial, Rectangle.One);
    Resolve<Window>().ViewportPixelSize = new Size(800, 600);
}
See Also