Skip to content
pyautark (soon)

@urban-toolkit/autk-compute


@urban-toolkit/autk-compute / GpgpuPipelineParams

Interface: GpgpuPipelineParams

Defined in: api.ts:132

Parameters for the GPGPU pipeline.

Properties

attributeArrays?

optional attributeArrays?: Record<string, number>

Defined in: api.ts:140

Per-feature fixed-length arrays keyed by WGSL variable name.


attributeMatrices?

optional attributeMatrices?: Record<string, { cols: number; rows: number | "auto"; }>

Defined in: api.ts:143

Per-feature matrices keyed by WGSL variable name.


collection

collection: FeatureCollection

Defined in: api.ts:134

GeoJSON FeatureCollection to process.


outputColumns?

optional outputColumns?: string[]

Defined in: api.ts:161

Output column names for array or vector results.


resultField?

optional resultField?: string

Defined in: api.ts:158

Name of the single output field written when the shader returns one value.


uniformArrays?

optional uniformArrays?: Record<string, number[]>

Defined in: api.ts:149

Global fixed-length arrays shared across the dispatch.


uniformMatrices?

optional uniformMatrices?: Record<string, { cols: number; data: number[][]; }>

Defined in: api.ts:152

Global matrices shared across the dispatch.


uniforms?

optional uniforms?: Record<string, number>

Defined in: api.ts:146

Global scalar constants shared across the dispatch.


variableMapping

variableMapping: Record<string, string>

Defined in: api.ts:137

Maps WGSL variable names to feature property dot-paths.


wgslBody

wgslBody: string

Defined in: api.ts:155

WGSL function body inserted into the generated compute_value function.

Released under the MIT License.