Here's a useful piece of code to get you started:
context.InputAssembler.PrimitiveTopology = PrimitiveTopology.TriangleStrip; context.InputAssembler.SetVertexBuffers(0, new[] { new VertexBufferBinding(_device, sprite, 0) });
Device.CreateWithSwapChain(GraphicsAdapter.Default, DeviceCreationFlags.None, desc, out _device, out _swapChain);
Here's a useful piece of code to get you started:
context.InputAssembler.PrimitiveTopology = PrimitiveTopology.TriangleStrip; context.InputAssembler.SetVertexBuffers(0, new[] { new VertexBufferBinding(_device, sprite, 0) }); slim dx version 4.0 13.43
Device.CreateWithSwapChain(GraphicsAdapter.Default, DeviceCreationFlags.None, desc, out _device, out _swapChain); Here's a useful piece of code to get you started: context
Didn't find the answer you were looking for?