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

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

Graphics.GL.ARB.TextureSwizzle

Contents

- Extension Support
- Enums

Description

Synopsis

- 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 #