wgpu-hs-0.1.0.0: WGPU
Safe HaskellNone
LanguageHaskell2010

WGPU.Internal.CommandEncoder

Description

 
Synopsis

Types

data CommandEncoder Source #

Handle to an encoder for a series of GPU operations.

A command encoder can record render passes, compute passes, and transfer operations between driver-managed resources like buffers and textures.

Functions

createCommandEncoder Source #

Arguments

:: Device

Device for which to create the command encoder.

-> Text

Debug label for the command encoder.

-> IO CommandEncoder

IO action that returns the command encoder.

Create an empty command encoder.

commandEncoderFinish Source #

Arguments

:: CommandEncoder

Command encoder to finish.

-> Text

Debugging label for the command buffer.

-> IO CommandBuffer

IO action which returns the command buffer.

Finish encoding commands, returning a command buffer.