/OpenGLSamples

Cross-platform OpenGL and OpenGL ES samples (for Windows, Android, and Linux)

Primary LanguageCOtherNOASSERTION

NVIDIA GameWorks OpenGL Graphics and Compute Samples

The OpenGL Graphics and Compute Samples pack is a resource for cross-platform OpenGL 4 (GL4) and OpenGL ES 2 and 3 (ES2 and ES3) development, targeting Android, Windows, and Linux (x86/x64 and Linux for Tegra). The samples run on all four target platforms from a single source base.

Advanced OpenGL 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 OpenGL and immediately rebuild and retarget to run on Android Tegra systems, including Tegra K1.

The samples also include source for a simple cross-platform application framework which forms the basis of all of the samples. This framework supports GL window and context management, platform-independent main event loop, handling of input devices including game controllers, asset/file reading, texture/model loading, and other GL utilities.

What to Read Next:

  • Release Notes ** What's new in this release, along with any known issues.
  • Prerequisites ** Details the per-platform requirements for developing with the samples.
  • Setup Guide ** Details the per-platform steps needed to set up your PC for building and running the OpenGL samples.
  • Overview of OpenGL Samples ** Describes each of the samples in the pack, what they demonstrate, and in some cases further detailed analysis of how they work.
  • Overview of App Framework and Libraries ** Details the cross-platform application framework and other support libraries, along with links to class/structure documentation.