/glimmer

Basic opengl utilities, mostly for personal use

Primary LanguageGoMIT LicenseMIT

glimmer

GoDoc Go Report

Basic opengl utilities, mostly for personal use.

API Is not set in stone.

Packages

The win package deals with GLFW window creation and maintenance.

The gli package contains most of the OpenGL Objects; buffers, VAOs, shaders, etc.

The caps package concerns itself with Capabilities (see glEnable), since most of these are quite seperate from OpenGL Objects.

Examples, in order of complexity

  • Window creation
  • Shader compilation
  • Buffers and VAOs
  • Drawing and Clearing
  • Polling events
  • Element buffer and indexed rendering
  • Uniforms
  • Capabilities (blending)
  • Textures
  • Perspective matrix
  • Depth buffer
  • Face culling
  • Keyboard interactivity
  • Rudimentary camera panning
  • Close on escape
  • Extensions
  • Early, highly portable Geometry shader (GL_ARB_geometry_shader4)