wgpu-raw-hs-0.3.0.0: src/WGPU/Raw/Generated/Enum/WGPUTextureUsage.hs
{-# 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 (v0.9.2.2)
module WGPU.Raw.Generated.Enum.WGPUTextureUsage where
import Data.Word (Word32)
import Foreign (Storable)
import Prelude (Eq, Num, Show)
newtype WGPUTextureUsage = WGPUTextureUsage Word32
deriving (Eq, Show, Num, Storable)
pattern None :: forall a. (Eq a, Num a) => a
pattern None = 0x00000000
pattern CopySrc :: forall a. (Eq a, Num a) => a
pattern CopySrc = 0x00000001
pattern CopyDst :: forall a. (Eq a, Num a) => a
pattern CopyDst = 0x00000002
pattern Sampled :: forall a. (Eq a, Num a) => a
pattern Sampled = 0x00000004
pattern Storage :: forall a. (Eq a, Num a) => a
pattern Storage = 0x00000008
pattern RenderAttachment :: forall a. (Eq a, Num a) => a
pattern RenderAttachment = 0x00000010