-- This file was automatically generated.
{-# LANGUAGE CPP, ScopedTypeVariables, PatternSynonyms #-}
module Graphics.GL.Ext.IMG.TextureCompressionPvrtc (
  -- * Extension Support
    gl_IMG_texture_compression_pvrtc

  -- * GL_IMG_texture_compression_pvrtc
  , pattern GL_COMPRESSED_RGBA_PVRTC_2BPPV1_IMG
  , pattern GL_COMPRESSED_RGBA_PVRTC_4BPPV1_IMG
  , pattern GL_COMPRESSED_RGB_PVRTC_2BPPV1_IMG
  , pattern GL_COMPRESSED_RGB_PVRTC_4BPPV1_IMG
) where

import Data.Set
import Graphics.GL.Internal.Proc

-- | Checks that the <https://www.khronos.org/registry/gles/extensions/IMG/IMG_texture_compression_pvrtc.txt GL_IMG_texture_compression_pvrtc> extension is available.

gl_IMG_texture_compression_pvrtc :: Bool
gl_IMG_texture_compression_pvrtc :: Bool
gl_IMG_texture_compression_pvrtc = [Char] -> Set [Char] -> Bool
forall a. Ord a => a -> Set a -> Bool
member "GL_IMG_texture_compression_pvrtc" Set [Char]
extensions
{-# NOINLINE gl_IMG_texture_compression_pvrtc #-}

pattern $bGL_COMPRESSED_RGBA_PVRTC_2BPPV1_IMG :: a
$mGL_COMPRESSED_RGBA_PVRTC_2BPPV1_IMG :: forall r a. (Eq a, Num a) => a -> (Void# -> r) -> (Void# -> r) -> r
GL_COMPRESSED_RGBA_PVRTC_2BPPV1_IMG = 0x8C03

pattern $bGL_COMPRESSED_RGBA_PVRTC_4BPPV1_IMG :: a
$mGL_COMPRESSED_RGBA_PVRTC_4BPPV1_IMG :: forall r a. (Eq a, Num a) => a -> (Void# -> r) -> (Void# -> r) -> r
GL_COMPRESSED_RGBA_PVRTC_4BPPV1_IMG = 0x8C02

pattern $bGL_COMPRESSED_RGB_PVRTC_2BPPV1_IMG :: a
$mGL_COMPRESSED_RGB_PVRTC_2BPPV1_IMG :: forall r a. (Eq a, Num a) => a -> (Void# -> r) -> (Void# -> r) -> r
GL_COMPRESSED_RGB_PVRTC_2BPPV1_IMG = 0x8C01

pattern $bGL_COMPRESSED_RGB_PVRTC_4BPPV1_IMG :: a
$mGL_COMPRESSED_RGB_PVRTC_4BPPV1_IMG :: forall r a. (Eq a, Num a) => a -> (Void# -> r) -> (Void# -> r) -> r
GL_COMPRESSED_RGB_PVRTC_4BPPV1_IMG = 0x8C00