WebGL.Raw.WebGL2.WebGLProgram   
- Package
- purescript-webgl2-raw
- Repository
- chrismshelton/purescript-webgl2-raw
#getFragDataLocation Source
getFragDataLocation :: forall c. IsWebGL2RenderingContext c => c -> WebGLProgram -> String -> Effect GLintUsage: getFragDataLocation gl program name
[WebGLHandlesContextLoss] GLint
getFragDataLocation (WebGLProgram program, DOMString name);
Documentation: WebGL 2.0 spec, section 3.7.7
#getProgramParameterGLenum Source
getProgramParameterGLenum :: forall c. IsWebGL2RenderingContext c => c -> WebGLProgram -> GLenum -> Effect (Maybe GLenum)Usage: getProgramParameterGLenum gl program pname
Use when:
- pname=- TRANSFORM_FEEDBACK_BUFFER_MODE
any getProgramParameter (WebGLProgram program, GLenum pname);
Documentation: WebGL 2.0 spec, section 3.7.7
Warning: the javascript version of this function returns different types depending on the arguments provided. This function will throw an exception if the returned value is not of the expected type.
Re-exports from WebGL.Raw.Types  
#WebGLProgram Source
data WebGLProgram :: TypeDocumentation: WebGL 1.0 spec, section 5.6
Re-exports from WebGL.Raw.WebGL1.WebGLProgram   
#validateProgram Source
validateProgram :: forall c. IsWebGLRenderingContext c => c -> WebGLProgram -> Effect UnitUsage: validateProgram gl program
void validateProgram (WebGLProgram program);
Documentation: WebGL 1.0 spec, section 5.14.9
#useProgram Source
useProgram :: forall c. IsWebGLRenderingContext c => c -> Maybe WebGLProgram -> Effect UnitUsage: useProgram gl program
void useProgram (WebGLProgram? program);
Documentation: WebGL 1.0 spec, section 5.14.9
#linkProgram Source
linkProgram :: forall c. IsWebGLRenderingContext c => c -> WebGLProgram -> Effect UnitUsage: linkProgram gl program
void linkProgram (WebGLProgram program);
Documentation: WebGL 1.0 spec, section 5.14.9
#isProgram Source
isProgram :: forall c. IsWebGLRenderingContext c => c -> Maybe WebGLProgram -> Effect GLbooleanUsage: isProgram gl program
[WebGLHandlesContextLoss] GLboolean isProgram (WebGLProgram? program);
Documentation: WebGL 1.0 spec, section 5.14.9
#getProgramParameterGLint Source
getProgramParameterGLint :: forall c. IsWebGLRenderingContext c => c -> WebGLProgram -> GLenum -> Effect (Maybe GLint)Usage: getProgramParameterGLint gl program pname
Use when:
- pname=- ACTIVE_ATTRIBUTES
- pname=- ACTIVE_UNIFORMS
- pname=- ATTACHED_SHADERS
- pname=- ACTIVE_UNIFORM_BLOCKS(WebGL2)
- pname=- TRANSFORM_FEEDBACK_VARYINGS(WebGL2)
any getProgramParameter (WebGLProgram program, GLenum pname);
Documentation: WebGL 1.0 spec, section 5.14.9
Warning: the javascript version of this function returns different types depending on the arguments provided. This function will throw an exception if the returned value is not of the expected type.
#getProgramParameterGLboolean Source
getProgramParameterGLboolean :: forall c. IsWebGLRenderingContext c => c -> WebGLProgram -> GLenum -> Effect (Maybe GLboolean)Usage: getProgramParameterGLboolean gl program pname
Use when:
- pname=- DELETE_STATUS
- pname=- LINK_STATUS
- pname=- VALIDATE_STATUS
any getProgramParameter (WebGLProgram program, GLenum pname);
Documentation: WebGL 1.0 spec, section 5.14.9
Warning: the javascript version of this function returns different types depending on the arguments provided. This function will throw an exception if the returned value is not of the expected type.
#getProgramInfoLog Source
getProgramInfoLog :: forall c. IsWebGLRenderingContext c => c -> WebGLProgram -> Effect (Maybe String)Usage: getProgramInfoLog gl program
DOMString? getProgramInfoLog (WebGLProgram program);
Documentation: WebGL 1.0 spec, section 5.14.9
#getAttachedShaders Source
getAttachedShaders :: forall c. IsWebGLRenderingContext c => c -> WebGLProgram -> Effect (Maybe (Array WebGLShader))Usage: getAttachedShaders gl program
sequence<WebGLShader>? getAttachedShaders (WebGLProgram program);
Documentation: WebGL 1.0 spec, section 5.14.9
#detachShader Source
detachShader :: forall c. IsWebGLRenderingContext c => c -> WebGLProgram -> WebGLShader -> Effect UnitUsage: detachShader gl program shader
void detachShader (WebGLProgram program, WebGLShader shader);
Documentation: WebGL 1.0 spec, section 5.14.9
#deleteProgram Source
deleteProgram :: forall c. IsWebGLRenderingContext c => c -> Maybe WebGLProgram -> Effect UnitUsage: deleteProgram gl program
void deleteProgram (WebGLProgram? program);
Documentation: WebGL 1.0 spec, section 5.14.9
#bindAttribLocation Source
bindAttribLocation :: forall c. IsWebGLRenderingContext c => c -> WebGLProgram -> GLuint -> String -> Effect UnitUsage: bindAttribLocation gl program index name
void
bindAttribLocation ( WebGLProgram program
                   , GLuint index
                   , DOMString name
                   );
