getShaderParameter method

bool getShaderParameter(
  1. WebGLShader shader,
  2. int pname
)

Implementation

bool getShaderParameter(WebGLShader shader, int pname){
  return _gl.getShaderParameter(shader.id, pname) == 0?false:true;
}