import { native_ } from './Constants';
export class GPUCommandBuffer {
    get label() {
        return this[native_]?.label ?? '';
    }
    static fromNative(commandBuffer) {
        if (commandBuffer) {
            const ret = new GPUCommandBuffer();
            ret[native_] = commandBuffer;
            return ret;
        }
        return null;
    }
}
//# sourceMappingURL=GPUCommandBuffer.js.map