keid-render-basic-0.1.3.0: Basic rendering programs for Keid engine.
Safe HaskellNone
LanguageHaskell2010

Render.Basic

Description

All the provided render passes and pipelines packaged and delivered.

Documentation

type StageFrameRIO r s a = StageFrameRIO RenderPasses Pipelines r s a Source #

data RenderPasses Source #

Instances

Instances details
RenderPass RenderPasses Source # 
Instance details

Defined in Render.Basic

Methods

allocateRenderpass_ :: (HasLogFunc env, HasSwapchain context, HasVulkan env, MonadResource (RIO env)) => context -> ResourceT (RIO env) RenderPasses

updateRenderpass :: (HasLogFunc env, HasSwapchain context, HasVulkan env, MonadResource (RIO env)) => context -> RenderPasses -> RIO env RenderPasses

refcountRenderpass :: MonadResource (RIO env) => RenderPasses -> RIO env ()

allocatePipelines_ :: HasSwapchain swapchain => swapchain -> RenderPasses -> ResourceT (StageRIO st) Pipelines Source #

allocatePipelines :: HasSwapchain swapchain => Tagged Scene DsBindings -> swapchain -> RenderPasses -> ResourceT (StageRIO st) Pipelines Source #

getSceneLayout :: Pipelines -> Tagged '[Scene] DescriptorSetLayout Source #

getSunLayout :: Pipelines -> Tagged '[Sun] DescriptorSetLayout Source #