packages feed

ghcjs-dom-javascript-0.10.0.0: src/GHCJS/DOM/JSFFI/Generated/WEBGL_compressed_texture_astc.hs

{-# LANGUAGE PatternSynonyms #-}
{-# LANGUAGE ForeignFunctionInterface, JavaScriptFFI #-}
{-# LANGUAGE ImplicitParams, ConstraintKinds, KindSignatures #-}
{-# OPTIONS_GHC -fno-warn-unused-imports #-}
-- | Generated by dom-gen from WEBGL_compressed_texture_astc (webref). Do not edit.
module GHCJS.DOM.JSFFI.Generated.WEBGL_compressed_texture_astc
       (js_getSupportedProfiles, getSupportedProfiles, getSupportedProfiles_, pattern COMPRESSED_RGBA_ASTC_4x4_KHR, pattern COMPRESSED_RGBA_ASTC_5x4_KHR, pattern COMPRESSED_RGBA_ASTC_5x5_KHR, pattern COMPRESSED_RGBA_ASTC_6x5_KHR, pattern COMPRESSED_RGBA_ASTC_6x6_KHR, pattern COMPRESSED_RGBA_ASTC_8x5_KHR, pattern COMPRESSED_RGBA_ASTC_8x6_KHR, pattern COMPRESSED_RGBA_ASTC_8x8_KHR, pattern COMPRESSED_RGBA_ASTC_10x5_KHR, pattern COMPRESSED_RGBA_ASTC_10x6_KHR, pattern COMPRESSED_RGBA_ASTC_10x8_KHR, pattern COMPRESSED_RGBA_ASTC_10x10_KHR, pattern COMPRESSED_RGBA_ASTC_12x10_KHR, pattern COMPRESSED_RGBA_ASTC_12x12_KHR, pattern COMPRESSED_SRGB8_ALPHA8_ASTC_4x4_KHR, pattern COMPRESSED_SRGB8_ALPHA8_ASTC_5x4_KHR, pattern COMPRESSED_SRGB8_ALPHA8_ASTC_5x5_KHR, pattern COMPRESSED_SRGB8_ALPHA8_ASTC_6x5_KHR, pattern COMPRESSED_SRGB8_ALPHA8_ASTC_6x6_KHR, pattern COMPRESSED_SRGB8_ALPHA8_ASTC_8x5_KHR, pattern COMPRESSED_SRGB8_ALPHA8_ASTC_8x6_KHR, pattern COMPRESSED_SRGB8_ALPHA8_ASTC_8x8_KHR, pattern COMPRESSED_SRGB8_ALPHA8_ASTC_10x5_KHR, pattern COMPRESSED_SRGB8_ALPHA8_ASTC_10x6_KHR, pattern COMPRESSED_SRGB8_ALPHA8_ASTC_10x8_KHR, pattern COMPRESSED_SRGB8_ALPHA8_ASTC_10x10_KHR, pattern COMPRESSED_SRGB8_ALPHA8_ASTC_12x10_KHR, pattern COMPRESSED_SRGB8_ALPHA8_ASTC_12x12_KHR, WEBGL_compressed_texture_astc(..), gTypeWEBGL_compressed_texture_astc)
       where
import Prelude ((.), (==), (>>=), (<$>), (++), Bool(..), Maybe(..), IO, Int, Word, Double, Float)
import qualified Prelude as P
import Control.Monad (void)
import GHCJS.Types (JSVal, JSString)
import GHCJS.Foreign (jsUndefined, jsNull)
import GHCJS.DOM.Types
import qualified GHCJS.DOM.Types as Types
import GHCJS.DOM.EventTargetClosures (EventName, unsafeEventName, unsafeEventNameAsync)
import GHCJS.DOM.JSFFI.Generated.Enums

foreign import javascript safe "(($1) => { return $1[\"getSupportedProfiles\"](); })"
        js_getSupportedProfiles :: WEBGL_compressed_texture_astc -> IO JSVal
-- | <https://developer.mozilla.org/docs/Web/API/WEBGL_compressed_texture_astc/getSupportedProfiles MDN WEBGL_compressed_texture_astc.getSupportedProfiles documentation>
getSupportedProfiles :: (MonadDOM m, FromJSString result) => WEBGL_compressed_texture_astc -> m [result]
getSupportedProfiles self = liftDOM (((js_getSupportedProfiles (self)) >>= fromJSValUnchecked))

-- | <https://developer.mozilla.org/docs/Web/API/WEBGL_compressed_texture_astc/getSupportedProfiles MDN WEBGL_compressed_texture_astc.getSupportedProfiles documentation>
getSupportedProfiles_ :: (MonadDOM m) => WEBGL_compressed_texture_astc -> m ()
getSupportedProfiles_ self = liftDOM (void ((js_getSupportedProfiles (self))))

pattern COMPRESSED_RGBA_ASTC_4x4_KHR = 0x93B0

pattern COMPRESSED_RGBA_ASTC_5x4_KHR = 0x93B1

pattern COMPRESSED_RGBA_ASTC_5x5_KHR = 0x93B2

pattern COMPRESSED_RGBA_ASTC_6x5_KHR = 0x93B3

pattern COMPRESSED_RGBA_ASTC_6x6_KHR = 0x93B4

pattern COMPRESSED_RGBA_ASTC_8x5_KHR = 0x93B5

pattern COMPRESSED_RGBA_ASTC_8x6_KHR = 0x93B6

pattern COMPRESSED_RGBA_ASTC_8x8_KHR = 0x93B7

pattern COMPRESSED_RGBA_ASTC_10x5_KHR = 0x93B8

pattern COMPRESSED_RGBA_ASTC_10x6_KHR = 0x93B9

pattern COMPRESSED_RGBA_ASTC_10x8_KHR = 0x93BA

pattern COMPRESSED_RGBA_ASTC_10x10_KHR = 0x93BB

pattern COMPRESSED_RGBA_ASTC_12x10_KHR = 0x93BC

pattern COMPRESSED_RGBA_ASTC_12x12_KHR = 0x93BD

pattern COMPRESSED_SRGB8_ALPHA8_ASTC_4x4_KHR = 0x93D0

pattern COMPRESSED_SRGB8_ALPHA8_ASTC_5x4_KHR = 0x93D1

pattern COMPRESSED_SRGB8_ALPHA8_ASTC_5x5_KHR = 0x93D2

pattern COMPRESSED_SRGB8_ALPHA8_ASTC_6x5_KHR = 0x93D3

pattern COMPRESSED_SRGB8_ALPHA8_ASTC_6x6_KHR = 0x93D4

pattern COMPRESSED_SRGB8_ALPHA8_ASTC_8x5_KHR = 0x93D5

pattern COMPRESSED_SRGB8_ALPHA8_ASTC_8x6_KHR = 0x93D6

pattern COMPRESSED_SRGB8_ALPHA8_ASTC_8x8_KHR = 0x93D7

pattern COMPRESSED_SRGB8_ALPHA8_ASTC_10x5_KHR = 0x93D8

pattern COMPRESSED_SRGB8_ALPHA8_ASTC_10x6_KHR = 0x93D9

pattern COMPRESSED_SRGB8_ALPHA8_ASTC_10x8_KHR = 0x93DA

pattern COMPRESSED_SRGB8_ALPHA8_ASTC_10x10_KHR = 0x93DB

pattern COMPRESSED_SRGB8_ALPHA8_ASTC_12x10_KHR = 0x93DC

pattern COMPRESSED_SRGB8_ALPHA8_ASTC_12x12_KHR = 0x93DD