Firefox Tomorrow

web api instance method

WebGLRenderingContext: detachShader() method

View on MDN ↗

Available in workers

The WebGLRenderingContext.detachShader() method of the WebGL API detaches a previously attached WebGLShader from a WebGLProgram.

Syntax

detachShader(program, shader)

Parameters

Return value

None (undefined).

Specifications

SpecificationsStandards references are available on the canonical MDN page.

Browser compatibility

Browser compatibilityCompatibility data is available on the canonical MDN page.

See also