{-# 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.WGPUTextureViewDimension where import Data.Word (Word32) import Foreign (Storable) import Prelude (Eq, Num, Show) newtype WGPUTextureViewDimension = WGPUTextureViewDimension Word32 deriving (Eq, Show, Num, Storable) pattern Undefined :: forall a. (Eq a, Num a) => a pattern Undefined = 0x00000000 pattern D1D :: forall a. (Eq a, Num a) => a pattern D1D = 0x00000001 pattern D2D :: forall a. (Eq a, Num a) => a pattern D2D = 0x00000002 pattern D2DArray :: forall a. (Eq a, Num a) => a pattern D2DArray = 0x00000003 pattern Cube :: forall a. (Eq a, Num a) => a pattern Cube = 0x00000004 pattern CubeArray :: forall a. (Eq a, Num a) => a pattern CubeArray = 0x00000005 pattern D3D :: forall a. (Eq a, Num a) => a pattern D3D = 0x00000006