IFClite TypeScript API
    Preparing search index...

    Class Drawing2DGenerator

    Index
    • Dispose GPU resources

      Returns void

    • Generate a complete 2D drawing from a replayable source (#10264), in at most two passes and without holding the source's meshes: see DrawingMeshSource. The result equals generate over one pass's meshes. An error thrown by the source (a stale or replaced generation) or an aborted options.signal rejects the drawing; nothing partial is returned.

      Parameters

      Returns Promise<Drawing2D>

    • Initialize the generator with optional GPU device

      Parameters

      • OptionalgpuDevice: GPUDevice

      Returns Promise<void>