"use strict";
/*---------------------------------------------------------------------------------------------
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
* See LICENSE.md in the project root for license terms and full copyright notice.
*--------------------------------------------------------------------------------------------*/
/** @packageDocumentation
 * @module Rendering
 */
Object.defineProperty(exports, "__esModule", { value: true });
exports.GraphicDescriptionBuilder = exports.GraphicDescription = void 0;
const GraphicDescriptionBuilderImpl_1 = require("../internal/render/GraphicDescriptionBuilderImpl");
const Symbols_1 = require("../internal/Symbols");
/** @beta */
var GraphicDescription;
(function (GraphicDescription) {
    /** Adds to `transferables` all of the [Transferable objects](https://developer.mozilla.org/en-US/docs/Web/API/Web_Workers_API/Transferable_objects) like
     * `ArrayBuffer`s that are included in `description`. This makes copying a [[GraphicDescription]] to and from a [Worker](https://developer.mozilla.org/en-US/docs/Web/API/Worker)
     * much more efficient.
     */
    function collectTransferables(transferables, description) {
        return (0, GraphicDescriptionBuilderImpl_1.collectGraphicDescriptionTransferables)(transferables, description);
    }
    GraphicDescription.collectTransferables = collectTransferables;
})(GraphicDescription || (exports.GraphicDescription = GraphicDescription = {}));
/** @beta */
var GraphicDescriptionBuilder;
(function (GraphicDescriptionBuilder) {
    /** Create a [[GraphicDescriptionBuilder]] using the specified `options`. */
    function create(options) {
        return new GraphicDescriptionBuilderImpl_1.GraphicDescriptionBuilderImpl(options);
    }
    GraphicDescriptionBuilder.create = create;
})(GraphicDescriptionBuilder || (exports.GraphicDescriptionBuilder = GraphicDescriptionBuilder = {}));
//# sourceMappingURL=GraphicDescriptionBuilder.js.map