/*---------------------------------------------------------------------------------------------
* 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
 */
import { collectGraphicDescriptionTransferables, GraphicDescriptionBuilderImpl } from "../internal/render/GraphicDescriptionBuilderImpl";
import { _implementationProhibited } from "../internal/Symbols";
/** @beta */
export 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 collectGraphicDescriptionTransferables(transferables, description);
    }
    GraphicDescription.collectTransferables = collectTransferables;
})(GraphicDescription || (GraphicDescription = {}));
/** @beta */
export var GraphicDescriptionBuilder;
(function (GraphicDescriptionBuilder) {
    /** Create a [[GraphicDescriptionBuilder]] using the specified `options`. */
    function create(options) {
        return new GraphicDescriptionBuilderImpl(options);
    }
    GraphicDescriptionBuilder.create = create;
})(GraphicDescriptionBuilder || (GraphicDescriptionBuilder = {}));
//# sourceMappingURL=GraphicDescriptionBuilder.js.map