Slim Dx Version 4.0 13.43 [repack] -

// Present the screen _swapChain.Present(0, PresentFlags.None); } }

This example demonstrates how to load a texture and render a sprite using Slim DX 4.0. slim dx version 4.0 13.43

// Draw a sprite var sprite = new Vertex[4] { new Vertex(new Vector3(-0.5f, -0.5f, 0), new Vector2(0, 1)), new Vertex(new Vector3(0.5f, -0.5f, 0), new Vector2(1, 1)), new Vertex(new Vector3(0.5f, 0.5f, 0), new Vector2(1, 0)), new Vertex(new Vector3(-0.5f, 0.5f, 0), new Vector2(0, 0)), }; // Present the screen _swapChain

Previous
Previous

What Is Infidelity? A Guide To Better Understanding

Next
Next

Attempts at Rationalization