{-# LANGUAGE GeneralizedNewtypeDeriving #-} {-# LANGUAGE PatternSynonyms #-} {-# LANGUAGE ScopedTypeVariables #-} {-# LANGUAGE NoImplicitPrelude #-} -- This file was generated by wgpu-raw-hs-codegen on: -- 2021-08-15T08:56:06.968390 -- Using wgpu-native git hash: -- b10496e7eed9349f0fd541e6dfe5029cb436de74 wgpu-native (v0.9.2.2) module WGPU.Raw.Generated.Enum.WGPUBackendType where import Data.Word (Word32) import Foreign (Storable) import Prelude (Eq, Num, Show) newtype WGPUBackendType = WGPUBackendType Word32 deriving (Eq, Show, Num, Storable) pattern Null :: forall a. (Eq a, Num a) => a pattern Null = 0x00000000 pattern D3D11 :: forall a. (Eq a, Num a) => a pattern D3D11 = 0x00000001 pattern D3D12 :: forall a. (Eq a, Num a) => a pattern D3D12 = 0x00000002 pattern Metal :: forall a. (Eq a, Num a) => a pattern Metal = 0x00000003 pattern Vulkan :: forall a. (Eq a, Num a) => a pattern Vulkan = 0x00000004 pattern OpenGL :: forall a. (Eq a, Num a) => a pattern OpenGL = 0x00000005 pattern OpenGLES :: forall a. (Eq a, Num a) => a pattern OpenGLES = 0x00000006