# LANGUAGE GeneralizedNewtypeDeriving #
# LANGUAGE PatternSynonyms #
# LANGUAGE ScopedTypeVariables #
# LANGUAGE NoImplicitPrelude #

-- This file was generated by wgpu-raw-hs-codegen on:
    2021 - 08 - 25T10:02:03.522705
-- Using wgpu-native git hash:
    b10496e7eed9349f0fd541e6dfe5029cb436de74 wgpu - native (  )

module WGPU.Raw.Generated.Enum.WGPUAdapterType where

import Data.Word (Word32)
import Foreign (Storable)
import Prelude (Eq, Num, Show)

newtype WGPUAdapterType = WGPUAdapterType Word32
  deriving (Eq, Show, Num, Storable)

pattern DiscreteGPU :: forall a. (Eq a, Num a) => a
pattern DiscreteGPU = 0x00000000

pattern IntegratedGPU :: forall a. (Eq a, Num a) => a
pattern IntegratedGPU = 0x00000001

pattern CPU :: forall a. (Eq a, Num a) => a
pattern CPU = 0x00000002

pattern Unknown :: forall a. (Eq a, Num a) => a
pattern Unknown = 0x00000003

 This file was generated by wgpu-raw-hs-codegen on:
 Using wgpu-native git hash:
# LANGUAGE GeneralizedNewtypeDeriving #
# LANGUAGE PatternSynonyms #
# LANGUAGE ScopedTypeVariables #
# LANGUAGE NoImplicitPrelude #

    2021 - 08 - 25T10:02:03.522705
    b10496e7eed9349f0fd541e6dfe5029cb436de74 wgpu - native (  )

module WGPU.Raw.Generated.Enum.WGPUAdapterType where

import Data.Word (Word32)
import Foreign (Storable)
import Prelude (Eq, Num, Show)

newtype WGPUAdapterType = WGPUAdapterType Word32
  deriving (Eq, Show, Num, Storable)

pattern DiscreteGPU :: forall a. (Eq a, Num a) => a
pattern DiscreteGPU = 0x00000000

pattern IntegratedGPU :: forall a. (Eq a, Num a) => a
pattern IntegratedGPU = 0x00000001

pattern CPU :: forall a. (Eq a, Num a) => a
pattern CPU = 0x00000002

pattern Unknown :: forall a. (Eq a, Num a) => a
pattern Unknown = 0x00000003
