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

Gpu.Vulkan.Cmd.Middle

Synopsis

BEGIN AND END RENDER PASS

beginRenderPass :: forall (mn :: Maybe Type) (cts :: [ClearType]). (WithPoked (M mn), ClearValueListToCore cts) => C -> BeginInfo mn cts -> Contents -> IO () Source #

DRAW AND DISPATCH

Draw

bindVertexBuffers :: C -> Word32 -> [(B, Size)] -> IO () Source #

draw :: C -> Word32 -> Word32 -> Word32 -> Word32 -> IO () Source #

Dispatch

dispatch :: C -> Word32 -> Word32 -> Word32 -> IO () Source #

PUSH CONSTANTS AND BIND DESCRIPTOR SETS

pushConstants :: forall (as :: [Type]). PokableList as => C -> P -> ShaderStageFlags -> Word32 -> L as -> IO () Source #

bindDescriptorSets :: C -> BindPoint -> P -> Word32 -> [D] -> [Word32] -> IO () Source #

COPY BUFFERS AND IMAGES

copyBuffer :: C -> B -> B -> [Copy] -> IO () Source #

copyBufferToImage :: C -> B -> I -> Layout -> [ImageCopy] -> IO () Source #

copyImageToBuffer :: C -> I -> Layout -> B -> [ImageCopy] -> IO () Source #

blitImage :: C -> I -> Layout -> I -> Layout -> [Blit] -> Filter -> IO () Source #

MEMORY DEPENDENCY

QUERY

resetQueryPool :: C -> Q -> Word32 -> Word32 -> IO () Source #

endQuery :: C -> Q -> Word32 -> IO () Source #