SpriteTests ResizeViewportAndThenRenderFullscreenSprite 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 ResizeViewportAndThenRenderFullscreenSprite()
Examples

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