gpu-vulkan-middle-0.1.0.68: Medium wrapper for Vulkan API
Safe HaskellNone
LanguageHaskell2010

Gpu.Vulkan.Pipeline.Compute.Middle

Synopsis

CREATE AND DESTROY

createCs :: forall (cias :: [(Maybe Type, Maybe Type, [Type])]) (mc :: Maybe Type). CreateInfoListToCore cias => D -> Maybe P -> PL (U3 CreateInfo) cias -> M A mc -> IO [C] Source #

destroy :: forall (md :: Maybe Type). D -> C -> M A md -> IO () Source #

data C Source #

Instances

Instances details
Show C Source # 
Instance details

Defined in Gpu.Vulkan.Pipeline.Compute.Middle.Internal

Methods

showsPrec :: Int -> C -> ShowS #

show :: C -> String #

showList :: [C] -> ShowS #

data CreateInfo (mn :: Maybe Type) (ss :: Maybe Type) (sivs :: [Type]) Source #

Instances

Instances details
(Show (M mn), Show (CreateInfo ss 'GlslComputeShader sivs)) => Show (CreateInfo mn ss sivs) Source # 
Instance details

Defined in Gpu.Vulkan.Pipeline.Compute.Middle.Internal

Methods

showsPrec :: Int -> CreateInfo mn ss sivs -> ShowS #

show :: CreateInfo mn ss sivs -> String #

showList :: [CreateInfo mn ss sivs] -> ShowS #

class Length cias => CreateInfoListToCore (cias :: [(Maybe Type, Maybe Type, [Type])]) Source #

Minimal complete definition

createInfoListToCore

Instances

Instances details
CreateInfoListToCore ('[] :: [(Maybe Type, Maybe Type, [Type])]) Source # 
Instance details

Defined in Gpu.Vulkan.Pipeline.Compute.Middle.Internal

Methods

createInfoListToCore :: PL (U3 CreateInfo) ('[] :: [(Maybe Type, Maybe Type, [Type])]) -> ([CreateInfo] -> IO r) -> IO ()

(WithPoked (M mn), WithPoked (M ss), PokableList sivs, CreateInfoListToCore cias) => CreateInfoListToCore ('(mn, ss, sivs) ': cias) Source # 
Instance details

Defined in Gpu.Vulkan.Pipeline.Compute.Middle.Internal

Methods

createInfoListToCore :: PL (U3 CreateInfo) ('(mn, ss, sivs) ': cias) -> ([CreateInfo] -> IO r) -> IO ()