Graphics and compute samples for OpenGL, Vulkan and DirectX developers, showing cutting edge rendering and graphics techniques for games.

OpenGL & Vulkan Samples

The OpenGL and Vulkan Graphics and Compute Samples pack is a resource for cross-platform OpenGL, OpenGL ES and Vulkan development. The sample applications target Vulkan, OpenGL or OpenGL ES on Android, Windows, and Linux. OpenGL 4 (GL4), OpenGL ES 2 and 3 (ES2 and ES3), and Vulkan are all represented. The samples run on all three target platforms from a single source base.

Advanced rendering features such as Tessellation Shaders, Geometry Shaders, Compute Shaders, Direct State Access, Texture Arrays and Instancing are all demonstrated. In addition, support for NVIDIA's NSight Tegra Visual Studio plug-in means that developers can experiment with their effects on Windows and immediately rebuild and retarget to run on SHIELD and other Tegra based Android systems.

The samples include source for a simple cross-platform application framework which forms the basis of all of the samples. This framework supports asset loading, a platform-independent main loop, input handling, game controllers, Vulkan and GL context management, Vulkan and GL utilities, and texture and 3D model loading.

Read More


DirectX Samples

The D3D Graphics and Compute Samples pack is a resource for next-generation D3D development. The samples target multiple Direct3D versions, including DX10 and DX11. They implement advanced D3D features such as Antialiasing, Tessellation, Interleaved Rendering, Deferred Contexts, Compute Shaders and Instancing.

Read More

Additional Samples

Our Professional Graphics samples are typically targeted toward CAD and other industrial applications, however they can still be relevant to game developers. We also have a link here to our legacy SDK11 sample code.