Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
getAttachedShaders
Collapse the table of content
Expand the table of content

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:
© 2015 Microsoft