Class: GLProgram
(abstract) Rendering.WebGL.GLProgram(inkGLContext)
(abstract) new GLProgram(inkGLContext)
Parameters:
Name | Type | Description |
---|---|---|
inkGLContext | Rendering.WebGL.InkGLContext |
Methods
createProgram(vertexShader, fragmentShader, program)
Parameters:
Name | Type | Description |
---|---|---|
vertexShader | string | vertex shader source |
fragmentShader | string | fragment shader source |
program | WebGLProgram |