Documentation: WebGL 1.0 spec, section 5.14.9
#attachShader Source
attachShader :: forall c. IsWebGLRenderingContext c => c -> WebGLProgram -> WebGLShader -> Effect UnitUsage: attachShader gl program shader
void attachShader (WebGLProgram program, WebGLShader shader);
Documentation: WebGL 1.0 spec, section 5.14.9
- Modules
- WebGL.Raw. Extensions. ANGLE. InstancedArrays 
- WebGL.Raw. Extensions. EXT. BlendMinmax 
- WebGL.Raw. Extensions. EXT. ColorBufferFloat 
- WebGL.Raw. Extensions. EXT. ColorBufferHalfFloat 
- WebGL.Raw. Extensions. EXT. DisjointTimerQuery 
- WebGL.Raw. Extensions. EXT. DisjointTimerQueryWebgl2 
- WebGL.Raw. Extensions. EXT. FragDepth 
- WebGL.Raw. Extensions. EXT. SRGB 
- WebGL.Raw. Extensions. EXT. ShaderTextureLod 
- WebGL.Raw. Extensions. EXT. TextureFilterAnisotropic 
- WebGL.Raw. Extensions. OES. ElementIndexUint 
- WebGL.Raw. Extensions. OES. StandardDerivatives 
- WebGL.Raw. Extensions. OES. TextureFloat 
- WebGL.Raw. Extensions. OES. TextureFloatLinear 
- WebGL.Raw. Extensions. OES. TextureHalfFloat 
- WebGL.Raw. Extensions. OES. TextureHalfFloatLinear 
- WebGL.Raw. Extensions. OES. VertexArrayObject 
- WebGL.Raw. Extensions. WEBGL. ColorBufferFloat 
- WebGL.Raw. Extensions. WEBGL. CompressedTextureAstc 
- WebGL.Raw. Extensions. WEBGL. CompressedTextureEtc 
- WebGL.Raw. Extensions. WEBGL. CompressedTextureEtc1 
- WebGL.Raw. Extensions. WEBGL. CompressedTexturePvrtc 
- WebGL.Raw. Extensions. WEBGL. CompressedTextureS3tc 
- WebGL.Raw. Extensions. WEBGL. CompressedTextureS3tcSrgb 
- WebGL.Raw. Extensions. WEBGL. DebugRendererInfo 
- WebGL.Raw. Extensions. WEBGL. DebugShaders 
- WebGL.Raw. Extensions. WEBGL. DepthTexture 
- WebGL.Raw. Extensions. WEBGL. DrawBuffers 
- WebGL.Raw. Extensions. WEBGL. LoseContext 
- WebGL.Raw. Types 
- WebGL.Raw. WebGL1 
- WebGL.Raw. WebGL1. Enums 
- WebGL.Raw. WebGL1. Uniforms 
- WebGL.Raw. WebGL1. VertexAttributes 
- WebGL.Raw. WebGL1. WebGLActiveInfo 
- WebGL.Raw. WebGL1. WebGLBuffer 
- WebGL.Raw. WebGL1. WebGLContextEvent 
- WebGL.Raw. WebGL1. WebGLFramebuffer 
- WebGL.Raw. WebGL1. WebGLProgram 
- WebGL.Raw. WebGL1. WebGLRenderbuffer 
- WebGL.Raw. WebGL1. WebGLRenderingContext 
- WebGL.Raw. WebGL1. WebGLShader 
- WebGL.Raw. WebGL1. WebGLShaderPrecisionFormat 
- WebGL.Raw. WebGL1. WebGLTexture 
- WebGL.Raw. WebGL2 
- WebGL.Raw. WebGL2. Enums 
- WebGL.Raw. WebGL2. UniformBufferObjects 
- WebGL.Raw. WebGL2. Uniforms 
- WebGL.Raw. WebGL2. VertexAttributes 
- WebGL.Raw. WebGL2. WebGL2RenderingContext 
- WebGL.Raw. WebGL2. WebGLActiveInfo 
- WebGL.Raw. WebGL2. WebGLBuffer 
- WebGL.Raw. WebGL2. WebGLContextEvent 
- WebGL.Raw. WebGL2. WebGLFramebuffer 
- WebGL.Raw. WebGL2. WebGLProgram 
- WebGL.Raw. WebGL2. WebGLQuery 
- WebGL.Raw. WebGL2. WebGLRenderbuffer 
- WebGL.Raw. WebGL2. WebGLSampler 
- WebGL.Raw. WebGL2. WebGLShader 
- WebGL.Raw. WebGL2. WebGLShaderPrecisionFormat 
- WebGL.Raw. WebGL2. WebGLSync 
- WebGL.Raw. WebGL2. WebGLTexture 
- WebGL.Raw. WebGL2. WebGLTransformFeedback 
- WebGL.Raw. WebGL2. WebGLVertexArrayObject