Expand Minimize

createProgram method

Creates an empty WebGLProgram object to which vector and fragment WebGLShader objects can be bound.

IE11

 

Syntax

var retVal = WebGLRenderingContext.createProgram();

Parameters

This method has no parameters.

Return value

Type: WebGLProgram

A program object.

Remarks

Return a 0 if an error occurs creating a program object.

See also

WebGLRenderingContext

 

 

Show:
© 2014 Microsoft