Delegate PhotosensorData.ExecuteSamplingAction<T1, T2, T3>
Declare a delegate type for photosensor sampling.
Namespace: Mechatronics.SensorSDK
Syntax
public delegate void ExecuteSamplingAction<T1, T2, T3>(T1 ctx, T2 accelerationStructure, ref T3 sampleIndex);
Parameters
| Type | Name | Description |
|---|---|---|
| T1 | ctx | Custom pass context. |
| T2 | accelerationStructure | Acceleration structure |
| T3 | sampleIndex | sample index |
Type Parameters
| Name | Description |
|---|---|
| T1 | Template type for Custom pass context. |
| T2 | Template type for acceleration structure. |
| T3 | Template type for sample index. |