UNPKG

three

Version:

JavaScript 3D library

31 lines (22 loc) 382 B
/** * Reusable descriptor for `GPUDevice.createCommandEncoder()`. * * @private */ class GPUCommandEncoderDescriptor { constructor() { /** * The label of the command encoder. * * @type {string} */ this.label = ''; } /** * Resets the descriptor to its default state. */ reset() { this.label = ''; } } export default GPUCommandEncoderDescriptor;