ContextParameters Struct Reference
Description
Parameters associated with the entire optix scene.
#include <ChOptixDefinitions.h>
Collaboration diagram for ContextParameters:

Public Attributes | |
| ChOptixLight * | lights |
| device pointer to set of lights in the scene | |
| int | num_lights |
| the number of point lights in the scene | |
| float3 | ambient_light_color |
| the ambient light color and intensity | |
| float3 | fog_color |
| color of fog in the scene | |
| float | fog_scattering |
| scattering coefficient of fog in the scene (larger value means denser fog) | |
| int | max_depth |
| maximum traversable depth | |
| float | scene_epsilon |
| an epsilon value used for detecting self intersections (“shadow acne”) | |
| float | importance_cutoff |
| mimumum value before killing rays | |
| OptixTraversableHandle | root |
| a handle to the root node in the scene | |
| MaterialParameters * | material_pool |
| device pointer to list of materials to use for shading | |
| MeshParameters * | mesh_pool |
| device pointer to list of meshes for instancing | |
| int | handle_ptr |
| int | normal_handle_ptr |
| int | density_grid_ptr |
The documentation for this struct was generated from the following file:
- /builds/uwsbel/chrono/src/chrono_sensor/optix/ChOptixDefinitions.h