Slim Dx Version 4.0 13.43 ((new)) • Full Version
This example demonstrates how to load a texture and render a sprite using Slim DX 4.0.
// Present the screen _swapChain.Present(0, PresentFlags.None); } } slim dx version 4.0 13.43
context.InputAssembler.InputLayout = InputLayout.FromDescription(_device, typeof(Vertex), new[] { new InputElement("POSITION", 0, Format.R32G32B32_Float, 0, 0), new InputElement("TEXCOORD", 0, Format.R32G32_Float, 12, 0) }); This example demonstrates how to load a texture


