getAttachedShaders method

Returns a list of WebGLShaders bound to a WebGLProgram.

IE11

 

Syntax

var retVal = WebGLRenderingContext.getAttachedShaders(program);

Parameters

program [in]

Type: WebGLProgram

The WebGLProgram object from which to get list of WebGLShaders

Return value

Type: sequence<WebGLShader>

Array of the WebGLShaders that are bound to program.

See also

WebGLRenderingContext

 

 

Show: