opengles-0.6.0: OpenGL ES 2.0 and 3.0 with EGL 1.4

Safe HaskellNone
LanguageHaskell2010

Graphics.OpenGLES.Texture

Contents

Synopsis

Texture

data Texture a Source

Instances

glLoadKtx :: Maybe (Texture a) -> Ktx -> GL (Texture a) Source

Load a GL Texture object from Ktx texture container. See https://github.com/KhronosGroup/KTX/blob/master/lib/loader.c TODO: reject 2DArray/3D texture if unsupported

Sampler

data Sampler Source

(Texture wrap mode, A number of ANISOTROPY filter sampling points (specify 1.0 to disable anisotropy filter), (Fallback) Mag and Min filters).

When EXT_texture_filter_anisotropic is not supported, fallback filters are used instead.