Copyright | (c) Sven Panne 2017 |
---|---|
License | BSD3 |
Maintainer | Sven Panne <svenpanne@gmail.com> |
Stability | stable |
Portability | portable |
Safe Haskell | None |
Language | Haskell2010 |
- glGetEXTTextureSwizzle :: MonadIO m => m Bool
- gl_EXT_texture_swizzle :: Bool
- pattern GL_TEXTURE_SWIZZLE_A_EXT :: GLenum
- pattern GL_TEXTURE_SWIZZLE_B_EXT :: GLenum
- pattern GL_TEXTURE_SWIZZLE_G_EXT :: GLenum
- pattern GL_TEXTURE_SWIZZLE_RGBA_EXT :: GLenum
- pattern GL_TEXTURE_SWIZZLE_R_EXT :: GLenum
Extension Support
glGetEXTTextureSwizzle :: MonadIO m => m Bool Source #
Is the EXT_texture_swizzle extension supported?
gl_EXT_texture_swizzle :: Bool Source #
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
pattern GL_TEXTURE_SWIZZLE_A_EXT :: GLenum Source #
pattern GL_TEXTURE_SWIZZLE_B_EXT :: GLenum Source #
pattern GL_TEXTURE_SWIZZLE_G_EXT :: GLenum Source #
pattern GL_TEXTURE_SWIZZLE_RGBA_EXT :: GLenum Source #
pattern GL_TEXTURE_SWIZZLE_R_EXT :: GLenum Source #