Project Chrono: PerRayData_camera Struct Reference

Public Attributes | List of all members
PerRayData_camera Struct Reference
SENSOR module » OptiX-Based Code

## 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:

- D:/W/B/src/chrono-9.0.1/src/chrono_sensor/optix/ChOptixDefinitions.h