Copyright | (c) Sven Panne 2016 |
---|---|
License | BSD3 |
Maintainer | Sven Panne <svenpanne@gmail.com> |
Stability | stable |
Portability | portable |
Safe Haskell | None |
Language | Haskell2010 |
- glGetARBTextureSwizzle :: MonadIO m => m Bool
- gl_ARB_texture_swizzle :: Bool
- pattern GL_TEXTURE_SWIZZLE_A :: GLenum
- pattern GL_TEXTURE_SWIZZLE_B :: GLenum
- pattern GL_TEXTURE_SWIZZLE_G :: GLenum
- pattern GL_TEXTURE_SWIZZLE_R :: GLenum
- pattern GL_TEXTURE_SWIZZLE_RGBA :: GLenum
Extension Support
glGetARBTextureSwizzle :: MonadIO m => m Bool Source #
Is the ARB_texture_swizzle extension supported?
gl_ARB_texture_swizzle :: Bool Source #
Is the ARB_texture_swizzle extension supported?
Note that in the presence of multiple contexts with different capabilities,
this might be wrong. Use glGetARBTextureSwizzle
in those cases instead.
Enums
pattern GL_TEXTURE_SWIZZLE_A :: GLenum Source #
pattern GL_TEXTURE_SWIZZLE_B :: GLenum Source #
pattern GL_TEXTURE_SWIZZLE_G :: GLenum Source #
pattern GL_TEXTURE_SWIZZLE_R :: GLenum Source #
pattern GL_TEXTURE_SWIZZLE_RGBA :: GLenum Source #