packages feed

jsaddle-dom-0.10.0.0: src/JSDOM/Generated/WEBGL_compressed_texture_astc.hs

{-# LANGUAGE PatternSynonyms #-}
{-# LANGUAGE ImplicitParams, ConstraintKinds, KindSignatures #-}
{-# OPTIONS_GHC -fno-warn-unused-imports #-}
-- | Generated by dom-gen from WEBGL_compressed_texture_astc (webref). Do not edit.
module JSDOM.Generated.WEBGL_compressed_texture_astc
       (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 Control.Lens.Operators ((^.))
import Language.Javascript.JSaddle (JSM, JSVal, JSString, toJSVal, valToBool, valToNumber, js, jss, jsf, jsg, new, function, asyncFunction, jsUndefined, jsNull)
import JSDOM.Types
import qualified JSDOM.Types as Types
import JSDOM.EventTargetClosures (EventName, unsafeEventName, unsafeEventNameAsync)
import JSDOM.Generated.Enums

-- | <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 (((self ^. jsf "getSupportedProfiles" ()) >>= 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 (self ^. jsf "getSupportedProfiles" ()))

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