Expand Minimize

isShader method

Gets state of WebGL shader. Returns true if shader is valid, false otherwise.

IE11

 

Syntax

var isshadervalid = WebGLRenderingContext.isShader(shader);

Parameters

shader [in]

Type: WebGLShader

Shader to query.

Return value

Type: boolean

Returns true if shader is valid, false otherwise.

See also

WebGLRenderingContext

 

 

Show:
© 2014 Microsoft