wgpu-hs-0.4.0.0: WGPU
Safe HaskellNone
LanguageHaskell2010

WGPU.Internal.Queue

Description

 
Synopsis

Types

data Queue Source #

Instances

Instances details
Eq Queue Source # 
Instance details

Defined in WGPU.Internal.Queue

Methods

(==) :: Queue -> Queue -> Bool #

(/=) :: Queue -> Queue -> Bool #

Show Queue Source # 
Instance details

Defined in WGPU.Internal.Queue

Methods

showsPrec :: Int -> Queue -> ShowS #

show :: Queue -> String #

showList :: [Queue] -> ShowS #

ToRaw Queue WGPUQueue Source # 
Instance details

Defined in WGPU.Internal.Queue

Methods

raw :: Queue -> ContT r IO WGPUQueue Source #

Functions

getQueue :: MonadIO m => Device -> m Queue Source #

Get the queue for a device.

queueSubmit :: MonadIO m => Queue -> Vector CommandBuffer -> m () Source #

Submit a list of command buffers to a device queue.

queueWriteTexture Source #

Arguments

:: 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 ReadableMemoryBuffer from which to copy. All of the buffer is copied (as determined by its readableMemoryBufferSize).

-> m ()

Action to copy the texture

Schedule a data write into a texture.

queueWriteBuffer Source #

Arguments

:: 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 ReadableMemoryBuffer from which to copy. All of the buffer is copied (as determined by its readableMemoryBufferSize).

-> m ()

Action which copies the buffer data.

Schedule a data write into a buffer.