While the original SlimDX project has largely been succeeded by SharpDX, version releases such as 4.0 (13.43) are historically significant for legacy applications and specific software dependencies that rely on this specific build structure.
// 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)), }; slim dx version 4.0 13.43
: It was designed to be "slim" and lean, minimizing the performance overhead often associated with managed code wrappers. While the original SlimDX project has largely been
: This version typically relies on the June 2010 DirectX SDK, specifically referencing Direct3DX version 43 . Keep in mind that you need to have the Slim DX 4
Keep in mind that you need to have the Slim DX 4.0 libraries and the DirectX SDK installed to run this code. Also, error checking has been omitted for brevity.