@urban-toolkit/autk-compute / GpgpuPipelineParams
Interface: GpgpuPipelineParams
Defined in: api.ts:132
Parameters for the GPGPU pipeline.
Properties
attributeArrays?
optionalattributeArrays?:Record<string,number>
Defined in: api.ts:140
Per-feature fixed-length arrays keyed by WGSL variable name.
attributeMatrices?
optionalattributeMatrices?: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?
optionaloutputColumns?:string[]
Defined in: api.ts:161
Output column names for array or vector results.
resultField?
optionalresultField?:string
Defined in: api.ts:158
Name of the single output field written when the shader returns one value.
uniformArrays?
optionaluniformArrays?:Record<string,number[]>
Defined in: api.ts:149
Global fixed-length arrays shared across the dispatch.
uniformMatrices?
optionaluniformMatrices?:Record<string, {cols:number;data:number[][]; }>
Defined in: api.ts:152
Global matrices shared across the dispatch.
uniforms?
optionaluniforms?: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.