Module
Graphics.WebGLTexture
- Package
- purescript-webgl
- Repository
- jutaro/purescript-webgl
Textures for the WebGL binding for purescript
#texture2DFor Source
texture2DFor :: forall eff a. String -> TexFilterSpec -> (WebGLTex -> EffWebGL eff a) -> EffWebGL eff Unit
#handleLoad2D Source
handleLoad2D :: forall a eff. WebGLTex -> TexFilterSpec -> a -> EffWebGL eff Unit
#handleSubLoad2D Source
handleSubLoad2D :: forall a eff. WebGLTex -> Int -> Int -> Int -> Int -> TexFilterSpec -> a -> EffWebGL eff Unit
#newTexture Source
newTexture :: forall eff. Int -> Int -> TexFilterSpec -> EffWebGL eff WebGLTex
#newTextureInit Source
newTextureInit :: forall eff. Int -> Int -> TexFilterSpec -> EffWebGL eff WebGLTex
#bindTexture Source
bindTexture :: forall eff. TargetType -> WebGLTex -> EffWebGL eff Unit
#unbindTexture Source
unbindTexture :: forall eff. TargetType -> EffWebGL eff Unit