PerRayData_camera Struct Reference
Description
Data associated with a single camera ray.
#include <ChOptixDefinitions.h>
Public Attributes | |
| float3 | color |
| color packed on the ray | |
| float3 | contrib_to_pixel |
| the current contribution to the pixel | |
| curandState_t | rng |
| a random number generator. Only valid if use_gi is true | |
| int | depth |
| the current depth of the ray | |
| bool | use_gi |
| whether global illumination is on | |
| float3 | albedo |
| the albed of the first hit | |
| float3 | normal |
| the global normal of the first hit | |
| bool | use_fog |
| whether to use fog on this prd | |
The documentation for this struct was generated from the following file:
- /builds/uwsbel/chrono/src/chrono_sensor/optix/ChOptixDefinitions.h