keid-core-0.1.6.1: Core parts of Keid engine.
Safe HaskellSafe-Inferred
LanguageHaskell2010

Engine.Vulkan.Pipeline.Compute

Documentation

data Config (dsl :: [Type]) spec Source #

Constructors

Config 

Fields

type family Configure pipeline spec where ... Source #

Equations

Configure (Pipeline dsl Compute Compute) spec = Config dsl spec 

data Pipeline (dsl :: [Type]) vertices instances Source #

Constructors

Pipeline 

Fields

allocate :: (MonadVulkan env m, MonadResource m, HasCallStack, Specialization spec) => Config dsl spec -> m (ReleaseKey, Pipeline dsl Compute Compute) Source #

create :: (HasVulkan ctx, MonadUnliftIO m, Specialization spec) => ctx -> Config dsl spec -> m (Pipeline dsl Compute Compute) Source #

destroy :: (MonadIO io, HasVulkan ctx) => ctx -> Pipeline dsl vertices instances -> io () Source #

bind :: (Compatible pipeLayout boundLayout, MonadIO m) => CommandBuffer -> Pipeline pipeLayout vertices instances -> Bound boundLayout vertices instances m () -> Bound boundLayout oldVertices oldInstances m () Source #