Skip to main content

Class: GLProgram

(abstract) Rendering.WebGL.GLProgram(inkGLContext)

(abstract) new GLProgram(inkGLContext)

Parameters:
NameTypeDescription
inkGLContextRendering.WebGL.InkGLContext

Methods

createProgram(vertexShader, fragmentShader, program)

Parameters:
NameTypeDescription
vertexShaderstringvertex shader source
fragmentShaderstringfragment shader source
programWebGLProgram

Home