mirror of
https://github.com/visgl/luma.gl.git
synced 2025-12-08 17:36:19 +00:00
962 B
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 theDevicethat created thisCommandEncoder.handle:unknown- holds the underlying WebGL or WebGPU shader objectprops:CommandEncoderProps- holds a copy of theCommandEncoderPropsused to create thisCommandEncoder.
Methods
constructor(props: CommandEncoderProps)
CommandEncoder is an abstract class and cannot be instantiated directly. Create with device.beginCommandEncoder(...).