Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- create :: forall (mn :: Maybe Type) (mc :: Maybe Type). WithPoked (M mn) => D -> CreateInfo mn -> M A mc -> IO Q
- destroy :: forall (md :: Maybe Type). D -> Q -> M A md -> IO ()
- data Q
- data CreateInfo (mn :: Maybe Type) = CreateInfo {}
- type CreateFlags = CreateFlagBits
- getResults :: forall (av :: Bool) (w64 :: Bool). (Storable (W32W64 w64), W32W64Tools w64, AvailabilityTools av (W32W64 w64)) => D -> Q -> Word32 -> Word32 -> ResultFlags -> IO [Availability av (W32W64 w64)]
- class W32W64Tools (w64 :: Bool)
- data W32W64 (w64 :: Bool) where
- class AvailabilityTools (av :: Bool) a
- data Availability (av :: Bool) a where
- NonAvailability :: forall a. a -> Availability 'False a
- Availability :: forall a. Maybe a -> Availability 'True a
CREATE AND DESTROY
create :: forall (mn :: Maybe Type) (mc :: Maybe Type). WithPoked (M mn) => D -> CreateInfo mn -> M A mc -> IO Q Source #
data CreateInfo (mn :: Maybe Type) Source #
Instances
Show (M mn) => Show (CreateInfo mn) Source # | |
Defined in Gpu.Vulkan.QueryPool.Middle.Internal showsPrec :: Int -> CreateInfo mn -> ShowS # show :: CreateInfo mn -> String # showList :: [CreateInfo mn] -> ShowS # |
type CreateFlags = CreateFlagBits Source #
GET RESULTS
getResults :: forall (av :: Bool) (w64 :: Bool). (Storable (W32W64 w64), W32W64Tools w64, AvailabilityTools av (W32W64 w64)) => D -> Q -> Word32 -> Word32 -> ResultFlags -> IO [Availability av (W32W64 w64)] Source #
class W32W64Tools (w64 :: Bool) Source #
bytesOf, result64Bit
Instances
W32W64Tools 'False Source # | |
Defined in Gpu.Vulkan.QueryPool.Middle.Internal | |
W32W64Tools 'True Source # | |
Defined in Gpu.Vulkan.QueryPool.Middle.Internal |
data W32W64 (w64 :: Bool) where Source #
Instances
class AvailabilityTools (av :: Bool) a Source #
numOfWords, resultWithAvailBit, mkAvailability
Instances
AvailabilityTools 'False a Source # | |
Defined in Gpu.Vulkan.QueryPool.Middle.Internal numOfWords :: Integral n => n resultWithAvailBit :: ResultFlags -> ResultFlags mkAvailability :: [a] -> [Availability 'False a] | |
(Eq n, Num n) => AvailabilityTools 'True n Source # | |
Defined in Gpu.Vulkan.QueryPool.Middle.Internal numOfWords :: Integral n0 => n0 resultWithAvailBit :: ResultFlags -> ResultFlags mkAvailability :: [n] -> [Availability 'True n] |
data Availability (av :: Bool) a where Source #
NonAvailability :: forall a. a -> Availability 'False a | |
Availability :: forall a. Maybe a -> Availability 'True a |
Instances
Functor (Availability av) Source # | |
Defined in Gpu.Vulkan.QueryPool.Middle.Internal fmap :: (a -> b) -> Availability av a -> Availability av b # (<$) :: a -> Availability av b -> Availability av a # | |
Show a => Show (Availability av a) Source # | |
Defined in Gpu.Vulkan.QueryPool.Middle.Internal showsPrec :: Int -> Availability av a -> ShowS # show :: Availability av a -> String # showList :: [Availability av a] -> ShowS # |