Graphics‎ > ‎Graphic API‎ > ‎


Direct3D is a API for rendering 3D graphics. The current version to care about is DirectX 11 and DirectX 12. These pages is about DirectX11. Direct3D is part of DirectX and is available on Microsoft windows and Xbox platforms (Xbox, Xbox 360 and Xbox One).

The Basic
In directX11 there are three basic objects used. They are ID3D11Device, ID3D11DeviceContext and IDXGISwapChain. The ID3D11Device is used to create GPU resources such shaders, textures, buffers and state objects. ID3D11DeviceContext is used to configure the rendering pipeline and draw things. IDXGISwapChain stores the buffers one is rendering to and show them to the screen when rendering is complete.