Skip to content

Instantly share code, notes, and snippets.

@triplefox
Created January 2, 2015 01:57
Show Gist options
  • Save triplefox/fed309e16382dcfe5257 to your computer and use it in GitHub Desktop.
Save triplefox/fed309e16382dcfe5257 to your computer and use it in GitHub Desktop.
type Uniforms = object
faefar:GLint # fade factor
tee:array[0..1,GLint] # textures
type Attributes = object
pon:GLint # position
type Resources = object
vexbur, eltbur:GLuint # vertex, element buffers
tee:array[0..1,GLuint] # textures
vexshr, frtshr:GLuint # vertex, element shaders
prm:GLuint # program
unm:ref Uniforms
ate:ref Attributes
faefar:GLfloat # fade factor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment