WebGL.Raw.WebGL2.WebGLQuery
- Package
- purescript-webgl2-raw
- Repository
- chrismshelton/purescript-webgl2-raw
#createQuery Source
createQuery :: forall c. IsWebGL2RenderingContext c => c -> Effect (Maybe WebGLQuery)
Usage: createQuery gl
WebGLQuery? createQuery();
Documentation: WebGL 2.0 spec, section 3.7.12
#deleteQuery Source
deleteQuery :: forall c. IsWebGL2RenderingContext c => c -> Maybe WebGLQuery -> Effect Unit
Usage: deleteQuery gl query
void deleteQuery (WebGLQuery? query);
Documentation: WebGL 2.0 spec, section 3.7.12
#isQuery Source
isQuery :: forall c. IsWebGL2RenderingContext c => c -> Maybe WebGLQuery -> Effect GLboolean
Usage: isQuery gl query
[WebGLHandlesContextLoss] GLboolean isQuery (WebGLQuery? query);
Documentation: WebGL 2.0 spec, section 3.7.12
#beginQuery Source
beginQuery :: forall c. IsWebGL2RenderingContext c => c -> GLenum -> WebGLQuery -> Effect Unit
Usage: beginQuery gl target query
void beginQuery (GLenum target, WebGLQuery query);
Documentation: WebGL 2.0 spec, section 3.7.12
#endQuery Source
endQuery :: forall c. IsWebGL2RenderingContext c => c -> GLenum -> Effect Unit
Usage: endQuery gl target
void endQuery (GLenum target);
Documentation: WebGL 2.0 spec, section 3.7.12
#getQuery Source
getQuery :: forall c. IsWebGL2RenderingContext c => c -> GLenum -> GLenum -> Effect (Maybe WebGLQuery)
Usage: getQuery gl target pname
WebGLQuery? getQuery (GLenum target, GLenum pname);
Documentation: WebGL 2.0 spec, section 3.7.12
#getQueryParameterGLboolean Source
getQueryParameterGLboolean :: forall c. IsWebGL2RenderingContext c => c -> WebGLQuery -> GLenum -> Effect (Maybe GLboolean)
Usage: getQueryParameterGLboolean gl query pname
Use when:
pname
=QUERY_RESULT_AVAILABLE
any getQueryParameter (WebGLQuery query, GLenum pname);
Documentation: WebGL 2.0 spec, section 3.7.12
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.
#getQueryParameterGLuint Source
getQueryParameterGLuint :: forall c. IsWebGL2RenderingContext c => c -> WebGLQuery -> GLenum -> Effect (Maybe GLuint)
Usage: getQueryParameterGLuint gl query pname
Use when:
pname
=QUERY_RESULT
any getQueryParameter (WebGLQuery query, GLenum pname);
Documentation: WebGL 2.0 spec, section 3.7.12
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
#WebGLQuery Source
data WebGLQuery :: Type
Documentation: WebGL 2.0 spec, section 3.2
- 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