< Previous | Contents | Next >

Usage

parameterRef = node:GetParamBlock(ParamBlock)


parameterRef

Is a reference to the parameter block

node

Is a reference to the kernel compute node

ParamBlock

Is a reference to the parameter structure that will pass values to the kernel

Example


local params = node:GetParamBlock(CircleParams)


params.amp = amp params.damp = damp params.freq = freq params.phase = phase