OpenGLRaw-2.6.0.0: A raw binding for the OpenGL graphics system

Copyright | (c) Sven Panne 2015
License | BSD3
Maintainer | Sven Panne <svenpanne@gmail.com>
Stability | stable
Portability | portable
Safe Haskell | None
Language | Haskell2010

Graphics.Rendering.OpenGL.Raw.EXT.TextureSwizzle

Contents

- Extension Support
- Enums

Description

Synopsis

- glGetEXTTextureSwizzle :: MonadIO m => m Bool
- gl_EXT_texture_swizzle :: Bool
- gl_TEXTURE_SWIZZLE_A_EXT :: GLenum
- gl_TEXTURE_SWIZZLE_B_EXT :: GLenum
- gl_TEXTURE_SWIZZLE_G_EXT :: GLenum
- gl_TEXTURE_SWIZZLE_RGBA_EXT :: GLenum
- gl_TEXTURE_SWIZZLE_R_EXT :: GLenum

# Extension Support

glGetEXTTextureSwizzle :: MonadIO m => m Bool

Is the EXT_texture_swizzle extension supported?

gl_EXT_texture_swizzle :: Bool

Is the EXT_texture_swizzle extension supported? Note that in the presence of multiple contexts with different capabilities, this might be wrong. Use `glGetEXTTextureSwizzle` in those cases instead.

# Enums

gl_TEXTURE_SWIZZLE_A_EXT :: GLenum

gl_TEXTURE_SWIZZLE_B_EXT :: GLenum

gl_TEXTURE_SWIZZLE_G_EXT :: GLenum

gl_TEXTURE_SWIZZLE_RGBA_EXT :: GLenum

gl_TEXTURE_SWIZZLE_R_EXT :: GLenum