Class ReglRenderer<T>

Type Parameters

Hierarchy

Constructors

Properties

_buffers: MultipurposeBufferSet
_default_webgl_scale?: number[]
_fill_buffer?: Buffer
_initializations: Promise<void>[]
_integer_buffer?: Buffer
_renderer?: Regl
_start: number
_use_scale_to_download_tiles: boolean = true
_webgl_scale_history?: [number[], number[]]
_zoom?: default<T>
aes: AestheticSet<T>
aes_to_buffer_num?: Record<string, number>
buffer_num_to_variable?: string[]
buffer_size: number = ...
canvas: HTMLCanvasElement
contour_vals?: Uint8Array
dataset: Dataset<T>
deferred_functions: (() => void | Promise<void>)[]
fbos: Record<string, Framebuffer2D> = {}
height: number
holder: Selection<any, any, any, any>
most_recent_restart?: number
regl: Regl
reglframe?: FrameCallback
render_props: RenderProps = ...
scatterplot: default<T>
sprites?: Selection<SVGElement, any, any, any>
textures: Record<string, Texture2D> = {}
tick_num?: number
tileSet: Dataset<T>
variable_to_buffer_num?: Record<string, number>
width: number
zoom?: default<T>

Accessors

  • get optimal_alpha(): number
  • Returns number

  • get point_size(): number
  • Returns number

  • get prefs(): APICall & {
        alpha: number;
        background_options: {
            color: string;
            mouseover: boolean;
            opacity: [number, number];
            size: [number, number];
        };
        duration: number;
        max_points: number;
        point_size: number;
        zoom_balance: number;
    } & {
        arrow_buffer?: Uint8Array;
        arrow_table?: Table<any>;
    }
  • Render prefs are scatterplot prefs, but for a single tile instead of for a whole table.

    Returns APICall & {
        alpha: number;
        background_options: {
            color: string;
            mouseover: boolean;
            opacity: [number, number];
            size: [number, number];
        };
        duration: number;
        max_points: number;
        point_size: number;
        zoom_balance: number;
    } & {
        arrow_buffer?: Uint8Array;
        arrow_table?: Table<any>;
    }

Methods

  • Parameters

    • fbo1: Framebuffer2D
    • fbo2: Framebuffer2D
    • passes: number = 3

    Returns void

  • Parameters

    • x: number
    • y: number

    Returns StructRowProxy<any>

  • Parameters

    • x: number
    • y: number
    • field: "ix_in_tile" | "ix" | "tile_id" = 'tile_id'

    Returns number

  • Parameters

    • field: string
    • ix: number

    Returns any

  • Parameters

    • fbo1: Framebuffer2D
    • fbo2: Framebuffer2D
    • direction: [number, number]

    Returns void

Generated using TypeDoc