Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
data AllocatedImage Source #
AllocatedImage | |
|
Instances
Show AllocatedImage Source # | |
Defined in Resource.Image showsPrec :: Int -> AllocatedImage -> ShowS # show :: AllocatedImage -> String # showList :: [AllocatedImage] -> ShowS # |
createColorResource :: (MonadIO io, HasVulkan ctx, HasSwapchain ctx) => ctx -> Extent2D -> io AllocatedImage Source #
createDepthResource :: (MonadIO io, HasVulkan context, HasSwapchain context) => context -> Extent2D -> ("shadowmap layers" ::: Maybe Word32) -> io AllocatedImage Source #
destroyAllocatedImage :: (MonadIO io, HasVulkan context) => context -> AllocatedImage -> io () Source #
transitionImageLayout :: HasVulkan context => context -> Queues CommandPool -> Image -> ("mip levels" ::: Word32) -> ("layer count" ::: Word32) -> Format -> ("old" ::: ImageLayout) -> ("new" ::: ImageLayout) -> RIO env () Source #
subresource :: ImageAspectFlags -> ("mip levels" ::: Word32) -> ("layer count" ::: Word32) -> ImageSubresourceRange Source #