Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- data Queue
- getQueue :: MonadIO m => Device -> m Queue
- queueSubmit :: MonadIO m => Queue -> Vector CommandBuffer -> m ()
- queueWriteTexture :: forall m a. (MonadIO m, ReadableMemoryBuffer a) => Queue -> ImageCopyTexture -> TextureDataLayout -> Extent3D -> a -> m ()
- queueWriteBuffer :: forall m a. (MonadIO m, ReadableMemoryBuffer a) => Queue -> Buffer -> a -> m ()
Types
Functions
queueSubmit :: MonadIO m => Queue -> Vector CommandBuffer -> m () Source #
Submit a list of command buffers to a device queue.
:: forall m a. (MonadIO m, ReadableMemoryBuffer a) | |
=> Queue | Queue to which the texture write will be submitted. |
-> ImageCopyTexture | View of a texture which will be copied. |
-> TextureDataLayout | Layout of the texture in a buffer's memory. |
-> Extent3D | Extent of the texture operation. |
-> a | A |
-> m () | Action to copy the texture |
Schedule a data write into a texture.
:: forall m a. (MonadIO m, ReadableMemoryBuffer a) | |
=> Queue | Queue to which the buffer write will be submitted. |
-> Buffer | Buffer in which to write. |
-> a | A |
-> m () | Action which copies the buffer data. |
Schedule a data write into a buffer.