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

Gpu.Vulkan.DescriptorSet.Middle

Synopsis

ALLOCATE AND FREE

allocateDs :: forall (mn :: Maybe Type). WithPoked (M mn) => D -> AllocateInfo mn -> IO [D] Source #

freeDs :: D -> D -> [D] -> IO () Source #

data D Source #

Instances

Instances details
Show D Source # 
Instance details

Defined in Gpu.Vulkan.DescriptorSet.Middle.Internal

Methods

showsPrec :: Int -> D -> ShowS #

show :: D -> String #

showList :: [D] -> ShowS #

data AllocateInfo (mn :: Maybe Type) Source #

Instances

Instances details
Show (M mn) => Show (AllocateInfo mn) Source # 
Instance details

Defined in Gpu.Vulkan.DescriptorSet.Middle.Internal

UPDATE

updateDs :: forall (ws :: [Maybe Type]) (cs :: [Maybe Type]). (WriteListToCore ws, CopyListToCore cs) => D -> PL Write ws -> PL Copy cs -> IO () Source #

class WriteListToCore (ws :: [Maybe Type]) Source #

Minimal complete definition

writeListToCore

Instances

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

Defined in Gpu.Vulkan.DescriptorSet.Middle.Internal

Methods

writeListToCore :: PL Write ('[] :: [Maybe Type]) -> ([Write] -> IO a) -> IO ()

(WithPoked (M w), WriteListToCore ws) => WriteListToCore (w ': ws) Source # 
Instance details

Defined in Gpu.Vulkan.DescriptorSet.Middle.Internal

Methods

writeListToCore :: PL Write (w ': ws) -> ([Write] -> IO a) -> IO ()

data Write (mn :: Maybe Type) Source #

Instances

Instances details
Show (M mn) => Show (Write mn) Source # 
Instance details

Defined in Gpu.Vulkan.DescriptorSet.Middle.Internal

Methods

showsPrec :: Int -> Write mn -> ShowS #

show :: Write mn -> String #

showList :: [Write mn] -> ShowS #

class CopyListToCore (cs :: [Maybe Type]) Source #

Minimal complete definition

copyListToCore

Instances

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

Defined in Gpu.Vulkan.DescriptorSet.Middle.Internal

Methods

copyListToCore :: PL Copy ('[] :: [Maybe Type]) -> ([Copy] -> IO a) -> IO ()

(WithPoked (M c), CopyListToCore cs) => CopyListToCore (c ': cs) Source # 
Instance details

Defined in Gpu.Vulkan.DescriptorSet.Middle.Internal

Methods

copyListToCore :: PL Copy (c ': cs) -> ([Copy] -> IO a) -> IO ()

data Copy (mn :: Maybe Type) Source #

Instances

Instances details
Show (M mn) => Show (Copy mn) Source # 
Instance details

Defined in Gpu.Vulkan.DescriptorSet.Middle.Internal

Methods

showsPrec :: Int -> Copy mn -> ShowS #

show :: Copy mn -> String #

showList :: [Copy mn] -> ShowS #