Version 4.0 13.43 - Slim Dx
// Present the screen _swapChain.Present(0, PresentFlags.None); } }
Here's a useful piece of code to get you started: slim dx version 4.0 13.43
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. // Present the screen _swapChain
Device.CreateWithSwapChain(GraphicsAdapter.Default, DeviceCreationFlags.None, desc, out _device, out _swapChain); // Present the screen _swapChain.Present(0
This example demonstrates how to load a texture and render a sprite using Slim DX 4.0.