# 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(...)`.