Interface ShaderParameter

A GLenum specifying the information to query. Possible values:

gl.DELETE_STATUS Returns a GLboolean indicating whether or not the shader is flagged for deletion. gl.COMPILE_STATUS Returns a GLboolean indicating whether or not the last shader compilation was successful. gl.SHADER_TYPE Returns a GLenum indicating whether the shader is a vertex shader (gl.VERTEX_SHADER) or fragment shader (gl.FRAGMENT_SHADER) object.

Hierarchy

  • ShaderParameter

Properties

COMPILE_STATUS: boolean

Returns a GLboolean indicating whether or not the last shader compilation was successful.

DELETE_STATUS: boolean

Returns a GLboolean indicating whether or not the shader is flagged for deletion.

SHADER_TYPE: number

Returns a GLenum indicating whether the shader is a vertex shader (gl.VERTEX_SHADER) or fragment shader (gl.FRAGMENT_SHADER) object.

Generated using TypeDoc