WebGL.Raw.WebGL2.WebGLSampler
- Package
- purescript-webgl2-raw
- Repository
- chrismshelton/purescript-webgl2-raw
#createSampler Source
createSampler :: forall c. IsWebGL2RenderingContext c => c -> Effect (Maybe WebGLSampler)
Usage: createSampler gl
WebGLSampler? createSampler();
Documentation: WebGL 2.0 spec, section 3.7.13
#deleteSampler Source
deleteSampler :: forall c. IsWebGL2RenderingContext c => c -> Maybe WebGLSampler -> Effect Unit
Usage: deleteSampler gl sampler
void deleteSampler (WebGLSampler? sampler);
Documentation: WebGL 2.0 spec, section 3.7.13
#isSampler Source
isSampler :: forall c. IsWebGL2RenderingContext c => c -> Maybe WebGLSampler -> Effect GLboolean
Usage: isSampler gl sampler
[WebGLHandlesContextLoss] GLboolean isSampler (WebGLSampler? sampler);
Documentation: WebGL 2.0 spec, section 3.7.13
#bindSampler Source
bindSampler :: forall c. IsWebGL2RenderingContext c => c -> GLuint -> Maybe WebGLSampler -> Effect Unit
Usage: bindSampler gl unit sampler
void bindSampler (GLuint unit, WebGLSampler? sampler);
Documentation: WebGL 2.0 spec, section 3.7.13
#samplerParameteri Source
samplerParameteri :: forall c. IsWebGL2RenderingContext c => c -> WebGLSampler -> GLenum -> GLint -> Effect Unit
Usage: samplerParameteri gl sampler pname param
void
samplerParameteri (WebGLSampler sampler, GLenum pname, GLint param);
Documentation: WebGL 2.0 spec, section 3.7.13
#samplerParameterf Source
samplerParameterf :: forall c. IsWebGL2RenderingContext c => c -> WebGLSampler -> GLenum -> GLfloat -> Effect Unit
Usage: samplerParameterf gl sampler pname param
void
samplerParameterf (WebGLSampler sampler, GLenum pname, GLfloat param);
Documentation: WebGL 2.0 spec, section 3.7.13
#getSamplerParameterGLenum Source
getSamplerParameterGLenum :: forall c. IsWebGL2RenderingContext c => c -> WebGLSampler -> GLenum -> Effect (Maybe GLenum)
Usage: getSamplerParameterGLenum gl sampler pname
Use when:
pname
=TEXTURE_COMPARE_FUNC
pname
=TEXTURE_COMPARE_MODE
pname
=TEXTURE_MAG_FILTER
pname
=TEXTURE_MIN_FILTER
pname
=TEXTURE_WRAP_R
pname
=TEXTURE_WRAP_S
pname
=TEXTURE_WRAP_T
any getSamplerParameter (WebGLSampler sampler, GLenum pname);
Documentation: WebGL 2.0 spec, section 3.7.13
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.
#getSamplerParameterGLfloat Source
getSamplerParameterGLfloat :: forall c. IsWebGL2RenderingContext c => c -> WebGLSampler -> GLenum -> Effect (Maybe GLfloat)
Usage: getSamplerParameterGLfloat gl sampler pname
Use when:
pname
=TEXTURE_MAX_LOD
pname
=TEXTURE_MIN_LOD
any getSamplerParameter (WebGLSampler sampler, GLenum pname);
Documentation: WebGL 2.0 spec, section 3.7.13
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
#WebGLSampler Source
data WebGLSampler :: Type
Documentation: WebGL 2.0 spec, section 3.3
- 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