Executes a GLSL compute shader as a lambda on the range specified by the iterators submitted to this function.
int32 ParallelForEach( Int8Iterator first, Int8Iterator last, ComputeLambdaParams p_oParams )
| Parameter Type | Parameter Name | Documentation |
|---|---|---|
| <Int8Iterator> | first | An iterator at the start of the range on which you wish to execute the lambda. |
| <Int8Iterator> | last | An iterator at the end of the range on which you wish to execute the lambda. |
| <ComputeLambdaParams> | p_oParams | A pointer to a <ComputeLambdaParams> object that specifies the compute shader source code, execution parameters, and code generation configuration. |
None published. Please look for an example in the Simdify Scripting Language code base.