luma.gl/docs/api-reference/resources/command-encoder.md
2022-02-10 13:52:09 -08:00

962 B

CommandEncoder

Proposed luma.gl v9 API. Open for comments.

A command encoder offering GPU memory copying operations.

Types

CommandEncoderProps

Property Type Description
N/A

Members

  • device: Device - holds a reference to the Device that created this CommandEncoder.
  • handle: unknown - holds the underlying WebGL or WebGPU shader object
  • props: CommandEncoderProps - holds a copy of the CommandEncoderProps used to create this CommandEncoder.

Methods

constructor(props: CommandEncoderProps)

CommandEncoder is an abstract class and cannot be instantiated directly. Create with device.beginCommandEncoder(...).