demo.ChipmunkDemoShaderSupport

Undocumented in source.

Members

Aliases

PFNGLGETSHADERINFOLOGPROC
alias PFNGLGETSHADERINFOLOGPROC = fp_glGetProgramInfoLog
Undocumented in source.
PFNGLGETSHADERIVPROC
alias PFNGLGETSHADERIVPROC = fp_glGetShaderiv
Undocumented in source.

Functions

CheckGLErrors
void CheckGLErrors()
Undocumented in source. Be warned that the author may not have intended to support it.
CompileShader
GLint CompileShader(GLenum type, string source)
Undocumented in source. Be warned that the author may not have intended to support it.
LinkProgram
GLint LinkProgram(GLint vshader, GLint fshader)
Undocumented in source. Be warned that the author may not have intended to support it.
SET_ATTRIBUTE
string SET_ATTRIBUTE(string program, string type, string name, string gltype)
Undocumented in source. Be warned that the author may not have intended to support it.
SetAttribute
void SetAttribute(GLuint program, string name, GLint size, GLenum gltype, GLsizei stride, GLvoid* offset)
Undocumented in source. Be warned that the author may not have intended to support it.
ValidateProgram
cpBool ValidateProgram(GLint program)
Undocumented in source. Be warned that the author may not have intended to support it.
toString
string toString(GLenum error)

Converts an OpenGL errorenum to a string

Static functions

CheckError
cpBool CheckError(GLint obj, GLenum status, PFNGLGETSHADERIVPROC getiv, PFNGLGETSHADERINFOLOGPROC getInfoLog)
Undocumented in source. Be warned that the author may not have intended to support it.

Meta